Free Cambridge OCR GCSE Computer Science (J277) Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Cambridge OCR GCSE Computer Science (J277) practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1After executing one instruction, the CPU needs the address of the next instruction in its normal sequence. Which register supplies that address?
- A.Accumulator
- B.Memory data register
- C.Program counterCorrect answer: C
- D.Memory address register
Explanation: The program counter tracks the next instruction address. The MAR holds the address for a particular memory access, and the MDR holds the transferred value. “Stores the address of the next instruction to be fetched from memory.”
Reference: OCR J277/01 Mark Scheme — Question 2, Program Counter row
2A program for checking seat availability keeps only seat numbers and whether they are booked. It ignores each seat's upholstery colour. Which principle explains this choice?
- A.Algorithmic thinking
- B.AbstractionCorrect answer: B
- C.Decomposition
- D.Iteration
Explanation: The developer keeps details relevant to availability and leaves the rest out. Decomposition would split a problem, algorithmic thinking would define a solution process, and iteration is repetition. “any example of simplification/removing data or focussing on data”
Reference: OCR J277/02 Mark Scheme — Question 9(e)(i), abstraction guidance
3Which CPU unit evaluates an integer comparison during the execution of a program?
- A.Arithmetic logic unitCorrect answer: A
- B.Control unit
- C.Memory data register
- D.Program counter
Explanation: An integer comparison is a logical operation, so the ALU evaluates it. The control unit coordinates execution, while the registers listed hold data or addresses. “Performs the mathematical and logical calculations.”
Reference: OCR J277/01 Mark Scheme — Question 2, Arithmetic Logic Unit row
4A developer is planning a lending system. Which decision specifically uses decomposition to make the overall problem easier to tackle?
- A.Keep book identifiers and omit cover colours from the model.
- B.Expand every book identifier to show the item's full title.
- C.Specify the order in which a single late-fee calculation runs.
- D.Handle member registration, loans and returns as separate parts.Correct answer: D
Explanation: Breaking the system into smaller functional parts is decomposition. Simplifying a model is abstraction, while ordering the steps in one calculation is algorithmic thinking. “any example of breaking down the program into sections/subroutines”
Reference: OCR J277/02 Mark Scheme — Question 9(e)(ii), decomposition guidance
5An instruction that has just been read from memory has a binary value of 10110001. Which register holds the fetched value as it is transferred from memory to the processor?
- A.Program counter
- B.Memory address register
- C.Accumulator
- D.Memory data registerCorrect answer: D
6The sections of an automated parcel locker system have already been identified. Which activity shows algorithmic thinking about assigning a locker?
- A.Specify an ordered set of steps that checks the parcel size and selects a free locker.Correct answer: A
- B.Discard parcel details that have no effect on locker assignment.
- C.Divide the whole system into delivery, collection and support modules.
- D.Test an existing locker assignment rule with several different parcel sizes.
Explanation: Algorithmic thinking turns the assignment problem into a sequence of actions and decisions. Filtering data is abstraction, splitting the system is decomposition, and trying values on an existing rule is testing. “The step-by-step process for users to securely pay online is designed.” “Correct link for algorithmic thinking to bottom example”
Reference: OCR J277/02 June 2025 Question Paper — p. 9, question 5(c), last example in the computational-thinking table
7An instruction has already been fetched. Which stage determines what operation its machine code specifies before carrying that operation out?
- A.Fetch
- B.DecodeCorrect answer: B
- C.Execute
- D.Store result
8A map model records which stops are connected, but it leaves out the distance along each connection. The program must now choose the shortest route by distance. Which change addresses that requirement?
- A.Keep the model and count only the number of stops on each route.
- B.Keep the model and process the stops in alphabetical order.
- C.Add distances to the connections so routes can be compared by total length.Correct answer: C
- D.Use one average distance for every connection, regardless of its actual length.
Explanation: The original model represents connectivity. Once the goal changes to shortest distance, the model must include the individual lengths that determine the answer. Counting stops, assigning an average length or alphabetising does not distinguish the distances. “model selected aspects of the external world in a program” “any example of simplification/removing data or focussing on data”
Reference: Department for Education GCSE Computer Science Subject Content — Skills, use of abstraction
9Two otherwise identical single-core CPUs run continuously at 2 GHz and 3 GHz. What can be concluded from those figures alone?
- A.The 3 GHz CPU completes 3 billion instructions per second.
- B.The 2 GHz CPU completes more instructions in each cycle.
- C.The 3 GHz CPU completes more clock cycles per second.Correct answer: C
- D.The 2 GHz CPU waits longer for each individual RAM access.
Explanation: GHz measures billions of clock cycles per second. Instruction throughput per cycle and RAM access latency do not follow from the clock figure alone. “The clock speed measures the number of cycles your CPU executes per second, measured in GHz (gigahertz).”
Reference: Intel What Is Clock Speed? — What Is Clock Speed?
10Two teams are building a quiz program. One writes a scoring module, the other calls it. Which design lets the caller use the module while remaining independent of how its scoring steps are implemented?
- A.Publish the expected inputs and returned result, and keep the internal steps private to the module.Correct answer: A
- B.Publish each internal step and require the caller to reproduce it before calling the module.
- C.Make the caller alter the scoring module's temporary data during every calculation.
- D.Allow the module to return a different kind of result each time its internal code is edited.
Explanation: A stable interface exposes the information the caller needs. Duplicating the implementation or relying on its temporary data makes the caller depend on details inside the module. “appropriately structure programs into modular parts with clear, well-documented interfaces”
Reference: Department for Education GCSE Computer Science Subject Content — Skills, abstraction in program structure
Exam Review
About Cambridge OCR GCSE Computer Science (J277)
Cambridge OCR GCSE Computer Science (J277) · GB
Key exam facts
- Provider
- Cambridge OCR (Oxford Cambridge and RSA Examinations) develops, awards and externally assesses the qualification. Ofqual accredits it in England, and approved centres administer the sittings.
- Format
- Two compulsory, externally assessed, non-calculator written papers in the same May/June series. J277/01 Computer systems includes selected-response and short and medium responses, plus one eight-mark extended response. J277/02 Computational thinking, algorithms and programming has Sections A and B with selected, short and medium responses, including written programming tasks. Section B tests design, writing, testing and refinement. For write or refine tasks requiring code, answers use OCR Exam Reference Language or a familiar high-level language. Centres must provide practical programming experience and submit a statement. The qualification grade comes from the two papers.
- Time limit
- 90 minutes of examination time per paper, for 180 minutes of examination time across the two separate sittings.
- Passing score
- England recognises grade 4 or above as a standard pass. Cambridge OCR awards grades 9 to 1 and U (unclassified) below grade 1. It adds the two paper marks to a total out of 160 and sets qualification-level grade boundaries for each series. In June 2026, grade 4 started at 77 of 160 marks. The raw mark required can change from one series to the next.
- Exam fee
- Cambridge OCR’s standard 2026/27 J277 qualification entry fee is £57.25 (GBP) per candidate from 1 August 2026, for the single entry covering both papers. A resit requires a new entry for both papers. The schedule publishes one J277 subject entry fee. Late entry charges and private centre fees may apply.
Topics covered
Computer systems (50%)
- Systems architecture
- Architecture of the CPU
- CPU performance
- Embedded systems
- Memory and storage
- Primary storage (memory)
- Secondary storage
- Units
- Data storage
- Compression
- Computer networks, connections and protocols
- Networks and topologies
- Wired and wireless networks, protocols and layers
- Network security
- Threats to computer systems and networks
- Identifying and preventing vulnerabilities
- Systems software
- Operating systems
- Utility software
- Ethical, legal, cultural and environmental impacts of digital technology
- Ethical, legal, cultural and environmental impact
Computational thinking, algorithms and programming (50%)
- Algorithms
- Computational thinking
- Designing, creating and refining algorithms
- Searching and sorting algorithms
- Programming fundamentals
- Programming fundamentals
- Data types
- Additional programming techniques
- Producing robust programs
- Defensive design
- Testing
- Boolean logic
- Boolean logic
- Programming languages and Integrated Development Environments
- Languages
- The Integrated Development Environment (IDE)
How to prepare
Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.
These independent practice questions are not actual exam items and do not guarantee a passing result.
Frequently asked questions
What is the exam format?
Two compulsory, externally assessed, non-calculator written papers in the same May/June series. J277/01 Computer systems includes selected-response and short and medium responses, plus one eight-mark extended response. J277/02 Computational thinking, algorithms and programming has Sections A and B with selected, short and medium responses, including written programming tasks. Section B tests design, writing, testing and refinement. For write or refine tasks requiring code, answers use OCR Exam Reference Language or a familiar high-level language. Centres must provide practical programming experience and submit a statement. The qualification grade comes from the two papers.
How long is the exam?
90 minutes of examination time per paper, for 180 minutes of examination time across the two separate sittings.
What is the passing score?
England recognises grade 4 or above as a standard pass. Cambridge OCR awards grades 9 to 1 and U (unclassified) below grade 1. It adds the two paper marks to a total out of 160 and sets qualification-level grade boundaries for each series. In June 2026, grade 4 started at 77 of 160 marks. The raw mark required can change from one series to the next.
How much does the exam cost?
Cambridge OCR’s standard 2026/27 J277 qualification entry fee is £57.25 (GBP) per candidate from 1 August 2026, for the single entry covering both papers. A resit requires a new entry for both papers. The schedule publishes one J277 subject entry fee. Late entry charges and private centre fees may apply.
Official sources and references
- Cambridge OCR GCSE Computer Science J277 Specification
§2b, p. 6
- Cambridge OCR GCSE Computer Science J277 Specification
§2c, p. 15
- Cambridge OCR GCSE Computer Science J277 Specification
Cover
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23, J277/01
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23, J277/02
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23, J277/02, Section A
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23, J277/02, Section B
- Cambridge OCR GCSE Computer Science J277 Specification
§3e, p. 34, Assessment Objective weightings table
- Cambridge OCR GCSE Computer Science J277 Specification
§2d, p. 22
- Cambridge OCR GCSE Computer Science J277 Specification
§3b, p. 24
- Cambridge OCR GCSE Computer Science J277 Specification
§2a, p. 5, J277/02
- Cambridge OCR GCSE Computer Science J277 Specification
§2a, p. 5
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23
- Cambridge OCR GCSE Computer Science J277 Specification
§3i, p. 35
- Cambridge OCR GCSE Computer Science J277 Specification
§3i, p. 35, annual assessment series
- Cambridge OCR GCSE Computer Science J277 Specification
§3j, p. 35
- Cambridge OCR GCSE Computer Science J277 Specification
§4d, p. 38
- Cambridge OCR GCSE Computer Science J277 Specification
§2a, p. 5, J277/01 Assessment Overview
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23, J277/01, question format
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23, J277/02, question format
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23, J277/01, duration
- Cambridge OCR GCSE Computer Science J277 Specification
§3a, p. 23, J277/02, duration
- Cambridge OCR GCSE Computer Science J277 Specification
§4c, p. 37
- Cambridge OCR GCSE Computer Science J277 Specification
§3h, p. 35
- Cambridge OCR GCSE Computer Science J277 Specification
§3n, p. 35
- Cambridge OCR GCSE Computer Science J277 Specification
§4e, p. 38, Grade scale
- Cambridge OCR GCSE Computer Science J277 Specification
§4a, p. 36, Entry option
- Cambridge OCR GCSE Computer Science J277 Specification
§4c, p. 37, Private candidates
- Cambridge OCR Understanding the assessment: Exploring our question papers
Introduction, assessment model
- Cambridge OCR J277/01 Computer systems June 2025 question paper
Front cover, Information
- Cambridge OCR J277/02 Computational thinking, algorithms and programming June 2025 question paper
Front cover, Information
- Cambridge OCR J277/01 Computer systems sample assessment materials
Question paper, question 10
- Cambridge OCR J277/02 Computational thinking, algorithms and programming sample assessment materials
Question paper, Section B, question 8
- Cambridge OCR GCSE qualification grade boundaries guidance
Cambridge OCR Customer Support answer
- Cambridge OCR GCSE Grade Boundaries June 2026
p. 2, GCSE Computer Science, J277 Overall row, grade 4 column
- Ofqual and Department for Education grading slides
PDF p. 22, Standard and strong pass
- Cambridge OCR General Qualification Fees 2026/27
p. 7, GCSE (9-1), J277 row
- Cambridge OCR General Qualification Fees 2026/27
p. 2, Introduction
- Cambridge OCR General Qualification Fees 2026/27
p. 9, Late entry Stage 1 and Very late entry Stage 2
- Cambridge OCR J277/01 Computer systems June 2025
p. 15, question 6 (last main question)
- Cambridge OCR J277/02 Computational thinking, algorithms and programming June 2025
Section B, question 6 (last main question)
- Cambridge OCR J277/01 Computer systems June 2024
p. 13, question 7 (last main question)
- Cambridge OCR J277/02 Computational thinking, algorithms and programming June 2024
Section B, question 9 (last main question)
- Cambridge OCR J277/02 Computational thinking, algorithms and programming June 2025 question paper
Section B, question 6(a)(i)
- Cambridge OCR GCSE Computer Science J277 Specification
§3b, p. 24, Section A introduction
- Cambridge OCR GCSE Computer Science J277 Specification
§3b, p. 24, Section B introduction
Confirm current exam arrangements with the exam provider.