This set of MCQ(multiple choice questions) focuses on the NPTEL Operating System Fundamentals Week 3 Assignment Solutions.
You should practice these questions to improve Operating System Fundamentals needed for various interviews (like company interview, campus interview, walk-in interview), entrance exams, placements and other competitive exams. All the questions in this particular section are based on only “NPTEL Operating System Fundamentals Week 3 Assignment Solutions“.
Course layout
Week 1: Introduction
Week 2: Processes and Threads – Part I
Week 3: Processes and Threads – Part II
Week 4: Inter-process Communication
Week 5: Concurrency and Synchronization – Part I
Week 6: Concurrency and Synchronization – Part II
Week 7: Deadlock
Week 8: CPU Scheduling
Week 9: Memory Management
Week 10: Virtual Memory – Part I
Week 11: Virtual Memory – Part II
Week 12: File System Processes and Threads – Part I
NPTEL Operating System Fundamentals Week 3 Assignment Solutions
Q1. What else is referred to as a process control block (PCB)?
a) Control Block
b) Task Controlling Block
c) Memory Block
d) Data Block
Answer: b) Task Controlling Block
Q2. Which of the following does a microkernel facilitate?
a) Reliability
b) Extensibility
c) Portability
d) All of the above
Answer: d) All of the above
Q3. The fork() system call returns
a) PID of parent to child and 0 to parent
b) PID of parent to child and PID of the child to parent
c) PID of the child to parent and 0 to child
d) None of the other options
Answer: c) PID of the child to parent and 0 to child
Q4. Which of the following is NOT true?
a) Process scheduler selects among the available processes in the ready queue
b) Time-sharing of methods minimises the CPU usage
c) The process gives up the CPU when an I/O request comes
d) None of the above
Answer: b) Time-sharing of methods minimises the CPU usage
Q5. A list referred to as _________ is used to keep track of the processes that are waiting to start and are located in the main memory.
a) job queue
b) execution queue
c) ready queue
d) process queue
Answer: c) ready queue
Q6. What is a short-term scheduler?
a) It selects which process has to be brought into the ready queue
b) It selects which process has to be executed next and allocates CPU
c) It selects which process to remove from memory by swapping
d) None of the above
Answer: b) It selects which process has to be executed next and allocates CPU
Q7. The critical difference between a short-term and long-term scheduler is?
a) The length of their queues
b) The frequency of their execution
c) The type of processes they schedule
d) None of the above
Answer: b) The frequency of their execution
Q8. In regards to schedulers, which of the following claims is FALSE?
a) Short-term scheduler is faster than the long-term scheduler
b) A long-term scheduler creates a good process mix
c) Long-term scheduler responsible for process state transition from new to ready
d) Short-term scheduler responsible for process state transition from waiting to ready
Answer: d) Short-term scheduler responsible for process state transition from waiting to ready
Q9. With _______, only one process can execute at a time; meanwhile, all other processes are waiting for the processor. With __________ more than one process can be running simultaneously each on a different processor.
a) Multiprocessing, Multiprogramming
b) Uniprocessing, Multiprogramming
c) Multiprogramming, Multiprocessing
d) Uniprogramming, Multiprocessing
Answer: d) Uniprogramming, Multiprocessing
Q10. In UNIX, each process is identified by its:
a) Process Identifier
b) Device Queue
c) Process Control Block
d) None of the above
Answer: a) Process Identifier
Q11. If a process fails, most operating systems write error information to a
a) new file
b) another running process
c) log file
d) recently used file
Answer: c) log file
Previous Course – Week 3 Assignment Solutions
Q1. A program becomes a process when
a. The program is stored on a disk as an executable
b. The executable file of the program is loaded onto the memory
c. The process replaces the program which was stored on the disk
d. None of the above
Ans. B
Q2. Program is ______ quantity and process is ______ quantity.
a. active, passive
b. passive, active
c. passive, passive
d. active, active
Ans. B passive, active
Q3. A process structure may contain
a. Heap, a memory that is dynamically allocated during process runtime
b. Process stack, containing temporary data
c. Data section, containing the global variables
d. All of the above
Ans. D All of the above
Q4. When the process is waiting to be assigned to a processor, the process state is called
a. New state
b. Running state
c. Waiting state
d. Ready state
Ans. D Ready state
Q5. A process control block (PCB) contains information associated with each process.
Match the following information column with relevant process column
i) Memory management information | p) priorities |
ii) I/O status information | q) memory allocated to process |
iii) Accounting information | r) list of open files |
iv) CPU scheduling information | s) clock time elapsed since start |
a. i-q, ii-r, iii-s, iv-p
b. i-r, ii-q, iii-p, iv-s
c. i-q, ii-r, iii-p, iv-s
d. i-r, ii-q, iii-s, iv-p
Ans. A
Q6. A process does NOT give up the CPU under which of the following condition?
a. After a specified amount of time has elapsed on the timer
b. On I/O request
c. When the stack memory is full
d. None of the above
Ans. C
Q7. The set of processes waiting for an I/O device is classified as
a. Job Queue
b. Device queue
c. Ready queue
d. None of the above
Ans. B Device queue
Q8. The degree of multiprogramming is controlled by
a. Long term scheduler
b. Short term scheduler
c. Not any scheduler but the process itself
d. None of the above
Ans. A Long term scheduler
Q9. I/O bound process spends more time doing I/O than computation with ______ CPU bursts while CPU bound process spends more time doing computation with ______ CPU bursts.
a. many short, many short
b. few very long, few very long
c. many short, few very long
d. few very long, many short
Ans. C
Q10. Consider the following process tree.
The process ID (pid) = 8415 will wait for which of the following process(es) to terminate?
a. pid = 8416
b. pid = 9268 & pid = 9204
c. pid = 1
d. pid = 8416 & pid = 9268 & pid = 9204
Ans. D)
<< Prev- Operating System Fundamentals Week 2 Assignment Solutions
>> Next- Operating System Fundamentals Week 4 Assignment Solutions
Industrial Automation and Control NPTEL assignment solutions
NPTEL Leadership assignment solutions
Java Programming: Coursera quiz answers
The above question set contains all the correct answers. But in any case, you find any typographical, grammatical or any other error in our site then kindly inform us. Don’t forget to provide the appropriate URL along with error description. So that we can easily correct it.
Thanks in advance.
For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.