Operating Systems MCQs

Computer

Operating Systems MCQs

Practice Operating System MCQs covering Windows, Linux, Android, booting, multitasking and multiprocessing concepts with answers and explanations.

510
Total Questions

Practice Questions

Page 25 of 26
Question #481
Which of the following is a type of operating system that provides no user interaction and processes jobs in batches?
A. Batch OS
B. Real-time OS
C. Time-sharing OS
D. Network OS

Correct Answer: Option A


Explanation:
Batch OS processes jobs sequentially without user intervention, common in early computing.

This question belongs to: Computer Operating Systems
Question #482
In Windows, the 'Diskpart' command can be scripted using:
A. All of the above
B. Batch files
C. A text file with commands and 'diskpart /s script.txt'
D. PowerShell

Correct Answer: Option A


Explanation:
diskpart supports scripts via /s, and can be used within PowerShell or batch files for automation.

This question belongs to: Computer Operating Systems
Question #483
Which Linux command is used to display the last reboot time?
A. All of the above
B. last reboot
C. uptime -s
D. who -b

Correct Answer: Option A


Explanation:
last reboot shows reboot history; uptime -s shows system start time; who -b shows boot time.

This question belongs to: Computer Operating Systems
Question #484
What is the purpose of the Android 'DownloadProvider'?
A. To manage download requests and provide access to downloaded files
B. To download files only
C. To manage download priority
D. To store downloaded files

Correct Answer: Option A


Explanation:
DownloadProvider is a content provider that handles download requests, storing metadata and files for apps.

This question belongs to: Computer Operating Systems
Question #485
Which of the following is a feature of the Windows 'Fast Startup'?
A. Hybrid shutdown that saves system state to a file for quicker boot
B. Full shutdown
C. Reduced power consumption
D. Faster hibernation

Correct Answer: Option A


Explanation:
Fast Startup combines a shutdown with hibernation, writing the kernel session to disk to speed up next boot.

This question belongs to: Computer Operating Systems
Question #486
In Linux, the 'at' command is used to:
A. List scheduled jobs
B. Run jobs immediately
C. Schedule a job to run once at a specified time
D. Schedule recurring jobs

Correct Answer: Option C


Explanation:
at schedules one-time tasks; cron is for recurring jobs; atq lists pending at jobs.

This question belongs to: Computer Operating Systems
Question #487
What is the purpose of the Android 'WallpaperService'?
A. To draw wallpapers
B. To set wallpapers
C. To create live wallpapers that run as a service
D. To manage wallpapers

Correct Answer: Option C


Explanation:
WallpaperService is the base class for live wallpapers, enabling animations and interactive backgrounds.

This question belongs to: Computer Operating Systems
Question #488
Which of the following is a characteristic of a distributed operating system?
A. High reliability
B. All of the above
C. Scalability
D. Transparency of resources

Correct Answer: Option B


Explanation:
Distributed OS provides transparency (users see a single system), reliability via redundancy, and scalability.

This question belongs to: Computer Operating Systems
Question #489
In Windows, the 'PowerShell' command to get a list of running processes is:
A. ps
B. All of the above
C. tasklist
D. Get-Process

Correct Answer: Option B


Explanation:
Get-Process (PowerShell), ps (alias), and tasklist (CMD) all list processes.

This question belongs to: Computer Operating Systems
Question #490
Which Linux command is used to check the disk space usage of the root file system?
A. fdisk -l
B. du -sh /
C. df -h /
D. lsblk /

Correct Answer: Option C


Explanation:
df -h / shows used/available space on the root partition; du -sh / calculates total size of all files under /, which is heavy.

This question belongs to: Computer Operating Systems
Question #491
What is the purpose of the Android 'KeyguardManager'?
A. To handle screen locking
B. To manage device passwords
C. To manage the lock screen and keyguard state
D. To manage biometric authentication

Correct Answer: Option C


Explanation:
KeyguardManager controls the lock screen (keyguard) and allows apps to disable the keyguard temporarily.

This question belongs to: Computer Operating Systems
Question #492
Which of the following is a type of operating system that runs on a server and provides services to clients?
A. Mobile OS
B. Desktop OS
C. Server OS
D. Embedded OS

Correct Answer: Option C


Explanation:
Server OSes like Windows Server and Linux server distributions are optimized for hosting services and managing network resources.

This question belongs to: Computer Operating Systems
Question #493
In Windows, the 'Registry' value type 'REG_DWORD' represents:
A. A 64-bit integer
B. A 32-bit integer
C. A binary value
D. A string

Correct Answer: Option B


Explanation:
REG_DWORD is a 32-bit numeric value; REG_QWORD is 64-bit; REG_SZ is string; REG_BINARY is binary.

This question belongs to: Computer Operating Systems
Question #494
Which Linux command is used to mount a file system at boot?
A. All of the above
B. Entries in /etc/fstab
C. mount -a
D. systemctl mount

Correct Answer: Option A


Explanation:
/etc/fstab defines mount points; mount -a mounts all entries in fstab; systemd can also handle mount units.

This question belongs to: Computer Operating Systems
Question #495
What is the purpose of the Android 'StorageManager'?
A. To format storage
B. To access storage volumes and manage storage operations
C. To handle external storage
D. To get storage statistics

Correct Answer: Option B


Explanation:
StorageManager provides APIs to query storage volumes, get total/free space, and mount/unmount storage.

This question belongs to: Computer Operating Systems
Question #496
Which of the following is a feature of the Windows 'Group Policy'?
A. Local policy settings for standalone machines
B. Centralized management of user and computer settings in a domain
C. Security policy configuration
D. All of the above

Correct Answer: Option D


Explanation:
Group Policy allows administrators to define policies for users and computers, both locally and via Active Directory.

This question belongs to: Computer Operating Systems
Question #497
In Linux, the 'nice' command is used to:
A. Change a process's nice value
B. Run a command with a modified scheduling priority
C. All of the above
D. Set the priority of a process (niceness value)

Correct Answer: Option C


Explanation:
nice sets the initial priority; renice changes priority of running processes; all affect scheduling.

This question belongs to: Computer Operating Systems
Question #498
What is the role of the Android 'SpeechRecognizer'?
A. To record audio
B. To synthesize speech from text
C. To recognize speech and convert it to text
D. To manage voice commands

Correct Answer: Option C


Explanation:
SpeechRecognizer performs speech-to-text conversion, using the device's speech recognition service.

This question belongs to: Computer Operating Systems
Question #499
Which of the following is a valid file permission represented in octal for a directory with rwx for owner, rx for group, and rx for others?
A. 550
B. 755
C. 700
D. 644

Correct Answer: Option B


Explanation:
755 = owner rwx (4+2+1), group rx (4+1), others rx (4+1).

This question belongs to: Computer Operating Systems
Question #500
In Windows, the 'PowerShell' command to get the current date is:
A. Get-Date
B. time
C. All of the above
D. date

Correct Answer: Option C


Explanation:
Get-Date is PowerShell cmdlet; date and time are legacy commands; all display date/time.

This question belongs to: Computer Operating Systems