Computer Science 2210 · 8

Programming

295 questions. Open a question to solve it and check the official answer.

Reset
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…

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

Programming concepts · 4 marks · official answer ready

(b) A concept keyboard has a flat surface that is overlaid with images of food items available from the restaurant menu. Staff can click on an image to add the food item to a cust…

2016 October-November · Paper 13 · Q9

Programming concepts · 6 marks · official answer ready

9 A security light is controlled by sensors and a microprocessor. Describe how the sensors and microprocessor interact to switch on the security light when an intruder is detected…

2016 October-November · Paper 13 · Q11

Programming concepts · 6 marks · official answer ready

11 Explain why ethics are important when using computers. .........................................................................................................................…

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

Programming concepts · 3 marks · official answer ready

(i) For three of the variables that you have used in Task 1, state the name, type and its use. Variable 1 name ....................................................................…

2016 October-November · Paper 22 · Q1(c)

Programming · 6 marks · official answer ready

(c) Explain how you show the totals so far (Task 3). You may include programming statements as part of your explanation. ..........................................................…

2016 October-November · Paper 22 · Q1(d)

Programming concepts · 3 marks · official answer ready

(d) Explain how you would change your solution for Task 1 to allow the number of charities to be set to two, three or four by the manager. ........................................…

2016 October-November · Paper 22 · Q2

Programming concepts · 0 marks

2 Read this section of program code that inputs positive numbers, discards any negative numbers and then outputs the average. An input of zero ends the process. 1 Total = 0 2 Coun…

2016 October-November · Paper 23 · Q1(a)

Programming concepts · 8 marks · official answer ready

1 (a) All variables, constants and other identifiers should have meaningful names. For four of the variables, constants or arrays that you used in Task 1, state the name, data str…

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

Programming · 6 marks · official answer ready

(c) Explain how you show the result (Task 3). You may include programming statements as part of your explanation. .................................................................…

2016 October-November · Paper 23 · Q1(d)

Programming concepts · 2 marks · official answer ready

(d) Explain how you could extend your solution to deal with the case of ‘NO OVERALL WINNER’. ......................................................................................…

2016 October-November · Paper 23 · Q3

Programming concepts · 0 marks · official answer ready

3 FOR Count = 1 TO 10

2016 October-November · Paper 23 · Q5

Programming concepts · 0 marks

5 IF Num > 10 AND Num < 20 THEN InRange = InRange + 1

2016 May-June · Paper 11 · Q4(c)

Programming concepts · 3 marks · official answer ready

(c) Name another type of printer and describe one way in which it is different from the printers named in part (b). Give an application for this printer. Type of printer .........…

2016 May-June · Paper 11 · Q8(a)(ii)

Programming concepts · 1 mark · official answer ready

(ii) Give a reason why the system asks for four characters chosen at random. ......................................................................................................…

2016 May-June · Paper 11 · Q12(c)

Programming concepts · 3 marks

(c) An airport uses the type of barcode shown in part (a) to advertise local places of interest. Describe how a visitor landing at the airport could use these barcodes to help pla…

2016 May-June · Paper 12 · Q4(b)

Programming concepts · 4 marks · official answer ready

(b) This file will be transmitted to Mashuda as an email attachment. Mashuda then stores it on her computer. Explain how checksums can be used to verify that the file has not been…

2016 May-June · Paper 12 · Q11

Programming concepts · 4 marks · official answer ready

11 Describe the use of structure and presentation in a HTML document. .............................................................................................................…

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

Programming concepts · 3 marks · official answer ready

(i) For each of the variables that you have used to record dimensions of the parcels in Task 1, state the name, type and its use. Variable 1 name .................................…