Question 5
Marks : +2 | -2
Pass Ratio : 100%
Assembler is a program that _________
Explanation: An assembler is a program that takes basic computer instructions and converts them into a pattern of bits that the computer’s processor can use to perform its basic operations.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
When ß is empty (A -> ß.,a), the reduction by A-> a is done by _________
Explanation: The next token is considered in this case it’s a.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
A loader is a program that _________
Explanation: A loader is the part of an operating system that is responsible for loading programs and libraries. It is important in the process of placing the programs into memory and executing them.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
What is the similarity between LR, LALR and SLR?
Explanation: The common grounds of these 3 parser is the algorithm but parsing table is different.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of these is true about LR parsing?
Explanation: LR parsers are a type of bottom-up parsers that efficiently handle deterministic context-free languages in guaranteed linear time.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
The construction of the canonical collection of the sets of LR (1) items are similar to the construction of the canonical collection of the sets of LR (0) items. Which is an exception?
Explanation: Closure and goto do work differently in case of LR (0) and LR (1).