Linux Operating System MCQ Questions and Answers

1. Which of the following is a function of the Linux kernel? 
(Choose all that apply.)

A. Allocating memory for use by programs
B. Allocating CPU time for use by programs
C. Creating menus in GUI programs
D. Controlling access to hard disks
E. Enabling programs to use the network
 

2. Which of the following is an example of an embedded OS?

A. Android
B. CentOS
C. Fedora
D. Mint
E. Red Hat
 

3. Which of the following is a notable difference between Linux and macOS?

A. Linux can run common GNU programs, whereas macOS cannot. 
B. Linux’s GUI is based on the X Window System, whereas macOS is not.
C. Linux cannot run on Apple Macintosh hardware, whereas macOS can run only on Apple hardware.
D. Linux relies heavily on BSD software, whereas macOS uses no BSD software.
E. Linux supports textmode commands, whereas macOS is a GUI-only OS.
 

4. Where did the Linux kernel come from? 

A. It was derived from Microsoft Windows.
B. It was derived from Apple macOS.
C. It was derived from AT&T Unix.
D. It was derived from BSD Unix.
E. It was created by Linus Torvalds.
 

5. If you log into a Linux system in graphical mode, you cannot use text-mode commands in that session. 

True or false: 
 

6. CentOS is a Linux distribution with a long release cycle.

True or false: 
 

7. A Linux text-mode login prompt reads ________.

A. login:
B. welcome:
C. Enter:
D. userid:
E. Enter your userid:
 

8. A common security problem with Windows that’s essentially nonexistent on Linux is ________.

A. Commercial software
B. Network firewalls
C. Network routers
D. Viruses
E. Software management packages
 

9. Pre-release software that’s likely to contain bugs is known as ________ and ________.

A. First and second
B. Primary and secondary
C. Alpha and beta
D. Development and
production
E. Development and test
 

10. Linux distributions that have no version number but instead release upgrades in an ongoing manner are said to have a(n) ________ release.

A. rolling
B. staggered
C. informal
D. systematic
E. hap-hazard

---

Answers

1. A, B, D, and E. 

The kernel manages the memory, CPU, and devices for programs running on a computer system, so options A, B, D, and E are correct. The kernel does
not manage features of the GUI desktop environment, so option C is incorrect.
 

2. A. 

The Android OS is used on phones as an embedded Linux system, so option A is correct. 

The CentOS, Fedora, Mint, and Red Hat Linux distributions are full Linux distributions intended for desktop and server environments, and they are not used in embedded systems, making options B, C, D, and E incorrect.
 

3. B. 

Linux’s GUI is based on the X Window System. 

Although macOS provides an X implementation, its primary GUI is Apple’s proprietary product. Thus, option B is correct. 

Option A is incorrect because both Linux and macOS can run most GNU programs. 

Option C is incorrect because Linux can run on both Apple Macintosh and Microsoft-compatible hardware. 

Option D is incorrect because macOS includes many BSD utilities. Although most Linux distributions use GNU utilities, you can use BSD utilities in Linux if
you prefer. 

Option E is incorrect because both Linux and macOS support text-mode commands, although in macOS you must use the GUI Terminal application.
 

4. E. 

The Linux OS was created by Linus Torvalds while he was a student. Although based on current Linux OSs, it wasn’t derived from any of them, so option E is correct, and options C and D are incorrect. 

The Linux OS is not derived from either macOS or Windows, so options A and B are also incorrect.
 

5. False. 

Programs known as terminals enable entry of text-mode commands after you’ve logged into Linux in GUI mode. You can also switch between multiple
virtual terminals by using keystrokes such as Ctrl+Alt+F2.
 

6. True. 

The CentOS distribution release cycle is approximately every two years, which is long by the standards of other Linux distributions, some of which have release cycles of just six months.
 

7. A. 

The text-mode login prompt is a single text word that prompts you for your user account ID to access the Linux system. 

The login term is used to prompt for the user to enter his or her userid, so Option A is correct.

Options B, C, D, and E are not used as login prompts for the Linux.
 

8. D. 

Most attackers who write viruses focus their energy on the Windows platform where they can find the most victims, so there are very few viruses
targeted toward Linux systems. Thus, Option D is correct. 

Commercial software purchased from reputable vendors is not normally considered a security risk, so Option A is incorrect. 

Linux systems installed on networks should still utilize network routers and firewalls to protect them from outside attacks, so Options B and C are incorrect. 

Software management packages such as the Microsoft Store are considered a security feature and not a problem, so Option E is correct.
 

9. C. 

An alpha software release is the first test version of an application or distribution, which hasn’t been fully tested in all environments and most likely contains bugs. 

The beta software release has been tested in some environments but not all, and it may contain bugs for your particular environments. Thus, Option C is correct. 

The terms suggested in Options A, B, D, and E are not used to represent standard first and second releases of software packages.
 

10. A. 

A rolling release is provided as needed for a Linux distribution, with no specific release dates or version numbers. Thus, Option A is correct. The terms used in Options B, C, D, and E are not commonly used to indicate version types.

Linux Tips

See Also

Have a Linux Problem
Linux Forum - Do you have a Linux Question?

Linux Books
Linux Certification, System Administration, Programming, Networking Books

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.