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 RWFMIFOTRA exam practicealigned to Practice set: Operating Systems·3 marks·Hard
More Operating Systems questions
- You need to print the whole contents of a file. Which command does that?
- What does the Linux command `uname` do?
- What does the Linux command `chmod` do?
- On a Linux system, what does /boot contain?
- What does the Linux command `ping` do?
- What does the Linux command `ps` do?
- What does the Linux command `tar` do?
- You need to search a directory tree for files matching criteria. Which command does that?