Computer Science & Information Technology (CS) 2025 [Session 1]
Review the key details, then start the test when you are ready. You can also open the full package to see related papers.
Paper pattern & analysis
Available question types, difficulty and classifications for this paper.
Topic distribution
Subtopic distribution
Difficulty distribution
Question type distribution
Practise paper questions
Choose your answer to check it. Log in to view the explanation. For a timed attempt and result, start the exam.
Select the option with the correct sequence of articles to fill in the blanks.
Select the most appropriate option that can replace the word “myopic” without changing the meaning of the sentence.
The average marks obtained by a class in an examination were calculated as 30.8. However, while checking the marks entered, the teacher found that the marks of one student were entered incorrectly as 24 instead of 42. After correcting the marks, the average becomes 31.4. How many students does the class have?
• P is the brother of Q.
• S is the daughter of Q.
• T is the sister of S.
• R is the mother of Q.
The following statements are made based on the relationships given above.
(1) R is the grandmother of S.
(2) P is the uncle of S and T.
(3) R has only one son.
(4) Q has only one daughter.
Which one of the following options is correct?
Note: The figure shown is representative.

(From G.K. Chesterton’s “A Piece of Chalk”)
Based only on the information provided in the above passage, which one of the following statements is true?
Note: The figure shown is representative.

Note: The figures shown are representative.

A shop has 4 distinct flavors of ice-cream. One can purchase any number of scoops of any flavor. The order in which the scoops are purchased is inconsequential. If one wants to purchase 3 scoops of ice-cream, in how many ways can one make that purchase?
(i) The processor saves the content of the program counter.
(ii) The program counter is loaded with the start address of the ISR.
(iii) The processor finishes the present instruction.
Which ONE of the following is the CORRECT sequence of steps?
Which ONE of the following statements is FALSE regarding the symbol table?
Which ONE of the following techniques used in compiler code optimization uses live variable analysis?
Consider a demand paging memory management system with 32-bit logical address, 20-bit physical address, and page size of 2048 bytes. Assuming that the memory is byte addressable, what is the maximum number of entries in the page table?
R1(X) W1(Y) R2(X) R2(Y) R3(Y) ABORT(T1)
Identify the ONE CORRECT matching between the OSI layers and their corresponding functionalities as shown.
| OSI Layers | Functionalities |
|---|---|
| (a) Network layer | (I) Packet routing |
| (b) Transport layer | (II) Framing and error handling |
| (c) Datalink layer | (III) Host to host communication |
If f(.) and f(g(.)) are onto (surjective) functions, which ONE of the following is TRUE about the function g(.)?
Let G be any undirected graph with positive edge weights, and T be a minimum spanning tree of G. For any two vertices, u and v, let d1(u, v) and d2(u, v) be the shortest distances between u and v in G and T, respectively. Which ONE of the options is CORRECT for all possible G, T, u and v?
\[ S \rightarrow aaB \mid Abb \]
\[ A \rightarrow a \mid aA \]
\[ B \rightarrow b \mid bB \]
Which ONE of the languages L(G) is accepted by G?
\[ T(n) = 2T(n-1) + n2^n \text{ for } n > 0, \quad T(0) = 1. \]
Which ONE of the following options is CORRECT?

Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as P1, P2, and P3, in order. Which of the following option(s) is/are TRUE with respect to TCP header flags that are set in the packets?
Which of the following statement(s) is/are TRUE for any binary search tree (BST) having n distinct integers?
A partial data path of a processor is given in the figure, where RA, RB, and RZ are 32-bit registers. Which option(s) is/are CORRECT related to arithmetic operations using the data path as shown?

A regular language L is accepted by a non-deterministic finite automaton (NFA) with n states. Which of the following statement(s) is/are FALSE?
int main() { int x=0, i=0; scanf("%d", &x); for(i=0; i<20; i++) { x = x+20; printf("%d\n", x); } return 0; }

