Search Header Logo

asesmen awal looping

Authored by Fitri Puspitasari

Computers

9th - 12th Grade

asesmen awal looping
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Berapa banyak iterasi yang akan dilakukan oleh perulangan berikut?

python

Copy code

n = 100

count = 0

while n >= 1:

    n /= 2

    count += 1

2

4

6

8

10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Berapakah hasil dari perhitungan berikut?

python

Copy code

total = 0

for k in range(1, 6):

    total += k

10

15

20

25

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Berapakah nilai dari i setelah perulangan berikut ini selesai ?

python

Copy code

i = 0

while i < 5:

    i += 1

4

5

6

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Berapa nilai dari j setelah perulangan berikut ini selesai?

python

Copy code

j = 10

while j > 5:

    j -= 2

5

4

2

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Berapa banyak iterasi yang akan dilakukan oleh perulangan berikut?

python

Copy code

n = 100

count = 0

while n >= 1:

    n /= 2

    count += 1

6

7

8

9

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?