Question 1 :
An intermediate language should be
- Machine dependent
- Machine independent
- all operators of low level language supported
- close to source Language
Question 2 :
In a two pass assembler the object code generation is done during the ?
- Second pass
- First pass
- Zeroth pass
- Not done by assembler
Question 3 :
Memory unit accessed by content is called ______
- Secondary memory
- Programmable Memory
- Virtual Memory
- Associative Memory
Question 4 :
The optimization which avoids test at every iteration is
- Loop unrolling
- Loop jamming
- Constant folding
- Loop invariant reduction
Question 5 :
A system program that combines the separately compiled modules of a program into a form suitable for execution
- Assembler
- Linker
- Cross compiler
- Load and go
Question 6 :
Advantage of incorporating the macro-processor into pass 1 is that ____
- many functions have to be implemented twice
- more flexibility is available to the programmer in that he may use all the features of the assembler in conjunction with macros.
- functions are combined and it is not necessary to create intermediate files as output from the macro-processor and input to the assembler.
- all of these
Question 7 :
As compared to Quadraple representation, triple structure _________
- reduces number of temporary symbols and is simpler than quadraple
- reduces number of temporary symbols but it is complex than quadraple
- is simple but increases number of temporary symbols
- is complex and increases number of temporary symbols
Question 8 :
Choose a string that does not belong to the language (a + bb)*.(b+aa)*
- abbabbbaa
- aabbaabb
- aaab
- abbba
Question 9 :
MDT is used to store
- Formal parameters and index numbers
- Actual parameters and index numbers
- Macro name and MDTP
- Definition of the Macro
Question 10 :
Static memory allocation is typically performed during
- Compilation
- Execution
- Loading
- Linking
Question 11 :
Macro is preferred when _______
- the code block is large and occurs only once
- the code block is small and repeats several times
- the code block is large and repeats several times
- the code block is small and occurs only once
Question 12 :
Peephole Optimization is a form of
- Loop optimization
- Local optimization
- Constant folding
- Data flow analysis
Question 13 :
A __________ is a system software that converts high language into machine language.
- Assembler
- Compiler
- Macroprocessor
- Loader
Question 14 :
The example of Application program
- MsWord
- Compiler
- Macroprocessor
- Loader
Question 15 :
Linking is process of binding
- Reference to internal data
- Refrence to external function only
- reference to external data only
- Reference to external data and external function
Question 16 :
In Absolute loading scheme, linking is done by _______
- Programmer
- Translator
- Linker
- Loader
Question 17 :
Which phase of the compiler is Syntax Analysis?
- First
- Second
- Third
- Fourth
Question 18 :
In loader functions, relocation means ________
- To move the program code and data into main memory
- To assign new address to each module whenever the program executes
- To change address in address sensitive instructions to load time address
- To move a block of program to remote machine while it is executing
Question 19 :
Which pseudo opcode indicates what is the base register used by the program
- USING
- START
- DC
- DS
Question 20 :
Which pseudo opcode indicates the list of symbols referred in the subroutine but defined in other subroutines?
- EXTRN
- ENTRY
- START
- USING
Question 21 :
LR stands for
- Left to right reading of input
- Left to right reduction
- Left most derivation in reverse
- Left to right reading of input and right most derivation in reverse
Question 22 :
Language recognized by a parser is __________
- Regular
- Context Sensitive
- Context Free
- Recursive
Question 23 :
Synthesized attribute can be easily simulated by a
- LR grammar
- LL grammar
- Ambiguous grammar
- Regular Grammar
Question 24 :
What is the input to Lex tool?
- Regular expression
- context free grammar
- numeric data
- ASCII data
Question 25 :
In 2 pass assemblers for IBM 360, the database that stores addresses of all registers that are available to be used as segment base is called ________
- Segment register table
- Stored register table
- Address table
- Base table
Question 26 :
In a two pass assembler the object code generation is done during the ?
- Second pass
- First pass
- Zeroeth pass
- Not done by assembler
Question 27 :
A top-down parser works on the principles of
- Right most derivation
- Rightmost derivation in reverse
- Leftmost derivation
- Leftmost derivation in reverse
Question 28 :
Function of ASSUME statement in 8086 ALP (Assembly Language Program) is to _____________
- assign initial values to variable/ memory locations
- map segment names to the base registers of 8086 microprocessor
- assume default values of registers of 8086 microprocessor
- assign literal values to memory locations
Question 29 :
An intermediate language should be
- Machine dependent
- Machine independent
- close to source language in terms of syntax
- same as assembly language of the processor
Question 30 :
Which pseudo opcode indicates a register of IBM 360 is available as base register?
- USING
- START
- DC
- DS