MCQOPTIONS
Saved Bookmarks
This section includes 139 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What does OSS stand for? |
| A. | pen System Software |
| B. | riginal Source Software |
| C. | pen Source Software |
| D. | riginal System Server |
| E. | one of the above |
| Answer» D. riginal System Server | |
| 2. |
What command is used to count thenumber of files in the current directory by using pipes? |
| A. | s | ws - c |
| B. | s | wc - w |
| C. | s | wc - l |
| D. | s | wc |
| E. | one of the above |
| Answer» D. s | wc | |
| 3. |
What does GNU stand for? |
| A. | NU's not Unix |
| B. | reek Needed Unix |
| C. | eneral Unix |
| D. | eneral Noble Unix |
| E. | one of the above |
| Answer» B. reek Needed Unix | |
| 4. |
What does FSF stand for? |
| A. | ree Software File |
| B. | ile Server First |
| C. | irst Serve First |
| D. | ree Software Foundation |
| E. | one of the above |
| Answer» E. one of the above | |
| 5. |
Which program is used to schedule particular jobsorprograms at particular times on the system? |
| A. | i |
| B. | utlook |
| C. | cheduler |
| D. | ron |
| E. | one of the above |
| Answer» E. one of the above | |
| 6. |
Which of the following subdirectory(ies) contains the system boot scripts. |
| A. | /dev |
| B. | /bin |
| C. | /etc |
| D. | /home |
| Answer» D. /home | |
| 7. |
Which of the following command can be used to rename a file in UNIX? |
| A. | ren |
| B. | mv |
| C. | remove |
| D. | change |
| Answer» C. remove | |
| 8. |
For you to create a swap partition by using fdisk, what must the partition's system ID type be? |
| A. | 83 |
| B. | 82 |
| C. | 5 |
| D. | 4 |
| Answer» C. 5 | |
| 9. |
Which daemon is used for the Apache server? |
| A. | apached |
| B. | httpd |
| C. | html |
| D. | shttp |
| Answer» C. html | |
| 10. |
What types of installations require a special boot disk? |
| A. | NFS |
| B. | FTP |
| C. | PCMCIA |
| D. | All of the above |
| Answer» E. | |
| 11. |
What command is used to list the jobs currently in print queues? |
| A. | lpq |
| B. | lpr |
| C. | lprm |
| D. | lpc |
| Answer» B. lpr | |
| 12. |
What command is used to compare the files? |
| A. | ccp |
| B. | du |
| C. | cmp |
| D. | comp |
| Answer» D. comp | |
| 13. |
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» E. | |
| 14. |
What command is used to summarize the disk usage? |
| A. | disk |
| B. | du |
| C. | fdisk |
| D. | chkdsk |
| Answer» C. fdisk | |
| 15. |
Which of the following subdirectory(ies) contains the device files? |
| A. | /dev |
| B. | /bin |
| C. | /etc |
| D. | /home |
| Answer» B. /bin | |
| 16. |
Which of the following NIS clients returns the name of the NIS server used by the NIS client? |
| A. | ypwhich |
| B. | ypbind |
| C. | ypcat |
| D. | yppoll |
| Answer» B. ypbind | |
| 17. |
How can you rebuild the RPM file to include the new patches? |
| A. | #NAME? |
| B. | #NAME? |
| C. | #NAME? |
| D. | #NAME? |
| Answer» B. #NAME? | |
| 18. |
What layer protocol is responsible for user and the application programme support such as passwords, resource sharing, file transfer and network management? |
| A. | Layer 4 protocols |
| B. | Layer 5 protocols |
| C. | Layer 6 protocols |
| D. | Layer 7 protocols |
| Answer» E. | |
| 19. |
How many extended partitions can exist on one drive? |
| A. | 16 |
| B. | 4 |
| C. | 2 |
| D. | 1 |
| Answer» E. | |
| 20. |
What are the appropriate Hex codes for setting Linux swap and Linux native partition types in fdisk? |
| A. | 82 and 83 |
| B. | 92 and 93 |
| C. | 63 and 64 |
| D. | 82 and 85 |
| Answer» B. 92 and 93 | |
| 21. |
What command is used to halt a Linux system? |
| A. | init 0 |
| B. | Shutdown -t |
| C. | Shutdown -g -y0 |
| D. | Ctrl+Alt+Del |
| Answer» B. Shutdown -t | |
| 22. |
In order to increase the amount of memory available for a system, what is the maximum size of a swap partition (with kernel version 2.2.x)? |
| A. | 2GB |
| B. | 128MB |
| C. | 64MB |
| D. | 32MB |
| Answer» B. 128MB | |
| 23. |
What command is used to count just the number of characters in a file? |
| A. | wc - r |
| B. | wc - w |
| C. | wc - c |
| D. | wc - 1 |
| Answer» D. wc - 1 | |
| 24. |
What command is used with vi editor to move the cursor to the left? |
| A. | h |
| B. | k |
| C. | j |
| D. | i |
| Answer» B. k | |
| 25. |
What service is not monitored by inetd ? |
| A. | SSH |
| B. | time |
| C. | ntalk |
| D. | finger |
| Answer» B. time | |
| 26. |
_____ tool allows you to change your default X Window desktop. |
| A. | utilinux |
| B. | cempre |
| C. | switchdesk |
| D. | window |
| Answer» D. window | |
| 27. |
How many class A, B and C network IDs can exist? |
| A. | 128 |
| B. | 126 |
| C. | 16382 |
| D. | 2113658 |
| Answer» E. | |
| 28. |
Which program is used to automatically install Red Mat Linux on identical hardware? |
| A. | bzimage.img |
| B. | tar |
| C. | ghost |
| D. | mkkickstart |
| Answer» E. | |
| 29. |
What command is used to query for a specific package with RPM? |
| A. | rpm -q |
| B. | rpm -a |
| C. | rpm -d |
| D. | rpm -1 |
| Answer» B. rpm -a | |
| 30. |
What command is used to assign only read permission to all three categories of the file'letter'? |
| A. | chmod u + r, g + r, o - x letter |
| B. | chmod ugo = r letter |
| C. | chmod a - rw letter |
| D. | chmod go + r letter |
| Answer» C. chmod a - rw letter | |
| 31. |
Which of the following command is used to mount NFS filesystems? |
| A. | nfsmount |
| B. | knfsd |
| C. | mount |
| D. | All of the above |
| Answer» D. All of the above | |
| 32. |
What shell's wild-card is used to match a single character? |
| A. | [!ijk] |
| B. | [ijk] |
| C. | ? |
| D. | * |
| Answer» D. * | |
| 33. |
What command is used to display and create files? |
| A. | lyrix |
| B. | ed |
| C. | vi |
| D. | cat |
| Answer» E. | |
| 34. |
Which of the following tool is used to partition your hard drive? |
| A. | mkfs |
| B. | fdisk |
| C. | fsck |
| D. | mount |
| Answer» C. fsck | |
| 35. |
To create an installation boot floppy disk from Linux (or another Unix) machine, what command could you use? |
| A. | fdisk |
| B. | fsck |
| C. | dd |
| D. | rawrite |
| Answer» D. rawrite | |
| 36. |
Which of the following is not a filter command? |
| A. | sort |
| B. | wc |
| C. | grep |
| D. | cat |
| Answer» E. | |
| 37. |
What file contains the list of port numbers (and associated names) monitored by inetd? |
| A. | /etc/services |
| B. | /etc/nsorder |
| C. | /etc/nsswitch.conf/ |
| D. | /etc/hosts |
| Answer» B. /etc/nsorder | |
| 38. |
GNOME is based on |
| A. | CORBA toolkit |
| B. | COM/DCOM toolkit |
| C. | ORE toolkit |
| D. | OLE DB toolkit |
| Answer» B. COM/DCOM toolkit | |
| 39. |
Which file is used to configure which filesystems are mounted? |
| A. | /etc/mount.sys |
| B. | /etc/filesys |
| C. | /etc/sysconfig |
| D. | /etc/fstab |
| Answer» E. | |
| 40. |
What command do you use to add routes to a Linux router? |
| A. | addroute |
| B. | route |
| C. | netstat |
| D. | net |
| Answer» C. netstat | |
| 41. |
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» E. | |
| 42. |
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» B. is used to install, uninstall, and manage packages | |
| 43. |
What command is used with vi editor to delete three words? |
| A. | 3$d |
| B. | 3 dw |
| C. | 3 x |
| D. | 3 dd |
| Answer» C. 3 x | |
| 44. |
Who has developed the Linux? |
| A. | Bob Young |
| B. | Mark Eving |
| C. | Richard Stallman |
| D. | Linus Torvalds |
| Answer» E. | |
| 45. |
What command is used to change the working directory? |
| A. | cdir |
| B. | chdir |
| C. | changedir |
| D. | cd |
| Answer» E. | |
| 46. |
The location of some system configuration and system administrator executable files, is: |
| A. | /home |
| B. | /proc |
| C. | /var |
| D. | /sbin |
| Answer» E. | |
| 47. |
What command is used to assign executable permission to the owner of the file named "letter"? |
| A. | chmod ugo + x letter |
| B. | chmod u + x letter |
| C. | chmod u + w letter |
| D. | chmod g + x letter |
| Answer» C. chmod u + w letter | |
| 48. |
What of the following tool is used to check and repair Linux file systems? |
| A. | mkfs |
| B. | fdisk |
| C. | fsck |
| D. | mount |
| Answer» D. mount | |
| 49. |
After you have compiled your kernel, what do you have to edit to boot your new kernel image? |
| A. | /boot/lilo.conf |
| B. | /etc/conf.modules |
| C. | /etc/named.boot |
| D. | /etc/lilo.conf |
| Answer» E. | |
| 50. |
What command is used to display your current working directory? |
| A. | path |
| B. | pwd |
| C. | prompt $p$g |
| D. | dir |
| Answer» C. prompt $p$g | |