Computer Science 2210 · 8

8.1 Programming concepts

223 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2017 October-November · Paper 13 · Q1(a)

Programming concepts · 1 mark

(a) State whether the display screen is an input, output or storage device. .......................................................................................................…

2017 October-November · Paper 22 · Q1(a)(i)

Programming concepts · 3 marks · official answer ready

(i) For one variable that you have used to record the information about a single boat in Task 1, state the name, data type and its use. Variable name .............................…

2017 October-November · Paper 22 · Q1(a)(ii)

Programming concepts · 2 marks · official answer ready

(ii) State one constant and its value that you could have used for Task 1. Constant name ..........................................................................................…

2017 October-November · Paper 22 · Q3

Programming concepts · 3 marks · official answer ready

3 The following diagram shows four data structures and four descriptions. Draw a line to connect each data structure to the correct description. Data structure Description Constan…

2017 October-November · Paper 22 · Q4

Programming concepts · 4 marks · official answer ready

4 IF … THEN … ELSE … ENDIF is one type of conditional statement used when writing pseudocode. Identify and describe another type of conditional statement that you could use when w…

2017 October-November · Paper 23 · Q1(a)(ii)

Programming concepts · 4 marks · official answer ready

(ii) Name one variable and one constant you used for Task 1 and state the purpose of each one. Variable ...........................................................................…

2017 October-November · Paper 23 · Q1(c)

Programming concepts · 4 marks · official answer ready

(c) Describe how you could validate and test the inputs for Task 1. ...............................................................................................................…

2017 May-June · Paper 11 · Q13(b)(i)

Programming concepts · 3 marks · official answer ready

(i) Downloading the code for a computer program: Type of compression ......................................................................................................... Expl…

2017 May-June · Paper 11 · Q13(b)(ii)

Programming concepts · 3 marks · official answer ready

(ii) Streaming a video file: Type of compression ......................................................................................................... Explanation ............…

2017 May-June · Paper 12 · Q9

Programming concepts · 6 marks · official answer ready

9 A cold store is kept at a constant low temperature using a sensor, a microprocessor and a cooling unit. Explain how the sensor and microprocessor will maintain a constant low te…

2017 May-June · Paper 21 · Q1(a)(i)

Programming concepts · 2 marks · official answer ready

(i) Name two constants you used for Task 1 and state the value of each one. Constant 1 ............................................................................................…

2017 May-June · Paper 21 · Q6

Programming concepts · 0 marks · official answer ready

6 INPUT Number

2017 May-June · Paper 21 · Q11(a)

Programming concepts · 12 marks

5 (a) Describe the purpose of each statement in this algorithm. FOR I 1 TO 300 INPUT Name[I] NEXT I ...............................................................................…

2017 May-June · Paper 21 · Q11(b)

Programming concepts · 11 marks

(b) Identify, using pseudocode, another loop structure that the algorithm in part (a) could have used. ............................................................................…

2017 May-June · Paper 22 · Q1(a)(i)

Programming concepts · 3 marks · official answer ready

(i) For a variable that you have used to record information about the cost of the outing in Task 1, state the name, data type and its use. Variable name ..........................…

2017 May-June · Paper 22 · Q1(a)(ii)

Programming concepts · 6 marks · official answer ready

(ii) State two constants that you could have used for Task 1. Give the value that would be assigned to each one and explain what it is used for. Constant 1 name ..................…

2017 May-June · Paper 22 · Q1(b)

Programming concepts · 2 marks · official answer ready

(b) Explain how you would need to change your calculation in Task 1 if each carer were paid $20.00 for coming on the outing. ......................................................…

2017 May-June · Paper 22 · Q4(b)

Programming concepts · 3 marks · official answer ready

(b) Rewrite the correct algorithm using a more suitable loop structure. ...........................................................................................................…

2016 October-November · Paper 12 · Q11(b)

Programming concepts · 6 marks · official answer ready

(b) Identify two sensors that the security system could use to detect intruders. Describe how each sensor could be used in the security system. Sensor 1 ..........................…

2016 October-November · Paper 13 · Q4(a)

Programming concepts · 2 marks · official answer ready

(a) Staff currently use a keyboard to input a customer food order into a computer. The food order is then sent to the kitchen. State two disadvantages of using a keyboard to input…