Logo

Language Processors MCQs

Option A: consists of a program and relevant information for its relocation

Option B: can itself perform the relocation of its address-sensitive portions

Option C: 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

Option D: All of the above

Correct Answer: consists of a program and relevant information for its relocation


Click for More Details

Option A: a program that places programs into memory and prepares them for execution

Option B: a program that automate the translation of assembly language into machine language

Option C: is a program that appears to execute a source program as if it were machine language

Option D: program that accepts a program written in a high level language and produces an object program

Correct Answer: is a program that appears to execute a source program as if it were machine language


Click for More Details

Option A: compiler

Option B: translator

Option C: assembler

Option D: system software

Correct Answer: compiler


Click for More Details

Option A: a program that places programs into memory and prepares them for execution

Option B: a program that automate the translation of assembly language into machine language

Option C: is a program that appears to execute a source program as if it were machine language

Option D: program that accepts a program written in a high level language and produces an object program

Correct Answer: program that accepts a program written in a high level language and produces an object program


Click for More Details

Option A: cross compiler

Option B: one pass compiler

Option C: multipass compiler

Option D: optimizing compiler

Correct Answer: cross compiler


Click for More Details

Option A: F8

Option B: 03 16

Option C: 0111EF

Option D: 42 65 61 72

Correct Answer: 03 16


Click for More Details

Option A: Linking

Option B: Loading

Option C: Allocation

Option D: Reallocation

Correct Answer: Loading


Click for More Details

Option A: a permanent table which lists all key words and special symbols of the language in symbolic form

Option B: assembly language version of the program which is created by the code generation phase and is input to the assembly phase

Option C: a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure

Option D: 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

Correct Answer: assembly language version of the program which is created by the code generation phase and is input to the assembly phase


Click for More Details

Option A: the status of each program

Option B: the priority of each program

Option C: both A and B

Option D: the information management support to a programmer using the system

Correct Answer: both A and B


Click for More Details

Option A: is a term that refers to the control programs of an operating system

Option B: allows multiple programs to reside in separate areas of core at the same time

Option C: allows the programmer to write base registers and displacements explicitly in the source program

Option D: is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain

Correct Answer: is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain


Click for More Details

Option A: to build a uniform symbol table

Option B: to build a literal table and an identifier table

Option C: to parse the source program into the basic elements or tokens of the language

Option D: to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs

Correct Answer: to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs


Click for More Details

Option A: IPL

Option B: JCL

Option C: Load modules

Option D: Utility programs

Correct Answer: JCL


Click for More Details

Option A: Physically place the machine instructions and data into memory

Option B: Allocate space in memory for the programs and resolve symbolic references between object decks

Option C: Adjust all address dependent locations, such as address constants, to correspond to the allocated space

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: A logical error in a program

Option B: A difficult syntax error in a program

Option C: Documenting programs using an efficient documentation tool

Option D: All of the above

Correct Answer: A logical error in a program


Click for More Details

Option A: independent one-pass processor

Option B: independent two-pass processor

Option C: processor incorporated into pass of a standard two-pass assembler

Option D: all of the above

Correct Answer: all of the above


Click for More Details

Option A: Utilities

Option B: Languages

Option C: Operating system

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: an interpreter

Option B: system software

Option C: applications software

Option D: an operating environment

Correct Answer: an interpreter


Click for More Details

Option A: assembler

Option B: load and go

Option C: linking loader

Option D: cross compiler

Correct Answer: linking loader


Click for More Details

Option A: contains all constants in the program

Option B: a permanent table which lists all key words and special symbols of the language in symbolic form

Option C: a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure

Option D: 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

Correct Answer: a permanent table which lists all key words and special symbols of the language in symbolic form


Click for More Details

Option A: to build a uniform symbol table

Option B: to build a literal table and an identifier table

Option C: to parse the source program into the basic elements or tokens of the language

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: Editor

Option B: Spooler

Option C: Debugger

Option D: All of the above

Correct Answer: Spooler


Click for More Details

Option A: A computer language

Option B: A branch of mathematics

Option C: A step by step procedure for solving a problem

Option D: All of the above

Correct Answer: A step by step procedure for solving a problem


Click for More Details

Option A: operating systems

Option B: input/output units that operate independently of the CPU

Option C: both A and B

Option D: neither A nor B

Correct Answer: both A and B


Click for More Details

Option A: Allocate the CPU to a job

Option B: Specify, to the operating system, the beginning and end of a job in a batch

Option C: Read the input from the slow-speed card reader to the high-speed magnetic disk

Option D: All of the above

Correct Answer: Specify, to the operating system, the beginning and end of a job in a batch


Click for More Details

Option A: index mode

Option B: indirect mode

Option C: absolute mode

Option D: immediate mode

Correct Answer: index mode


Click for More Details

Option A: Top-down development

Option B: Bottom-up development

Option C: Left-Right development

Option D: All of the above

Correct Answer: Top-down development


Click for More Details

Option A: creation of more optional matrix

Option B: recognition of basic syntactic constructs through reductions

Option C: recognition of basic elements and creation of uniform symbols

Option D: use of macro processor to produce more optimal assembly code

Correct Answer: recognition of basic elements and creation of uniform symbols


Click for More Details

Option A: ASRA

Option B: ADDA h#01FE, i

Option C: LOADA h#OD4E, i

Option D: STOREA h#014B, d

Correct Answer: STOREA h#014B, d


Click for More Details

Option A: relative loaders

Option B: relocating loaders

Option C: both A and B

Option D: None of the above

Correct Answer: both A and B


Click for More Details

Option A: creation of more optional matrix

Option B: recognition of basic syntactic constructs through reductions

Option C: recognition of basic elements and creation of uniform symbols

