Question
Which of the following is true regarding box
P? Study the following information carefully and answer the question given below: Seven boxes M, N, O, P, Q, R, S are arranged one above another. Only two boxes are placed above box P. Only one box is placed between box S and P. As many as boxes are placed between box S and Q as between box Q and M. Three boxes are placed between box N and O. N is placed above O.Solution
Only two boxes are placed above box P. Only one box is placed between box S and P. Three boxes are placed between box N and O. N is placed above O. As many as boxes are placed between box S and Q as between box Q and M. Clearly, we can’t place S, Q and M fulfilling the given condition in Case 2. However, in Case 1 we get the arrangement as follows Evidently, R will be filling the vacant position in Case 1.
Which phase of the compiler ensures that identifiers are declared before they are used?
Which of the following is NOT a type of intermediate code?
Which of these is a bottom-up parser?
Peephole optimization is applied during:
In a compiler, lexical analysis is responsible for:
Which of the following is the first phase of a compiler?
Which data structure is commonly used in implementing a recursive descent parser?
Which technique is used to handle left recursion in a grammar?
Which of the following algorithms is specifically designed to minimize the average time a process spends waiting before execution in a CPU scheduling co...
Which phase of the compiler checks the type consistency of the program?