Practice IB Computer Science (CS) Topic B. Modelling and Simulation with authentic exam-style questions for both SL and HL students. This question bank focuses on the exact syllabus content for B. Modelling and Simulation and mirrors Paper 1, 2, 3 style where relevant.
Get instant solutions, detailed explanations, and build confidence with questions aligned to IB examiner expectations.
A self-driving car relies on a series of lasers and cameras that combine with high definition maps to give a three-dimensional (3D) view of the environment. Rules are programmed into the system so that the car drives at an optimum speed, keeps a safe distance from any vehicle in front, uses fuel economically and follows the traffic regulations.
Outline the need for high definition maps held in memory.
Outline how analysing successive 3D images in memory helps the car to drive safely.
Outline the time and memory needs of 3D visualization in this situation.
Discuss the social implications of self-driving cars.
B. Modelling and simulation
A software engineer is designing a communication simulation for a language processing tool. The engineer must choose between a rule-based translation model and a corpus-based (statistical) translation model.
Compare the methodology used by these two models to generate a translation.
Commercial airlines and military organizations utilize advanced flight simulators to train pilots in a controlled environment. These systems use complex mathematical models to replicate the aerodynamics of an aircraft and the physics of the surrounding atmosphere.
Simulated environments allow pilots to experience a wide range of flight conditions, from routine take-offs to critical mechanical failures, without leaving the ground.
Identify four technical requirements that must be met for a flight simulator to provide a high-fidelity (highly realistic) experience for a trainee pilot.
Define the term real-time simulation.
Explain why certain atmospheric phenomena, such as localized microbursts or extreme turbulence, are difficult for simulators to model with absolute precision.
Discuss the advantages of using flight simulations for emergency procedure training compared to using actual aircraft.
To what extent can a pilot's performance in a simulated environment be used to predict their actual behavior during a genuine in-flight crisis?
An engineering firm is designing an automated traffic control system where autonomous vehicles communicate with roadside infrastructure via a dedicated wireless link. To ensure safety and efficiency, the developers use a computer simulation to model the communication exchanges before physical implementation.
Discuss how this simulation can be used to predict the reliability of the system, specifically addressing how 'interference' is represented in the model and the advantages of using a simulation over real-world stress testing.
A logistics firm is developing a simulation to monitor the battery 'State-of-Health' (SoH) for its fleet of electric delivery vans. The simulation begins with a new battery at SoH and assumes a baseline degradation of (i.e., ) for every kilometer driven. The fleet manager uses this model to schedule vehicle replacements and estimate the long-term resale value of the fleet.
Describe the logic of a basic iterative simulation used to estimate the final SoH of a battery after a vehicle has completed a total distance of km.
Identify three operational or environmental variables that would likely influence the rate of battery degradation in a real-world setting.
Explain how the inclusion of the variables identified in the previous part would enhance the predictive power of the simulation.
Analyze the limitations of using a simplified linear simulation to predict the lifespan of complex hardware like lithium-ion batteries.
Identify two financial risks associated with an inaccurate battery degradation model, and explain how each would impact the logistics firm.