

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.
101. |
What command is used to set user and group quotas? |
A. | /sbin/usrquota |
B. | /sbin/edquota |
C. | /sbin/quotaon |
D. | /sbin/quota |
Answer» C. /sbin/quotaon | |
102. |
What sign is used to erase or kill an entire line you have typed and start you are on a new line (but not display a new prompt)? |
A. | ! |
B. | $ |
C. | # |
D. | @ |
Answer» E. | |
103. |
What command is used with vi editor to save file and remain in the editing mode? |
A. | x |
B. | q! |
C. | :w |
D. | :q |
Answer» D. :q | |
104. |
To build a modularized kernel, the kernel-headers and kernel-source packages must first be installed. Where will you find the kernel-headers and kernel-source? |
A. | /usr/local |
B. | /usr/src/linux |
C. | /usr/sre/redhat |
D. | /usr/bin |
Answer» C. /usr/sre/redhat | |
105. |
What service is used to translate domain names to IP addresses? |
A. | NFS |
B. | SMB |
C. | NIS |
D. | DNS |
Answer» E. | |
106. |
What command is used to add printing jobs to the queue? |
A. | lpd |
B. | lpr |
C. | lpq |
D. | lpc |
Answer» C. lpq | |
107. |
How can you navigate around virtual consoles? |
A. | Alt+Function Key |
B. | Ctrl+Function Key |
C. | Ctrl+Alt+Del |
D. | Alt+a+w+Function Key |
Answer» B. Ctrl+Function Key | |
108. |
The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as |
A. | 128.10.2.30 |
B. | 210.20.2.64 |
C. | 164.100.9.61 |
D. | 148.20.2.30 |
Answer» B. 210.20.2.64 | |
109. |
What command is used with vi editor to append text at end of line? |
A. | I |
B. | i |
C. | a |
D. | A |
Answer» E. | |
110. |
What type of addressing format is used by Class A network. |
A. | Net.Net.Net.Node |
B. | Net.Net.Node.Node |
C. | Net.Node.Net.Node |
D. | Net.Node.Node.Node |
Answer» E. | |
111. |
In OSI network architecture, the dialogue control and token management are responsible of |
A. | data link layer |
B. | transport layer |
C. | network layer |
D. | session layer |
Answer» E. | |
112. |
The command chmod 761 letter is equivalent to |
A. | chmod 4=7, g = 6, o = 1 letter |
B. | chmod a = 761 letter |
C. | chmod u = rwx, g = rw, o = x letter |
D. | chmod 167 letter |
Answer» D. chmod 167 letter | |
113. |
What project is currently developing X server support? |
A. | XFree86 Project, Inc. |
B. | RHAD Labs |
C. | GNOME Project |
D. | All of the above |
Answer» B. RHAD Labs | |
114. |
What command is used to count the number of files in the current directory by using pipes? |
A. | ls | ws - c |
B. | ls | wc - w |
C. | ls | wc - l |
D. | ls | wc |
Answer» D. ls | wc | |
115. |
What sign is used to back up over typing errors in vi? |
A. | ! |
B. | $ |
C. | # |
D. | @ |
Answer» D. @ | |
116. |
Which of the following command can you execute to count the number of lines in a file? |
A. | lc |
B. | wc - l |
C. | cl |
D. | count |
Answer» C. cl | |
117. |
How many primary partitions can exist on one drive? |
A. | 16 |
B. | 4 |
C. | 2 |
D. | 1 |
Answer» C. 2 | |
118. |
What command is used to copy a file? |
A. | tar |
B. | cpio |
C. | cp |
D. | copy |
Answer» D. copy | |
119. |
How many networks and nodes per network, are allowed by the Class B network? |
A. | 127 networks and 16,777,216 nodes per network |
B. | 16,384 networks and 65,534 nodes per network |
C. | 2,097,152 networks and 254 nodes per network |
D. | All of the above |
Answer» C. 2,097,152 networks and 254 nodes per network | |
120. |
What command is used with vi editor to move forward to the end of a word? |
A. | c |
B. | d |
C. | b |
D. | e |
Answer» E. | |
121. |
What command is used with vi editor to search a pattern in the forward direction? |
A. | ?? |
B. | // |
C. | ? |
D. | / |
Answer» E. | |
122. |
How could you install the file ipchains-1.3.9-5.i386.rpm? |
A. | rpm -qip ipchains |
B. | rpm -Uvh ipchains |
C. | rpm -i ipchains* .i386.rpm |
D. | rpm -e ipchains-1.3.9-5.i386.rpm |
Answer» D. rpm -e ipchains-1.3.9-5.i386.rpm | |
123. |
Which of the following format of partition tables does Linux use? |
A. | Linux |
B. | BSD |
C. | UnixWare |
D. | DOS |
Answer» E. | |
124. |
What command is used to copy directory structures in and out? |
A. | copy |
B. | cp - p |
C. | cpio |
D. | cp |
Answer» D. cp | |
125. |
What command is used to print a file? |
A. | lp |
B. | pg |
C. | prn |
D. | |
Answer» B. pg | |
126. |
What command is used with vi editor to delete a single character? |
A. | x |
B. | y |
C. | a |
D. | z |
Answer» B. y | |
127. |
The physical layer of a network |
A. | constructs packets of data and sends them across the network |
B. | controls error detection and correction |
C. | defines the electrical characteristics of signals passed between the computer and communication devices |
D. | All of the above |
Answer» D. All of the above | |
128. |
What command is used to remove files? |
A. | dm |
B. | rm |
C. | delete |
D. | erase |
Answer» C. delete | |
129. |
What command is used to sort the lines of data in a file in alphabetical order? |
A. | sort - r |
B. | st |
C. | sh |
D. | sort |
Answer» E. | |
130. |
What command is used to display the characteristics of a process? |
A. | au |
B. | ps |
C. | du |
D. | pid |
Answer» C. du | |
131. |
What shell's wild-card is used to match any number of characters including none? |
A. | * |
B. | ? |
C. | [!ijk] |
D. | [ijk] |
Answer» B. ? | |
132. |
What command is used to sort the lines of data in a file in reverse order? |
A. | sort - r |
B. | st |
C. | sh |
D. | sort |
Answer» B. st | |
133. |
What hardware architectures are not supported by Red Hat? |
A. | SPARC |
B. | IBM-compatible |
C. | Alpha |
D. | Macintosh |
Answer» E. | |
134. |
What is the full form of FSF in Linux? |
A. | Free Software File |
B. | File Server First |
C. | First Serve First |
D. | Free Software Foundation |
Answer» E. | |
135. |
Which of the following is the main Apache configuration file? |
A. | /etc/apache.conf |
B. | /etc/httpd/config.ini |
C. | /etc/httpd/conf/httpd.conf |
D. | /etc/srm.conf |
Answer» D. /etc/srm.conf | |
136. |
Layer one of the OSI model is |
A. | network layer |
B. | transport layer |
C. | link layer |
D. | physical layer |
Answer» E. | |
137. |
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» E. | |
138. |
What command is used to save the standard output in a file, as well as display it on the terminal? |
A. | tee |
B. | grep |
C. | cat |
D. | more |
Answer» B. grep | |
139. |
What protocol(s) is(are) allowed a user to retrieve her/his mail from the mail server to her/his mail reader? |
A. | POP3 |
B. | FTP |
C. | MAP |
D. | All of the above |
Answer» B. FTP | |