Kiểm Tra Vòng Lặp While

Kiểm Tra Vòng Lặp While

10th Grade

10 Qs

quiz-placeholder

Similar activities

only check box but some only one answer

only check box but some only one answer

KG - University

11 Qs

ANIME!!

ANIME!!

5th Grade - Professional Development

10 Qs

Guess the blackpink song lyrics

Guess the blackpink song lyrics

4th Grade - Professional Development

10 Qs

Undertale

Undertale

1st - 12th Grade

10 Qs

CFC Promotion Quiz

CFC Promotion Quiz

5th - 12th Grade

15 Qs

Św. Abraham

Św. Abraham

1st - 12th Grade

11 Qs

Plastic

Plastic

4th - 12th Grade

15 Qs

Francais voc semaine 18

Francais voc semaine 18

4th - 12th 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?