Coding Juara - Python Basic for Data Science

Coding Juara - Python Basic for Data Science

3rd Grade

20 Qs

quiz-placeholder

Similar activities

Sistem Informasi Kesehatan (SIMRS,SIMPUS)

Sistem Informasi Kesehatan (SIMRS,SIMPUS)

1st - 10th Grade

20 Qs

Итогвая викторина

Итогвая викторина

1st - 5th Grade

17 Qs

ASk T2 Jenis data

ASk T2 Jenis data

3rd Grade

16 Qs

Parts of the computer

Parts of the computer

1st - 4th Grade

20 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Elemen & Prinsip Rekaan

Elemen & Prinsip Rekaan

KG - 11th Grade

15 Qs

Python Data Types and Variables

Python Data Types and Variables

3rd Grade

16 Qs

Coding Juara - Python Basic for Data Science

Coding Juara - Python Basic for Data Science

Assessment

Quiz

Computers

3rd Grade

Easy

Created by

Udacoding Official

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa output dari kode berikut?

x = 10

if x > 5:

print("A")

else:

print("B")

B

A

Error

Tidak ada output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python tidak memiliki pernyataan switch case. Untuk menggantinya, kita bisa menggunakan:

if-elif-else

while

try-except

for loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Berikut ini bukan termasuk perulangan di Python:

for

while

do-while

foreach

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa hasil dari kode berikut ini?

for i in range(3):

print(i)

1 2 3

0 1 2

0 1 2 3

1 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operator aritmatika ** pada Python digunakan untuk:

Modulus

Perkalian

Pangkat

Pembagian

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah dari berikut ini merupakan operator pembanding?

=

:=

==

+

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fungsi di Python didefinisikan menggunakan kata kunci:

Define

def

function

fun

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?