1) What is an algorithm? a) a) A specific type of variable b) b) A set of loops that runs forever c) c) A step-by-step set of instructions to solve a problem or complete a task d) d) A visual object used in a program 2) What is the purpose of initialisation in an algorithm? a) a) To debug a program b) b) To execute a sub-routine c) c) To set up variables or conditions at the start d) d) To run a loop indefinitely 3) What is a count-controlled loop? a) a) A loop that runs until the program stops b) b) A loop that runs a specified number of times c) c) A loop that is executed once d) d) A loop with no defined end 4) What is a forever loop? a) a) A loop that runs a specific number of times b) b) A loop that only runs once c) c) A loop that runs indefinitely until stopped by an external condition d) d) A loop that calls a sub-routine 5) What does decomposition involve? a) a) Combining multiple tasks into one large task b) b) Running a loop indefinitely c) c) Breaking down a complex task into simpler, smaller parts d) d) Initializing variables 6) What is a sub-routine? a) a) A command to start a loop b) b) A section of code that runs indefinitely c) c) A reusable section of code that performs a specific task within a program d) d) A type of variable used in initialization 7) What is the definition of a sequence in programming? a) a) A type of loop that runs a specific number of times b) b) A step-by-step set of instructions to solve a problem c) c) The order in which instructions in a program are executed d) d) A sub-routine that is executed multiple times 8) What does it mean to call a sub-routine? a) a) To debug a program b) b) To create a new sub-routine c) c) To execute a pre-defined section of code d) d) To run a loop until an external condition is met
0%
4th grade scratch
แชร์
แชร์
แชร์
โดย
Gulnaztor
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
แบบทดสอบ
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม