GAT Subject :: All Aptitude Test ::

Hassan
1.Object code
A. is ready to execute
B. is the output of compilers, but not assemblers
C. must be "loaded" before execution
D. is ready to execute

2.The term "operating system" means
A. a set of programs which controls computer working
B. the way a computer operator works
C. conversion of high level language into machine code
D. a set of programs which controls computer working

3.Which of the following might be used to convert high-level language instructions into machine language?
A. system software
B. applications software
C. an operating environment
D. system software

4.Indicate which is a pre-emptive scheduling algorithm
A. Round-robin
B. Shortest-job-next
C. Priority-based
D. Round-robin

5.Which of the following, is necessary to work on a computer
A. Compiler
B. Operating system
C. Assembly
D. Compiler

6.Access time is the highest in the case of
A. floppy disk
B. cache
C. swapping devices
D. floppy disk

7.Which of the following is not a characteristic of a daisy chaining priority control scheme?
A. priority is programmable
B. it is relatively easy to add more devices to the chain
C. the failure of one device may affect other devices on the chain
D. priority is programmable

8.Assembler is
A. a program that places programs into memory and prepares them for execution.
B. a program that automate the translation of assembly language into machine language.
C. a program that accepts a program written in a high level language and produces an object program.
D. a program that places programs into memory and prepares them for execution.

9.Indicate which, of the following, in not true about an interpreter
A. Interpreter generates an object program from the source program
B. Interpreter is a kind of translator
C. Interpreter analyses each source statement every time it is to be executed
D. Interpreter generates an object program from the source program

10.Object modules generated by assemblers that contain unresolved external references are resolved for two or more object modules by a/an
A. operating system
B. loader
C. linker
D. operating system

11.The advantage of a command processor running only built-in commands is:
A. flexibility to the users in running lists of commands by simply collecting them in named batch command files
B. the command set being common across different hardware configurations
C. users can create system programs and run them as commands
D. flexibility to the users in running lists of commands by simply collecting them in named batch command files

12.Under multiprograming, turnaround time for short jobs is usually _____ and that for long jobs is slightly _____.
A. lengthened; shortened
B. shortened; lengthened
C. shortened; shortened
D. lengthened; shortened

13.The most common systems security method is
A. passwords
B. encryption
C. firewall
D. passwords

14.Two basic types of operating systems are:
A. sequential and direct
B. batch and timesharing
C. sequential and realtime
D. sequential and direct

15.Daisy chain is a device for
A. connecting a number of controllers to a device
B. connecting a number of devices to a controller
C. interconnecting a number of devices to a number of controllers
D. connecting a number of controllers to a device

16.In analyzing the compilation of PL/I program, the term "Machine independent optimization" is associated with
A. recognition of basic syntactic constructs through reductions.
B. recognition of basic elements and creation of uniform symbols.
C. creation of more optional matrix.
D. recognition of basic syntactic constructs through reductions.

17.An instruction in a programming language that is replaced by a sequence of instructions prior to assembly or compiling is known as
A. procedure name
B. macro
C. label
D. procedure name

18.A self-relocating program is one which
A. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.
B. consists of a program and relevant information for its relocation.
C. can itself performs the relocation of its address-sensitive portions.
D. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.

19.A sequence of instructions, in a computer language, to get the desired result, is known as
A. Algorithm
B. Decision Table
C. Program
D. Algorithm

20.Which, of the following, is true for testing and debugging?
A. Testing checks for logical errors in the programs, while debugging is a process of correcting those errors in the program
B. Testing detects the syntax errors in the program while debugging corrects those errors in the program
C. Testing and debugging indicate the same thing
D. Testing checks for logical errors in the programs, while debugging is a process of correcting those errors in the program

21.Information in a memory that is no longer valid or wanted is known as
A. non-volatile
B. volatile
C. surplus
D. non-volatile

22.Which of the following filename extension suggests that the file is a backup copy of another file?
A. TXT
B. COM
C. BAS
D. TXT

23.Relocation bits used by relocating loader are specified (generated) by
A. Relocating loader itself
B. Linker
C. Assembler or translator
D. Relocating loader itself

24.Which of the following statements is false?
A. a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process
B. time sharing systems generally use preemptive CPU scheduling
C. response time are more predictable in preemptive systems than in non preemptive systems
D. a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process

25.Nonmodifiable procedures are called
A. serially usable procedures
B. concurrent procedures
C. reentrant procedures
D. serially usable procedures

26.The instruction register
A. is a hardware memory device which denotes the location of the current instruction being executed.
B. is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory.
C. contains the address of the memory location that is to be read from or stored into.
D. is a hardware memory device which denotes the location of the current instruction being executed.

27.Which of the following scheduling objectives should be applied to the following: the system should admit jobs to create a mix that will keep most devices busy
A. to be fair
B. to balance resource utilization
C. to obey priorities
D. to be fair

28.Multiprogramming systems:
A. are easier to develop than single programming system
B. execute each job faster
C. execute more jobs in the same time period
D. are easier to develop than single programming system

29.Backups should be done
A. daily for most installations
B. weekly for most installations
C. as several image copies, followed by an incremental
D. daily for most installations

30.In an absolute loading scheme, which loader function is accomplished by assembler.
A. Reallocation
B. Allocation
C. Linking
D. Reallocation


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