Computing 9691 · 11

Programming

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

Reset
2012 October-November · Paper 11 · Q1(a)(iii)

Constructs · 1 mark · official answer ready

(iii) application software [1] Students in a school use computers when studying science.

2012 October-November · Paper 11 · Q3

Constructs · 4 marks · official answer ready

3 Two output formats are sound and animation. For each format state an application where it would be appropriate. Justify your choice in each case. (i) Sound Application Justifica…

2012 October-November · Paper 11 · Q6(c)

Constructs · 4 marks · official answer ready

(c) Describe how buffers and interrupts are used to control the transfer of data from a hard disk to primary memory on a stand-alone computer system. [4] 8

2012 October-November · Paper 11 · Q8(a)(i)

Programming basics · 2 marks · official answer ready

(i) State an input device which would be suitable for use in this application. Justify your choice. Device Justification [2]

2012 October-November · Paper 11 · Q8(a)(ii)

Programming basics · 2 marks · official answer ready

(ii) State an output device which would be suitable for use in this application. Justify your choice. Device Justification [2]

2012 October-November · Paper 12 · Q3

Constructs · 4 marks · official answer ready

3 Two output formats are graphs and hard copy reports. For each format state an application where it would be appropriate. Justify your choice in each case. (i) Graphs Application…

2012 October-November · Paper 12 · Q6(c)

Constructs · 4 marks · official answer ready

(c) Describe how buffers and interrupts are used to control the transfer of data from primary memory to a printer on a stand-alone computer system. [4] 8

2012 October-November · Paper 13 · Q6(c)

Constructs · 4 marks · official answer ready

(c) Describe how buffers and interrupts are used to control the transfer of data from the primary memory to a hard disk on a stand-alone computer system. [4] 8

2012 October-November · Paper 13 · Q7(a)

Constructs · 2 marks · official answer ready

(a) Describe what is meant by a sequential file in this case. [2]

2012 October-November · Paper 13 · Q8(a)(ii)

Constructs · 2 marks · official answer ready

(ii) State an output device which would be suitable for use in this application. Justify your choice. Device Justification [2]

2012 October-November · Paper 21 · Q2

Programming basics · 6 marks · official answer ready

2 [2] (d) Each subtask is coded as a program module. Explain how it is possible to use the same variable name for different variables in different modules. [2] (e) When validating…

2012 October-November · Paper 21 · Q2(e)

Programming basics · 4 marks

2 [2] (e) When validating the type of bike (road, hybrid, track) Soni uses INPUT Bike IF (Bike = “road”) (Bike = “hybrid”) (Bike = “track”) THEN OUTPUT Bike “ is valid” ELSE OUTPU…

2012 October-November · Paper 21 · Q2(f)(i)

Programming basics · 2 marks

2 [2] (f) All bikes in stock have a bike ID. Each bike ID is six characters long and has the format For BIKEXX, where X is a digit. Examiner's Use For example, BIKE65 is a valid b…

2012 October-November · Paper 21 · Q8(b)

Constructs · 16 marks

8 [10] 5 (ii) Explain why Bike46 is an invalid bike ID. For Examiner's Use State the line number of your code in part (f)(i) which detects that it is invalid. Line Number [2] (b) …

2012 October-November · Paper 21 · Q8(b)(iii)

Programming · 18 marks

(iii) Write down two reserved words from your code in (i). Programming language Words [2] 10

2012 October-November · Paper 21 · Q8(d)(iii)

Structured programming · 39 marks

(iii) State one parameter that would be passed to the procedure AddBikeRecord. [1] 15 16 reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but i…

2012 October-November · Paper 22 · Q8(b)

Constructs · 25 marks

(b) From the flowchart write the module code, using nested WHILE loops. For Ensure that your code demonstrates good programming practice. Examiner's Use Row ← 1 No Row

2012 October-November · Paper 23 · Q8(b)

Constructs · 25 marks

(b) From the flowchart write the module code, using nested REPEAT…UNTIL loops. For Ensure that your code demonstrates good programming practice. Examiner's Use Row ← 1 No Row

2012 October-November · Paper 32 · Q2(a)(i)

Constructs · 1 mark · official answer ready

(i) What denary number is this if it represents a sign and magnitude integer? [1]

2012 October-November · Paper 32 · Q8(a)(iv)

Structured programming · 2 marks · official answer ready

(iv) State the parameter identifiers for the function given above. [2] 15