Hardware
429 questions. Open a question to solve it and check the official answer.
Logic gates and logic circuits · 3 marks · official answer ready
(c) The table should only contain values greater than 0. How could any values not meeting this criterion be located in the array, MyTable, and their position in that array identif…
Logic gates and logic circuits · 5 marks
6 (a) Draw the logic circuit corresponding to the following logic statement: For Examiner's Use X = 1 IF ( (A is NOT 1 AND B is 1) OR (B is 1 AND C is 1) ) OR (C is 1) A B X C [5]
Logic gates and logic circuits · 16 marks · official answer ready
(ii) State the reason why this invalid HandInDate is not a good test of the validation rules. [1]
Logic gates and logic circuits · 18 marks · official answer ready
(iii) State three hand-in dates that provide a better test to show that invalid data does not get entered. [3] Meena also wants to check that HandInDate is later than both DateSet…
Logic gates and logic circuits · 1 mark · official answer ready
(d) State a suitable value to initialise each element of the array. Justify your choice. Initial value Reason [1]
Logic gates and logic circuits · 16 marks · official answer ready
(ii) State the reason why this invalid HandInDate is not a good test of the validation rules. [1]
Logic gates and logic circuits · 18 marks · official answer ready
(iii) State three hand-in dates that provide a better test to show that invalid data does not get entered. [3] Meena also wants to check that HandInDate is later than both DateSet…
Logic gates and logic circuits · 1 mark · official answer ready
(d) State a suitable value to initialise each element of the array. Justify your choice. Initial value Reason [1]
Logic gates and logic circuits · 4 marks · official answer ready
(c) Meena has compiled the program and she thinks it is working. For Examiner's Use What two types of error could still occur in the program? For each type give an example. Error …
Logic gates and logic circuits · 7 marks · official answer ready
(iii) For each expression state whether it represents a valid or invalid binary string. List the rule number(s) in the order you have applied them to arrive at your decision. Expr…
Logic gates and logic circuits · 1 mark · official answer ready
(iii) Describe one other task done at the lexical analysis stage which does not involve the use of the keyword table or symbol table. [1] 15
Logic gates and logic circuits · 2 marks · official answer ready
(c) 10 Gb of the main memory is labelled OTHER and will not be used for the execution of For application programs. Examiner's Use Name two possible items of software this memory w…
Logic gates and logic circuits · 4 marks · official answer ready
(d) Any program loaded is always in one of three possible states. One is the ‘running’ state meaning the job currently has use of the processor. Name and describe the two other st…
Logic gates and logic circuits · 7 marks · official answer ready
(iii) For each expression state whether it represents a valid or invalid binary string. List the rule number(s) in the order you have applied them to arrive at your decision. Expr…
Logic gates and logic circuits · 1 mark · official answer ready
(iii) Describe one other task done at the lexical analysis stage which does not involve the use of the keyword table or symbol table. [1] 15
Logic gates and logic circuits · 2 marks · official answer ready
(c) 10 Gb of the main memory is labelled OTHER and will not be used for the execution of For application programs. Examiner's Use Name two possible items of software this memory w…
Logic gates and logic circuits · 4 marks · official answer ready
(d) Any program loaded is always in one of three possible states. One is the ‘running’ state meaning the job currently has use of the processor. Name and describe the two other st…
Logic gates and logic circuits · 7 marks · official answer ready
(iii) For each expression state whether it represents a valid or invalid list. State the rule number(s) in the order you have applied them to arrive at your decision. Expression V…
Logic gates and logic circuits · 3 marks · official answer ready
(c) The rules used in (b) are to be extended to allow any one list item to be one or two For characters. Examiner's Use For example, the following will both be valid lists: [a,ng]…
Logic gates and logic circuits · 4 marks · official answer ready
5 (a) Describe four differences between using a compiler or interpreter for the translation For process and the execution of a high-level language source code program. Examiner's …
