Question 31 : The example of Application program
- MsWord
- Compiler
- Macroprocessor
- Loader
Question 32 : Dummy arguments in macros can be identified by symbol........
- * (Asterisk)
- # (Hash)
- &(Ampersand)
- !(Exclamatory)
Question 33 : 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 34 : What is the input to Lex tool?
- Regular expression
- context free grammar
- numeric data
- ASCII data
Question 35 : Synthesized attribute can be easily simulated by a
- LR grammar
- LL grammar
- Ambiguous grammar
- Regular Grammar
Question 36 : 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 37 : First step of SLR parser is _________.
- Remove Left recursion
- Apply left factoring
- Augmentation
- Expansion
Question 38 : In a two pass assembler the object code generation is done during the ?
- Second pass
- First pass
- Zeroeth pass
- Not done by assembler
Question 39 : Peephole Optimization is a form of
- Loop optimization
- Local optimization
- Constant folding
- Data flow analysis
Question 40 : Which pseudo opcode indicates what is the base register used by the program
- USING
- START
- DC
- DS
Question 41 : Which of the following parser is most powerful?
- Shift Reduce
- Canonical LR
- SLR
- LALR
Question 42 : Memory unit accessed by content is called ______
- Secondary memory
- Programmable Memory
- Virtual Memory
- Associative Memory
Question 43 : Static memory allocation is typically performed during
- Compilation
- Execution
- Loading
- Linking
Question 44 : Aging registers’ are _______
- Counters which indicate how long ago their associated pages have been Referenced
- Registers which keep track of when the program was last accessed
- counters to keep track of last accessed instruction
- Counters to keep track of the latest data structures referred
Question 45 : A model statement contains call for another macro is called as
- referential macro call
- nested macro call
- inbuilt macro call
- inherited macro call
Question 46 : An intermediate language should be
- Machine dependent
- Machine independent
- all operators of low level language supported
- close to source Language
Question 47 : The working of Compiler and interpreter are
- Same
- not related
- Compiler works on an entire program and converts it into object code, while interpreter works line by line
- Interpreter is faster and compiler is slower
Question 48 : Which of the following grammar rules violate the requirements of an operator grammar ? P, Q, R are nonterminals, and r, s, t are terminals. 1. P → Q R 2. P → Q s R 3. P → ε 4. P → Q t R r
- 1 only
- 1 and 3 only
- 2 and 3 only
- 1,2,3
Question 49 : 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 50 : A __________ is a system software that converts high language into machine language.
- Assembler
- Compiler
- Macroprocessor
- Loader