Computer Science 9608 · 3

3.2 Logic gates and logic circuits

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

Reset
2018 October-November · Paper 13 · Q3(c)

Logic gates and logic circuits · 2 marks · official answer ready

(c) Margarita finds that one of her team members has produced some inventive code. She presents this to her manager, praising the individual by name. Ethical Unethical Justificati…

2018 October-November · Paper 13 · Q6(c)

Logic gates and logic circuits · 5 marks · official answer ready

(c) There are two types of RAM: dynamic RAM (DRAM) and static RAM (SRAM). The following table shows five statements about DRAM and SRAM. Tick (✓) one box in each row to indicate w…

2018 October-November · Paper 13 · Q8(a)

Logic gates and logic circuits · 4 marks · official answer ready

8 (a) Draw a logic circuit to represent the logic expression: X = (A XOR B) OR (NOT(C AND A)) A B X C [4]

2018 October-November · Paper 21 · Q2(b)(ii)

Logic gates and logic circuits · 2 marks · official answer ready

(ii) Function GetPoints() has not been written yet. Name and describe a strategy that can be used to test GetDiscountRate() before the GetPoints() function has been written. Name …

2018 October-November · Paper 21 · Q3(c)

Logic gates and logic circuits · 4 marks · official answer ready

(c) Two testing methods are black-box and white-box. A student is choosing test data for both methods. Tick one or more boxes in each row to identify the testing method each state…

2018 October-November · Paper 22 · Q2(b)(i)

Logic gates and logic circuits · 2 marks · official answer ready

(i) Name and describe one other type of error that the high-level language code could contain. Name ...............................................................................…

2018 October-November · Paper 22 · Q2(b)(ii)

Logic gates and logic circuits · 4 marks · official answer ready

(ii) The function CalcPoints() is tested using white-box testing. State two different values of Total that could be used to test different paths through the algorithm. Justify you…

2018 October-November · Paper 22 · Q3(c)

Logic gates and logic circuits · 4 marks · official answer ready

(c) A program needs to search through 1000 elements of an unsorted array to find a given value. The program will output: • either the position in the array of the value • or the m…

2018 October-November · Paper 22 · Q4(b)

Logic gates and logic circuits · 8 marks · official answer ready

(b) The function ScanFile() is to be amended so that the first 7 characters of FileData are not written to the array. Write program code to implement this amended ScanFile() funct…

2018 October-November · Paper 23 · Q2(b)(i)

Logic gates and logic circuits · 2 marks · official answer ready

(i) The function is tested using black-box testing and does not contain any syntax errors. Name and describe one other type of error that black-box testing could find. Name ......…

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

Logic gates and logic circuits · 3 marks · official answer ready

(b) Outline the steps the program will need to follow to implement the algorithm. Do not write pseudocode or program code. ........................................................…

2018 October-November · Paper 31 · Q4(b)(i)

Logic gates and logic circuits · 4 marks · official answer ready

(i) Complete the K‑map that corresponds to the truth table. AB CD [4]

2018 October-November · Paper 32 · Q3(c)(i)

Logic gates and logic circuits · 4 marks · official answer ready

(i) Complete the K-map for the truth table in part (c). AB CD [4]

2018 October-November · Paper 33 · Q4(b)(i)

Logic gates and logic circuits · 4 marks · official answer ready

(i) Complete the K‑map that corresponds to the truth table. AB CD [4]

2018 October-November · Paper 42 · Q2(e)

Logic gates and logic circuits · 1 mark · official answer ready

(e) State the value returned by the goal NOT(is_a(labrador, retriever)) ...........................................................................................................…

2018 October-November · Paper 42 · Q4(b)

Logic gates and logic circuits · 5 marks · official answer ready

(b) Write program code for the Performer class. Programming language ............................................................................................................ P…

2018 October-November · Paper 42 · Q4(d)(i)

Logic gates and logic circuits · 3 marks · official answer ready

(i) Write program code to create an instance of an object with the identifier Acrobat_1. All attributes of the instance should be fully initialised. ..............................…

2018 May-June · Paper 11 · Q4(a)

Logic gates and logic circuits · 3 marks · official answer ready

4 (a) An alarm system (X) is enabled and disabled using either a switch (A) or a remote control (B). There are two infra-red sensors (C, D) and one door pressure sensor (E). Descr…

2018 May-June · Paper 11 · Q4(b)

Logic gates and logic circuits · 4 marks · official answer ready

(b) Complete the truth table for the logic expression: X = A OR (B XOR C) Working space 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] 10

2018 May-June · Paper 11 · Q6(c)

Logic gates and logic circuits · 2 marks · official answer ready

(c) The data received can contain errors that are not detected using parity bits. Explain how this can happen. ....................................................................…