Computing 9691 · 11

11.1 Programming basics

9 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2016 May-June · Paper 11 · Q1

Programming basics · 4 marks · official answer ready

1 A programmer is developing an expert system. The expert system will diagnose problems in car engines. Describe four stages in the development of the expert system. 1 ...........…

2016 May-June · Paper 11 · Q7(a)

Programming basics · 4 marks · official answer ready

7 (a) Complete the truth table for the following logic circuit. A B X C INPUT Workspace OUTPUT A B C X 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 [4] 11

2016 May-June · Paper 12 · Q5(a)

Programming basics · 4 marks · official answer ready

5 (a) Complete the truth table for the following logic circuit. A B X C INPUT Workspace OUTPUT A B C X 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 [4] 11

2016 May-June · Paper 13 · Q4(a)

Programming basics · 4 marks · official answer ready

4 (a) Complete the truth table for the following logic circuit. A X B C INPUT Workspace OUTPUT A B C X 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 [4]

2016 May-June · Paper 21 · Q1(e)

Programming basics · 3 marks · official answer ready

(e) The pseudocode Zara wrote in part (c) has some features that make it easier to read and understand. State three such features. 1 ..............................................…

2016 May-June · Paper 23 · Q1

Programming basics · 8 marks · official answer ready

1 Zara wants to write a temperature conversion program. The program is to output a table to show Fahrenheit temperatures and their Celsius equivalents. She writes the program spec…

2016 May-June · Paper 23 · Q2(a)

Programming basics · 8 marks · official answer ready

(a) Write program code to implement the flowchart opposite as the procedure VendingMachine. Programming Language ..................................................................…

2016 May-June · Paper 23 · Q10(a)(i)

Programming basics · 7 marks

(i) PROCEDURE InputScoresAndCalcAverage(BYREF Average : ........................ ) DECLARE ............................................ , .........................................…

2016 May-June · Paper 33 · Q5(a)(i)

Programming basics · 2 marks · official answer ready

(i) Complete the identifier table: Variable Data type Description MyList ARRAY[1 : 7] OF INTEGER The given list of numbers SearchItem INTEGER The number input [2]