Top 550+ Solved Operating System (OS) MCQ Questions Answer
Q. Standard set of functions through which interacts with kernel is defined by
a. system libraries
b. kernel code
c. compilers
d. utility programs
Q. What is Linux?
a. single user, single tasking
b. single user, multitasking
c. multi user, single tasking
d. multi user, multitasking
Q. Which one of the following is not a linux distribution?
a. debian
b. gentoo
c. open suse
d. multics
Q. Which one of the following is not shared by threads?
a. program counter
b. stack
c. both program counter and stack
d. none of the mentioned
Q. A process can be
a. single threaded
b. multithreaded
c. both single threaded and multithreaded
d. none of the mentioned
Q. If one thread opens a file with read privileges then
a. other threads in the another process can also read from that file
b. other threads in the same process can also read from that file
c. any other thread can not read from that file
d. all of the mentioned
Q. The time required to create a new thread in an existing process is
a. greater than the time required to create a new process
b. less than the time required to create a new process
c. equal to the time required to create a new process
d. none of the mentioned
Q. When the event for which a thread is blocked occurs?
a. thread moves to the ready queue
b. thread remains blocked
c. thread completes
d. a new thread is provided
Q. The jacketing technique is used to
a. convert a blocking system call into non blocking system call
b. create a new thread
c. communicate between threads
d. terminate a thread
Q. Termination of the process terminates
a. first thread of the process
b. first two threads of the process
c. all threads within the process
d. no thread within the process
Q. Which one of the following is not a valid state of a thread?
a. running
b. parsing
c. ready
d. blocked
Q. The register context and stacks of a thread are deallocated when the thread?
a. terminates
b. blocks
c. unblocks
d. spawns
Q. Thread synchronization is required because
a. all threads of a process share the same address space
b. all threads of a process share the same global variables
c. all threads of a process can share the same files
d. all of the mentioned
Q. A thread is also called
a. light weight process(lwp)
b. heavy weight process(hwp)
c. process
d. none of the mentioned
Q. A thread shares its resources(like data section, code section, open files, signals) with
a. other process similar to the one that the thread belongs to
b. other threads that belong to similar processes
c. other threads that belong to the same process
d. all of the mentioned