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
-
Windows 2003 Server
-
Windows 2000 Server
-
Windows 2008 Server
-
Windows 2003 Server R2
B
Correct answer
Explanation
Active Directory was first released with Windows 2000 Server. This was the major release that introduced Active Directory as Microsoft's enterprise directory service, replacing the NT 4.0 domain model. Windows 2000 Server (released February 2000) was the first Windows server version to include Active Directory as a core component. Windows Server 2003, 2008, and 2003 R2 are later releases that enhanced but didn't introduce Active Directory. Understanding this history is important for AD administration and migration planning.
D
Correct answer
Explanation
The Active Directory hierarchy places the Forest at the top level, containing one or more Trees. Each Tree contains Domains, and Domains contain Organizational Units. Sites are physical network structures, not part of the logical hierarchy.
-
Will print the longest line
-
Will display all the content of the file
-
Print the count of the first line of the file.
-
Will give the count of the longest line
-
Small update
-
Minor upgrade
-
Small upgrade
-
All of the above
D
Correct answer
Explanation
Windows Installer supports three upgrade types: Small Updates (minor changes like hotfixes, same version), Minor Upgrades (changes to some files, version change within same major version), and Major Upgrades (significant changes, new major version). The question lists 'Small update', 'Minor upgrade', and 'Small upgrade' (likely meant Major), so 'All of the above' is the correct choice.
-
/linux
-
/vmlinuz
-
/boot/kernel
-
/boot/linux
B
Correct answer
Explanation
The Linux kernel is represented by /vmlinuz or /boot/vmlinuz (vmlinuz = virtual memory LINUx gZip). This is the compressed kernel image file that the bootloader loads. The other options (/linux, /boot/kernel, /boot/linux) are not standard kernel file paths in Linux distributions.
A
Correct answer
Explanation
LILO (LInux LOader) is a boot loader that can boot multiple operating systems and can handle systems on different physical drives as well as different partitions on the same drive. It stores disk geometry information and can boot from virtually any partition or disk that the BIOS can access. This was a key advantage over older boot loaders.
C
Correct answer
Explanation
smbd (Samba Daemon) is the SAMBA server program that handles file and printer sharing services using the SMB/CIFS protocol. smbd provides the core file/printer sharing functionality. nmbd handles NetBIOS name resolution. There is no 'sambad' daemon. nfsd is for NFS, not Samba.
A
Correct answer
Explanation
In Linux kernel versioning (e.g., 2.4.x, 2.5.x, 2.6.x), even-numbered minor versions (2.4, 2.6) are stable releases, while odd-numbered minor versions (2.3, 2.5) are development/testing branches. Development kernels introduce experimental features and may be unstable. This convention helped users distinguish between production-ready and experimental kernels.
-
Press Ctrl-Alt -Del
-
switch off the terminal
-
type exit
-
Press Ctrl-u or type logout
-
None of the above
C
Correct answer
Explanation
Typing exit is a standard command to terminate a shell session and log out of a terminal in Unix/Linux. Ctrl-Alt-Del typically reboots the system, switching off the terminal is improper, and Ctrl-u merely clears the current command line.
-
UNIX is a widely used mail system
-
UNIX is case sensitive
-
UNIX has a graphical user interface
-
All of the above are true
-
Kernel
-
Shell Interpreter
-
Command line interpreter
-
Others
A
Correct answer
Explanation
The kernel is the core component of UNIX that manages hardware resources, memory, and system calls. It acts as a bridge between applications and the hardware. Shell interpreters and command-line interfaces are user-level programs that interact with the kernel, not the core itself.
-
DUMMY-1
-
Retention File
-
Database Page
-
DUMMY-2
B
Correct answer
Explanation
In DEFERRED update mode, changes are first recorded in a retention/log file before being applied to the actual database pages. This allows for better performance and recovery options. QUICK mode writes directly to database pages, which is option C in the previous question.
-
Windows
-
Unix
-
Solaris
-
All of the above
D
Correct answer
Explanation
Java's core design principle is platform independence through the JVM (Java Virtual Machine). Java code compiles to bytecode that runs on any platform with a JVM implementation, including Windows, Unix, Solaris, macOS, and many others. This 'write once, run anywhere' capability means Java is not limited to any single operating system.
-
Through the RC keyword
-
Through the COND keyword
-
Through the CODE keyword
-
Through the RETURNCD keyword
B
Correct answer
Explanation
The COND parameter in JCL is used to test return codes from previous job steps before executing the current step. It allows conditional execution based on success or failure of prior steps. RC, CODE, and RETURNCD are not valid JCL keywords - COND is the standard mechanism for conditional step execution based on return codes.
-
Linkage Variables
-
Control Libraries
-
Includes
-
Parameters
D
Correct answer
Explanation
JCL statements use parameters (both keyword and positional) to specify values directing statement execution, such as naming datasets or programs. Options like linkage variables, control libraries, and includes serve separate functions in program linkage or file organization.