Question
The average of series 'S7', which consists of 6 consecutive
even numbers, is 31. The second term of series 'T7', which consists of 5 consecutive odd numbers, is 3 more than the first term of series 'S7'. Find the average of series 'T7'.Solution
Let six consecutive even numbers be 'a', (a + 2), (a + 4), (a + 6), (a + 8) and (a + 10), respectively.
ATQ,
a + a + 2 + a + 4 + a + 6 + a + 8 + a + 10 = 31 X 6
Or, 6a = 186 - 30
So, 'a' = (156 / 6) = 26
So, 2nd term of series 'T7' = 26 + 3 = 29
So, series 'T7' = 27, 29, 31, 33, 35
Therefore, required average = (27 + 29 + 31 + 33 + 35) ÷ 5 = 31
Which of the following is NOT a common form of 3-address code?
Which of the following tools is commonly used to generate a lexical analyzer (scanner) from a set of regular expressions?
 Which of the following is NOT a typical task performed during the code optimization phase?
Which phase of compilation groups characters into tokens?
Which of the following parsers is the most powerful (can parse the largest class of grammars)?
Which of the following is the first phase of a compiler?
Multithreading an interactive program will increase responsiveness to the user by ___________
DBMS periodically suspends all processing and synchronizes its files and journals through the use of
Which statement about intermediate code is TRUE?
Which phase of the compiler checks the type consistency of the program?