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
-
Sun UNIX
-
SuriyaOS
-
SparcOS
-
Solaris
D
Correct answer
Explanation
SunOS 5.0 and later versions were rebranded as Solaris by Sun Microsystems. This reflected the transition from Sun's original BSD-based Unix to a System V Release 4 (SVR4) based operating system. Solaris became known for its scalability, SMP support, and innovative features like DTrace and ZFS.
-
Android
-
WebOS
-
Symbian OS
-
LiMo
A
Correct answer
Explanation
Android is a mobile operating system based on the Linux kernel. Initially developed by Android Inc. (founded 2003), it was acquired by Google in 2005. Later, the Open Handset Alliance (led by Google) continued development. Android is now the world's most widely used mobile OS. WebOS was developed by Palm. Symbian was Nokia's OS. LiMo was a different Linux mobile initiative.
-
LiMo
-
Moblin
-
Android
-
WebOS
B
Correct answer
Explanation
Moblin (Mobile Linux) was The Linux Foundation's mobile phone project, later merging with Maemo to become MeeGo. It was designed for netbooks and mobile devices using Intel Atom processors. LiMo was a different consortium initiative. Android is Google's project (not Linux Foundation). WebOS was Palm's (later HP's) proprietary system.
-
SYS1.LINKLIB
-
SYS1.SOTREPROC
-
SYS1.CATPROC
-
SYS1.PROCLIB
A
Correct answer
Explanation
SYS1.LINKLIB is the system library that contains load modules for IBM utilities and system programs. SYS1.PROCLIB contains PROCs. SYS1.CATPROC is for catalog procedures. SYS1.SOTREPROC appears to be a typo (likely meant SYS1.STOREPROC or similar).
B
Correct answer
Explanation
Linux has many text editors including vi, vim, emacs, nano, gedit, and more. vi is just one of many available editors, not the only one. This makes the statement False.
B
Correct answer
Explanation
Linux provides a wide variety of text editors including nano, emacs,gedit, and micro, alongside vi, so vi is not the only option available.
B
Correct answer
Explanation
To disable Dr. Watson in Windows, you set the 'Auto' value to '0' (disabled), not '1'. The registry key path is correct, but the value should be '0' to turn it off. Setting it to '1' would actually enable automatic debugging.
-
Sinux
-
HP UX
-
Unix
-
AIX
-
MS Windows NT
-
None of the above
A
Correct answer
Explanation
COND=ONLY in a JCL step means that step executes ONLY if any previous step terminated abnormally (with a non-zero return code). This is a conditional execution mechanism that runs cleanup or recovery steps only when failures occur in the job stream.
-
System.ServiceProcess.ServiceInstaller
-
System.ServiceProcess.ServiceController
-
System.ServiceProcess.ServiceBase
-
System.ServiceProcess.ServiceProcessInstaller
C
Correct answer
Explanation
All Windows services in .NET must inherit from ServiceBase, which provides the foundational service functionality and lifecycle methods (OnStart, OnStop, OnPause, OnContinue, etc.). ServiceController controls existing services, while ServiceInstaller and ServiceProcessInstaller are for installation purposes - none serve as a service base class.
-
Service components are spread over several servers
-
The service uses unmanaged code
-
You have been unable to install the service manually
-
You want to distribute the service
D
Correct answer
Explanation
Setup projects (.msi or Setup.exe) are primarily used to distribute applications and services across multiple machines. While you can install services manually using installutil, a setup project provides a user-friendly installation wizard and handles registration automatically. This is essential when deploying to production servers or customer environments.
-
HKEY_CURRENT_CONFIG
-
HKEY_CURRENT_USER
-
HKEY_LOCAL_MACHINE
-
HKEY_USERS
C
Correct answer
Explanation
Windows Services store their configuration in the HKEY_LOCAL_MACHINE hive, specifically under the path HKLM\SYSTEM\CurrentControlSet\Services. This registry location contains service properties like display name, startup type, dependencies, and the path to the service executable. HKEY_CURRENT_USER and HKEY_USERS are user-specific hives, while HKEY_CURRENT_CONFIG stores hardware profiles.
-
CanShutDown
-
CanPauseAndContinue
-
AutoLog
-
CanStop
B,C
Correct answer
Explanation
For a service that can pause and resume, set CanPauseAndContinue to true. To automatically log service events to the Application event log, set AutoLog to true. CanStop and CanShutdown are separate properties for different service capabilities. The question asks specifically about pause/resume functionality and logging.
-
Windows
-
Unix/Linux
-
Mac
-
All of the Above
D
Correct answer
Explanation
Java's 'write once, run anywhere' philosophy means compiled Java bytecode runs on any platform with a Java Virtual Machine (JVM). This includes Windows, Unix/Linux, macOS, and many others. The JVM abstracts platform differences, making Java highly portable across operating systems.