แบบทดสอบ Fliped Classroom - if-else if

Quiz
•
Computers
•
12th Grade
•
Medium
ลัทธพล สะและวงษ์
Used 5+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือความหมายที่ถูกต้องที่สุด ของคำสั่ง if-else if
จะใช้ในกรณีที่มีหลายทางเลือก แต่ใช้ค่าของตัวแปรเพียงตัวเดียวมาตรวจสอบกับค่าคงที่ ถ้าตรวจสอบแล้วมีค่าตรงกับค่าคงที่ใดก็จะไปทำงานส่วนการทำงานของค่าคงที่นั้น
เป็นคำสั่งที่กำหนดการเลือกกระทำตามเงื่อนไข เมื่อเงื่อนไขเป็นจริง (True) ก็จะทำตามคำสั่งหลังเงื่อนไข หากเป็นเท็จก็จะทำตามคำสั่งหลัง else ตามคำสั่งที่กำหนดไว้
เป็นคำสั่งที่กำหนดการเลือกกระทำตามเงื่อนไขที่ 1 เมื่อเงื่อนไขเป็นจริง (True) ก็จะทำตามคำสั่งหลังเงื่อนไข หากเป็นเท็จก็จะทำตามคำสั่งหลัง else และจะมีการตรวจสอบเงื่อนไขที่ 2 และเงื่อนไขต่อ ๆ ไปอีก ถ้าเงื่อนไขเป็นจริงก็จะทำงานตามเงื่อนไขที่ได้กำหนดไว้
เป็นคำสั่งที่กำหนดการเลือกกระทำตามเงื่อนไข เมื่อเงื่อนไขเป็นจริง (True) ก็จะทำตามคำสั่ง หรือชุดคำสั่ง(Statements) แต่หากเงื่อนไขเป็นเท็จ (False) ก็จะไม่มีการทำงานใด ๆ
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือโครงสร้างของคำสั่ง if-else if
if(เงื่อนไข){
statement 1
statement 2
statement 3
}
if (Condition-1)
Statement ;
else if (Condition-2)
Statement;
else if (condition-N)
Statement;
if(Condition){
statement 1
else{
statement 1
}
if(Condition){
Statement 1
else-if{
Statement 2
}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่ง if-else กับ คำสั่ง if-else if แตกต่างกันอย่างไร
มีโครงสร้างแตกต่างกันอย่างมาก
โปรแกรมที่มีหลายๆเงื่อนไข สามารถใช้ได้ทั้ง 2 คำสั่ง
สามารถใช้ได้แค่เงื่อนไขเดียว
มีคำสั่งหนึ่ง ที่สามารถใช้ได้หลายเงื่อนไข
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จากโค๊ดโปรแกรม หากใส่ score = 50 โปรแกรมจะแสดงผลอย่างไร
You r Pass!
You r Not!!!
Error!
ไม่สามารถแสดงผลได้
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จากโค๊ดโปรแกรม ในไฮไลท์สีแดงเป็นคำสั่งที่ไว้ทำงานอะไร
แสดงเลขจำนวนเต็ม
แสดงตัวเลข 2 หลัก
แสดงตัวเลขทศนิยม 2 ตำแหน่ง
เป็นการรับค่าเลขทศนิยม 2 ตำแหน่ง
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จากคลิปวีดีโอแรก ครูสอนเรื่องของการทำงานคำสั่งอะไร
if
if,if-elses
if-else if
Switch case
Similar Resources on Wayground
10 questions
คำสั่งสร้างเกม scrach

Quiz
•
10th - 12th Grade
10 questions
ม.1 หลักการเขียนโปรแกรม

Quiz
•
9th - 12th Grade
10 questions
หน้าต่างโปรแกรม adobe dreamweaver

Quiz
•
9th - 12th Grade
10 questions
Corel Video Studio X8

Quiz
•
9th - 12th Grade
8 questions
ภาษาคอมพิวเตอร์

Quiz
•
9th - 12th Grade
10 questions
ทดสอบบทที่ 4 (นำเสนอ)

Quiz
•
9th - 12th Grade
10 questions
แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่4

Quiz
•
10th - 12th Grade
10 questions
วิทยาวิทยา ม.6 : การข้อมูลแบ่งปัน

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University