Photo AI

Computers carry out comparisons - Edexcel - GCSE Computer Science - Question 2 - 2021 - Paper 1

Question icon

Question 2

Computers-carry-out-comparisons-Edexcel-GCSE Computer Science-Question 2-2021-Paper 1.png

Computers carry out comparisons. (a) Complete the truth table. X Y Z Y AND Z X OR (Y AND Z) 0 1 0 0 0 0 1 1 1 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 0 1 0 0 0 1... show full transcript

Worked Solution & Example Answer:Computers carry out comparisons - Edexcel - GCSE Computer Science - Question 2 - 2021 - Paper 1

Step 1

Complete the truth table.

96%

114 rated

Answer

To fill in the truth table, we need to evaluate the logical expressions for each row using the standard logical operations:

  1. For Y AND Z: This expression is true (1) if both Y and Z are true (1). Therefore, it will be 1 only when both Y and Z in a row are 1, and 0 otherwise:

    • Row 1: Y = 1, Z = 0 → 0
    • Row 2: Y = 1, Z = 1 → 1
    • Row 3: Y = 0, Z = 0 → 0
    • Row 4: Y = 0, Z = 1 → 0
    • Row 5: Y = 1, Z = 0 → 0
    • Row 6: Y = 1, Z = 1 → 1
    • Row 7: Y = 1, Z = 0 → 0
    • Row 8: Y = 0, Z = 1 → 0
    • Row 9: Y = 0, Z = 0 → 0
  2. For X OR (Y AND Z): This expression is true (1) if either X is true or both Y and Z are true. We evaluate it accordingly:

    • Row 1: X = 0, Y AND Z = 0 → 0
    • Row 2: X = 0, Y AND Z = 1 → 1
    • Row 3: X = 1, Y AND Z = 0 → 1
    • Row 4: X = 1, Y AND Z = 0 → 1
    • Row 5: X = 1, Y AND Z = 0 → 1
    • Row 6: X = 1, Y AND Z = 1 → 1
    • Row 7: X = 0, Y AND Z = 0 → 0
    • Row 8: X = 1, Y AND Z = 0 → 1
    • Row 9: X = 1, Y AND Z = 0 → 1

Thus, the complete truth table will be:

XYZY AND ZX OR (Y AND Z)
00000
00100
01000
01111
10001
10101
11001
11111

Step 2

State the name of the component of the CPU that performs comparisons.

99%

104 rated

Answer

The component of the CPU that performs comparisons is called the Arithmetic Logic Unit (ALU).

Step 3

Complete this model, which is used by all computers.

96%

101 rated

Answer

The model can be completed as:

Input → Process → Output.

Step 4

State the function of cache memory.

98%

120 rated

Answer

The function of cache memory is to store frequently accessed data so that the CPU can retrieve it more quickly than accessing it from the main memory.

Join the GCSE students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;