Language Processors Questions

Practice Language Processors MCQs with answers and explanations. Page 2 of 3.

Category
Computer Science
Topic
Language Processors
Page
2 / 3
Mode
Practice

Questions

Open any question to view the answer and explanation.

Language processors: which software can be used to convert or directly execute high-level language instructions with respect to machine-level operations?
Open
View answer
IBM System/370 assembler programming: which statement accurately characterizes a capability of the assembler language concerning address formation?
Open
View answer
Compiler construction: during analysis of a PL/I program, lexical analysis refers to which specific activity in the front-end pipeline?
Open
View answer
Addressing modes: in which mode is the effective address of an operand obtained by adding a constant (displacement) to the contents of a register?
Open
View answer
Operating systems and hardware evolution: what made multiprogramming (concurrent residence and progress of multiple jobs) practically possible on mainstream systems?
Open
View answer
Program relocation concepts: which statement best defines a self-relocating program with respect to address-sensitive code and execution location?
Open
View answer
Advantages of assembly language over pure machine language: identify the most accurate summary of benefits to a programmer.
Open
View answer
In a compiler's storage assignment phase (also called memory allocation within the compiler back end), which responsibilities are included? Select all that apply to a typical language implementation: assigning addresses to user variables, reserving temporaries for intermediate results, and allocating space for literals with proper initialization.
Open
View answer
In the compilation of a PL/I program, the term “machine-independent optimization” refers to optimizations applied on an intermediate representation (IR) before code is tailored to a specific CPU. Which choice captures this idea most closely?
Open
View answer
Macro processing essentials: which tasks must a macro processor perform during assembly or compilation?
Open
View answer
System programs: what do we call the program that combines separately compiled modules (objects) and prepares them for execution by resolving external references and arranging them in memory?
Open
View answer
Absolute loading scheme: which traditional loader function is instead handled by the assembler (i.e., performed at assembly time rather than by the loader)?
Open
View answer
Relocatable program forms: which description best characterizes a relocatable program?
Open
View answer
In compiler construction terminology, which table is a permanent database that keeps an entry for every terminal symbol of the grammar used by the language front end?
Open
View answer
Assembler variants: which system program skips writing a separate object file and instead generates absolute machine code directly in memory, loading it into main storage so execution can start immediately after assembly?
Open
View answer
System startup: when a computer is powered on or restarted, which special absolute loader is executed to initialize hardware, locate the operating system, and start the boot process?
Open
View answer
Compiler design — lexical analysis phase: Which tasks are performed during lexical analysis (also called scanning) before syntax analysis begins?
Open
View answer
Programming fundamentals: A sequence of instructions written in a computer language to achieve a desired result is called what?
Open
View answer
Assembly to machine code (assumed format): Convert the instruction “CHARI h#000F, s” into its hexadecimal machine-language form (use the standard opcode+immediate format where applicable).
Open
View answer
Operating systems — process manager responsibilities: What must the Process Manager keep track of for each executing program?
Open
View answer

Practice smarter

Solve a few questions daily and revisit weak topics regularly to improve accuracy.