Questions
When a program is executed on a distributed system, the user is not aware of where the program is executed or the location of the resource accessed. Which operating system is used for this?
- Network operating system
- Time sharing operating system
- Multiprocessor operating system
- Distributed operating system
The main function of ____ is to provide communication facility between the client program and various other services running in user space.
- kernel
- MACHOS
- microkernel
- utility
Which of the following signals does an I/O driver send through a special interrupt line to the CPU when it is finished with an I/O request?
- Trap execution
- Interrupt execution
- System call
- None of these
An OS layer is an implementation of an abstract object that is the ____ of data and of the operations that can be manipulated by this data.
- data abstraction
- encapsulation
- inheritance
- class
At a particular time, the value of semaphore is 10. It will become 7 after
- 3v operation
- 3p operation
- 5V and 2p operations
- 13p and 10v operations
How many states are present in the process-state transition diagram?
- 5
- 6
- 7
- 8
In how many cases can the process be scheduled in the back of ready queue?
- 3
- 4
- 5
- 6
____ supports primitives like process, memory, I/O, message. _____ supports file system, CPU schedule paging and threads.
- User mode, Kernel mode
- User mode, User mode
- Kernel mode, User mode
- Kernel mode, Kernel mode
Which of the following statements are true?
1. A thread has less context compared to a process.
2. Context switching time would be more in kernel-level threads as compared to the user level threads.
3. User level threads need a hardware support.
4. OS can recognise the kernel-level threads definitely.
- All of these
- Only 1, 2 and 4
- Only 1, 3 and 4
- Only 2, 3 and 4
The purpose of a ____ is to request the operating system to perform same task. A/An _____ provides an interface between a process and the operating system.
- system call, supervisor call
- supervisor call, interrupt
- system call, system call
- None of these
A/an ______ is a hardware-generated change of flow within the system. A/an ______ is a software-generated interrupt. A/an _____ can be used to signal the completion of an I/O.
- interrupt, interrupt, trap
- trap, interrupt, trap
- interrupt, trap, interrupt
- None of these
____ is the further extension of micro-kernel architecture of an operating system.
- Monolithic
- Micro-kernel
- Exo-kernel
- None of these
Which of the following is the correct route by which jobs enter the system?
- Batch queue – Job queue – Ready queue
- Job queue – Ready queue – Batch queue
- Ready queue – Batch queue – Job queue
- None of these
Which of the following sequences is followed before and after an OS takes control?
- BIOS – boot sector
Other configuration – POST - POST – Bios-boot sector
Other configuration – Files - Boot sector
Other configuration files – BIOS-POST - Boot sector
Other configuration files – POST
A harmful situation called _____ may arise during the execution of concurrent processes.
- mutual exclusion
- critical section
- race condition
- mutual inclusion