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
-
has not been used for the longest time in the past
-
will not be used for the longest time in the future
-
has been used least number of times
-
has been used most number of times
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.
-
P(SY),P(SX);P(SX),P(SY)
-
P(SX),P(SY);P(SY),P(SX)
-
P(SX),P(SX);P(SY),P(SY)
-
P(SX),P(SY);P(SX),P(SY)
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.
-
security is dynamic
-
path for searching dynamic libraries is not known till runtime
-
linking is insecure
-
cryptographic procedures are not available for dynamic linking
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
-
Copy Con
-
Type
-
MD
-
RD
-
None of these
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.
-
My Documents
-
My Computer
-
Recycle Bin
-
None of these
C
Correct answer
Explanation
This component is responsible for storing all deleted files by the user temporarily.
-
Object file header
-
Text segment
-
Object module
-
Index segment
-
Temporary segment
B
Correct answer
Explanation
This object file format contains the machine language code for routines in the source file.
-
Command language interpreter
-
Assembler
-
Stream editor
-
Program translation
-
Client side diagnostic tool
B
Correct answer
Explanation
This tool provides a means for specifying run time locations of program and data in memory.
-
Semaphore
-
Indivisible operation
-
Critical section
-
Race condition
A
Correct answer
Explanation
Semaphore is a shared integer variable with non-negative values, which can only be subjected to initialization and invisible operations.
-
address-based authentication
-
crypto-based authentication
-
identity
-
password-based authentication
-
biometrics
D
Correct answer
Explanation
Password-based authentication is an authentication in which a user has a secret password and system checks password to authenticate the user.
-
Time sharing systems
-
Multiuser operating system
-
Multitasking operating system
-
Real time operating system
-
Multithreading operating system
D
Correct answer
Explanation
This type of operating system is an application which requires a timely response from the computer system to prevent failure.
-
proprietary technology
-
back end
-
imulator
-
none
-
Windows98
-
SQL
-
Windows NT
-
All
-
Unix
-
FORTRAN
-
COBOL
-
None of these
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.
-
Dual Operating System
-
Disk Operating System
-
Disc Oracle system
-
None of these
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.
-
first generation
-
second generation
-
third generation
-
fourth generation
C
Correct answer
Explanation
Operating System was used for the first time in third generation.