Computing 9691 · 11

Programming

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

Reset
2014 October-November · Paper 23 · Q1(a)

Constructs · 2 marks · official answer ready

(a) Write a pseudocode statement to declare the array Tally. ......................................................................................................................…

2014 October-November · Paper 23 · Q1(b)(i)

Programming basics · 4 marks · official answer ready

(i) Write the pseudocode for the procedures InitialiseArrayCounts and InputStudentChoices: PROCEDURE InitialiseArrayCounts ........................................................…

2014 October-November · Paper 23 · Q1(b)(ii)

Constructs · 3 marks · official answer ready

(ii) State the variable that the array element Tally[2] has replaced. .............................................................................................................…

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

Constructs · 6 marks · official answer ready

1 Rema surveys the students in her class to find out which is the most popular sport. She draws a tally chart: 1 Cricket \\\\\\\\ 2 Football \\ 3 Tennis \\\ 4 Swimming \\\\\\ Rema…

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

Constructs · 9 marks

1 Rema surveys the students in her class to find out which is the most popular sport. She draws a tally chart: 1 Cricket \\\\\\\\ 2 Football \\ 3 Tennis \\\ 4 Swimming \\\\\\ Rema…

2014 October-November · Paper 23 · Q1(e)(i)

Constructs · 3 marks · official answer ready

1 Rema surveys the students in her class to find out which is the most popular sport. She draws a tally chart: 1 Cricket \\\\\\\\ 2 Football \\ 3 Tennis \\\ 4 Swimming \\\\\\ Rema…

2014 October-November · Paper 23 · Q1(e)(ii)

Constructs · 1 mark · official answer ready

1 Rema surveys the students in her class to find out which is the most popular sport. She draws a tally chart: 1 Cricket \\\\\\\\ 2 Football \\ 3 Tennis \\\ 4 Swimming \\\\\\ Rema…

2014 October-November · Paper 23 · Q2

Constructs · 0 marks · official answer ready

2 Football \\

2014 October-November · Paper 23 · Q3

Programming basics · 0 marks

3 Tennis \\\

2014 October-November · Paper 23 · Q3(b)

Programming basics · 3 marks

3 Ahmed runs his own business. He lays floor tiles in rooms for customers. Ahmed wants a program that calculates how many tiles he needs when he inputs the measurements of the len…

2014 October-November · Paper 23 · Q3(c)(iii)

Constructs · 5 marks

3 Ahmed runs his own business. He lays floor tiles in rooms for customers. Ahmed wants a program that calculates how many tiles he needs when he inputs the measurements of the len…

2014 October-November · Paper 23 · Q4(a)

Structured programming · 28 marks

(a) The program calls the function PasswordCheck with the stored password as parameter. If the user enters the correct password the function returns the value TRUE. Each time the …

2014 October-November · Paper 23 · Q4(c)(i)

Constructs · 20 marks

(i) If the room width measures 100 cm, give the value stored in TilesForWidth. ....................................................................................................…

2014 October-November · Paper 31 · Q7(f)

Constructs · 2 marks · official answer ready

(f) High-level programming languages have two types of function. These are built-in and user- defined. Explain the difference between them. You may give an example from your pract…

2014 October-November · Paper 32 · Q1(c)(ii)

Structured programming · 1 mark · official answer ready

(ii) Give one further use of a stack data structure by a computer system. .........................................................................................................…

2014 October-November · Paper 32 · Q7(f)

Constructs · 2 marks · official answer ready

(f) High-level programming languages have two types of function. These are built-in and user-defined. Explain the difference between them. You may give an example from your practi…

2014 October-November · Paper 33 · Q7(f)

Constructs · 2 marks · official answer ready

(f) High-level programming languages have two types of function. These are built-in and user- defined. Explain the difference between them. You may give an example from your pract…

2014 May-June · Paper 11 · Q7

Constructs · 9 marks

7 A company designs and sells furniture. Three different offices make up the company: Drawing Office - Staff use Computer Aided Design (CAD) software to design new furniture Finan…

2014 May-June · Paper 11 · Q9(a)

Constructs · 1 mark · official answer ready

(a) A customer selects a lemon drink. Show how the code for this selection is stored in the 7-bit register: [1]

2014 May-June · Paper 11 · Q9(e)(ii)

Constructs · 3 marks · official answer ready

(ii) The vending machine transmits eight codes (bytes), followed by a parity byte. The following bytes have been received by the computer: 1 0 0 0 1 0 1 1 1 0 0 0 1 1 0 1 0 0 1 1 …