42. | In an absolute loading scheme, which loader function is accomplished by a loader? |
Discuss |
Answer: (d).Loading
|
43. | Which of the following expression is represented by the parse tree?
![]() |
Discuss |
Answer: (a).(A + B) * C
|
44. | Consider the following left associative operators in decreasing order of precedence: – subtraction (highest precedence) * multiplication $ exponentiation (lowest precedence) What is the result of the following expression? 3 – 2 * 4 $ | * 2**3 |
Discuss |
Answer: (d).4096
|
45. | Which of the following is the most general phase structured grammar? |
Discuss |
Answer: (b).Context-sensitive
|
46. | Which of the following is used for grouping of characters into tokens (in a computer)? |
Discuss |
Answer: (d).Scanner
|
47. | P: “Program is a step by step execution of the instructions”. Given P, which of the following is true? |
Discuss |
Answer: (b).Program is a sequence of a subset of an instruction set.
|
48. | In a MIU puzzle, either of the letters M, I or U could go as a start symbol. Production rules are given below : R1 : U→IU R2 : M.x→M.x.x where ːˑ is string concatenation operator. Given this, which of the following holds for (i) MIUIUIUIUIU (ii) MIUIUIUIUIUIUIUIU |
Discuss |
Answer: (c).Both (i) and (ii) are valid words but they involve different number of transformations in the production.
|
49. | Recursive functions are executed in a |
Discuss |
Answer: (b).Last in first out-order
|
50. | In an absolute loading scheme which loader function is accomplished by assembler? |
Discuss |
Answer: (a).re-allocation
|