Sei sulla pagina 1di 7

1

Which of the following functions is/ are performed by the loader? A. B. C. D. Allocate space in memory for the programs and resolve symbolic references between object decks Physically place the machine instructions and data into memory Adjust all address dependent locations, such as address constants, to correspond to the allocated space All of the above

Convert the 11014B machine language instructions into assembly language, assuming that they were not generated by pseudo-ops: A. B. C. D. ASRA LOADA h#OD4E, i STOREA h#014B, d ADDA h#01FE, i

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

C. D.

In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register? A. B. C. D. absolute mode indirect mode immediate mode index mode

A self-relocating program is one which A. B. C. 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 consists of a program and relevant information for its relocation can itself perform the relocation of its address-sensitive portions All of the above

2
If special forms are needed for printing the output, the programmer specifies these forms through A. B. C. D. JCL IPL Utility programs Load modules

Which of the following systems software does the job of merging the records from two flies into one? A. B. C. D. Documentation system Utility program Networking software Security software

Job Control Language (JCL) statements are Used to

3
A. B. C. D. Read the input from the slow-speed card reader to the high-speed magnetic disk Specify, to the operating system, the beginning and end of a job in a batch Allocate the CPU to a job All of the above

In analyzing the compilation of PL/I program, the term "Syntax analysis" is associated with A. B. C. D. recognition of basic syntactic constructs through reductions recognition of basic elements and creation of uniform symbols creation of more optional matrix use of macro processor to produce more optimal assembly code

In analyzing the compilation of PL/I program, the term "Lexical analysis" is associated with A. B. C. D. recognition of basic syntactic constructs through reductions recognition of basic elements and creation of uniform symbols creation of more optional matrix use of macro processor to produce more optimal assembly code

Terminal Table A. a permanent table which lists all key words and special symbols of the language in symbolic form a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure consists of a full or partial list of the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation contains all constants in the program

B.

C. D.

A compiler for a high-level language that runs on one machine and produces code for a different machine is called

4
A. B. C. D. optimizing compiler one pass compiler cross compiler multipass compiler

Assembly code data base is associated with A. B. a permanent table which lists all key words and special symbols of the language in symbolic form a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure consists of a full or partial list or the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation assembly language version of the program which is created by the code generation phase and is input to the assembly phase

C.

D.

Indicate which of the following is not true about 4GL? A. B. C. D. 4GL does not support a high-level of screen interaction Many database management system packages support 4GLs A 4GL is a software tool which is written, possibly, in some third generation language All of the above

Convert the BRNE h#01E6, i assembly language instructions into hexadecimal machine language:

5
A. C. 0111EF DA000F B. D. 9001E6 40

A development stategy whereby the executive control modules of a system are coded and tested first, is known as A. B. C. D. Bottom-up development Top-down development Left-Right development All of the above

A non-relocatable program is one which A. B. C. 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 consists of a program and relevant information for its relocation can itself perform the relocation of its address-sensitive portions All Of the above

Multiprogramming was made possible by A. B. C. D. input/output units that operate independently of the CPU operating systems both (a) and (b) neither (a) nor (b)

An Interpreter is A. B. C. D. is a program that appears to execute a source program as if it were machine language a program that automate the translation of assembly language into machine language program that accepts a program written in a high level language and produces an object program a program that places programs into memory and prepares them for execution

Systems software is a program that directs the overall operation of the computer, facilitates its use and interacts with the users. What are the different types of this software?

6
A. B. C. D. Operating system Languages Utilities All of the above

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

Convert the ASLA assembly language instructions into hexadecimal machine language: A. C. 0111EF DA000F B. D. 9001E6 40

The advantage(s) inherent to using high level languages is/are: A. B. C. D. Fewer people, less management and shorter transition in learning time Improved debugging capability, and superior documentation A greater degree of machine independence All of the above

Convert the ASCII/BEAR/assembly language pseudo-ops into hexadecimal machine language A. B. C. D. 0111EF 03 16 F8 42 65 61 72

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

7
D. is a program that appears to execute a source program as if it were machine language

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

Convert the .WORD d#790 assemblylanguage pseudo-ops into hexadecimal machine language: A. B. C. D. 0111EF 03 16 F8 42 65 61 72

A translator which reads an entire programme written in a high level language and converts it into machine language code is: A. B. C. D. assembler translator compiler system software

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

Which of the following program is not a utility? A. B. C. D. Debugger Editor Spooler All of the above

Potrebbero piacerti anche