The trick with pre-order and in-order pairs is that the root always sits at the front of the pre-order list, and it splits the in-order list into a left part and a right part. Apply that rule repeatedly to draw the tree, then check each statement against the drawing.
Pre-order: P Q S E R F G. In-order: S Q E P F R G.
The root is $P$, the first pre-order entry. In the in-order list, $P$ sits between "S Q E" (left side) and "F R G" (right side), so the left subtree holds nodes {S, Q, E} and the right subtree holds {F, R, G}.
Matching the pre-order list to these two groups, the left group takes the next 3 letters after P, which is "Q S E", and the right group takes what remains, "R F G".
For the left piece (pre-order Q S E, in-order S Q E): the root is $Q$, with S to its left and E to its right in the in-order list, so $Q$ has two children, left = S and right = E.
For the right piece (pre-order R F G, in-order F R G): the root is $R$, with F to its left and G to its right, so $R$ has two children, left = F and right = G.
So the tree looks like this: P is the root; the left child of P is Q, with left child S and right child E; the right child of P is R, with left child F and right child G.
Now check each statement:
The correct statements are (A) and (B).
\[ \boxed{\text{(A) and (B)}} \]\(\underline{\hspace{1cm}}\) refers to a set of data values and associated operations that are specified accurately, independent of any particular implementation.
Match LIST-I with LIST-II
\[\begin{array}{|c|c|}\hline \text{LIST-I} & \text{LIST-II} \\ \hline \text{A. The first index comes after the last index.} & \text{I. Head-tail Linked List} \\ \hline \text{B. More than one queue in the same array of sufficient size} & \text{IV. Multiple Queue} \\ \hline \text{C. Elements can be inserted or deleted at either end.} & \text{III. Circular Queue} \\ \hline \text{D. Each element is assigned a priority.} & \text{II. Priority Queue} \\ \hline \end{array}\] Choose the correct answer from the options given below:
Consider the following statements about arrays. Which of the following are TRUE?
A. The index specifies an offset from the beginning of the array to the element being referenced.
B. Declaring an array means specifying three parameters; data type, name, and its size.
C. The length of an array is given by the number of elements stored in it.
D. The name of an array is a symbolic reference to the address of the first byte of the array.
Choose the correct answer from the options given below:
Consider the binary tree given below. What will be the corresponding infix expression to this?
