Berapa banyak iterasi yang akan dilakukan oleh perulangan berikut?
python
Copy code
n = 100
count = 0
while n >= 1:
n /= 2
count += 1
asesmen awal looping
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Fitri Puspitasari
FREE Resource
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
10 questions
Ulangan bab 6 perulangan dan percabangan
Quiz
•
8th Grade - University
10 questions
Struktur Perulangan C++
Quiz
•
10th Grade
10 questions
Python Lists
Quiz
•
8th - 9th Grade
8 questions
Binary Search
Quiz
•
7th - 11th Grade
10 questions
Ujian Informatika Kelas X
Quiz
•
10th Grade
10 questions
Analisis Data
Quiz
•
11th Grade
10 questions
A_Kuis Bab 7 Komunikasi Komputasi
Quiz
•
11th Grade
10 questions
Python Math
Quiz
•
1st - 12th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade