TopMyGrade

Home·Daily Problem

Daily Problem·Wednesday, 19 July 2023Back to today

Boolean expressions

GCSE · Computer Science · OCR · 2.2.2 — Operators: arithmetic (+, −, *, /, MOD, DIV, ^), comparison (=, ≠, <, ≤, >, ≥), Boolean (AND, OR, NOT)

Question

Given a = 5, b = 10 and c = 5, state TRUE or FALSE for each expression: (a) (a = c) AND (b > a) [1] (b) (a > c) OR (b < a) [1] (c) NOT (a = b) [1] (d) (a < b) AND NOT (c = a) [1]

4 marks · take your time before peeking.

Sign up to try the next 30 problems

Save your streak, mark answers against the spec, and build a daily revision habit. Free during public beta — no card, no auto-renew.

Generated by TopMyGrade AI · cross-check official sources before relying on the mark-scheme phrasing.