GAT Subject :: All Aptitude Test ::

Hassan
1.The command used to remove the directory is;
A. rmdir
B. rd
C. remove
D. rmdir

2.Which symbol will be used with grep command to match the pattern pat at the end of a line?
A. ^pat
B. $pat
C. pat$
D. ^pat

3.Which of the following commands is not the vi Input mode command?
A. rch
B. R
C. S
D. rch

4.Which of the following commands is used to remove files?
A. erase
B. delete
C. rm
D. erase

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

6.You can append to a file instead of overwriting by using the
A. > symbols
B. >> symbols
C. < symbols
D. > symbols

7.The [line number G] key allows you
A. to move cursor left by one position
B. to move cursor right by one position
C. to move cursor down by one line
D. to move cursor left by one position

8.Which of the following commands is used to have a two-way communication with any person who is currently logged in?
A. mail
B. mesg
C. write
D. mail

9.Which command is used with vi editor to move the cursor to the left?
A. i
B. j
C. k
D. i

10.Which of command is used to copy a file?
A. copy
B. cp
C. cpio
D. copy

11.The special shell variable $* is used
A. to exit status of ast command executed.
B. to process number of the current shell
C. to list the positional parameters
D. to exit status of ast command executed.

12.The cat command is used to
A. capture a file
B. display a file
C. print a file
D. capture a file

13.The UNIX file system stores a data in physical blocks of
A. 1024 bytes
B. 2048 bytes
C. 512 bytes
D. 1024 bytes

14.Which command is used to terminate all processes in your own system except the login shell?
A. kill 1
B. kill 0
C. cancel all
D. kill 1

15.Which operator will be used with chmod command to assign absolute permission?
A. +
B. -
C. =
D. +

16.Which command is used to link the files?
A. lk
B. ln
C. cp
D. lk

17.Which of the following signs is used to back up over typing errors in vi?
A. @
B. #
C. $
D. @

18.Major expressions used with find command to select file is it has been accessed in more than 375 days, is
A. -atime +365
B. -mtime + 365
C. -atime -365
D. -atime +365

19.Which of are following internal commands is used in mail to forward mail to user in user-list?
A. r user-list
B. m user-list
C. d user-list
D. r user-list

20.Which of the following commands is used to display the filenames in multiple columns?
A. ls
B. ls -1
C. ls -x
D. ls

21.A program language:
A. defines the form of the instruction
B. is always machine dependent
C. is never machine dependent
D. defines the form of the instruction

22.Which of the following symbol modes are used to input of graphics to General CAD system?
A. Live and Rectangle mode
B. Arc and Circle mode
C. Dimension and Alphanumeric mode
D. Live and Rectangle mode

23.Which technique enables the designer to mold and shape, rather than construct on object using a series of lines?
A. Solid modeling
B. Wire-frame modeling
C. Surface modeling
D. Solid modeling

24.Computer-based controllers:
A. should be built in a modular fashion wherever possible
B. are very difficult to change
C. are very flexible
D. should be built in a modular fashion wherever possible

25.Flood guns bombard the phosphor surface of the tube in which one of the following types of CRT technology?
A. Direct view storage tube
B. Raster scan CRT
C. Refresh-vector CRT
D. Direct view storage tube

26.Automation normally means:
A. a net loss of jobs.
B. a net increase in jobs.
C. no change in jobs.
D. a net loss of jobs.

27.Trend analysis:
A. is used only in financial planning
B. can improve control system response
C. requires a very expensive system to implement
D. is used only in financial planning

28.The use of specialized workstations:
A. provides limited growth potentials for 3-D
B. reduces the host computer workload and allows more users
C. reduces the host computer workload
D. provides limited growth potentials for 3-D

29.What key hardware item ties a CAD/ CAM system together?
A. Mouse
B. Graphics workstation
C. Digitizer
D. Mouse

30.Which of these controller types is the most accurate?
A. Proportional plus integral
B. Proportional
C. Proportional plus derivative
D. Proportional plus integral


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