Computer Science :: All Aptitude Test ::

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

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

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

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

5.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

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

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

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

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

10.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

11.How can you rebuild the RPM file to include the new patches?
A. - - recompile
B. - - rebuild
C. - - generate
D. - - recompile

12.What command is used to set user and group quotas?
A. /sbin/usrquota
B. /sbin/edquota
C. /sbin/quotaon
D. /sbin/usrquota

13.NIS
A. is Network Information Service
B. is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems
C. was formerly known as yellow pages
D. is Network Information Service

14.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. 2GB

15.Which file is used to configure which filesystems are mounted?
A. /etc/mount.sys
B. /etc/filesys
C. /etc/sysconfig
D. /etc/mount.sys

16.Who has developed the Linux?
A. Bob Young
B. Mark Eving
C. Richard Stallman
D. Bob Young

17.What does OSS stand for?
A. Open System Software
B. Original Source Software
C. Open Source Software
D. Open System Software

18.Which of the following subdirectory(ies) contains the device files?
A. /dev
B. /bin
C. /etc
D. /dev

19.Which of the following subdirectory(ies) contains the system boot scripts.
A. /dev
B. /bin
C. /etc
D. /dev

20.What of the following tool is used to check and repair Linux file systems?
A. mkfs
B. fdisk
C. fsck
D. mkfs

21.Which of the following tool is used to partition your hard drive?
A. mkfs
B. fdisk
C. fsck
D. mkfs

22.Where can system and mail logs be found in Ret Hat Linux?
A. /var/log
B. /etc/log
C. /mail
D. /var/log

23.What command is used to display and create files?
A. lyrix
B. ed
C. vi
D. lyrix

24.Which of the following command can be used to rename a file in UNIX?
A. ren
B. mv
C. remove
D. ren

25.What command is used to remove a file?
A. del
B. mv
C. rm
D. del

26.What command is used to display the top of the file?
A. grep
B. more
C. head
D. grep

27.What command can be used to get information about yourself?
A. which
B. pwd
C. i /4
D. which

28.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 4 protocols

29.What package group will you select during the custom configuration to enable the machine to communicate with Windows clients?
A. SMB (Samba) Connectivity
B. IPX/NetWare Connectivity
C. Dial-up Workstation
D. SMB (Samba) Connectivity

30.Which of the following tool allows you to change your default X Window desktop?
A. switchdesk
B. intrc
C. xinitre
D. switchdesk


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