Computer Science :: All Aptitude Test ::

1.The system/370 assembler language
A. allows the programmer to write base registers and displacements explicitly in the source program.
B. is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain.
C. allows multiple programs to reside in separate areas of core at the same time.
D. allows the programmer to write base registers and displacements explicitly in the source program.

2.Scheduling is
A. allowing jobs to use the processor
B. unrelated to performance consideration
C. not required in uniprocessor systems
D. allowing jobs to use the processor

3.What scheduling algorithm allows processes that are logical runnable to be temporarily suspended?
A. preemptive scheduling
B. non-preemptive scheduling
C. FIFO
D. preemptive scheduling

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

5.The computational technique used to compute the disk storage address of individual records is called:
A. bubble memory
B. key fielding
C. dynamic reallocation
D. bubble memory

6.The file structure that redefines its first record at a base of zero uses the term:
A. relative organization
B. key fielding
C. dynamic reallocation
D. relative organization

7.What is the name given to all the programs inside the computer with makes it usable?
A. Application software
B. System software
C. Firm ware
D. Application software

8.Semaphores
A. synchronize critical resources to prevent deadlock
B. synchronize critical resources to prevent contention
C. are used to do I/O
D. synchronize critical resources to prevent deadlock

9.The advantage(s) of incorporating the macro processor into pass 1 is(are):
A. many functions do not have to be implemented twice.
B. Functions are combined and it is not necessary to create intermediate files as output from the macros processor and input to the assembler.
C. more flexibility is available to the programmer in that he may use all the features of the assembler in conjunction with macros.
D. many functions do not have to be implemented twice.

10.In analyzing the compilation of PL/I program, the description "creation of more optimal matrix" is associated with
A. Assembly and output
B. Code generation
C. Syntax analysis
D. Assembly and output

11.In memory systems, boundary registers
A. are used for temporary program variable storage
B. are only necessary with fixed partitions
C. track page boundaries
D. are used for temporary program variable storage

12.Which of the following is true for machine language.
A. Repeated execution of program segments
B. Depicting flow of data in a system
C. A sequence of instructions which, when followed properly, solves a problem
D. Repeated execution of program segments

13.Which of the following is not applications software?
A. Word processing
B. Spreadsheet
C. UNIX
D. Word processing

14.Scissoring enables
A. a part of data to be displayed
B. entire data to be displayed
C. full data display on full area of screen
D. a part of data to be displayed

15.A relocate program form 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.

16.If you want to execute more than one program at a time, the systems software you are using must be capable of:
A. word processing
B. virtual memory
C. compiling
D. word processing

17.In analyzing the compilation of PL/I program, the description "resolving symbolic address (labels) and generating machine language" is associated with
A. Assembly and output
B. Code generation
C. Storage assignent
D. Assembly and output

18.Round-robin scheduling
A. allows interactive tasks quicker access to the processor
B. is quite complex to implement
C. gives each task the same chance at the processor
D. allows interactive tasks quicker access to the processor

19.What is the name of the system which deals with the running of the actual computer and not with the programming problems?
A. Operating system
B. Systems program
C. Object program
D. Operating system

20.What is the initial value of the semaphore to allow only one of the many processes to enter their critical section?
A. 8
B. 1
C. 16
D. 8

21.Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and
A. hold and wait
B. deadlock avoidance
C. race around condition
D. hold and wait

22.If you do not know which version of MS-DOS you are working with, which command will you use after having booted your operating system?
A. FORMAT command
B. DIR command
C. VER command
D. FORMAT command

23.A partitioned data set is most used for
A. a program or source library
B. storing program data
C. storing backup information
D. a program or source library

24.Page-map table is
A. A data file
B. A directory
C. Used for address translation
D. A data file

25.The main function of the dispatcher (the portion of the process scheduler) is
A. swapping a process to the disk
B. assigning ready process to the CPU
C. suspending some of the processes when the CPU load is high
D. swapping a process to the disk

26.The errors that can be pointed out by the compiler are
A. Syntax errors
B. Semantic errors
C. Logical errors
D. Syntax errors

27.When a computer is first turned on or restarted, a special type of absolute loader is executed, called a
A. "Compile and Go" loader
B. Boot loader
C. Bootstrap loader
D. "Compile and Go" loader

28.Which, of the following checks, cannot be carried out on the input data to a system?
A. consistency check
B. Syntax check
C. Range check
D. consistency check

29.A program that converts a high-level language program to a set of instructions that can run on a computer is called a
A. Compiler
B. Debugger
C. Editor
D. Compiler

30.Which of the following is characteristic of an operating system?
A. resource management
B. error recovery
C. memory management
D. resource management


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