592 exam-style questions with answers and explanations, organised by the official syllabus. Try the samples below, then practise the full bank free.
A processor is about to read an instruction from main memory. Which register holds the location number that is placed on the address bus?
Answer: The memory address register (MAR)
The MAR receives the address, which travels along the address bus, and whatever comes back arrives in the MDR. Swapping these two registers is the commonest slip in machine instruction cycle questions.
A college owns every cable and switch that joins the three buildings standing on its single campus. How should this network be classified?
Answer: A LAN, because it is one site with self-owned links
A LAN is defined by a single site and by the organisation owning the connecting infrastructure, not by how many buildings or machines are involved. A WAN begins where the links have to be leased from a carrier that crosses public land.
A sports club replaces its collection of separate spreadsheet files with a relational database run by a database management system. Which task is now handled by the DBMS instead of by each application program?
Answer: Controlling how records are stored on disk
The DBMS takes over storage, indexing and controlled access to the data, which is what gives every application one consistent view of it. Business rules such as discounts, and the presentation of reports or messages, stay in the application.
A postal company wants software that reads handwritten postcodes. Rather than a programmer stating a rule for every possible shape, the company supplies thousands of scanned postcodes together with the characters they contain. Which statement best describes why this is a machine learning approach?
Answer: The rules separating one character from another are derived from the supplied examples.
Machine learning is defined by where the rules come from: the model infers them from data instead of receiving them from a programmer. Storing and retrieving the examples unchanged would be a lookup, not learning.
A design team splits a hospital appointment system into a booking part, a reminder part and a billing part, and writes a separate specification for each. Which approach to computational thinking are they applying?
Answer: Decomposition
Breaking a system into parts that can each be specified, built and tested on their own is decomposition. Abstraction would mean discarding detail from the situation, not creating separate parts of the solution.
A booking system must store a customer telephone number that begins with a zero and is never used in a calculation. Which data type is the most suitable?
Answer: String
Stored as a number the leading zero would be lost and no arithmetic is ever wanted on the value, so the digits are held as characters. A telephone number looks numeric but behaves like text.
592 IB Computer Science questions — free with an account. Spaced repetition, streaks and full exam simulations included.
Practise them freeThis platform is independently developed and is not endorsed by, affiliated with, or sponsored by the International Baccalaureate Organization. “International Baccalaureate” and “IB” are registered trademarks of the IBO.