Question
In an examination, the average marks obtained by the
students is 40. After correcting the quantitative mistakes, the average of 60 students is reduced to 25 from 40 and the overall average of the student is reduced to 30. Then find the total number of students who participated in that examination.Solution
Let the total number of students be x Average marks obtained by the students = 40 Total marks = 40x After correcting the quantitative mistakes the average decreased by (40-25) = 15 marks Total reduction = 15 × 60 = 900 Now According to the Question, (40x-900)/x = 30 40x-900=30x x=90 Total number of students =90
Which optimization technique involves replacing a sequence of instructions with a shorter or faster sequence, often by looking at a small "window" of in...
An S-attributed SDD (Syntax-Directed Definition) is one where:
Multithreading an interactive program will increase responsiveness to the user by ___________
The primary goal of code optimization is to:
Which memory allocation strategy is used for global variables and static variables, where memory is allocated once at compile time and remains throughou...
Which parsing method uses a stack and an input buffer?
A 3-address instruction typically has the form:
Which optimization is performed after intermediate code generation?
Which of the following parsers is the most powerful (can parse the largest class of grammars)?
Which phase of compilation groups characters into tokens?