Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Language Processors Questions
Language processors: which software can be used to convert or directly execute high-level language instructions with respect to machine-level operations?
IBM System/370 assembler programming: which statement accurately characterizes a capability of the assembler language concerning address formation?
Compiler construction: during analysis of a PL/I program, lexical analysis refers to which specific activity in the front-end pipeline?
Addressing modes: in which mode is the effective address of an operand obtained by adding a constant (displacement) to the contents of a register?
Operating systems and hardware evolution: what made multiprogramming (concurrent residence and progress of multiple jobs) practically possible on mainstream systems?
Program relocation concepts: which statement best defines a self-relocating program with respect to address-sensitive code and execution location?
Advantages of assembly language over pure machine language: identify the most accurate summary of benefits to a programmer.
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.
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?
Macro processing essentials: which tasks must a macro processor perform during assembly or compilation?
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?
Absolute loading scheme: which traditional loader function is instead handled by the assembler (i.e., performed at assembly time rather than by the loader)?
Relocatable program forms: which description best characterizes a relocatable program?
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?
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?
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?
Compiler design — lexical analysis phase: Which tasks are performed during lexical analysis (also called scanning) before syntax analysis begins?
Programming fundamentals: A sequence of instructions written in a computer language to achieve a desired result is called what?
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).
Operating systems — process manager responsibilities: What must the Process Manager keep track of for each executing program?
1
2
3