51. | A shift-reduce parser carries out the actions specified within braces immediately after reducing with the corresponding rule of the grammar. S -> xxW[print“1”] S -> y[print“2”] W -> S2[print“3”], what is the translation of “x x x x y z z”? |
Answer: (c).2 3 1 3 1
|
52. | Synthesized attribute can be easily simulated by a |
Answer: (c).LR grammar
|
53. | There exists a construct which returns a value ‘true’ if the argument subquery is: |
Answer: (b).non-empty
|
54. | The linker: |
Answer: (c).is required to create a load module
|
55. | A compiler that runs on one machine and produces code for a different machine is called: |
Answer: (a).Cross compilation
|
56. | Any syntactic construct that can be described by a regular expression can also be described by a: |
Answer: (c).Context free grammar
|
57. | When a language has the capability to produce new data types, it is said to be: |
Answer: (a).extensible
|
58. | An assembly program contains: |
Answer: (c).imperative and declarative statements as well as assembler directives
|
59. | Which of the following are Assembler Directives? (i) EQU (ii) ORIGIN (iii) START (iv) END |
Answer: (d).(i), (ii), (iii) and (iv)
|
60. | Assembler program is: |
Answer: (c).dependent on the hardware
|