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 variable? a) A number b) A place in memory that holds a data value that changes c) A data value that changes. 9) 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. 10) Which one of the following is not one of three programming constructs a) Sequence b) Selection c) Iteration d) Pseudocode 11) 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_surname c) studentName 12) How can strings and variables be told apart? a) The data in a string is stored inside quotes. b) By its name. c) By its size. 13) In programming what name is given to the data type which represents decimal numbers? a) Integers. b) Strings. c) Floating point numbers 14) In programming what name is given to the data type which represents whole numbers? a) Integers b) Strings c) Floating point numbers. 15) Which statement is used to specify a decimal number? a) int b) str c) float 16) What does int stands for? a) interchange b) integer c) enter value 17) What does str stands for ? a) start program b) store data c) String.
0%
Year-11-Programming lesson2
共用
由
Abidrashiduk
KS4
KS5
Computing
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
測驗
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?