TopMyGrade

Home·Daily Problem

Daily Problem·Monday, 28 August 2023Back to today

Explain arithmetic vs bitwise AND

GCSE · Computer Science · Edexcel · 6.5 — Operators

Question

In many programming languages, the symbol & is used for bitwise operations, while * is used for multiplication.

Explain the difference between the result of 5 & 2 and 5 * 2 in binary, assuming 4-bit integers.

3 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.