Programming
471 questions. Open a question to solve it and check the official answer.
Structured programming · 3 marks
(i) The function header for this new function CalculateCustomerID .................................................................................................................…
Structured programming · 1 mark
(ii) The additional statement required within the function body to complete the change from a procedure to a function. ............................................................…
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]
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…
Constructs · 4 marks · official answer ready
(ii) Explain how the use of asymmetric key cryptography ensures that only Mariah can read the email. ..............................................................................…
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…
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…
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…
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…
Constructs · 3 marks · official answer ready
(iii) Explain what happens to Page 1 and Page 3, each time the loop is executed. ..................................................................................................…
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…
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]
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…
Constructs · 4 marks · official answer ready
(ii) Explain how the use of asymmetric key cryptography ensures that only Mariah can read the email. ..............................................................................…
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…
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…
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…
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…
Programming · 3 marks · official answer ready
(i) Name the programming environment you have used when typing in program code. ...................................................................................................…
Constructs · 4 marks · official answer ready
(iii) State the programming environment you have used when debugging program code. ................................................................................................…
