
while
Authored by noi pc
Computers
1st Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
loop while ต่อไปนี้ทำงานกี่รอบ
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
6 сынып PYTHON тілінде программалау
Quiz
•
1st Grade
10 questions
JENIS-JENIS MEDAN
Quiz
•
1st - 6th Grade
8 questions
Test Informatica final nivel1, C++
Quiz
•
1st Grade
11 questions
Marvel Future Fight
Quiz
•
KG - Professional Dev...
9 questions
Napewno tego nie wiesz! - VIKI GABOR
Quiz
•
1st - 10th Grade
10 questions
Conosci Eoc-Desk?
Quiz
•
1st - 12th Grade
10 questions
Word Básico VI
Quiz
•
KG - 3rd Grade
10 questions
CHƠI VỚI CÁC LỆNH SCRATCH
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
12 questions
Telling Time to the Hour and Half Hour
Quiz
•
1st - 3rd Grade
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
16 questions
Measurement
Quiz
•
1st Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade