OS Quiz Questions
OS Quiz Questions
QUIZ
Class : II B.Sc IV Sem MPCS sec 2 Date : 05-03-2024
Subject : Operating System
1. To access the services of the operating system, the interface is provided by the
___________?
System Calls
2. If a process fails, most operating system write the error information to a ______?
Log file
3. In a timeshare operating system, when the time slot assigned to a process is
completed, the process switches from the current state to?
Ready State
4. When a process is in a “Blocked” state waiting for some I/O service. When the
service is completed, it goes to the __________?
Ready State
5. The operating system and the other processes are protected from being modified by
an already running process because every address generated by the CPU is being
checked against the ______ and _______ registers?
relocation and limit
6. The main memory accommodates ____________?
CPU, User Processes and OS
7. The operating system maintains a ______ table that keeps track of how many
frames have been allocated, how many are there, and how many are available.
Frame
8. What are the Functions of Operating System
Process Management, Memory Management, I/O device management,
File Management, Network Management, Security and Protection
9. The multiple programs for execution and the concept of time-sharing is presented
in ____________?
Multi-tasking OS
10. Tell me any 3 OS?
Windows, Linux, DOS.
11. Which of the following is the extension of Notepad??
txt
12. When does page fault occur?
The page is present in memory
13. Banker's algorithm is used for ___________?
To prevent deadlock
14. When you delete a file in your computer, where does it go?
Recycle Bin
15. If the page size increases, the internal fragmentation is also ________
Increases
16. Tell me any single-user operating system.
MS DOS
17. What are the necessary and sufficient conditions that causes deadlock?
Mutual exclusion, Hold and wait, Circular wait, No preemption.
18. Where are placed the list of processes that are prepared to be executed and
waiting?
Ready Queue
19. What is the use of directory structure in the operating system?
It is used to store folders and files hierarchically.
20. What type of scheduling is round-robin scheduling?
Preemptive scheduling.
21. Which conditions must be satisfied to solve a critical section problem?
Bounded Waiting, Progress, Mutual Exclusion.
22. Tell me different file allocation methods?
Contagious, Linked and Indexed
23. Which method is the best among file allocation methods
Indexed
24. Tell me different types of Directory structures?
Single level, Tree, Acyclic-graph directory structure
25. Which scheduling algorithm is non-preemptive scheduling
SJF
26. What is Buffer
Buffer is a temporary area where data is stored for some time before being transferred to
the main memory.
27. The PCB is identified by ___________.
Integer Process ID
28. Tell me any 2 Mobile OS?
Android , IOS, BlackBerry, Bada( Samsung), symbiont(nokia), Windows Mobile OS,
29. A real-time operating system (RTOS) is a multitasking operating system
intended for applications with fixed deadlines
Real Time OS
30. OS code is executed in ________ mode
Kernel Mode (Supervisor mode, System mode, or Privileged mode)
31. What is a Process?
A program in execution is called a process.
32. List out the Process States?
New, Running, Waiting , Ready, Terminated
33. What is a Thread?
A thread is a path of execution within a process. A process can contain multiple threads.
A process is divided into number of light weight process, each light weight process is
said to be a Thread.
34. What are the different types of Threads?
User level and Kernel Level
35. What is deadlock?
A deadlock is a situation of indefinite blocking of one or more processes that compete
for resources. Deadlock involves resources needed by two or more processes at the
same time that cannot be shared
36. List out the deadlock handling approaches?
Deadlock Ignorance ,Deadlock prevention ,Deadlock avoidance ,Deadlock detection and
recovery
37. What are the 2 operations performed on Semaphore?
wait() / P operation and signal() / V operation
38. Which generates the Logical Address with reference to a specific program
CPU
39. What are the different Contagious memory allocation methods?
Fixed-sized partitions and Variable size Partitions
40. ________ is used to keep track of the relation between a page of a process to a
frame in physical memory.
Page Table