Option D: use of macro processor to produce more optimal assembly code

Correct Answer: recognition of basic syntactic constructs through reductions


Click for More Details

Option A: a program that places programs into memory and prepares them for execution

Option B: a program that automate the translation of assembly language into machine language

Option C: is a program that appears to execute a source program as if it were machine language

Option D: program that accepts a program written in a high level language and produces an object program

Correct Answer: a program that places programs into memory and prepares them for execution


Click for More Details

Option A: Machine language

Option B: Assembly language

Option C: High level language

Option D: All of the above

Correct Answer: Assembly language


Click for More Details

Option A: lexical analysis

Option B: syntax analysis

Option C: general syntax analysis

Option D: interpretation analysis

Correct Answer: lexical analysis


Click for More Details

Option A: consists of a program and relevant information for its relocation

Option B: can itself perform the relocation of its address-sensitive portions

Option C: 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

Option D: All of the above

Correct Answer: can itself perform the relocation of its address-sensitive portions


Click for More Details

Option A: compiler

Option B: macroprocessor

Option C: two pass assembler

Option D: load-and-go assembler

Correct Answer: load-and-go assembler


Click for More Details

Option A: 40

Option B: DA000F

Option C: 0111EF

Option D: 9001000000

Correct Answer: DA000F


Click for More Details

Option A: A greater degree of machine independence

Option B: Improved debugging capability, and superior documentation

Option C: Fewer people, less management and shorter transition in learning time

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: ASRA

Option B: ADDA h#01FE, i

Option C: LOADA h#OD4E, i

Option D: STOREA h#014B, d

Correct Answer: LOADA h#OD4E, i


Click for More Details

Option A: creation of more optional matrix

Option B: recognition of basic syntactic constructs through reductions

Option C: recognition of basic elements and creation of uniform symbols

Option D: use of macro processor to produce more optimal assembly code

Correct Answer: creation of more optional matrix


Click for More Details

Option A: Utility program

Option B: Security software

Option C: Networking software

Option D: Documentation system

Correct Answer: Utility program


Click for More Details

Option A: F8

Option B: 03 16

Option C: 0111EF

Option D: 42 65 61 72

Correct Answer: 42 65 61 72


Click for More Details

Option A: Syntax analysis

Option B: Code generation

Option C: Storage assignment

Option D: Assembly and output

Correct Answer: Assembly and output


Click for More Details

Option A: 4GL does not support a high-level of screen interaction

Option B: Many database management system packages support 4GLs

Option C: A 4GL is a software tool which is written, possibly, in some third generation language

Option D: All of the above

Correct Answer: 4GL does not support a high-level of screen interaction


Click for More Details

Option A: a program that places programs into memory and prepares them for execution

Option B: a program that automate the translation of assembly language into machine language

Option C: is a program that appears to execute a source program as if it were machine language

Option D: a program that accepts a program written in a high level language and produces an object program

Correct Answer: a program that automate the translation of assembly language into machine language


Click for More Details

Option A: save the macro definitions

Option B: recognize macro definitions and macro calls

Option C: expand macro calls and substitute arguments

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: Introduction of data to program is easier

Option B: Addresses any symbolic, not absolute

Option C: It is mnemonic and easy to read

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: is a term that refers to the control programs of an operating system

Option B: allows multiple programs to reside in separate areas of core at the same time

Option C: allows the programmer to write base registers and displacements explicitly in the source program

Option D: is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain

Correct Answer: allows the programmer to write base registers and displacements explicitly in the source program


Click for More Details

Option A: ASRA

Option B: ADDA h#01FE, i

Option C: LOADA h#OD4E, i

Option D: STOREA h#014B, d

Correct Answer: ASRA


Click for More Details

Option A: Reductions

Option B: Literal table

Option C: Identifier table

Option D: Terminal table

Correct Answer: Literal table


Click for More Details

Option A: 40

Option B: 0111EF

Option C: 9001000000

Option D: DA000F

Correct Answer: 40


Click for More Details

Option A: serially reusable

Option B: recursive module

Option C: reenterable module

Option D: non-reusable module

Correct Answer: reenterable module


Click for More Details

Option A: bootstrap loader

Option B: loader

Option C: linker

Option D: None of the above

Correct Answer: bootstrap loader


Click for More Details

Option A: Linking

Option B: Loading

Option C: Allocation

Option D: Reallocation

Correct Answer: Reallocation


Click for More Details

Option A: Program

Option B: Algorithm

Option C: Decision Table

Option D: All of the above

Correct Answer: Program


Click for More Details

Option A: Reductions

Option B: Literal table

Option C: Identifier table

Option D: Terminal table

Correct Answer: Terminal table


Click for More Details

Option A: 40

Option B: 0111EF

Option C: 9001000000

Option D: DA000F

Correct Answer: 9001000000


Click for More Details

Option A: F8

Option B: 03 16

Option C: 0111EF

Option D: 42 65 61 72

Correct Answer: F8


Click for More Details

Option A: to assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized

Option B: to assign storage to all temporary locations that are necessary for intermediate results

Option C: to assign storage to all variables referenced in the source program

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: Interpreter is a kind of translator

Option B: Interpreter generates an object program from the source program

Option C: Interpreter analyses each source statement every time it is to be executed

Option D: All of the above

Correct Answer: Interpreter generates an object program from the source program


Click for More Details

Option A: consists of a program and relevant information for its relocation

Option B: can itself perform the relocation of its address-sensitive portions

Option C: 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

Option D: All of the above

Correct Answer: 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


Click for More Details

Option A: many functions do not have to be implemented twice

Option B: more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros

Option C: Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler

Option D: All of the above

Correct Answer: All of the above


Click for More Details