\[ f(x) = \begin{cases} ax + b & \text{for } x < 1 \\ x^3 + x^2 + 1 & \text{for } x \ge 1 \end{cases} \]
If the function is differentiable everywhere, the value of b must be ______. (rounded off to one decimal place)
fun(int A[0,...,n-1]) {
for i=0 to n-2
for j=0 to n-i-2
if (A[j]>A[j+1])
then swap A[j] and A[j+1]
}
Let A[0,...,29] be an array storing 30 distinct integers in descending order. The number of swap operations that will be performed, if the function fun() is called with A[0,...,29] as argument, is ________. (Answer in integer)
void foo(int *p, int x) {
*p=x;
}
int main() {
int *z;
int a = 20, b = 25;
z = &a;
foo(z,b);
printf("%d",a);
return 0;
}The output of the given C program is ________. (Answer in integer)
Suppose a Min-Heap T stores 32 keys. The height of T is ________. (Answer in integer)
ADD R1, #25 // R1 = R1 + 25
- \(M_1\) uses priority of execution for the processes as, \(P_1 > P_2 > P_3 > P_4\), i.e., \(P_1\) and \(P_4\) have highest and lowest priorities, respectively.
- \(M_2\) uses priority of execution for the processes as, \(P_2 > P_3 > P_4 > P_1\), i.e., \(P_2\) and \(P_1\) have highest and lowest priorities, respectively.
- teams(tid, tname): tid, tname are team-id and team-name, respectively
- players(pid, pname, tid): pid, pname, and tid denote player-id, player-name and the team-id of the player, respectively
L₁ = {aᵐbᵐcᵐ⁺ⁿ | m, n ≥ 1}
L₂ = {aᵐbⁿcᵐ⁺ⁿ | m, n ≥ 1}
Which ONE of the following statements is CORRECT?
Which of the following statement(s) is/are TRUE while computing First and Follow during top down parsing by a compiler?
The relation team is decomposed into two relations, t1(name, city) and t2(name, owner). Which of the following statement(s) is/are TRUE?
The meanings of the predicates used are:
• mother(y, x): y is the mother of x
• noteq(x, y): x and y are not equal



The OS correctly predicts only up to next 4 page references (including the current page) at the time of allocating a frame to a page.
A process accesses the pages in the following order of page numbers:
1, 3, 2, 4, 2, 3, 1, 2, 4, 3, 1, 4.
If the system has three memory frames that are initially empty, the number of page faults that will occur during execution of the process is ______ . (Answer in integer)
player(pid, pname, age) team(tid, tname, city, cid)
coach(cid, cname) members(pid, tid)
An instance of the table and an SQL query are given.
| player | coach | team | members | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| pid | pname | age | cid | cname | tid | tname | city | cid | pid | tid |
| 1 | Jasprit | 31 | 101 | Ricky | 10 | MI | Mumbai | 102 | 1 | 10 |
| 2 | Atharva | 24 | 102 | Mark | 20 | DC | Delhi | 101 | 2 | 30 |
| 3 | Ishan | 26 | 103 | Trevor | 30 | PK | Mohali | 103 | 3 | 10 |
| 4 | Axar | 30 | 4 | 20 | ||||||
SELECT MIN(P.age)
FROM player P
WHERE P.pid IN (
SELECT M.pid
FROM team T, coach C, members M
WHERE C.cname = 'Mark'
AND T.cid = C.cid
AND M.tid = T.tid
)
The value returned by the given SQL query is ______ . (Answer in integer)


\(P(x) = \begin{cases} Cx^2, & \text{for } 1 \le x \le 4 \\ 0, & \text{for } x < 1 \text{ or } x > 4 \end{cases}\)
The probability that \(x\) lies between 2 and 3, i.e., \(P(2 \le x \le 3)\) is ______. (rounded off to three decimal places)

The value printed by the given C program is ______. (Answer in integer)

Consider the following C program segment that modifies the list L1. The number of nodes that will be there in L1 after the execution of the code segment is ______. (Answer in integer)
int find (int query, LIST *list) { while (list != NULL) { if(list->data == query) return 1; list = list->next; } return 0; } int main () { ... ... ptr1=L1; ptr2=L2; while (ptr1->next != NULL) { query = ptr1->next->data; if (find (query, L2)) ptr1->next = ptr1->next->next; else ptr1 = ptr1->next; } ... ... return 0; }

The value printed by the given C program is ______. (Answer in integer)


The slot at which key 24 gets stored is ______. (Answer in integer)
Showing 5 of 65 questions