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
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
測驗
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?