Von Neumann Architecture
Single shared memory and bus for instructions and data | CPU contains CU, ALU and registers OCR GCSE Computer Science J277
Every essential formula and definition for OCR J277 — systems architecture, memory & storage calculations, networks, algorithms, programming, Boolean logic and data representation.
Our formula sheets are free to download — save this one as PDF for offline revision.
Aligned with the latest 2026 syllabus and board specifications. This sheet is prepared to match your exam board’s official specifications for the 2026 exam series.
OCR GCSE Computer Science (J277) tests both Component 1 (Computer Systems) and Component 2 (Computational Thinking, Algorithms & Programming). This formula sheet brings together every key calculation, definition and rule across both papers for fast 2026 revision.
Systems architecture, memory and storage calculations
Networks, protocols and security threats
Algorithms, searches and sorts with complexity
Boolean logic and binary/hex data representation
How the CPU executes instructions.
Single shared memory and bus for instructions and data | CPU contains CU, ALU and registers Fetch
PC → MAR; instruction copied to MDR; PC incremented Decode
CU decodes instruction in CIR Execute
ALU performs operation; result stored in accumulator/register PC (Program Counter) | MAR (Memory Address Register) | MDR (Memory Data Register) | CIR (Current Instruction Register) | ACC (Accumulator) Clock speed
Hz — instructions per second; higher = faster but more heat/power Cache size
Larger cache = fewer slow RAM fetches Number of cores
More cores = more instructions in parallel (if software supports it) Capacity calculations are guaranteed exam content.
RAM
Volatile, read/write, holds running programs and data ROM
Non-volatile, read-only, holds bootloader / firmware Virtual memory
Section of secondary storage used as RAM when RAM is full — slower Magnetic (HDD) | Optical (CD/DVD/Blu-ray) | Solid-state (SSD/USB) — compare on capacity, speed, durability, cost, portability Image file size
Size = Width × Height × Bit depth ÷ 8 (bytes); add header where applicable Bit depth: 1-bit = 2 colours; 8-bit = 256 colours; 24-bit = 16.7M colours
Sound file size
Size = Sample rate × Sample resolution (bit depth) × Duration (s) ÷ 8 (bytes) Higher sample rate / bit depth → better quality but larger file 1 byte = 8 bits | 1 KB = 1000 bytes | 1 MB = 1000 KB | 1 GB = 1000 MB | 1 TB = 1000 GB | 1 PB = 1000 TB From topologies to threats and encryption.
LAN (single site) vs WAN (across multiple sites; Internet is largest WAN) Topologies: Star (central switch — robust) | Mesh (every node connected — resilient) Web
HTTP / HTTPS (secure) | TCP/IP (transport + network) | FTP (file transfer) SMTP (sending) | POP / IMAP (receiving — IMAP keeps a server copy) Data split into packets, each routed independently, reassembled at destination | Includes header (addresses, sequence) + payload Malware (virus, worm, trojan, ransomware, spyware) | Social engineering (phishing, pretexting, shoulder surfing) Brute-force attacks | Denial-of-service (DoS / DDoS) | SQL injection | Data interception Encryption | Strong passwords + 2FA | Firewalls | Anti-malware | User access levels | Penetration testing | Physical security Operating systems and the wider impact of computing.
User interface | Memory management | Process / multitasking management | Peripheral / device driver management | File management | User account management Encryption | Defragmentation | Data compression | Backup | Anti-malware Data Protection Act (2018) | Computer Misuse Act (1990) | Copyright, Designs and Patents Act (1988) | Software licensing (open source vs proprietary) Issues: privacy, automation, digital divide, environmental impact, cyberbullying Computational thinking, searches and sorts.
Abstraction
Removing unnecessary detail to focus on the problem Decomposition
Breaking a problem into smaller, manageable subproblems Algorithmic thinking
Designing a step-by-step solution (often using flowcharts or pseudocode) Linear search
Check each element in turn — works on unordered lists | O(n) Binary search
Halve a sorted list each step using the midpoint | O(log n) Bubble sort
Repeatedly swap adjacent out-of-order pairs | Simple, slow, O(n²) Insertion sort
Build sorted list by inserting each new element into the right place | O(n²) but fast for nearly sorted Merge sort
Divide and conquer — split, recursively sort halves, merge | O(n log n) Columns = variables (and outputs) | Rows = each iteration / line execution | Used to dry-run algorithms and find errors From data types to robust programs.
Sequence
Statements run one after another Selection
if / elif / else — branch on Boolean conditions Iteration
Count-controlled (for) | Condition-controlled (while) Integer | Real / Float | Boolean | Character | String 1D arrays: list[i] | 2D arrays: list[row][col] | Records (multiple fields per item) Procedures
Perform a task without returning a value Functions
Return a value to the caller Benefits: reuse, abstraction, easier testing and maintenance Open file → read / write / append → close file SQL
SELECT <fields> FROM <table> WHERE <condition> Validation: range, type, presence, length, format checks Authentication, anticipating misuse, contingency planning, maintainability (comments, indentation, meaningful names, modularisation) Iterative testing throughout development | Final / terminal testing before release Test data: normal | boundary | invalid / erroneous Gates, expressions and truth tables.
AND
A · B = 1 only when both A and B are 1 OR
A + B = 1 if A or B (or both) are 1 NOT
¬A = 1 when A = 0 (and vice versa) Number of rows = 2ⁿ for n inputs | Build column by column for sub-expressions, then combine Combine AND, OR, NOT — e.g. Q = A · ¬B + C — read as 'A and not B, or C' Final sweep — high/low level languages, IDEs, binary and characters.
High-level (Python, Java) — easier to read/write, machine-independent | Low-level (assembly, machine code) — fast, hardware-specific Compiler
Translates entire program before execution; fast at runtime; harder to debug Interpreter
Translates and executes line by line; slower runtime; easier debugging Assembler
Translates assembly language into machine code Binary place values: 128 64 32 16 8 4 2 1 (8-bit byte) Hex digits: 0–9, A–F (A = 10, F = 15) | Each hex digit = 4 binary bits Two's complement (8-bit)
Negative: invert all bits, add 1 — MSB is sign bit Binary addition
0+0=0 | 0+1=1 | 1+1=10 | 1+1+1=11 (carry) Binary shift
Left by n = ×2ⁿ | Right by n = ÷2ⁿ ASCII
7-bit (128 chars) or extended 8-bit (256 chars) — covers Latin alphabet and basic symbols Unicode
16-bit and beyond — supports thousands of characters across all global scripts Boost your Cambridge exam confidence with these proven study strategies from our tutoring experts.
Image and sound file size questions appear most years — practise until you can do them in under a minute, including unit conversions.
Use trace tables for searches, sorts and unfamiliar pseudocode — examiners reward clean line-by-line working.
Convert between binary, hex and denary daily. Add binary numbers, perform shifts, and practise two's complement for negatives.
Write small Python programs each week — selection, iteration, arrays, file handling and SQL queries — to consolidate Component 2 content.
Quick answers about this free PDF and how to use it for exam revision and active recall.
Yes. This Tutopiya formula sheet is free to use and you can download it as a PDF from this page for offline revision. There is no payment or account required for the PDF download.
This page groups key Computer Science formulas in one place for revision. Master OCR GCSE Computer Science (J277) with this 2026 formula sheet. Covers systems architecture, memory & storage, networks, algorithms, programming, Boolean logic and data representation. Always cross-check with your official syllabus and past papers for your exam session.
No. In the exam you must follow only what your exam board allows in the hall—usually the official formula booklet or data sheet where provided. This page is a revision and teaching aid, not a replacement for board-issued materials.
It is written for students preparing for assessments at Secondary in Computer Science, including classroom revision, homework support, and independent study. Teachers and tutors can also share it as a quick reference.
Work through past paper questions, quote the correct formula before substituting values, and check units and notation every time. Pair this sheet with timed practice and mark schemes so you see how examiners expect working to be set out.
Explore Tutopiya’s study tools, past paper finder, and revision checklists linked from our tools hub, or book a trial lesson with a subject specialist for personalised support alongside this formula reference.
Build calculation accuracy, programming fluency and exam technique with an experienced OCR Computer Science tutor. We'll target your weak topics across J277 Components 1 and 2.
Pair this formula sheet with past papers, revision checklists, and planners — all free on our study tools hub.
This formula sheet aligns with OCR GCSE Computer Science (J277) 2026 syllabus content across Components 1 and 2.
Always show working for file size, binary and trace table questions — OCR rewards method even when the final answer is wrong.