Question
Which parsing technique is a top-down parser that cannot
handle left recursion and requires the grammar to be free of common prefixes?Solution
LL(1)
The average price of two motorcycles, namely 'G' and 'H' is Rs. 28,400 whereas the average price of motorcycles 'H' and 'I' is Rs. 30,200. If the averag...
A cricketer had a batting average of x runs in the first 18 matches. In the next 6 matches, he scored an average of 60 runs. His overall average increas...
Average of 6 numbers is 12. If one number 5 is replaced by 17, find the new average.
In a school, 30 boys scored an average of 76 marks while 40 girls scored an average of 88 marks. What is the average marks of all students together? (Ro...
The average age of 'p' employees in the HR department is (p – 6) years. Two managers aged 36 and 40 join the department, causin...
There are 15 numbers such that average of first 12 numbers is 25 while the average of last five numbers is 44. Find the 12th number, if the ratio betwee...
Four numbers are arranged in ascending order. When the first two numbers are increased by the number equal to their position, and the last two numbers i...
A class of 30 students appeared in a test. The average score of 12 students is 80, and that of the rest is 75. What is the average score of the class?
The average age of 16 girls is 35 years. If the age of two more girls is added the average decreases by 3.5 years. What is the sum of the age of new girls?
The average age of 23 children and their teacher's age are 21 years. If the teacher's age is excluded, the average reduces by 1. What is the teacher's age?