Programming
295 questions. Open a question to solve it and check the official answer.
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 ..........................…
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…
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…
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…
Programming concepts · 6 marks · official answer ready
11 Explain why ethics are important when using computers. .........................................................................................................................…
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 ....................................................................…
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. ..........................................................…
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. ........................................…
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…
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…
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. .................................................................…
Programming concepts · 2 marks · official answer ready
(d) Explain how you could extend your solution to deal with the case of ‘NO OVERALL WINNER’. ......................................................................................…
Programming concepts · 0 marks · official answer ready
3 FOR Count = 1 TO 10
Programming concepts · 0 marks
5 IF Num > 10 AND Num < 20 THEN InRange = InRange + 1
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 .........…
Programming concepts · 1 mark · official answer ready
(ii) Give a reason why the system asks for four characters chosen at random. ......................................................................................................…
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…
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…
Programming concepts · 4 marks · official answer ready
11 Describe the use of structure and presentation in a HTML document. .............................................................................................................…
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 .................................…
