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
-
An addressing scheme that allows external disk storage to appear as main storage.
-
Each running program can assume it has access to all of the storage defined by the architecture's addressing scheme.
-
a and b
-
a or b
C
Correct answer
Explanation
Virtual storage in MVS (Multiple Virtual Storage) encompasses both aspects: it makes external disk storage appear as main storage to programs AND allows each running program to assume it has access to the full address space defined by the architecture. This virtualization enables efficient memory utilization and program isolation.
-
NTFS
-
ext3
-
HPFS
-
All of the above
D
Correct answer
Explanation
Windows 95 natively supported FAT and FAT32 file systems, but not NTFS (introduced in Windows NT), HPFS (OS/2), or ext3 (Linux). All three file systems listed in options A, B, and C were not supported by Windows 95, making option D correct. NTFS support came later in Windows 2000/XP for consumer versions.
-
Linkage Variables
-
Parameters
-
Control Libraries
-
Includes
B
Correct answer
Explanation
In JCL statements, the fields that contain specific values to direct and control the execution are called parameters. These include positional parameters (identified by position) and keyword parameters (identified by name). They provide the specific instructions needed for statement execution.
-
DUMP
-
CANCEL
-
ABEND
-
WARNING
C
Correct answer
Explanation
In JES2, the LINES parameter specifies output line limits and can be used with values like DUMP (dump output), CANCEL (cancel output), and WARNING (issue warning message). ABEND is not used with LINES - it's a separate job termination action.
-
Bourne shell
-
Korn shell
-
C shell
-
POSIX shell
A
Correct answer
Explanation
The original Bourne shell (sh) does not include command history functionality. History features were introduced in later shells like the C shell (csh) which introduced history commands like '!!' and '!n'. The Korn shell (ksh) and POSIX shell (sh on modern systems) both include history capabilities, typically accessing the same history mechanisms as bash. Bourne shell was designed for simplicity and portability, lacking interactive features that later shells added.
B
Correct answer
Explanation
Paging allocates memory in fixed-size blocks called pages and frames, which completely eliminates external fragmentation. However, it can still suffer from internal fragmentation within the last page of a process.
A
Correct answer
Explanation
Virtual memory uses paging dynamically to move pages between disk and RAM as needed. The OS allocates page frames on demand, creating the illusion of a large contiguous memory space. This dynamic allocation is indeed a core concept of virtual memory management.
-
compaction
-
defragmentation
-
it cannot be handled
-
none of the choice
A
Correct answer
Explanation
External fragmentation occurs with variable-sized memory allocation where free memory exists but can't satisfy allocation requests due to being scattered. Compaction relocates allocated blocks to contiguous regions, consolidating free space. Option A correctly identifies compaction as the solution.
-
Gentoo
-
SUSE
-
Safari
-
Xenoppix
C
Correct answer
Explanation
Safari is Apple's web browser, not a Linux distribution. Gentoo, SUSE (openSUSE), and Xenoppix are all Linux distros. Safari runs on macOS and Windows but is not a Linux operating system distribution.
C
Correct answer
Explanation
Microsoft collaborated with Novell in 2006 on a landmark interoperability agreement that included joint development of SUSE Linux Enterprise. This partnership aimed to improve Windows-Linux interoperability and provide patent protection to Novell's customers. Yahoo, HP, and Oracle were not part of this specific Linux distro collaboration.
-
open chat
-
pidgin
-
gtalk
-
open office express
-
Red Hat
-
Linux 1
-
Debian
-
Open solaris
C
Correct answer
Explanation
Ubuntu is based on Debian, which is one of the oldest and most influential Linux distributions. Ubuntu uses Debian's APT package management system and repositories as its foundation. Red Hat uses RPM, Linux 1 is not a real distro, and OpenSolaris is a Unix variant, not Linux.
-
Heap
-
Stack
-
Code Segment
-
Data Segment
C
Correct answer
Explanation
The code segment (also called the text segment) stores the program's compiled machine instructions and is read-only to prevent self-modification. Heap and stack are dynamic memory areas used for read-write operations during program execution, while the data segment contains initialized and uninitialized global/static variables that can be modified.
-
CShell
-
Kernel
-
BIOS for Linux
-
Full Linux OS
B
Correct answer
Explanation
Linus Torvalds created the Linux kernel, the core component. He did not create C Shell (Bill Joy), BIOS (hardware firmware), or the full OS (kernel + GNU tools + desktop environments). The kernel is the central project.
B
Correct answer
Explanation
Linux is NOT a GUI cover over UNIX - it's a complete UNIX-like operating system with its own kernel. Linux can run with or without a GUI. The GUI is merely an optional layer (like GNOME, KDE) that runs on top of the Linux kernel, not the core of the system itself.