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 17 of 26
Question #321
In Android, what is an 'Intent'?
A. A permission grant
B. A type of service
C. A messaging object used to request an action from another component
D. A data storage mechanism

Correct Answer: Option C


Explanation:
Intents are used to start activities, services, broadcast messages, and communicate between components.

This question belongs to: Computer Operating Systems
Question #322
Which of the following is a file system used primarily on optical discs?
A. ISO 9660
B. HFS
C. NTFS
D. ext4

Correct Answer: Option A


Explanation:
ISO 9660 is the standard file system for CD-ROMs and DVDs; others are for hard drives.

This question belongs to: Computer Operating Systems
Question #323
What is the function of the Windows 'System Restore' feature?
A. To restore deleted files
B. To reinstall Windows
C. To restore system files and settings to a previous state without affecting personal files
D. To backup entire system image

Correct Answer: Option C


Explanation:
System Restore uses restore points to revert system changes, useful for fixing issues caused by updates or software.

This question belongs to: Computer Operating Systems
Question #324
In Linux, the 'ps' command with 'aux' options displays:
A. Only the current user's processes
B. System processes only
C. Processes in a tree format
D. All running processes with detailed information

Correct Answer: Option D


Explanation:
ps aux shows all processes from all users, with detailed info like CPU usage, memory, and command line.

This question belongs to: Computer Operating Systems
Question #325
What is the primary advantage of a distributed operating system?
A. It is easier to manage than a single system
B. It allows multiple computers to work together as a single system, providing scalability and fault tolerance
C. It requires less memory
D. It has better graphics

Correct Answer: Option B


Explanation:
Distributed OS manages resources across network nodes, offering high availability and load balancing.

This question belongs to: Computer Operating Systems
Question #326
Which Windows command is used to test network connectivity?
A. ping
B. tracert
C. nslookup
D. netstat

Correct Answer: Option A


Explanation:
ping sends ICMP echo requests to test reachability and round-trip time of a host.

This question belongs to: Computer Operating Systems
Question #327
Which Linux command is used to display the disk usage of files and directories?
A. df
B. du
C. stat
D. ls -l

Correct Answer: Option B


Explanation:
du (disk usage) estimates file space usage; df shows file system disk space usage.

This question belongs to: Computer Operating Systems
Question #328
In Android, which component is responsible for handling user input and events?
A. Sensor Manager
B. Window Manager
C. Activity Manager
D. View System

Correct Answer: Option D


Explanation:
The View System includes UI widgets and handles input events like touches, key presses, and gestures.

This question belongs to: Computer Operating Systems
Question #329
What is the difference between a 32-bit and 64-bit operating system?
A. The file system used
B. The number of users they support
C. The amount of memory they can address
D. The speed of the processor

Correct Answer: Option C


Explanation:
The main difference is the addressable memory space; 64-bit can address much more than 4 GB.

This question belongs to: Computer Operating Systems
Question #330
Which of the following is a type of Linux shell?
A. Command Prompt
B. Terminal
C. Bash
D. PowerShell

Correct Answer: Option C


Explanation:
Bash is a shell; Command Prompt and PowerShell are Windows; Terminal is a terminal emulator.

This question belongs to: Computer Operating Systems
Question #331
In Windows, what does the 'gpupdate' command do?
A. Updates Group Policy settings
B. Updates user profiles
C. Updates device drivers
D. Updates Windows Update

Correct Answer: Option A


Explanation:
gpupdate forces a refresh of local and domain Group Policy settings without rebooting.

This question belongs to: Computer Operating Systems
Question #332
Which Linux command is used to find files that match a certain pattern?
A. locate
B. which
C. find
D. grep

Correct Answer: Option C


Explanation:
find searches for files in a directory hierarchy based on name, type, size, etc.; locate uses a database for faster search.

This question belongs to: Computer Operating Systems
Question #333
What is the purpose of the Android 'Notification System'?
A. To manage system notifications
B. To handle application permissions
C. To display alerts and messages from apps on the status bar or lock screen
D. To control volume settings

Correct Answer: Option C


Explanation:
The notification system allows apps to notify users about events, messages, and updates in a non-intrusive manner.

This question belongs to: Computer Operating Systems
Question #334
Which of the following is a characteristic of cooperative multitasking?
A. It ensures fairness
B. It is used in modern operating systems
C. Processes must voluntarily yield control to allow others to run
D. The OS forcibly preempts processes

Correct Answer: Option C


Explanation:
Cooperative multitasking relies on processes to yield CPU time; if a process hangs, the whole system may hang.

This question belongs to: Computer Operating Systems
Question #335
In Windows, the 'Registry Editor' can be opened by running which command?
A. regedt32
B. regedit
C. regedit32
D. reg

Correct Answer: Option B


Explanation:
regedit is the primary Registry Editor; regedt32 is an older version, but regedit is commonly used.

This question belongs to: Computer Operating Systems
Question #336
Which Linux command is used to display the kernel version?
A. uname -r
B. kernel -v
C. version
D. lsb_release -a

Correct Answer: Option A


Explanation:
uname -r shows the kernel release version; uname -a gives all system info.

This question belongs to: Computer Operating Systems
Question #337
What is the main role of the Android 'Dalvik/ART Virtual Machine'?
A. To handle network connections
B. To manage hardware resources
C. To execute Android applications (bytecode) on the device
D. To provide user interface

Correct Answer: Option C


Explanation:
The virtual machine executes the DEX bytecode compiled from Java/Kotlin code, translating it to native instructions.

This question belongs to: Computer Operating Systems
Question #338
Which of the following is a security feature in Windows that prevents unauthorized code from running?
A. User Account Control (UAC)
B. BitLocker
C. Windows Firewall
D. Windows Defender

Correct Answer: Option A


Explanation:
UAC prompts users for permission when programs try to make system changes, preventing unauthorized actions.

This question belongs to: Computer Operating Systems
Question #339
In Linux, what does the command 'ls -l' display?
A. Detailed file information including permissions, owner, size, and timestamp
B. Hidden files as well
C. Files sorted by size
D. Only file names

Correct Answer: Option A


Explanation:
ls -l (long listing) displays permissions, number of links, owner, group, size, date, and filename.

This question belongs to: Computer Operating Systems
Question #340
What is the purpose of the Windows 'Power Options' settings?
A. To set battery charging limits
B. To manage power consumption and performance profiles
C. To control cooling fans
D. To configure display brightness

Correct Answer: Option B


Explanation:
Power Options allow users to choose power plans (Balanced, High Performance, Power Saver) that adjust hardware settings to save energy or boost performance.

This question belongs to: Computer Operating Systems