1) What is an algorithm? a) A series of step-by-step instructions to solve a problem b) Software that analyses data for programming c) A hardware device that stores data 2) What is a variable? a) Data that is stored in a memory location, that cannot be changed b) Data that is stored in a memory location, that can be changed c) Data that is produced by a computer, that cannot be changed 3) What is pseudocode used for? a) To program every piece of software b) To plan algorithms using a specific programming language c) To plan algorithms using plain English without following any specific syntax 4) What shape represents a decision in a flowchart? a) A parallelogram b) A rectangle c) A diamond 5) What is syntax? a) A way to plan algorithms in plain English b) The set of rules about how to use a particular programming language c) The structure used to create a flowchart for a algorithm 6) In computing terms, what is the difference between the data values 2 and "2"? a) There is no difference, they are both characters. b) 2 is an integer, "2" is a character c) 2 is an integer, "2" is a string. 7) In terms of data values, what are characters? a) Letters, digits and punctuation marks. b) Letters and punctuation marks c) Letters. 8) What is a string? a) A type of variable that hold data values made up of ordered sequences of characters b) A data type that holds letters c) A type of variable that hold characters. 9) Which one of the following is not one of three programming constructs a) Sequence b) Selection c) Iteration d) Pseudocode 10) A variable is needed to record a student's surname. Which of the following would be the most meaningful variable name? a) name b) student_firstname c) studentSurname d) stundentName 11) In programming what name is given to the data type which represents decimal numbers? a) Integers. b) Strings. c) Floats d) Boolean 12) In programming what name is given to the data type which represents whole numbers? a) Integers b) Strings c) Floating point numbers. 13) Which statement is used to cast a number as a decimal number in Python? a) int b) str c) float 14) What is 13 MOD 5? a) 1 b) 2 c) 3 d) 4 15) What is 14 DIV 4? a) 1 b) 2 c) 3 d) 4 16) What does OOP stand for? a) Object Oriented Programming b) Object Outer Performance c) Obtuse Offered Partner d) Oval Orange Peel 17) A procedure returns a value - True of False? a) True b) False 18) Which word describes the area in code where a variable can be referenced or used? a) Scope b) State c) Status d) String 19) Which word describes the variables that are passed into a subroutine in its declaration? e.g. def add(n1,n2) a) constructs b) constants c) parameters d) casts 20) Which word describes the changing of one data type into another? a) scoping b) merging c) referencing d) casting
0%
Programming Quiz
แชร์
แชร์
แชร์
โดย
Jsimpson10
KS4
KS5
Y11
Y12
Y13
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
แบบทดสอบ
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม