102. | Non modifiable procedures are called |
Discuss |
Answer: (c).Reentrant procedures
|
103. | Not an assembler directive |
Discuss |
Answer: (a).XCHG
|
104. | In a compiler, the task of scanning the source code, to recognize and classify various elements is known as. |
Discuss |
Answer: (c).Lexical Analysis
|
105. | An example of a compiler-compiler is: |
Discuss |
Answer: (c).YACC
|
106. | Consider the following program fragment in assembly language. What is the value of ax and cx registers after the completion of the doloop?
|
Discuss |
Answer: (b).ax = FFF6 h and cx = 0 h
|
107. | Consider the following assembly program segment. The contents of the destination register ax (in hexadecimal) and the status of Carry Flag (CF) after the execution of above instructions are:
|
Discuss |
Answer: (a).ax = 003CH; CF = 0
|
108. | Match the description of several parts of a classic optimizing compiler in List - I, with the names of those parts in List - II: List - I (a) A part of a compiler that is responsible for recognizing syntax. (b) A part of a compiler that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories. (c) A part of a compiler that understand the meanings of variable names and other symbols and checks that they are used in ways consistent with their definitions. (d) An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation). List - II (i) Optimizer (ii) Semantic Analysis (iii) Parser (iv) Scanner Code: (a) (b) (c) (d) |
Discuss |
Answer: (a).(iii) (iv) (i) (ii)
|