Exam-style questions by topic — OCR GCSE Computer Science
One question for each of 26 topics. These are written for this specification by MasteryMind. They are not past-paper questions, and they are not from OCR.
Architecture of the CPU
A computer is running a program. Which statement best describes the main purpose of the CPU?
Practise Architecture of the CPUCPU performance
Which CPU characteristic is measured in gigahertz (GHz) and indicates how many cycles the CPU can carry out per second?
Practise CPU performanceEmbedded systems
Which of the following is the best example of an embedded system?
Practise Embedded systemsPrimary storage (memory)
A computer is switched on and the operating system loads. Explain the roles of RAM and ROM during this process.
Practise Primary storage (memory)Secondary storage
Which statement describes an advantage of a solid state drive compared with a magnetic hard disk drive?
Practise Secondary storageUnits
Using decimal SI data-storage units, how many Gigabytes (GB) are represented by 7 Terabytes (TB)?
Practise UnitsData storage
A black-and-white image is 8 pixels wide and 4 pixels high. Each pixel is represented using 1 bit. How many bits are required to store the raw pixel data for this image?
Practise Data storageCompression
Which type of compression permanently removes some data from a file?
Practise CompressionNetworks and topologies
A school wants laptop computers to join its existing LAN without installing new cables. Which hardware is required, and what is its role?
Practise Networks and topologiesWired and wireless networks, protocols and layers
A company needs a reliable connection between two fixed servers in the same room. Which statement explains why a wired connection is more suitable than a wireless connection for this link?
Practise Wired and wireless networks, protocols and layersThreats to computer systems and networks
A company's website suddenly becomes unavailable because it is overwhelmed by a huge volume of requests from many compromised computers. Which form of attack does this describe?
Practise Threats to computer systems and networksIdentifying and preventing vulnerabilities
A school gives teachers access to pupil records but gives visitors access only to the public website. Which prevention method is the school applying?
Practise Identifying and preventing vulnerabilitiesOperating systems
A new printer is connected to a computer. Explain why a device driver is needed before the printer can be used.
Practise Operating systemsUtility software
A user has a large folder of text documents that must be kept but is running out of storage space. Which utility software would be most appropriate to reduce the amount of storage space the folder uses?
Practise Utility softwareEthical, legal, cultural and environmental impact
A hospital wants to use an artificial intelligence system to help decide which patients receive treatment first. Which combination of issues is most directly raised by this use of the system?
Practise Ethical, legal, cultural and environmental impactComputational thinking
A programmer is modelling a car park and records only the registration number, entry time and exit time of each vehicle. Which computational thinking technique is being applied?
Practise Computational thinkingDesigning, creating and refining algorithms
A program uses the variable total to add up numbers. Which line correctly increases total by 5?
Practise Designing, creating and refining algorithmsSearching and sorting algorithms
A binary search is being carried out on a sorted list. What is done to the search after the middle item is compared with the target value?
Practise Searching and sorting algorithmsProgramming fundamentals
A program asks the user to type their age and stores the typed value in a variable. Which pair of terms best describes the typing action and the storing action?
Practise Programming fundamentalsData types
A program stores the value True in a variable. Which data type is being used?
Practise Data typesAdditional programming techniques
A program needs to save a new high score to a text file. Which sequence of basic file handling operations is required to achieve this?
Practise Additional programming techniquesDefensive design
A program asks a user to enter their age in years. Which two validation checks would be most appropriate to ensure the entered data is a sensible age?
Practise Defensive designTesting
A program accepts a test score from 0 to 100 inclusive. Which value is boundary test data?
Practise TestingBoolean logic
Which description of a logic circuit produces an output of 1 when input A is 1 and input B is 0?
Practise Boolean logicLanguages
A programmer writes a program in a high-level language. Why is a translator needed before the program can run on a computer?
Practise LanguagesThe Integrated Development Environment (IDE)
Which IDE facility allows a programmer to enter and change program code?
Practise The Integrated Development Environment (IDE)
Practise all 279 practice questions and see your weak topics.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge