Question
Which parsing method uses a stack and an input
buffer?Solution
LR parsers use a stack to hold states and an input buffer to store unprocessed input symbols. They shift input onto the stack or reduce symbols using grammar rules.
HCF and LCM of two numbers are 13 and 455. If one number lies between 60 and 70, then the other number lies between
A bag contains coins of ₹1, ₹2, and ₹5 denominations in the ratio 3:2:1. If the total amount in the bag is ₹240, find the number of ₹2 coins.
An LPP has constraints:
x + y ≤ 4
x + y ≥ 6
x, y ≥ 0
What can be said about the feasible region?
If p = 50 - q - r and pq + r(q + p) = 816 then find the value of (p2Â + q2Â + r2) .
Find the minimum value of sec x + cosec x:
The sum of two numbers is 20 and their product is 96. Find the numbers.
A sum of Rs. 4,000 becomes Rs. 6,912 in 3 years at a certain rate of interest compounded annually. What is the rate of interest?
A fruit seller sells apples at a profit of 20% and oranges at a loss of 10%. If the ratio of apples to oranges sold is 3:2 and the overall profit is rup...
- The profit earned on selling an item is 25%. If the cost price of the item was 20% less, and the selling price of the item was Rs. 30 more, then the profit...
A person spends 40% of his income on rent, 30% on food, and 20% on education. If he saves ₹2000, what is his total income?