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

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How much Swap memory should be in the system ?

  1. at least 2GB
  2. at least 3GB
  3. at least 1GB
  4. Two times of main Memory
Question 2 Multiple Choice (Single Answer)

Which of the following commands is not a filter

  1. man
  2. pg
  3. cat
  4. head
Question 3 Multiple Choice (Single Answer)

Whats the command to kill the last background job?

  1. kill $!
  2. kill $0
  3. kill $#
  4. kill -9 $1
Question 4 Multiple Choice (Single Answer)

What will the following command do? echo *

  1. Display all the files under current directory
  2. displcay the pid of the last background job
  3. display the pid of the current background job
  4. display syntax error
Question 5 Multiple Choice (Single Answer)

Trap is a

  1. Synchronous interrupt
  2. Asynchronous interrupt
  3. Hardware interrupt
  4. Operating System interrupt
Question 6 Multiple Choice (Single Answer)

FIFO scheduling is

  1. Pre-Emptive Scheduling
  2. Non Pre-Emptive Scheduling
  3. Deadline Scheduling
  4. Fair-Share Sceduling
Question 7 Multiple Choice (Single Answer)

In Memory Management, FRAGMENTATION problem is caused by creation of

  1. Large number of processes
  2. Large number of free holes
  3. Large number of waiting processes
  4. None of the above
Question 8 Multiple Choice (Single Answer)

System mask indicates whether the CPU wishes to

  1. accept interrupts from a specific channel
  2. reject all interrupts
  3. reject selected interrupts
  4. reject all interrupts from selected channels
Question 9 Multiple Choice (Single Answer)

Race around condition occurs when

  1. two processes unknowingly wait for resources that are held by each other
  2. two processes wait for the same resource
  3. all resources are shared
  4. two processes share the same shared resource
Question 10 Multiple Choice (Single Answer)

Dirty bit for a page in a page table

  1. helps avoid unnecessary writes on a paging device
  2. helps maintain LRU information
  3. allows only read on a page
  4. None of the above
Question 11 Multiple Choice (Single Answer)

Thrashing

  1. reduces page I/O
  2. decreases the degree of multiprogramming
  3. implies excessive page I/O
  4. improves system performance
Question 12 Multiple Choice (Single Answer)

When the result of a computation depends on the speed of the processes involved, there is said to be

  1. Cycle Stealing
  2. Race condition
  3. Time lock
  4. Deadlock
Question 13 Multiple Choice (Single Answer)

A critical section is a program segment

  1. which should run in a certain specified amount of time
  2. which avoids deadlocks
  3. where shared resources are accessed
  4. which must be enclosed by a pair of semaphore operations
Question 14 Multiple Choice (Single Answer)

What is the codename for Windows Vista?

  1. Aero
  2. Longhorn
  3. WinFx
  4. Whidbey
Question 15 Multiple Choice (Single Answer)

What was the codename for Windows 95 OS?

  1. Mantis
  2. NAS 3.0
  3. Sparta
  4. Chicago