11.1 Programming basics
9 questions in this subtopic. Open a question to solve it and check the official answer.
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 ...........…
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
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
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]
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 ..............................................…
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…
Programming basics · 8 marks · official answer ready
(a) Write program code to implement the flowchart opposite as the procedure VendingMachine. Programming Language ..................................................................…
Programming basics · 7 marks
(i) PROCEDURE InputScoresAndCalcAverage(BYREF Average : ........................ ) DECLARE ............................................ , .........................................…
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]
