Operating Systems Fundamentals
Covers core OS concepts including memory management (paging, thrashing, fragmentation), CPU scheduling, synchronization (critical sections, race conditions), interrupts, Unix/Linux commands, and Windows operating system history
Questions
How much Swap memory should be in the system ?
- at least 2GB
- at least 3GB
- at least 1GB
- Two times of main Memory
Which of the following commands is not a filter
- man
- pg
- cat
- head
Whats the command to kill the last background job?
- kill $!
- kill $0
- kill $#
- kill -9 $1
What will the following command do? echo *
- Display all the files under current directory
- displcay the pid of the last background job
- display the pid of the current background job
- display syntax error
Trap is a
- Synchronous interrupt
- Asynchronous interrupt
- Hardware interrupt
- Operating System interrupt
FIFO scheduling is
- Pre-Emptive Scheduling
- Non Pre-Emptive Scheduling
- Deadline Scheduling
- Fair-Share Sceduling
In Memory Management, FRAGMENTATION problem is caused by creation of
- Large number of processes
- Large number of free holes
- Large number of waiting processes
- None of the above
System mask indicates whether the CPU wishes to
- accept interrupts from a specific channel
- reject all interrupts
- reject selected interrupts
- reject all interrupts from selected channels
Race around condition occurs when
- two processes unknowingly wait for resources that are held by each other
- two processes wait for the same resource
- all resources are shared
- two processes share the same shared resource
Dirty bit for a page in a page table
- helps avoid unnecessary writes on a paging device
- helps maintain LRU information
- allows only read on a page
- None of the above
Thrashing
- reduces page I/O
- decreases the degree of multiprogramming
- implies excessive page I/O
- improves system performance
When the result of a computation depends on the speed of the processes involved, there is said to be
- Cycle Stealing
- Race condition
- Time lock
- Deadlock
A critical section is a program segment
- which should run in a certain specified amount of time
- which avoids deadlocks
- where shared resources are accessed
- which must be enclosed by a pair of semaphore operations
What is the codename for Windows Vista?
- Aero
- Longhorn
- WinFx
- Whidbey
What was the codename for Windows 95 OS?
- Mantis
- NAS 3.0
- Sparta
- Chicago