Computer Knowledge

Operating Systems

1,344 Questions

Test your computer knowledge with these questions on operating systems. The content covers various platforms including Unix, Linux, Windows, Android, and Macintosh. These questions are commonly asked in the computer knowledge sections of banking and government exams.

Unix emulatorsLinux distributionsAndroid software stackMacintosh operating systemsWindows OS versionsSymbian OS history

Operating Systems Questions

Multiple choice
  1. has not been used for the longest time in the past

  2. will not be used for the longest time in the future

  3. has been used least number of times

  4. has been used most number of times

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Optimal page replacement algorithm assumes that the pages that will come in future are already known, so replacement of the page which will not be used in future occurs.

Multiple choice
  1. P(SY),P(SX);P(SX),P(SY)

  2. P(SX),P(SY);P(SY),P(SX)

  3. P(SX),P(SX);P(SY),P(SY)

  4. P(SX),P(SY);P(SX),P(SY)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Here semaphores are required to obtain mutual exclusion since both access X & Y. So at L1 P (Sx) which means now S wait x = at L2 P (Sy) Sy wait, this prevents process P2 to start access X &Y. V(Sx) & V(Sy) in the end of P1 makes Sx & Sy signal so that at L3 & L4 P(Sx) & P(Sy) can start.

Multiple choice
  1. security is dynamic

  2. path for searching dynamic libraries is not known till runtime

  3. linking is insecure

  4. cryptographic procedures are not available for dynamic linking

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Static Linking and Static Libraries is the result of the linker making copy of all used library functions to the executable file. Static Linking creates larger binary files, and need more space on disk and main memory. Examples of static libraries (libraries which are statically linked) are, .a files in Linux and .lib files in Windows. Dynamic linking and Dynamic Libraries Dynamic Linking doesn’t require the code to be copied, it is done by just placing name of the library in the binary file. The actual linking happens when the program is run, when both the binary file and the library are in memory. Examples of Dynamic libraries (libraries which are linked at run-time) are, .so in Linux and .dll in Windows. In Dynamic Linking,the path for searching dynamic libraries is not known till runtime

Multiple choice
  1. Copy Con

  2. Type

  3. MD

  4. RD

  5. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

COPY CON (copy from console) creates a file in DOS by accepting user input from the keyboard until Ctrl+Z is pressed. Type displays file contents, MD creates directories, and RD removes directories.

Multiple choice
  1. Time sharing systems

  2. Multiuser operating system

  3. Multitasking operating system

  4. Real time operating system

  5. Multithreading operating system

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This type of operating system is an application which requires a timely response from the computer system to prevent failure.

Multiple choice
  1. Unix

  2. FORTRAN

  3. COBOL

  4. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Unix is a multitasking, multi-user operating system developed at Bell Labs. FORTRAN and COBOL are both high-level programming languages, not operating systems.

Multiple choice
  1. Dual Operating System

  2. Disk Operating System

  3. Disc Oracle system

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

DOS stands for Disk Operating System. It was the most common operating system for IBM-compatible personal computers in the 1980s and early 1990s. 'Disc Oracle system' and 'Dual Operating System' are incorrect.