Question
Average of four numbers is 27. Sum of smallest and
largest number is 56. If difference between other two numbers is 2, then find the square of second smaller number.Solution
Let four numbers in increasing order is a, b, c and d. => a + b + c + d = 4 x 27 = 108 => a + d = 56 => b + c = 52 According to question, => c – b = 2 => b = 25, c = 27 => b² = 625
Which of the following is an example of a "local optimization"?
Which of the following parsers is the most powerful (can parse the largest class of grammars)?
Which optimization technique involves replacing a sequence of instructions with a shorter or faster sequence, often by looking at a small "window" of in...
A "lexeme" refers to:
Peephole optimization is applied during:
Data flow analysis is a technique used by optimizers to:
Which of the following techniques is used to ensure that a database design eliminates redundant data?
Which of the following is TRUE about symbol tables?
The primary goal of code optimization is to:
Which of the following tasks is NOT performed during lexical analysis?