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 代码
删除
恢复自动保存:
?