Computer Science 9608 · 11

Programming

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

Reset
2016 October-November · Paper 23 · Q19(c)(i)

Structured programming · 3 marks

(i) The function header for this new function CalculateCustomerID .................................................................................................................…

2016 October-November · Paper 23 · Q19(c)(ii)

Structured programming · 1 mark

(ii) The additional statement required within the function body to complete the change from a procedure to a function. ............................................................…

2016 October-November · Paper 31 · Q4(a)(i)

Programming basics · 13 marks · official answer ready

(i) Complete the truth table for this logic circuit. X Input Output A X Y A B Y 0 0 0 1 1 0 B 1 1 [2]

2016 October-November · Paper 31 · Q6(a)(ii)

Constructs · 2 marks

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 31 · Q6(b)(ii)

Constructs · 4 marks · official answer ready

(ii) Explain how the use of asymmetric key cryptography ensures that only Mariah can read the email. ..............................................................................…

2016 October-November · Paper 31 · Q6(c)(i)

Constructs · 1 mark

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 31 · Q6(c)(ii)

Constructs · 3 marks

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 31 · Q6(c)(iii)

Constructs · 1 mark

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 31 · Q6(c)(iv)

Constructs · 3 marks

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 32 · Q3(c)(iii)

Constructs · 3 marks · official answer ready

(iii) Explain what happens to Page 1 and Page 3, each time the loop is executed. ..................................................................................................…

2016 October-November · Paper 32 · Q5(a)(i)

Programming basics · 2 marks · official answer ready

(i) A half adder is a logic circuit with the following truth table. Input Output X Y A B 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0 The following logic circuit is constructed. P X A J HALF A…

2016 October-November · Paper 33 · Q4(a)(i)

Programming basics · 13 marks · official answer ready

(i) Complete the truth table for this logic circuit. X Input Output A X Y A B Y 0 0 0 1 1 0 B 1 1 [2]

2016 October-November · Paper 33 · Q6(a)(ii)

Constructs · 2 marks

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 33 · Q6(b)(ii)

Constructs · 4 marks · official answer ready

(ii) Explain how the use of asymmetric key cryptography ensures that only Mariah can read the email. ..............................................................................…

2016 October-November · Paper 33 · Q6(c)(i)

Constructs · 1 mark

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 33 · Q6(c)(ii)

Constructs · 3 marks

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 33 · Q6(c)(iii)

Constructs · 1 mark

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 33 · Q6(c)(iv)

Constructs · 3 marks

6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…

2016 October-November · Paper 41 · Q2(a)(i)

Programming · 3 marks · official answer ready

(i) Name the programming environment you have used when typing in program code. ...................................................................................................…

2016 October-November · Paper 41 · Q2(b)(iii)

Constructs · 4 marks · official answer ready

(iii) State the programming environment you have used when debugging program code. ................................................................................................…