ผลลัพธ์ของคำสั่งต่อไปนี้
mickey = mouse;
if(mickey == mouse){
printf("Mickey is a mouse");}
else{
printf("Minnie rules") ;}
แบบทดสอบคำสั่งเลือกทำตามเงื่อนไข
Quiz
•
Computers
•
KG - 12th Grade
•
Hard
Used 92+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ผลลัพธ์ของคำสั่งต่อไปนี้
mickey = mouse;
if(mickey == mouse){
printf("Mickey is a mouse");}
else{
printf("Minnie rules") ;}
"Mickey is a mouse"
"Minnie rules"
Nothing prints.
"Mickey is a mouse" & "Minnie rules"
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
เครื่องหมายมากกว่าหรือเท่ากับ ในทางโปรแกรมจะต้องใช้สัญลักษณ์ใด
>=
<=
>>=
<<=
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
เครื่องหมาย เท่ากับ หรือ เท่ากัน ในทางโปรแกรมจะต้องใช้สัญลักษณ์ใด
=
= =
==
=~
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ถ้ากำหนดให้ $a=5 $b=5 แล้วเงื่อนไข if($a == $b) จะเป็นจริงหรือเท็จ
จริง
เท็จ
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ถ้ากำหนดให้ $a=4 $b=5 แล้วเงื่อนไข if($a > $b) จะเป็นจริงหรือเท็จ
จริง
เท็จ
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ผลลัพธ์ของคำสั่งต่อไปนี้
number_of_coins = 1 .
if(number_of_coins == 6) { .
. printf("You can buy some gum");
}
else{ .
if(number_of_coins == 10){
. print("You are rich");}
else{ .
. print("Get a job!"); }
}
You can buy some gum
You are rich
Get a job!
You are rich
Get a job!
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จากภาพเป็นโครงสร้างทางเลือกแบบใด
1 ทางเลือก
2 ทางเลือก
3 ทางเลือก
หลายทางเลือก
20 questions
แบบทดสอบความรู้เรื่องผังงาน
Quiz
•
5th Grade
20 questions
การเขียนโปรแกรมอย่างง่าย โดยใช้โปรแกรม Scratch
Quiz
•
6th Grade
20 questions
แบบฝึกแข่งขัน Coding ป.4-6 ชุดที่1
Quiz
•
6th Grade
20 questions
แนวข้อสอบปลายภาคเรียนที่ 1/2565 ชั้นประถมศึกษาปีที่ 5
Quiz
•
KG
20 questions
แบบทดสอบปลายภาค ว32273 หุ่นยนต์เคลื่อนที่อัตโนมัติ
Quiz
•
10th Grade
20 questions
C#For,Switch,If
Quiz
•
University
20 questions
test python
Quiz
•
9th - 12th Grade
20 questions
วิทยาการคำนวณ ป.6
Quiz
•
6th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade