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 26 of 26
Question #501
Which Linux command is used to add a group to the system?
A. newgrp
B. addgroup
C. groupadd
D. groupmod

Correct Answer: Option C


Explanation:
groupadd creates a new group; addgroup is a friendlier front-end on Debian.

This question belongs to: Computer Operating Systems
Question #502
What is the purpose of the Android 'FragmentManager'?
A. To handle fragment transactions
B. To manage activities
C. Both A and C
D. To manage fragments (UI components) within an activity

Correct Answer: Option C


Explanation:
FragmentManager handles adding, removing, and replacing fragments, as well as managing back stack.

This question belongs to: Computer Operating Systems
Question #503
Which of the following is a type of operating system that can run on multiple hardware platforms without modification?
A. Cross-platform OS
B. Portable OS
C. All of the above
D. Platform-independent OS

Correct Answer: Option C


Explanation:
These terms refer to OSes that are designed to run on different CPU architectures with minimal changes, e.g., Linux.

This question belongs to: Computer Operating Systems
Question #504
In Windows, the 'Tracert' command is used to:
A. Trace the route packets take to a destination
B. Resolve domain names
C. Test network speed
D. Display network statistics

Correct Answer: Option A


Explanation:
tracert (traceroute) displays each hop (router) along the path to a target IP/domain.

This question belongs to: Computer Operating Systems
Question #505
Which Linux command is used to display the current user's group memberships?
A. Both A and B
B. id -Gn
C. groups
D. who

Correct Answer: Option A


Explanation:
groups shows all groups for the current user; id -Gn also lists group names.

This question belongs to: Computer Operating Systems
Question #506
What is the purpose of the Android 'TextView'?
A. To handle text input
B. To edit text
C. To display text on the screen
D. To format text

Correct Answer: Option C


Explanation:
TextView is a UI component for displaying read-only text; EditText is for editable text.

This question belongs to: Computer Operating Systems
Question #507
Which of the following is a feature of the Windows 'File History'?
A. All of the above
B. Version history of files
C. Automatic backup of personal files to an external drive
D. Restore files easily

Correct Answer: Option A


Explanation:
File History backs up libraries, desktop, contacts, and favorites, and keeps versions for recovery.

This question belongs to: Computer Operating Systems
Question #508
In Linux, the 'export' command is used to:
A. All of the above
B. Make a variable global
C. Display environment variables
D. Set environment variables that are passed to child processes

Correct Answer: Option A


Explanation:
export makes shell variables available to subprocesses; without options, it lists exported variables.

This question belongs to: Computer Operating Systems
Question #509
What is the purpose of the Android 'RecyclerView'?
A. To display large datasets efficiently with recycling of views
B. To display a list of items
C. To provide a flexible view container
D. All of the above

Correct Answer: Option D


Explanation:
RecyclerView is an advanced list view that recycles item views to improve performance and allows custom layouts.

This question belongs to: Computer Operating Systems
Question #510
Which of the following is a type of operating system that allows direct communication with hardware without a kernel?
A. Exokernel
B. Microkernel
C. Hybrid kernel
D. Monolithic kernel

Correct Answer: Option A


Explanation:
Exokernel provides minimal abstractions and allows applications to manage hardware directly, but is rare.

This question belongs to: Computer Operating Systems