Thursday, March 26, 2020

Operating systems TRUE or FALSE Questions set 6

Operating systems TRUE / FALSE questions for competitive exams



Operating Systems Quiz with Answers - 6

1. Two processes reading from the same virtual address will access the same contents.
(a) TRUE                                                   (b) FALSE
Answer: FALSE. Each process has its own address space. [source: Wisconsin]

2. When designing a multithreaded application, you must use synchronization primitives to make sure that the threads do not overwrite each other’s registers.
(a) TRUE                                                   (b) FALSE
Answer: FALSE. The thread scheduler is responsible for making sure that each thread has its own set of register values (stored in the TLB). A TLB is never shared between threads. [source: UCB]

3. It is necessary for threads in a process to have separate stacks.
(a) TRUE                                                   (b) FALSE
Answer: TRUE. Yes, so that they can have separate execution state, and run independently CPU abstraction is a process. [source: IITB]

4. A process is identical to a thread.
(a) TRUE                                                   (b) FALSE
Answer: FALSE. We can have multiple threads in a single process. [source: Wisconsin]

5. One can have concurrent execution of threads/processes without having parallelism.
(a) TRUE                                                   (b) FALSE
Answer: TRUE. One can have concurrent execution of threads/processes by time-sharing the CPU between threads on a single core. [source: IITB]


***********


 




OS Interview questions with answers

solved Interview questions in operating systems

GATE questions in operating systems

TRUE/FALSE Interview questions in OS


No comments:

Post a Comment

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents