Kiểm Tra Vòng Lặp While

Kiểm Tra Vòng Lặp While

10th Grade

10 Qs

quiz-placeholder

Similar activities

 Treasure Island.

Treasure Island.

8th - 10th Grade

11 Qs

Emotions? Related to mental health?

Emotions? Related to mental health?

1st Grade - Professional Development

15 Qs

CA01 FAHAMI BAHAN BACAAN

CA01 FAHAMI BAHAN BACAAN

10th - 11th Grade

8 Qs

IGTS 2021

IGTS 2021

10th - 12th Grade

10 Qs

random things in here baby✨💅🏻

random things in here baby✨💅🏻

5th - 11th Grade

10 Qs

EVALUASI TEMA1 SUBTEMA 1 KELAS 4 SD

EVALUASI TEMA1 SUBTEMA 1 KELAS 4 SD

7th - 12th Grade

10 Qs

KIDS FOR UNSDG

KIDS FOR UNSDG

3rd - 12th Grade

15 Qs

REFORZANDO MIS APRENDIZAJES

REFORZANDO MIS APRENDIZAJES

10th Grade

10 Qs

Kiểm Tra Vòng Lặp While

Kiểm Tra Vòng Lặp While

Assessment

Quiz

Other

10th Grade

Practice Problem

Hard

Created by

Nguyễn Trang

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào sau đây khai báo vòng lặp while đúng?

while (i < 5)

while i < 5:

while i < 5 {

while i < 5 do

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Điểm dừng của vòng lặp while được quyết định bởi:

Biến đếm

Điều kiện trong dấu ngoặc của while

Câu lệnh `break` bên trong vòng lặp

Cả B và C đều đúng

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong đoạn code sau, giá trị của `count` sau khi vòng lặp kết thúc là bao nhiêu?

3

4

1

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vòng lặp while sẽ chạy bao nhiêu lần trong đoạn code sau?

2 lần

3 lần

4 lần

Vô hạn

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Điều gì xảy ra nếu điều kiện trong while luôn đúng?

Vòng lặp chạy 1 lần rồi dừng

Vòng lặp không chạy lần nào

Vòng lặp chạy vô hạn

Chương trình báo lỗi

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào dùng để thoát vòng lặp while ngay lập tức?

continue

break

pass

exit

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả in ra màn hình của đoạn code sau là gì?

3 2 1

3 2 1 0

1 2 3

0 1 2 3

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?