Past ExamsRwanda ICT preparation

Topics / Operating Systems

A program needs to read a file, but it is not allowed to access the disk controller directly. What does it do instead?

Un programme doit lire un fichier, mais il n'a pas le droit d'accéder directement au contrôleur de disque. Que fait-il à la place ?

Answers
AIt writes to the disk hardware registers itself, using its own driver codeIl écrit lui-même dans les registres matériels du disque, avec son propre code de pilote
BIt asks the user to open the file manuallyIl demande à l'utilisateur d'ouvrir le fichier manuellement
CIt makes a system call, asking the kernel to do itIl fait un appel système, demandant au noyau de le faire
DIt waits until the next restart of the computerIl attend le prochain redémarrage de l'ordinateur
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Operating Systems·3 marks·Hard

More Operating Systems questions