แบบทดสอบคำสั่งเลือกทำตามเงื่อนไข

แบบทดสอบคำสั่งเลือกทำตามเงื่อนไข

KG - 12th Grade

25 Qs

quiz-placeholder

Similar activities

แบบทดสอบบทที่ 3 เรื่อง แก้ปัญหาด้วย  Scratch

แบบทดสอบบทที่ 3 เรื่อง แก้ปัญหาด้วย Scratch

7th Grade

20 Qs

แบบทดสอบ ม.1

แบบทดสอบ ม.1

6th Grade

20 Qs

แบบทดสอบหลังเรียน หน่วยที่ 2 ภาษาซีเบื้องต้น (ครูฟลุ๊ค)

แบบทดสอบหลังเรียน หน่วยที่ 2 ภาษาซีเบื้องต้น (ครูฟลุ๊ค)

9th Grade

20 Qs

python

python

3rd - 4th Grade

22 Qs

test python

test python

9th - 12th Grade

20 Qs

ภาษาซีif

ภาษาซีif

11th Grade

20 Qs

Test-Unit-2 -P6

Test-Unit-2 -P6

6th Grade

20 Qs

ทดสอบประเมินระหว่างเรียน

ทดสอบประเมินระหว่างเรียน

8th Grade - University

20 Qs

แบบทดสอบคำสั่งเลือกทำตามเงื่อนไข

แบบทดสอบคำสั่งเลือกทำตามเงื่อนไข

Assessment

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

Media Image

จากภาพเป็นโครงสร้างทางเลือกแบบใด

1 ทางเลือก

2 ทางเลือก

3 ทางเลือก

หลายทางเลือก

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?