Programming
468 questions. Open a question to solve it and check the official answer.
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…
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…
Constructs · 0 marks · official answer ready
2 Football \\
Programming basics · 0 marks
3 Tennis \\\
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…
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…
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 …
Constructs · 20 marks
(i) If the room width measures 100 cm, give the value stored in TilesForWidth. ....................................................................................................…
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…
Structured programming · 1 mark · official answer ready
(ii) Give one further use of a stack data structure by a computer system. .........................................................................................................…
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…
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…
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…
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]
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 …
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…
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]
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 …
Programming basics · 4 marks · official answer ready
(b) At the design stage, diagrams are used. Describe the function of the following diagrams in the design process. dataflow diagram (DFD) system flowchart [4]
Constructs · 2 marks · official answer ready
(iii) Explain what the computer system needs to do if more than 1 bit has been transmitted wrongly. [2] 10
