Computer Science For First Examination In 2021 9618 · 3

3.2 Logic gates and logic circuits

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

Reset
2025 October-November · Paper 11 · Q3(a)

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

3 (a) Draw a logic circuit for the logic expression: X = NOT ((A NAND B) XOR (NOT A OR NOT C)) A B X C [2]

2025 October-November · Paper 11 · Q3(b)

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

(b) Write the logic expression for the following truth table. R S T Q 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 0 Q = .........................................…

2025 October-November · Paper 11 · Q4(b)

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

(b) The ACC currently contains the following positive binary integer: 1 1 1 0 0 0 1 1 Write the contents of the ACC after the instruction XOR &12 is carried out. [1]

2025 October-November · Paper 11 · Q4(c)

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

(c) The ACC currently contains the following positive binary integer: 1 1 1 0 0 0 1 1 Write the contents of the ACC after the instruction AND #63 is carried out. [1]

2025 October-November · Paper 11 · Q4(d)

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

(d) The ACC currently contains the following positive binary integer: 1 1 1 0 0 0 1 1 The current contents of memory are: Address Data 98 00100100 99 00110001 100 00110011 101 101…

2025 October-November · Paper 11 · Q5(b)(ii)

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

(ii) Describe one drawback of using library routines when developing software. ....................................................................................................…

2025 October-November · Paper 11 · Q6(c)

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

(c) State three differences between Dynamic RAM (DRAM) and Static RAM (SRAM). 1 ...................................................................................................…

2025 October-November · Paper 11 · Q7(b)

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

(b) Consider the following IP address: 256.0.0.A Circle whether this IP address is IPv4, IPv6 or an invalid IP address. IPv4 IPv6 Invalid Justify your choice. ....................…

2025 October-November · Paper 11 · Q10(a)

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

(a) Explain how the model will be printed using a 3D printer. .....................................................................................................................…

2025 October-November · Paper 12 · Q3(a)(ii)

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

(ii) Registers such as the Accumulator (ACC) and the Index Register (IX) are used in the CPU. Identify two special purpose registers used in the CPU. Do not include the ACC or IX …

2025 October-November · Paper 12 · Q9(a)

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

9 (a) Consider the following logic circuit: A X B C Write the logic expression for the logic circuit. Do not simplify the expression. X = .........................................…

2025 October-November · Paper 12 · Q9(b)

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

(b) Consider the following logic expression: X = NOT ((A NAND B) XOR (NOT A OR NOT C)) A truth table for the logic expression is given: Row number A B C X 1 0 0 0 1 2 0 0 1 0 3 0 …

2025 October-November · Paper 13 · Q3(a)

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

3 (a) Complete the truth table for the following logic expression: X = (A NOR B) NAND (C XOR B) 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 [2]

2025 October-November · Paper 13 · Q3(b)

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

(b) Draw a logic circuit for the logic expression: X = NOT (((A AND B) OR C) AND (C NOR D)) A B X C D [2] * 0000800000005 * DFD 5 , ,

2025 October-November · Paper 13 · Q5(c)

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

(c) Products are given a rating between 1 and 10 inclusive. Write an SQL script to return only the ProductID, ProductName and ComplaintDetails for all products with a rating of 5 …

2025 October-November · Paper 21 · Q5(a)(i)

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

(i) Comment on why the programmer chose –1 as the initial value of FoundAt ........................................................................................................…

2025 October-November · Paper 21 · Q5(a)(ii)

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

(ii) Explain the purpose of the outer conditional clause. .........................................................................................................................…

2025 October-November · Paper 21 · Q5(a)(iii)

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

(iii) The inner conditional clause ensures that only the index of the first matching element, if any, is returned. Explain how this clause works. .................................…

2025 October-November · Paper 21 · Q5(b)(i)

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

(i) Explain why this is not the most appropriate loop construct. ..................................................................................................................…

2025 October-November · Paper 21 · Q5(b)(ii)

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

(ii) Suggest and justify a more appropriate loop construct that could be used. Construct ..........................................................................................…