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:
Step 1: Evaluate each option.
- **A. The first index comes after the last index.** This is describing a **Head-tail Linked List**, where the first index is at the end after the last element. This matches with **I. Head-tail Linked List**.
- **B. More than one queue in the same array of sufficient size.** This describes a **Priority Queue**, where multiple queues can share the same memory space but have different priorities. This matches with **II. Priority Queue**.
- **C. Elements can be inserted or deleted at either end.** This describes a **Circular Queue**, where elements can be added or removed from both ends. This matches with **III. Circular Queue**.
- **D. Each element is assigned a priority.** This describes a **Multiple Queue**, where each element is assigned a specific priority. This matches with **IV. Multiple Queue**.
Step 2: Conclusion.
Thus, the correct answer is (1) A - I, B - II, C - III, D - IV.
Find the least upper bound and greatest lower bound of \( S = \{X, Y, Z\} \) if they exist, of the poset whose Hasse diagram is shown below:
Suppose \( D_1 = (S_1, \Sigma, q_1, F_1, \delta_1) \) and \( D_2 = (S_2, \Sigma, q_2, F_2, \delta_2) \) are finite automata accepting languages \( L_1 \) and \( L_2 \), respectively. Then, which of the following languages will also be accepted by the finite automata:
(A) \( L_1 \cup L_2 \)
(B) \( L_1 \cap L_2 \)
(C) \( L_1 - L_2 \)
(D) \( L_2 - L_1 \)
Choose the correct answer from the options given below:
\(\underline{\hspace{1cm}}\) refers to a set of data values and associated operations that are specified accurately, independent of any particular implementation.
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?
