Question
How many persons purchased bungalow between Babli and
Farun? Study the following information carefully and answer the question given below: Eight friends – Amit, Babli, Chand, Deepa, Ishu, Farun, Gori and Hemant purchased bungalows on same date of different years viz. 1988, 1993, 1995, 1996, 2000, 2001, 2006 and 2009 but not necessarily in same order. They all have purchased their bungalows on 1st of June of their respective years. (Note- For calculation of time period, please consider 1st June 2018 as cut-off date.) Babli purchased his bungalow immediately before Deepa. Only one person purchased his bungalow between Deepa and Ishu, who purchased in a leap year. Two people purchased bungalow between Farun and Gori who purchased it 12 years ago. Amit was neither the first nor the last person to buy a bungalow.Solution
Two people purchased bungalow between Farun and Gori who purchased it 12 years ago. On the basis of above hint we can draw the following table. Babli purchased his bungalow immediately before Deepa. Only one person purchased his bungalow between Deepa and Ishu, who purchased in a leap year. Amit was neither the first nor the last person to buy a bungalow. The only left leap year is 2000, so that's the year when Ishu purchased. Thus Amit purchased in mid i.e. in 2001.
Which error is detected during lexical analysis?
Which of the following is the first phase of a compiler?
Which parser is most commonly used in modern compilers?
"Liveness analysis" in code optimization determines:
Which of the following parsers is the most powerful (can parse the largest class of grammars)?
"Dead code elimination" is an optimization that removes:
A 3-address instruction typically has the form:
A "parser" is primarily responsible for which phase of compilation?
Which of the following grammars is suitable for top-down parsing?
An S-attributed SDD (Syntax-Directed Definition) is one where: