GATE 2026 Data Science and Artificial Intelligence (DA) Questions with Solutions

GATE 2026

65 questions

MCQ 33 · MSQ 14 · NAT 181-mark 30 · 2-mark 35

Questions 31–35 of 65

Q31Linear and Binary Search1 markNAT
Let A be a sorted array containing 10001000 distinct integers. You perform a recursive binary search on A\text{A} to find an element y\text{y}. Suppose each comparison checks whether the middle element computed during the current recursive step is equal to, less than, or greater than y\text{y}.

The maximum number of comparisons that may have to be performed if y\text{y} is not an element of AA is ________. (Answer in integer)

Q32File Organization and Indexing1 markNAT
In a relational database, a B+{B}+ Tree Index is to be constructed for a relation on a key field. In a B+\text{B+} Tree, a Node Pointer points to a sub-tree and a Data Record Pointer points to a block of database records.

Let, Node size =4096=4096 bytes, Node Pointer size =10=10 bytes, Search Key Field size =11=11 bytes and Data Record Pointer size =12= 12 bytes.

The maximum number of Node Pointers that can be present in a non-leaf node of the B+\text{B+} Tree is ________. (Answer in integer)

Q33Counting1 markNAT
The number of bijections f(⋅)f(\cdot) from the set S={1,2,3,4}S=\{1,2,3,4\} to itself such that f(f(n))=nf(f(n))=n, for all n∈Sn \in S, is ________. (Answer in integer)

Q34Random Variables and Distributions1 markNAT
Let XX be an exponentially distributed random variable with mean λ(>0)\lambda(>0). If P(X>5)=0.35P(X>5)=0.35, then the conditional probability P(X>10∣X>5)P(X>10 \mid X>5) is ________. (Rounded off to two decimal places)

Q35Limits, Continuity and Differentiability1 markNAT
The value of ∑i=0∞∑j=1∞2−i3−j\sum_{i=0}^{\infty} \sum_{j=1}^{\infty} 2^{-i} 3^{-j} is ________. (Answer in integer)