
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
Desarrollo Ágil
Quiz
•
1st - 2nd Grade
10 questions
Dasar C++
Quiz
•
KG - 3rd Grade
10 questions
Cuestionario 2
Quiz
•
1st Grade
10 questions
Cuestionario Unidad V
Quiz
•
1st Grade
10 questions
Comandos
Quiz
•
1st Grade
10 questions
Python-Partie10
Quiz
•
1st Grade
9 questions
Los periféricos del computador
Quiz
•
1st Grade - Professio...
10 questions
9 сынып Python программалау тілінде алгоритмдерді программалау
Quiz
•
1st Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade