GAT Subject :: All Aptitude Test ::

Hassan
1.How can you navigate around virtual consoles?
A. Alt+Function Key
B. Ctrl+Function Key
C. Ctrl+Alt+Del
D. Alt+Function Key

2.Which of the following NIS clients, finds and stores information about an NIS domain and server?
A. ypwhich
B. ypbind
C. ypcat
D. ypwhich

3.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. tee

4.What command is used to count just the number of lines contained in a file?
A. wc - r
B. wc - w
C. wc - c
D. wc - r

5.In OSI network architecture, the routing is performed by
A. session layer
B. transport layer
C. data link layer
D. session layer

6.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. 128.10.2.30

7.Which class network is used for a collection of a small number of networks with a large number of nodes?
A. Class A
B. Class B
C. Class C
D. Class A

8.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.Net.Net.Node

9.What types of installations require a special boot disk?
A. NFS
B. FTP
C. PCMCIA
D. NFS

10.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. stands for Red Hat Package Manager

11.What command is used to query for a specific package with RPM?
A. rpm -q
B. rpm -a
C. rpm -d
D. rpm -q

12.What script is run for setting bash global defaults for all users?
A. /etc/.profile
B. /etc/.bashrc
C. /etc/.log
D. /etc/.profile

13.Who founded the Linux Kernel?
A. Bill Gates
B. Ben Thomas
C. Richard Stallman
D. Bill Gates

14.Which of the following is not a part of default Red Hat Linux email system?
A. Pine
B. The MTA
C. The MUA
D. Pine

15._____ tool allows you to change your default X Window desktop.
A. utilinux
B. cempre
C. switchdesk
D. utilinux

16.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. /etc/ftpusers

17.Which program is used to schedule particular jobs or programs at particular times on the system?
A. vi
B. Outlook
C. Scheduler
D. vi

18.Which command can force all buffers to disk?
A. save
B. sync
C. edbuff
D. save

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

20.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/services

21.The location of some system configuration and system administrator executable files, is:
A. /home
B. /proc
C. /var
D. /home

22.The location for subdirectories for local programs and executables for user and administrative commands, is:
A. /usr
B. /tmp
C. /opt
D. /usr

23.Which of the following is not a filter command?
A. sort
B. wc
C. grep
D. sort

24.What command is used to display a file contents in octal form?
A. oct
B. of
C. od
D. oct

25.What command is used to assign executable permission to all of the files named "report"?
A. chmod ugo + x report
B. chmod u + x report
C. chmod ugo + rw report
D. chmod ugo + x report

26.What command is used to change the working directory?
A. cdir
B. chdir
C. changedir
D. cdir

27.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 | ws - c

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

29.How many class A, B and C network IDs can exist?
A. 128
B. 126
C. 16,382
D. 128

30.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. stands for Linux loader


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