Practice B. Modelling and simulation with authentic IB Computer Science (CS) exam questions for both SL and HL students. This question bank mirrors Paper 1, 2, 3 structure, covering key topics like programming concepts, algorithms, and data structures. Get instant solutions, detailed explanations, and build exam confidence with questions in the style of IB examiners.
An airport authority is using a simulation to optimize passenger flow during peak travel seasons.
Outline two benefits of using a simulation to optimize passenger flow.
Identify two data inputs required for this simulation model.
Discuss how data inputs like passenger numbers and terminal layout could affect the simulation’s recommendations.
A research team is simulating the effects of rainfall on agricultural yields across a large geographic area.
Define the term simulation in the context of environmental research.
Outline two factors that could impact agricultural yield in the simulation and explain their significance.
Discuss one limitation of using simulations for predicting environmental outcomes.
A city council is using a model to predict electricity demand in different neighborhoods during peak summer months. The model currently uses temperature and population size as primary variables.
Identify two additional variables that could be added to the model to improve prediction accuracy, and explain how each variable would help.
Describe one limitation of using this model to predict electricity demand over the next five years, and suggest an improvement to address this limitation.
A hospital system is visualizing patient data to track the spread of infectious diseases.
Define the term "visualization" in a medical data context.
Identify two reasons why visualization is useful for tracking disease spread.
Explain two challenges that could arise when visualizing large sets of patient data.
A city planner develops a model to predict energy usage.
Identify three essential variables for this energy usage model.
Explain how grouping usage by time of day could improve the model’s insights.
A supermarket chain is simulating the impact of new product lines on in-store sales.
Identify two types of data that could be used as inputs in the simulation.
Describe how each data type identified in part (1) would influence the results of the simulation.
Discuss one advantage and one disadvantage of using simulations for business decision-making.
A city council is planning to develop a model to simulate traffic flow in an urban area. They aim to reduce congestion and improve traffic signal timing based on traffic data collected from major intersections.
Define the term simulation in the context of traffic flow analysis.
Explain how a simulation differs from a model.
The initial model simulates traffic based on the following variables: number of cars, average speed, and signal timing. Identify two additional variables that would improve the accuracy of the simulation, and explain how each variable influences traffic flow.
Outline the software and hardware requirements necessary to implement this traffic simulation effectively.
Discuss two limitations of using this simulation to make decisions about real-life traffic flow improvements.
The traffic simulation produces data on peak traffic times and congestion points. Explain two test cases that could be used to evaluate the accuracy of the simulation’s predictions.
Machine translators are regularly used to translate text from one language to another. In spite of the advances that have been made in this field, the output may still need to be proofread by a human.
Describe two problems that these translators may encounter when translating from one language to another.
An old set of 2D animated cartoons from the 1940s has been discovered and it is decided to modify them to turn them into 3D animation.
Define the term visualization.
Explain two technical implications of implementing a 3D animation in this way.
Outline the need for rendering in the creation of the animated 3D characters.
The case study states: "Successful implementations of genetic algorithms strike a natural balance between exploration and exploitation, and techniques such as simulated annealing can fine-tune that balance as the algorithm progresses towards convergence" (page 7, Discussion). Discuss the role of convergence in genetic algorithms and how exploration and exploitation can affect its success.