3.2 Logic gates and logic circuits
363 questions in this subtopic. Open a question to solve it and check the official answer.
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…
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…
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]
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 …
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…
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 ...............................................................................…
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…
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…
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…
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 ......…
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. ........................................................…
Logic gates and logic circuits · 4 marks · official answer ready
(i) Complete the K‑map that corresponds to the truth table. AB CD [4]
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]
Logic gates and logic circuits · 4 marks · official answer ready
(i) Complete the K‑map that corresponds to the truth table. AB CD [4]
Logic gates and logic circuits · 1 mark · official answer ready
(e) State the value returned by the goal NOT(is_a(labrador, retriever)) ...........................................................................................................…
Logic gates and logic circuits · 5 marks · official answer ready
(b) Write program code for the Performer class. Programming language ............................................................................................................ P…
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. ..............................…
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…
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
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. ....................................................................…
