McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Master of Computer Applications (MCA) , Programming Languages .
Chapters
1. |
Physical partitioning can be done using: |
A. | fdisk |
B. | Disk Driud |
C. | Both (a) and (b) |
D. | None |
Answer» C. Both (a) and (b) |
2. |
RPM stands for |
A. | Random Process Management |
B. | Red Hat Package Manager |
C. | Both (a) and (b) |
D. | None |
Answer» B. Red Hat Package Manager |
3. |
IP address is a |
A. | Static address |
B. | Dynamic address |
C. | Both (a) and (b) |
D. | None |
Answer» C. Both (a) and (b) |
4. |
NFS stands for |
A. | New file system |
B. | Network file system |
C. | Netware file system |
D. | None of the above |
Answer» B. Network file system |
5. |
By default, one can mount |
A. | CDs onto your device as root |
B. | Floppy disk onto your device as root |
C. | Pen drive |
D. | Magnetic tapes |
Answer» A. CDs onto your device as root |
6. |
The agency that sits between the user and the LINUX system is called the |
A. | logic |
B. | shell |
C. | .profile |
D. | .exec |
Answer» B. shell |
7. |
Which is the earliest and most widely used shell that came with the UNIX system? |
A. | C shell |
B. | Korn shell |
C. | Bourne shell |
D. | Smith Shell |
Answer» C. Bourne shell |
8. |
In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory. |
A. | .exec |
B. | .last login |
C. | .profile |
D. | .mbox |
Answer» C. .profile |
9. |
The seventh field of /etc/password is |
A. | password |
B. | login |
C. | shell |
D. | home |
Answer» C. shell |
10. |
The UNIX file system stores a date in physical blocks of |
A. | 1,024 bytes |
B. | 512 bytes |
C. | 2,048 bytes |
D. | 256 bytes |
Answer» B. 512 bytes |
11. |
Which of the following is not the component of LINUX? |
A. | CPU |
B. | Kernel |
C. | Shell |
D. | Utilities |
Answer» A. CPU |
12. |
What hardware architectures are not supported by Red Hat? |
A. | SPARC |
B. | IBM-compatible |
C. | Alpha |
D. | Macintosh |
Answer» D. Macintosh |
13. |
How can you add Amit, a new user, to your system? |
A. | Using useradd |
B. | Using adduser |
C. | Using linuxconf |
D. | All of the above |
Answer» D. All of the above |
14. |
How many primary partitions can exist on one drive? |
A. | 16 |
B. | 4 |
C. | 2 |
D. | 1 |
Answer» B. 4 |
15. |
RPM |
A. | stands for Red Hat Package Manager |
B. | is used to install, uninstall, and manage packages |
C. | is used to keep track of the users |
D. | assigns a dynamic IP address |
Answer» A. stands for Red Hat Package Manager |
16. |
What command is used to query for a specific package with RPM? |
A. | rpm –q |
B. | rpm –a |
C. | rpm –d |
D. | rpm –l |
Answer» A. rpm –q |
17. |
What script is run for setting bash global defaults for all users? |
A. | /etc/.profile |
B. | /etc/.bashrc |
C. | /etc/.log |
D. | /etc/profile |
Answer» D. /etc/profile |
18. |
Who founded the Linux Kernel? |
A. | Bill Gates |
B. | Ben Thomas |
C. | Richard Stallman |
D. | Linus Torvalds |
Answer» D. Linus Torvalds |
19. |
____ tool allows you to change your default X Window desktop. |
A. | Utilinux |
B. | Cempre |
C. | Switchdesk |
D. | Window |
Answer» C. Switchdesk |
20. |
In what file can you specify which users are not allowed to access a system via FTP? |
A. | /etc/ftpusers |
B. | /etc/hosts.deny |
C. | /etc/ftpaccess |
D. | All of the above |
Answer» A. /etc/ftpusers |
21. |
Which program is used to schedule particular jobs or programs at particular times on the system? |
A. | vi |
B. | Outlook |
C. | Scheduler |
D. | cron |
Answer» D. cron |
22. |
Which command can force all buffers to disk? |
A. | save |
B. | sync |
C. | edbuff |
D. | flush |
Answer» B. sync |
23. |
How many extended partitions can exist on one drive? |
A. | 16 |
B. | 4 |
C. | 2 |
D. | 1 |
Answer» D. 1 |
24. |
The location of some system configuration and system administrator executable files, is: |
A. | /home |
B. | /proc |
C. | /var |
D. | /sbin |
Answer» D. /sbin |
25. |
The location for subdirectories for local programs and executables for user and administrative commands is: |
A. | /usr |
B. | /tmp |
C. | /opt |
D. | /mnt |
Answer» A. /usr |
26. |
LILO |
A. | stands for Linux loader |
B. | is the Linux boot loader |
C. | is a tool used to boot the Kernel on x86 hardware |
D. | All of the above |
Answer» D. All of the above |
27. |
Which of the following tool is used to partition your hard drive? |
A. | mkfs |
B. | fdisk |
C. | fsck |
D. | mount |
Answer» B. fdisk |
28. |
What command can be used to get information about yourself? |
A. | which |
B. | pwd |
C. | i/4 |
D. | who am i |
Answer» D. who am i |
29. |
Which of the following tool allows the user to change the default X Window desktop? |
A. | Switchdesk |
B. | Intrc |
C. | Xinitre |
D. | Xchange |
Answer» A. Switchdesk |
30. |
What command is used to halt a Linux system? |
A. | init 0 |
B. | Shutdown –t |
C. | Shutdown -g -y0 |
D. | Ctrl+Alt+Del |
Answer» A. init 0 |
31. |
SVR4 was developed by |
A. | Sun Microsystems |
B. | AT&T |
C. | University of Berkeley |
D. | Sun and AT&T jointly |
Answer» D. Sun and AT&T jointly |
32. |
Which of these is not a Unix Flavor? |
A. | BSD |
B. | MAC |
C. | AIX |
D. | IRIX |
Answer» B. MAC |
33. |
Which of the following statement is FALSE? |
A. | Unix supports multiple users |
B. | Linux is an open source operating system and the source code is shared |
C. | Shell takes care of inter process communication |
D. | Shell provides the feature of I/O Redirection |
Answer» C. Shell takes care of inter process communication |
34. |
Which of the following UNIX flavor is from IBM? |
A. | BSD |
B. | Solaris |
C. | HP-UX |
D. | AIX |
Answer» D. AIX |
35. |
x86-32 uses which programming model? |
A. | IP16 |
B. | IP32 |
C. | ILP16 |
D. | ILP32 |
Answer» D. ILP32 |
36. |
What are the sizes of (Integer/Long/Pointer) in LP64 programming model? |
A. | 8/8/8 |
B. | 4/4/8 |
C. | 4/8/8 |
D. | 4/8/4 |
Answer» C. 4/8/8 |
37. |
Which among the following is used to write small programs to control Unix functionalities? |
A. | Shell Commands |
B. | Shell Script |
C. | Filters |
D. | C Language |
Answer» B. Shell Script |
38. |
What control character signals the end of the input file? |
A. | ctrl + a |
B. | ctrl + b |
C. | ctrl + c |
D. | ctrl + d |
Answer» D. ctrl + d |
39. |
How do the user gets the help about the command “cp”? |
A. | help cp |
B. | man cp |
C. | cd ? |
D. | none |
Answer» B. man cp |
40. |
UNIX/Linux kernel is? |
A. | Monolithic |
B. | micro |
C. | Exo |
D. | nano |
Answer» A. Monolithic |
41. |
To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called |
A. | Pooling |
B. | Spooling |
C. | Buffer cache |
D. | Swapping |
Answer» C. Buffer cache |
42. |
At start of process execution, STDOUT & STDERR |
A. | Point to current terminal device |
B. | Are closed |
C. | Point to special files on the system |
D. | None of the above |
Answer» A. Point to current terminal device |
43. |
wtmp and utmp files contain: |
A. | Temporary system data |
B. | User login-logout log |
C. | The user’s command execution log |
D. | The user’s su and sudo attempts |
Answer» B. User login-logout log |
44. |
Which is the core of the operating system? |
A. | Shell |
B. | Kernel |
C. | Commands |
D. | Script |
Answer» B. Kernel |
45. |
ILP32 stands for |
A. | 32 bit Integer, Long & Pointer |
B. | 32 bit Integrated Long & Pointer |
C. | 32 bit Intelligent Long & Pointer |
D. | 32 bit Long & Pointer |
Answer» A. 32 bit Integer, Long & Pointer |
46. |
Single Unix Specification Version 2 provides enhanced support for |
A. | 16 bit Unix |
B. | 32 bit Unix |
C. | 64 bit Unix |
D. | 8 bit Unix |
Answer» C. 64 bit Unix |
47. |
Under UNIX the key board is the default input device and the monitor is the default output device |
A. | True |
B. | False |
C. | none |
D. | all |
Answer» A. True |
48. |
Which among the following interacts directly with system hardware? |
A. | Shell |
B. | Commands |
C. | Kernel |
D. | Applications |
Answer» C. Kernel |
49. |
Applications communicate with kernel by using: |
A. | System Calls |
B. | C Programs |
C. | Shell Script |
D. | Shell |
Answer» A. System Calls |
50. |
Solaris is the name of a flavor of UNIX from |
A. | HP |
B. | IBM |
C. | Digital Equipment Corp |
D. | Sun Microsystems |
Answer» D. Sun Microsystems |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.