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 20 of 26
Question #381
In Windows, the 'Services' management console can be opened by running:
A. msc services
B. compmgmt.msc and then Services
C. services.msc
D. service.msc

Correct Answer: Option C


Explanation:
services.msc opens the Services snap-in directly; compmgmt.msc also includes it.

This question belongs to: Computer Operating Systems
Question #382
Which Linux command is used to kill a process by its name?
A. killall
B. term
C. kill
D. pkill

Correct Answer: Option D


Explanation:
pkill kills processes based on name or other attributes; killall is similar but may behave differently; kill uses PID.

This question belongs to: Computer Operating Systems
Question #383
What is the role of the Android 'Asset Manager'?
A. To access raw asset files bundled with the application
B. To store user data
C. To manage app permissions
D. To handle drawable resources

Correct Answer: Option A


Explanation:
Asset Manager provides access to files in the assets/ directory of an APK, such as fonts or HTML files.

This question belongs to: Computer Operating Systems
Question #384
Which of the following is a feature of the Windows File Explorer?
A. Quick Access and OneDrive integration
B. Built-in text editor
C. Command line interface
D. SQL database management

Correct Answer: Option A


Explanation:
File Explorer includes Quick Access to frequently used folders and OneDrive cloud storage integration.

This question belongs to: Computer Operating Systems
Question #385
In Linux, the 'umask' command is used to:
A. Change user ID
B. Delete files securely
C. Unmask system files
D. Set default file permissions for newly created files

Correct Answer: Option D


Explanation:
umask defines which permissions are removed (masked) by default when a file or directory is created.

This question belongs to: Computer Operating Systems
Question #386
What is the purpose of the Windows 'Disk Cleanup' tool?
A. To format a disk
B. To defragment the hard drive
C. To remove temporary and unnecessary files to free up disk space
D. To check disk errors

Correct Answer: Option C


Explanation:
Disk Cleanup scans for files that can be safely deleted, such as temporary files, recycle bin, and system caches.

This question belongs to: Computer Operating Systems
Question #387
Which Android version introduced support for split-screen multitasking?
A. Oreo (8.0)
B. Lollipop (5.0)
C. Marshmallow (6.0)
D. Nougat (7.0)

Correct Answer: Option D


Explanation:
Android 7.0 Nougat introduced native split-screen mode, allowing two apps to run side by side.

This question belongs to: Computer Operating Systems
Question #388
In a multiprocessing environment, what is the term for the situation where two or more processors are executing instructions from the same program simultaneously?
A. Parallel execution
B. Distributed processing
C. Simultaneous multithreading
D. Concurrent execution

Correct Answer: Option A


Explanation:
Parallel execution refers to running multiple threads or processes at the exact same time on different cores.

This question belongs to: Computer Operating Systems
Question #389
Which Windows command is used to manage disk partitions from the command line?
A. format
B. fdisk
C. diskpart
D. parted

Correct Answer: Option C


Explanation:
diskpart is the Windows command-line utility for partition management; fdisk and parted are for Linux.

This question belongs to: Computer Operating Systems
Question #390
In Linux, the 'df' command with '-h' option shows:
A. Inode usage
B. File system type
C. Mount options
D. Disk space usage in human-readable format

Correct Answer: Option D


Explanation:
df -h displays file system usage in GB/MB, making it easier to read.

This question belongs to: Computer Operating Systems
Question #391
What is the function of the Android 'Power Manager'?
A. To control screen brightness
B. To handle CPU frequency scaling
C. To manage network connectivity
D. To manage device power states and battery optimization

Correct Answer: Option D


Explanation:
Power Manager controls power-saving features, sleep modes, and monitors battery usage to extend battery life.

This question belongs to: Computer Operating Systems
Question #392
Which of the following is a valid Windows file system for flash drives that supports files larger than 4 GB?
A. NTFS
B. FAT16
C. FAT32
D. exFAT

Correct Answer: Option D


Explanation:
exFAT is designed for flash drives, supporting large file sizes and partitions, while FAT32 has a 4 GB file size limit.

This question belongs to: Computer Operating Systems
Question #393
In Linux, what does the command 'echo $SHELL' display?
A. A list of available shells
B. The current shell's path
C. The user's home directory
D. The system's shell version

Correct Answer: Option B


Explanation:
$SHELL environment variable holds the path to the current user's default shell, e.g., /bin/bash.

This question belongs to: Computer Operating Systems
Question #394
What is the purpose of the Windows 'Safe Mode with Networking'?
A. To start Windows with minimal drivers plus network support for troubleshooting
B. To start Windows with all drivers but no network
C. To boot into a command prompt only
D. To load the last known good configuration

Correct Answer: Option A


Explanation:
Safe Mode with Networking adds network drivers so users can access the internet or network shares while troubleshooting.

This question belongs to: Computer Operating Systems
Question #395
Which Android component is responsible for managing the lifecycle of an application process?
A. PackageManager
B. ProcessManager
C. WindowManager
D. ActivityManager

Correct Answer: Option D


Explanation:
ActivityManager manages the overall application lifecycle, including starting and killing processes based on memory needs.

This question belongs to: Computer Operating Systems
Question #396
Which of the following is a type of scheduler that selects the next process to run from the ready queue?
A. Short-term scheduler (CPU scheduler)
B. I/O scheduler
C. Medium-term scheduler
D. Long-term scheduler (job scheduler)

Correct Answer: Option A


Explanation:
The short-term scheduler selects a process from ready queue and dispatches it to the CPU; occurs frequently.

This question belongs to: Computer Operating Systems
Question #397
In Windows, the 'Control Panel' can be opened by running:
A. cp
B. control
C. settings
D. control panel

Correct Answer: Option B


Explanation:
Typing 'control' in the Run dialog opens the Control Panel; the Settings app is separate.

This question belongs to: Computer Operating Systems
Question #398
Which Linux command is used to view the contents of a directory in a tree-like format?
A. ls -R
B. dir
C. tree
D. find

Correct Answer: Option C


Explanation:
The 'tree' command displays directories and subdirectories in a tree structure; may need installation.

This question belongs to: Computer Operating Systems
Question #399
What is the function of the Android 'AlarmManager'?
A. To control power saving
B. To manage notifications
C. To schedule wake-up events or actions at specific times
D. To set system alarms

Correct Answer: Option C


Explanation:
AlarmManager allows scheduling tasks to run at precise times, even if the device is asleep, by waking it up.

This question belongs to: Computer Operating Systems
Question #400
Which of the following is a type of operating system that provides a consistent view of multiple computers to users?
A. Network OS
B. Multiprocessing OS
C. Real-time OS
D. Distributed OS

Correct Answer: Option D


Explanation:
Distributed OS presents a cluster of computers as a single system, hiding the underlying network.

This question belongs to: Computer Operating Systems