
FinalFCS
Authored by Kukkae Kukkae
Computers
University
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
คำสั่งในข้อใดต่อไปนี้ เป็นคำสั่งที่ใช้วนลูปทำงานทั้งหมด
for, while, do while
for, switch, if else
if else, while, do while
if, if else, switch
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดต่อไปนี้กล่าวไม่ถูกต้อง
คำสั่ง nested if กับคำสั่ง switch ใช้ในกรณีมีทางเลือกให้ตัดสินใจมากกว่า 2 ทางเลือก
คำสั่ง break เป็นคำสั่งที่สั่งให้ออกจากคำสั่งที่ใช้วนลูป
คำสั่ง while ถึงแม้เงื่อนไขจะเป็นเท็จ แต่จะมีการทำงานก่อนอย่างน้อย 1 ครั้งเสมอ
คำสั่ง for นิยมใช้ในกรณีที่ทราบจำนวนการทำซ้ำที่แน่นอน
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดต่อไปนี้กล่าวไม่ถูกต้อง เกี่ยวกับคำสั่ง switch
ใช้กรณีมีทางเลือกให้ตัดสินใจมากกว่า 2 ทาง
ใช้แทนคำสั่ง nested if เพราะง่ายและสะดวกกว่า
เงื่อนไข (expression) หลัง switch ควรเป็นค่าคงที่ ส่วนหลัง case ควรเป็นตัวแปร
default คือ กรณีที่ทำงานไม่ตรงกับเงื่อนไขใด ๆ เลย
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดต่อไปนี้กล่าวไม่ถูกต้อง
คำสั่ง if else ถ้าเงื่อนไขเป็นจริงจะทำงานชุดคำสั่งหลัง if แต่ถ้าเป็นเท็จจะทำงานชุดคำสั่งหลัง else
คำสั่ง switch ใช้ในกรณีมีทางเลือกให้ตัดสินใจมากกว่า 2 ทางเลือกเหมือนกับคำสั่ง nested if
คำสั่ง do while จะทำงานซ้ำ ๆ กัน นิยมใช้ในกรณีที่ไม่สามารถทราบจำนวนครั้งการทำซ้ำที่แน่นอน
คำสั่ง for ประกอบด้วย นิพจน์ 3 นิพจน์ คือ กำหนดค่าเริ่มต้นให้กับตัวแปร เพิ่มค่าตัวแปรใช้ทำงานซ้ำ และทดสอบเงื่อนไข ตามลำดับ
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ผังงานต่อไปนี้แทนการทำงานแบบใด
แบบทดสอบเงื่อนไข 2 ทาง
แบบทดสอบเงื่อนไข 1 ทาง
แบบทดสอบเงื่อนไขมากกว่า 2 ทาง
แบบเรียงลำดับ
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
จากโปรแกรม ถ้าเราป้อน x เป็น 40 และ y เป็น 80 ผลลัพธ์ที่ได้คือข้อใดต่อไปนี้
X equal to Y = 80
X = 80 not equal to Y = 40
X = 40 not equal to Y = 80
เป็นไปได้ทุกข้อ
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
จากโปรแกรม ในกรณีที่เติมค่าตัวแปร x และ y เท่ากัน ในบรรทัดที่ 10 ณ ตำแหน่ง %d สามารถใช้ตัวแปรในข้อใดได้
x เท่านั้น
y เท่านั้น
เป็นได้ทั้ง x และ y
ผิดทุกข้อ
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
40 questions
Microsoft Office-final
Quiz
•
University
40 questions
CPE3423 midterm 1/2564
Quiz
•
University
35 questions
แบบทดสอบเว็บไซต์
Quiz
•
University
40 questions
วิชา ธุรกิจและการเป็นผู้ประกอบการ ปวส.บทที่ 1- 4
Quiz
•
University
40 questions
การผลิตสื่อสิ่งพิมพ์
Quiz
•
University
40 questions
แบบทดสอบปลายภาค วิชาการพัฒนาโปรแกรมบนอุปกรณ์พกพาเบื้องต้น
Quiz
•
10th Grade - University
40 questions
วิทยาการการจัดการเรียนรู้วิชาคอมพิวเตอร์ 1-66
Quiz
•
University
36 questions
ข้อสอบไฟฟ้าและอิเล็กทรอนิกส์
Quiz
•
10th Grade - University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University