Practice 6.1 Resource management 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.
Outline one disadvantage of using virtual memory.
Outline one advantage of using virtual memory.
State three operating system resource management techniques.
def binary_search(array, target, left, right): if left > right: return -1
mid = int((left + right)/2)
if array[mid] == target:
return mid
elif array[mid] < target:
return binary_search(array, target, mid + 1, right)
else:
return binary_search(array, target, left, mid - 1)
The big o notation is used to indicate the time complexity of an algorithm
State the big o notation for the algorithm above.
A mobile phone has been developed with its own dedicated operating system and is to be used as part of a smart home system in Singapore. The smart home system includes:
Identify two functions of an operating system.
Explain how sensors and microprocessors are used to ensure that the air conditioning system is able to maintain a constant temperature in the smart house.
Explain one benefit of using a dedicated operating system on the mobile phone instead of a generic operating system.
The developers of the smart home system are considering developing a smart home system that uses a distributed control system to manage the temperature.
Contrast the use of a distributed air conditioning system with a centralized air conditioning system for maintaining a constant temperature in the smart home.
Identify one advantage of using a dedicated operating system on a mobile phone.
Explain how an operating system manages peripherals.
A biotechnology company owns a resource centre which collects and classifies organisms for use in research.
Only authorized employees are allowed access to some laboratories in the resource centre.
These laboratories are protected by locked doors. Each door is controlled by a separate microprocessor. A digital camera is used to scan the iris of an employee who wishes to enter the lab. If the employee is authorized the doors are unlocked.
The company is planning to use a centralized computer system to secure the resource centre's building.
The operating system has an important role in this system.
Identify two functions of the operating system.
Compare a centrally controlled system with the system described above.
Outline the function of an output transducer.
Identify two benefits of using a digital camera as an input device in this control system.
Outline the use of a microprocessor in this control system.
Polling and interrupt are two operating system management techniques.
Suggest with reasons which of these two techniques is the most appropriate for this centrally controlled system.
Outline what is meant by virtual memory.
Outline the function of an interrupt.
Outline why single processor computers may not be able to render 3D graphics effectively.