Computer Science :: All Aptitude Test ::

1.What TCP/IP protocol is used for remote terminal connection service?
A. UDP
B. RARP
C. FTP
D. UDP

2.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. 127 networks and 16,777,216 nodes per network

3.What service is used to translate domain names to IP addresses?
A. NFS
B. SMB
C. NIS
D. NFS

4.Which of the following command is used to create a Linux installation boot floppy?
A. mkboot disk
B. bootfp disk
C. ww and rawwrite
D. mkboot disk

5.How can you add Amit, a new user, to your system?
A. Using useradd
B. Using adduser
C. Using linuxconf
D. Using useradd

6.What file specifies the order in which to use specified name services?
A. /etc/services
B. /etc/nsorder
C. /etc/nsswitch.conf
D. /etc/services

7.How many primary partitions can exist on one drive?
A. 16
B. 4
C. 2
D. 16

8.In which directory can you store system user default files used for creating user directories?
A. /usr/tmp
B. /etc/default
C. /etc/skel
D. /usr/tmp

9.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 -qip ipchains

10.What does FSF stand for?
A. Free Software File
B. File Server First
C. First Serve First
D. Free Software File

11.Which of the following is a valid format for mounting a CD-ROM drive?
A. mount -t iso9660 /dev/cdrom / mnt/cdrom
B. mount /dev/cdrom
C. mount /mnt/cdrom
D. mount -t iso9660 /dev/cdrom / mnt/cdrom

12.What command do you use to create Linux file systems?
A. fdisk
B. mkfs
C. fsck
D. fdisk

13.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. lc

14.Which of the following is not a communication command?
A. grep
B. mail
C. mesg
D. grep

15.What command is used to display the characteristics of a process?
A. au
B. ps
C. du
D. au

16.What command is not used to list the files chap01, chap02 and chap04?
A. ls chap*
B. ls chap[124]
C. ls - x chap0[124]
D. ls chap*

17.What command is used with vi editor to replace text from cursor to right
A. S
B. s
C. R
D. S

18.What sign is used to back up over typing errors in vi?
A. !
B. $
C. #
D. !

19.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. !

20.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 - r

21.What command is used with vi editor to save file and remain in the editing mode?
A. x
B. q!
C. :w
D. x

22.What command is used with vi editor to move back to the beginning of a word?
A. w
B. e
C. a
D. w

23.What command is used with vi editor to search a pattern in the forward direction?
A. ??
B. //
C. ?
D. ??

24.What command is used to add printing jobs to the queue?
A. lpd
B. lpr
C. lpq
D. lpd

25.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. POP3

26.What project is currently developing X server support?
A. XFree86 Project, Inc.
B. RHAD Labs
C. GNOME Project
D. XFree86 Project, Inc.

27.What X-based tool is available for configuring the X Window system?
A. XConfigurator
B. XF86Setup
C. xf86config
D. XConfigurator

28.Which of the following server is used with the BIND package?
A. httpd
B. shttp
C. dns
D. httpd

29.What port does squid listen, by default?
A. 4322
B. 2314
C. 7334
D. 4322

30.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/apache.conf


Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers