MOST IMPORTANT MCQ
(COMPUTER SCIENCE)
QUESTIONS ASKED IN
VARIOUS
COMPTETIVE EXAMS
1 .Command used to
count the total number
of words,line and
characters
A.countw
B.wcount
C.wc
D.countp
Answer : C wc
2 The Command that is used to Remove
file
A.dm
B.rm
C. delete
D.None of the above
ANS : B rm
3 The Command that is
used to Remove directory
A.rdir
B.remove
C.rd
D. rmdir
E. None of the above
Ans : D rmdir
4 VI editor to delete a
single character
A X
B Y
C Z
D None of above
Ans : A X
5 RED HAT (Linux) does not support
A SPARC
B IBM-compatible
C Alpha
D Macintosh
E None of these
Answer
D Macintosh
6 Protocol used for Remote
Terminal Connection Service
A UDP
B RARP
C TELNET
D ATP
Ans : C Telnet
7.DNS is
A DOMAIN NAME SYSTEM
B DOMAIN NETWORK SYSTEM
C DOMAIN NAME SERVER
D NONE OF THESE
ANS : A
8.LINUX installation
hoot floppy created by command like
A. mkboot disk
B. dd and rawrite
C.bootfp disk
D. ww and rawrite
E None of these
Answer : B
9.Command to ADD new
user anurag to your system
A USERADD
B ADDUSER
C Linucconf
D ALL OF THESE
E None of these.
ANS :D ALL OF THESE
10 One drive can have maximum partitions
A 12
B 18
C 4
D 6
Answer : C 4
11 For creating user directory System user default files are stored in
A user/skel
B user/temp
A user/default
D None of the above
ANSWER : A
12. How can you install the files ipchains 1.3.9-5 .i386.rpm
A
rpm -i ipchains* .i386.rpm
B rpm -qip ipchains* .i386.rpm
C rpm -i ipchains.i386.rpm
D rpm -e ipchains* .i386.rpm
ANSWER A
13 The full form of FSF is
A first file first
B Free software Foundation
C Free software File
D None of the Above
Answer : B
14. which command is used in
linux for using cd rom ?
A mount -t iso9660 /dev/cdrom / mnt/cdrom
B mount /dev/cdrom
C mount/mnt/cdrom
D All of the above
E None of these
Answer D
15. Linux file system
is created by
A fsck
B mkfs
C mount
D None of these.
ANSWER B
16 Command to count the
Number of lines in a file
A WC-c
B WC-p
C WC-l
D CL
E COUNT
Answer : C
17
Which is not a
Communication command
A grep
B write
C mesg
D mail
ANSWER C mesg
18
Which command is used
to show the details regarding process
A pid
B au
C ps
D None of the above
ANSWER C ps
19
Which command is not
used to list the files title 01 ,title 02 and title 04
A ls title*
B ls title0[124]
C ls
title[124]
D ls - x title0[124]
ANSWER : C
20 command to replace text from cursor to right
A
s
B
c
C
r
D
R
ANSWER D
21 Command used toback
up over typing error in VI
A !
B @
C #
D $
ANSWER C #
22 What sign is used to
kill and erase a entire line
when you keyed in a
character and start a new line and a new
prompt will not be
visible to you ?
A #
B $
C !
D @
ANSWER D @
23 Command used to sort
the line of a data in a file in a alphabetical order ?
A sort-r
B sort
C sh
D st
ANSWER : B
24. Command in the VI
editor to save file and remain in the editing mode.
A :q!
B :x
C :q
D :w
ANSWER : D
25 Which command in VI
editor is used to move back to beginning of the word ?
A b
B c
C w
D e
ANSWER : A
26 Which command in VI editor is used to search
a pattern in a forward direction ?
A /
B ?
C ??
D //
ANSWER : A
27 Which command is
used to add printing jobs to the queue?
A lpr
B lpd
C lpr
D lpq
ANSWER A
28 which protocal is are allowed a user to retrieve his /her mail from the for
mail server to his/her
mail reader
A POP3
B FTP
C MAP
D ALL OF THE ABOVE
ANSWER : A
POP3
29 . WHICH PROJECT IS
DEVELOPING X SERVER SUPPORT
A XFree86 Project, Inc.
B RHAD
C GNOME PROJECT
D ALL OF THESE.
ANSWER : A
30. WHAT X BASED TOOL IS USED FOR CONFIGUIRING X WINDOW
SYSTEM
A XF86Setup
B XF86 config
C All of the above
D None of
these
ANSWER : A
31. which server is
used for the BIND package ?
A name
B named
C https
D dns
ANSWER: B
32 WHICH PORT DOES
SQUID LISTEN BY
DEFAULT ?
A 23471
B 4567
C 4324
D 3128
ANSWER : D
33 Which command is used to access an accessn an
SMB share on a linux system ?
A SMD
B smbclient
C NFS
D DNS
ANSWER : B
34 Routing is performed by
which Layer of OSI ?
A Physical
B Data Link
C Network
D ALL
ANSWER C
35 RPM stand for
A Red hat package manager
B uses for dynamic ip
C for installing /uninstalling packages
D none of the above
36 Command for specific package with
RPM
A rpm-m
B rpm-p
C rpm-q
D rpm-l
ANSWER : C
37 WHO FOUNDED THE LINUX KERNEL
A RICHARD JOHN
B BILL GATES
C LINUS TORVALDS
D MICHAL JOUGLAS
ANSWER : C
38 Pine, MUA and MTA are ?
A Linux protocol
B linux file system
C Default Red Hat Linux Email System
D None of these
ANSWER : C
39 Which command can force all buffers to
disk?
A fflush
B sync
C save
D None of
the above
ANSWER B SYNC
40 LILO IS
A LINUX
LOADER
B LINUX
BOOT LOADER
C TOOL USE
TO BOOT THE KERNEL ON X86 HARDWARE.
D ALL OF
THE ABOVE
ANSWER : D
41 Which command is used to set user and group quotas?
A/sbin/usergrpquota
B /sbin/gpquota
C /sbin/epquota
D /sbin/edquota
ANSWER : D
42 COMMAND USED TO
HALT A LINUX SYSTEM ?
A init 0
B power off
C ctrl alt delete
D shut down
ANSWER A
43 WHICH DAEMON IS USED FOR
APACHAE SERVER ?
A HTTPDD
B SMTP
C HTTP
D HTTPD
ANSWER D