loop while ต่อไปนี้ทำงานกี่รอบ
while

Quiz
•
Computers
•
1st Grade
•
Medium
noi pc
Used 5+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2
3
4
0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
loop while ต่อไปนี้ทำงานกี่รอบ
0
1
2
3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าต้องการพิมพ์ตัวเลข 2 4 6 8 ควรเลือกข้อใด
n=1;
while(n<10)
{ cout << n;
n=n+1;
}
n=2;
while(n<10)
{ n=n+2;
}
n=2;
while(n<=10)
{ cout << n;
n=n+2;
}
n=2;
while(n<10)
{ cout << n;
n=n+2;
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จงหาผลลัพธ์ของโค้ดต่อไปนี้
int x = 5;
while (x > 0) {
cout << x;
x--;
}
5 4 3 2 1
1 2 3 4 5
5 4 3 2
1 2 3 4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จงหาผลลัพธ์ของโค้ดต่อไปนี้
int x = 10;
while (x > 5) {
cout << x;
x--;
}
10 9 8 7 6
5 6 7 8 9 10
10 9 8 7 6 5
5 6 7 8 9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จงหาผลลัพธ์ของโค้ดต่อไปนี้
int x = 1;
while (x < 10) {
cout << x;
x = x * 2;
}
1 2 4 8
1 2 4 8 16
1 2 4 6 8
1 2 4 6 8 10
Similar Resources on Quizizz
10 questions
Introduction to Python - Loops and Logic

Quiz
•
1st - 6th Grade
8 questions
Test Informatica final nivel1, C++

Quiz
•
1st Grade
10 questions
Python_tinh_toan1

Quiz
•
1st - 5th Grade
11 questions
Цикли з лічильником. Цикли з передумовою

Quiz
•
1st - 12th Grade
10 questions
Tema if

Quiz
•
1st - 10th Grade
10 questions
Repaso ADA

Quiz
•
1st Grade
11 questions
python

Quiz
•
1st - 5th Grade
5 questions
Abstract QComplexLoop

Quiz
•
1st Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
Identifying equations

Quiz
•
KG - University
20 questions
r- controlled vowels review!

Quiz
•
1st - 2nd Grade
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
15 questions
Disney Trivia

Quiz
•
KG - 5th Grade
10 questions
Nouns, Verbs, and Adjectives

Quiz
•
1st - 2nd Grade
13 questions
addition and subtraction

Quiz
•
1st Grade
15 questions
First Grade Ready Math Unit 6 Review

Quiz
•
1st Grade
10 questions
Pixar Short "Piper"

Quiz
•
KG - 2nd Grade