A browser uses several threads to download a page, draw it and respond to clicks. How do threads differ from separate processes?
Un navigateur utilise plusieurs threads pour télécharger une page, l'afficher et répondre aux clics. En quoi les threads diffèrent-ils de processus séparés ?
Answers
AThreads of one process share its memory and resourcesLes threads d'un même processus partagent sa mémoire et ses ressources
BEach thread must hold its own separate copy of the whole program in memoryChaque thread doit détenir sa propre copie du programme entier en mémoire
CThreads can only run while the computer is idleLes threads ne peuvent s'exécuter que lorsque l'ordinateur est inactif
DThreads are used only by the operating system itself, never by applicationsLes threads ne sont utilisés que par le système d'exploitation lui-même, jamais par les applications
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?