ISRO Computer Science (CSE) 2026 Question Paper & Solutions

Attempt the ISRO Computer Science (CSE) 2026 previous year paper in real CBT exam mode or practice mode with verified answers and explanations.

All ISRO Computer Science (CSE) papers

95 questions.

Question 1

Topic: Cloud Computing

NIST's three cloud service models are

  • A. public, private and hybrid
  • B. map, shuffle and reduce
  • C. Xen, Hyper-V and KVM
  • D. IaaS, PaaS and SaaS

Answer: D. IaaS, PaaS and SaaS

Explanation: According to the National Institute of Standards and Technology (NIST), the three standard cloud service models are Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). Public, private, and hybrid represent deployment models, not service models.

Question 2

Topic: Theory of Computation

Context-Free Languages (CFLs) are closed under which of the following operations?

  • A. Intersection and Complementation
  • B. Complementation and Set Difference
  • C. Intersection with arbitrary CFLs
  • D. Union, Concatenation, and Kleene Star

Answer: D. Union, Concatenation, and Kleene Star

Explanation: Context-Free Languages (CFLs) are closed under union, concatenation, and Kleene star operations. They are not closed under intersection, complementation, or set difference.

Question 3

Topic: Computer Networks

A HTTP server has received a request, successfully processed the same, but does not have any new content to send back in the response body. What is the HTTP status code the server sends.

  • A. 200
  • B. 201
  • C. 204
  • D. 304

Answer: C. 204

Explanation: The HTTP 204 (No Content) status code indicates that the server has successfully fulfilled the request and that there is no additional content to send in the response payload body.

Question 4

Topic: Graph Theory

A graph that can be drawn in the plane such that no two edges cross each other is called a:

  • A. Regular graph
  • B. Complete graph
  • C. Planar graph
  • D. Directed graph

Answer: C. Planar graph

Explanation: By definition, a planar graph is a graph that can be embedded in the plane, meaning it can be drawn on a two-dimensional surface such that its edges intersect only at their endpoints.

Question 5

Topic: Computer Graphics

Between Vector Graphics and Raster Graphics, which is infinitely scalable?

  • A. Raster Graphics
  • B. Vector Graphics
  • C. Both Raster Graphics and Vector Graphics
  • D. Both are not infinitely scalable

Answer: B. Vector Graphics

Explanation: Vector graphics are based on mathematical formulas defining geometric shapes, allowing them to be scaled infinitely without any loss of resolution or quality. Raster graphics (bitmaps) consist of a fixed grid of pixels and lose quality when scaled up.

Question 6

Topic: Programming in Java

What is the output of this floating-point NaN comparisons?

public class Test {
public static void main(String []args)
{
double d1 = Double.NaN; double d2 = Double.NaN;
System.out.println((d1 == d2) + " " +
Double.valueOf(d1).equals(Double.valueOf(d2)));
}
}

  • A. true true
  • B. false true
  • C. false false
  • D. true false

Answer: B. false true

Explanation: According to IEEE 754 floating-point standards, `NaN == NaN` always evaluates to `false`. However, the `Double.equals()` method in Java is specifically designed to treat two `Double.NaN` objects as equal to satisfy the contract of the `equals` method, so it evaluates to `true`.

Question 7

Topic: Engineering Mathematics / Linear Algebra

The eigenvalues of [2 7; 7 2] are

  • A. 2 and 7
  • B. 0 and 4
  • C. 9 and -5
  • D. 1 and 1

Answer: C. 9 and -5

Explanation: To find the eigenvalues, solve the characteristic equation det(A - λI) = 0. For the given matrix, this is (2 - λ)² - 49 = 0. This means (2 - λ) = ±7, which yields λ = 2 + 7 = 9 and λ = 2 - 7 = -5. (Alternatively, trace = 4 and determinant = 4 - 49 = -45. Only 9 and -5 add up to 4 and multiply to -45).

Question 8

Topic: Theory of Computation

Which of the following classes of automata strictly corresponds to Regular Languages?

  • A. Deterministic Finite Automata (DFA)
  • B. Pushdown Automata (PDA)
  • C. Turing Machines (TM)
  • D. Linear Bounded Automata (LBA)

Answer: A. Deterministic Finite Automata (DFA)

Explanation: According to the Chomsky hierarchy, Regular Languages are accepted by Finite Automata (both Deterministic and Non-Deterministic). PDAs correspond to Context-Free Languages, LBAs to Context-Sensitive Languages, and TMs to Recursively Enumerable Languages.

Question 9

Topic: Programming in Java

What is the value of result?

import java.util.stream.Stream;
public class Test {
public static void main(String []args)
{
int result = Stream.of(1, 2, 3, 4) .reduce(20, (a, b) -> a + b, (a,b) -> a*b);
System.out.println(result);
}
}

  • A. 20
  • B. 40
  • C. 30
  • D. 50

Answer: C. 30

Explanation: The `reduce` method takes an identity value (20), an accumulator function (addition), and a combiner function (multiplication). Because this is a sequential stream (not a parallel stream), the combiner is never invoked. The accumulator simply adds each element to the accumulated total sequentially: 20 + 1 = 21, 21 + 2 = 23, 23 + 3 = 26, 26 + 4 = 30.

Question 10

Topic: Graph Theory

Which of the following is NOT an isomorphic invariant for simple graphs?

  • A. The number of vertices of degree k
  • B. The labelling of the vertices in the adjacency matrix
  • C. The presence of a simple circuit of length k
  • D. The total number of edges

Answer: B. The labelling of the vertices in the adjacency matrix

Explanation: Isomorphic graphs share structural properties (invariants) such as the total number of vertices, edges, degree sequences, and cycle lengths. The specific labeling or order of vertices in an adjacency matrix depends on representation, not the underlying graph structure, so it is not an invariant.

Question 11

Topic: Software Engineering

With respect to the computation of the Cyclomatic Complexity chose the correct answer from the following:

  • A. The number of regions of the Control Flow Graph Gives the Cyclomatic Complexity V(G)
  • B. V(G) of a Control Flow Graph is defined as V(G)=E-N+2, where E is number of Edges in CFG, N is number of Nodes in CFG.
  • C. Both A and B
  • D. Neither A and B

Answer: C. Both A and B

Explanation: McCabe's Cyclomatic Complexity V(G) can be calculated mathematically using the formula V(G) = E - N + 2, where E is edges and N is nodes. Topologically, it is also exactly equal to the number of enclosed regions in a planar Control Flow Graph (including the infinite outer region).

Question 12

Topic: Operating Systems

In a multiprogramming environment once a process is allocated a CPU core and is executing, if its time slice expires, then

  • A. The process creates a new child process and be placed in a wait queue
  • B. The process issues an I/O request and be placed in an I/O wait queue
  • C. The process is removed from all queues and is terminated
  • D. The process is removed forcibly from the Core and is put back in the ready queue.

Answer: D. The process is removed forcibly from the Core and is put back in the ready queue.

Explanation: In time-shared scheduling (like Round Robin), when a running process exhausts its allocated time quantum (slice), a timer interrupt preempts it. The operating system forces a context switch and moves the process back to the ready queue to wait for its next turn.

Question 13

Topic: Big Data / Cloud Computing

By default HDFS replicates each data block on

  • A. at least three DataNodes
  • B. one DataNode
  • C. two DataNodes
  • D. every node in the cluster

Answer: A. at least three DataNodes

Explanation: For fault tolerance, data availability, and reliability, the default replication factor in the Hadoop Distributed File System (HDFS) is 3, meaning each data block is replicated across three distinct DataNodes.

Question 14

Topic: Software Engineering

In software configuration management (SCM), which branch merging strategy maintains a single constantly updated mainline branch and merges small, frequent commits rather than long-lived feature branches?

  • A. GitFlow Model
  • B. Trunk-Based Development
  • C. Release Isolation Branching
  • D. Forking Workflow

Answer: B. Trunk-Based Development

Explanation: Trunk-Based Development is an SCM branching model where all developers integrate their code directly into a central 'trunk' (or main) branch multiple times a day. This minimizes merge conflicts by avoiding long-lived, isolated feature branches.

Question 15

Topic: Database Management Systems

In a strict Two-Phase Locking protocol, which statement is correct?

  • A. A transaction can acquire new locks after releasing an existing lock
  • B. Shared locks can always be released immediately after reading
  • C. Locks are acquired only during the shrinking phase
  • D. Exclusive locks are held until the transaction commits or aborts

Answer: D. Exclusive locks are held until the transaction commits or aborts

Explanation: Strict Two-Phase Locking (Strict 2PL) is designed to avoid cascading rollbacks by ensuring that a transaction holds all its exclusive (write) locks until it either commits or aborts, preventing other transactions from reading uncommitted data.

Question 16

Topic: Algorithms / Sorting

A sorting algorithm is defined as stable if it:

  • A. Uses O(1) auxiliary memory space
  • B. Has O(n log n) worst-case time complexity
  • C. Never executes recursive function calls
  • D. Preserves relative order of equal keys

Answer: D. Preserves relative order of equal keys

Explanation: A sorting algorithm is considered stable if it preserves the relative original order of elements that have equal keys or values. For example, if two identical elements appear in a specific order in the unsorted input, they will remain in that exact same order in the sorted output.

Question 17

Topic: Digital Logic

To guarantee that an edge-triggered flip-flop reliably captures data, the input data must remain stable for a minimum duration after the active clock edge occurs. What is this specific timing constraint called?

  • A. Setup time
  • B. Hold time
  • C. Propagation delay
  • D. Clock cycle time

Answer: B. Hold time

Explanation: Hold time is defined as the minimum amount of time that the data input must remain stable strictly after the active clock edge to guarantee reliable data capturing. Conversely, setup time is the required stable time before the clock edge.

Question 18

Topic: Computer Networks

Which Bluetooth standard supports Internet of Things (IOT) devices

  • A. Bluetooth 2.0
  • B. Bluetooth 3.0
  • C. Bluetooth 4.0
  • D. Bluetooth 5.0

Answer: D. Bluetooth 5.0

Explanation: While Bluetooth 4.0 introduced Bluetooth Low Energy (BLE) which jumpstarted IoT applications, Bluetooth 5.0 was specifically designed and optimized with comprehensive enhancements explicitly targeting the Internet of Things (IoT). It provided significantly longer range, higher data throughput, and improved broadcast capacity suitable for dense IoT networks.

Question 19

Topic: Discrete Mathematics / Graph Theory

What is the number of edges in the Cartesian product graph K_3 (Complete graph with 3 vertices) & K_4 (Complete graph with 4 vertices)?

  • A. 18
  • B. 24
  • C. 30
  • D. 36

Answer: C. 30

Explanation: The number of edges in the Cartesian product of two graphs $G_1(V_1, E_1)$ and $G_2(V_2, E_2)$ is given by $|E| = |V_1||E_2| + |V_2||E_1|$. For $K_3$, we have $|V_1|=3, |E_1|=3$. For $K_4$, we have $|V_2|=4, |E_2|=6$. Therefore, the total edges $|E| = 3(6) + 4(3) = 18 + 12 = 30$.

Question 20

Topic: Database Management Systems

The WAL protocol in DBMS ensures that:

  • A. Data pages must be written to disk before writing checkpoint markers.
  • B. A data block modified in the buffer pool cannot be written to disk until the corresponding log record is flushed to non-volatile storage.
  • C. Transaction commit requires all data pages to be forced to disk immediately.
  • D. All log records for a transaction must be written to disk only after the transaction commits.

Answer: B. A data block modified in the buffer pool cannot be written to disk until the corresponding log record is flushed to non-volatile storage.

Explanation: Write-Ahead Logging (WAL) is a standard protocol in database systems ensuring atomicity and durability. It dictates that all modifications must be written to a log on stable (non-volatile) storage before the corresponding modified data pages are allowed to be flushed to the disk.

Question 21

Topic: Programming in Java

Java is not considered as a pure OOP language because

  • A. It uses primitive data types
  • B. It allows use of static variables and static methods
  • C. Every executable Java application relies on Main Method
  • D. All of the above

Answer: A. It uses primitive data types

Explanation: In a pure Object-Oriented Programming (OOP) language (like Smalltalk), absolutely everything must be treated as an object. Java supports primitive data types (like int, char, boolean, float, etc.) which are directly stored values and not objects, making it a hybrid or impure OOP language.

Question 22

Topic: Theory of Computation

Consider the right-linear grammar $G=(V,T,S,P)$ with $V=\{S,A\}, T=\{a, b\}$, and productions: $S \rightarrow aA \mid bS \mid \lambda$, $A \rightarrow bS$. What is the regular expression corresponding to L(G)?

  • A. (b+ab)*
  • B. (a+b)*ab
  • C. b*a(ba)*
  • D. (ab+ba)*

Answer: A. (b+ab)*

Explanation: From the productions, substituting $A \rightarrow bS$ directly into the $S$ rule $S \rightarrow aA$, we obtain $S \rightarrow abS \mid bS \mid \lambda$. This can be factored and rewritten as $S \rightarrow (b + ab)S \mid \lambda$. By applying Arden's Theorem (which states that $R = Q + RP \implies R = Q^* P$), the solution is $S = (b + ab)^* \lambda = (b + ab)^*$.

Question 23

Topic: Engineering Mathematics / Linear Algebra

For a square matrix with a column of Zeros

  • A. The Matrix is invertible
  • B. The matrix has non-zero determinant
  • C. All of its eigenvalues are non-zero
  • D. The matrix is Singular

Answer: D. The matrix is Singular

Explanation: If a square matrix contains an entire row or an entire column of zeros, expanding the determinant along that specific row or column causes the determinant to evaluate to exactly zero. A matrix with a determinant of zero is, by definition, a singular matrix and cannot be inverted.

Question 24

Topic: Software Engineering

Which classic Design Pattern falls under the 'Creational' category?

  • A. Adapter Pattern
  • B. Singleton Pattern
  • C. Observer Pattern
  • D. Strategy Pattern

Answer: B. Singleton Pattern

Explanation: The Gang of Four (GoF) design patterns are divided into Creational, Structural, and Behavioral categories. The Singleton pattern ensures a class has only one instance and falls under the Creational category. Adapter is Structural, while Observer and Strategy are Behavioral patterns.

Question 25

Topic: Computer Networks / Security

In a Public Key Infrastructure (PKI), what critical role does a Certificate Authority (CA) perform when issuing an X.509 certificate?

  • A. Generates and securely stores the subject's private key
  • B. Digitally signs a binding between the subject's identity and their verified public key
  • C. Decrypts SSL traffic to inspect for malware
  • D. Distributes symmetric session keys to client browsers

Answer: B. Digitally signs a binding between the subject's identity and their verified public key

Explanation: The primary function of a Certificate Authority (CA) in a PKI is to issue digital certificates. It verifies the identity of the requesting entity and digitally signs the certificate (which contains the public key), explicitly and securely binding the subject's verified identity to their public key.

Question 26

Topic: Operating Systems

In hierarchical Paging implementation for a 64 bit address space, if 2nd outer page table is with 32 bit page numbers and 12 bit page offset, with equal size page numbers for outer page and inner page table, the page number for outer / inner page table is

  • A. 20bits
  • B. 64bits
  • C. 32bits
  • D. 10bits

Answer: D. 10bits

Explanation: The total address space is 64 bits. The page offset is 12 bits, leaving $64 - 12 = 52$ bits for the total logical page number. Let the three levels of page tables be $p_1$ (outer), $p_2$ (2nd outer/middle), and $p_3$ (inner). We are given $p_2 = 32$ bits and $p_1 = p_3$. Therefore, $p_1 + 32 + p_1 = 52 \implies 2p_1 = 20 \implies p_1 = 10$. The outer and inner page tables require 10 bits each.

Question 27

Topic: Programming in C++

What is the output of the following C++ program?
#include <iostream>
int main() {
try {
throw 20;
} catch (double e) {
std::cout << "double";
} catch (...) {
std::cout << "ellipsis";
}
return 0;
}

  • A. Program terminates abruptly
  • B. Compilation error
  • C. double
  • D. ellipsis

Answer: D. ellipsis

Explanation: The statement `throw 20;` throws an exception of type `int`. The first catch block `catch (double e)` specifically catches exceptions of type `double` and ignores `int` exceptions (C++ does not perform implicit type casting during exception matching). The `catch (...)` block is a universal catch-all handler that catches any thrown exception not caught previously, so it executes and prints "ellipsis".

Question 28

Topic: Engineering Mathematics / Linear Algebra

For an m x n matrix A, rank A + dim Nul A equals

  • A. m
  • B. n
  • C. m + n
  • D. 0

Answer: B. n

Explanation: According to the Rank-Nullity Theorem in linear algebra, for any $m \times n$ matrix $A$, the sum of the rank (the dimension of the column space) and the nullity (the dimension of the null space) is strictly equal to the total number of columns, which is $n$.

Question 29

Topic: Software Engineering

In UML 2.0 the diagrams that show how system works, processes data and responds to events are

  • A. Structural Diagrams
  • B. Deployment Diagrams
  • C. Behavioral Diagrams
  • D. Object Diagrams

Answer: C. Behavioral Diagrams

Explanation: In Unified Modeling Language (UML), Behavioral Diagrams (such as Use Case, Sequence, Activity, and State Machine diagrams) depict the dynamic behavior of the system, illustrating how the system works, processes data, and responds to events over time. Structural diagrams, by contrast, show static architecture.

Question 30

Topic: Theory of Computation

The language generated by S → 0S1 | 01 is

  • A. {0ⁿ1ⁿ | n ≥ 0}
  • B. {0ⁿ1ᵐ | n,m ≥ 1}
  • C. {0ⁿ1ⁿ0ⁿ | n ≥ 1}
  • D. {0ⁿ1ⁿ | n ≥ 1}

Answer: D. {0ⁿ1ⁿ | n ≥ 1}

Explanation: The production rule $S \rightarrow 0S1$ generates matching pairs of $0$s and $1$s recursively. The base case $S \rightarrow 01$ terminates the derivation and ensures that there is at least one pair of $01$. Thus, the grammar generates the strings 01, 0011, 000111, etc. This exactly describes the Context-Free language $L = \{0^n1^n \mid n \ge 1\}$.

Question 31

Topic: Database Management Systems / SQL

What is the output of the query below?
SELECT department_id, AVG(max_score) AS avg_top_score FROM (SELECT s.department_id, MAX(e.actual_marks) AS max_score FROM Students s JOIN registrations e ON s.student_roll_no = e.student_roll_no GROUP BY s.department_id, s.student_roll_no) AS student_bests GROUP BY department_id HAVING department_id = 'CS';

  • A. 96
  • B. 99
  • C. 91
  • D. 93

Answer: D. 93

Explanation: The inner query calculates the maximum `actual_marks` for each student (grouped by `department_id` and `student_roll_no`). For the 'CS' department, there are two students: roll_no 1 (Geetha) and roll_no 4 (Ramya). From the registrations table, roll_no 1 scored 96, and roll_no 4 scored 90. The inner query returns rows (CS, 96) and (CS, 90). The outer query calculates the average of these max_scores for the 'CS' department. The average of 96 and 90 is 93.

Question 32

Topic: Database Management Systems / Relational Algebra

Let R(A, B, C) and S(C, D, E) be two relations. Which of the following relational algebra expressions is equivalent to the natural join R ⨝ S?

  • A. σ_{R.C=S.C}(R × S)
  • B. σ_{R.C=S.C}(R ∪ S)
  • C. π_{A,B,C,D,E}(R × S)
  • D. π_{A,B,R.C,D,E}(σ_{R.C=S.C}(R × S))

Answer: D. π_{A,B,R.C,D,E}(σ_{R.C=S.C}(R × S))

Explanation: A natural join between two relations R and S essentially performs a Cartesian product ($R \times S$), then filters the rows where the common attributes are equal ($\sigma_{R.C=S.C}$), and finally projects the columns to eliminate duplicate common attributes (keeping only $R.C$ or $S.C$). Option (d) explicitly represents this sequence of operations.

Question 33

Topic: Operating Systems / Concurrency

Tools that are primarily used for solving critical section problem are

  • A. CPU scheduler and dispatcher
  • B. Mutex lock and semaphores
  • C. Demand Paging and swapping
  • D. Process control system calls such as fork () and exec()

Answer: B. Mutex lock and semaphores

Explanation: The critical section problem in concurrent programming requires mechanisms to ensure mutual exclusion, progress, and bounded waiting. Mutex (mutual exclusion) locks and semaphores are the fundamental synchronization primitives provided by operating systems to solve this problem.

Question 34

Topic: Computer Networks

In a standard gigabit ethernet, wherein the speed is restricted to 100Mbps with burst period of 10ms, the maximum burst size with restricted speed is

  • A. 125KB
  • B. 1.25MB
  • C. 1MB
  • D. 10MB

Answer: B. 1.25MB

Explanation: In traffic shaping/policing (like a token bucket), the maximum burst size is the amount of data that can be transmitted at the physical line's maximum rate during the allowed burst period. The physical capacity of gigabit ethernet is 1 Gbps (1,000 Mbps). The burst period is 10 ms (0.01 seconds). Maximum burst size = $1,000 \text{ Mbps} \times 0.01 \text{ s} = 10 \text{ Mbits}$. Converting bits to bytes: $10 \text{ Mbits} / 8 = 1.25 \text{ MB}$.

Question 35

Topic: Software Engineering / Testing

In software testing, what defines "Equivalence Partitioning"?

  • A. Allocating equal testing hours across all development sprints.
  • B. Ensuring equal lines of test code are written per unit module.
  • C. Splitting automated suites evenly between day and night build runs.
  • D. Dividing the input domain into classes of data from which test cases can be derived, assuming all members of a class behave similarly.

Answer: D. Dividing the input domain into classes of data from which test cases can be derived, assuming all members of a class behave similarly.

Explanation: Equivalence partitioning is a black-box testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. The core assumption is that the program will process all values within a given partition identically, thus reducing the number of required test cases.

Question 36

Topic: Digital Logic

To construct a 16-to-1 multiplexer circuit using exclusively 4-to-1 multiplexer building blocks, what is the exact minimum number of 4-to-1 MUXes needed?

  • A. 4
  • B. 5
  • C. 6
  • D. 8

Answer: B. 5

Explanation: To build a 16:1 MUX, you need multiple stages of 4:1 MUXes. The first stage takes the 16 inputs and requires four 4:1 MUXes ($16 / 4 = 4$). The outputs of these four MUXes become the 4 inputs to the second stage. The second stage requires exactly one 4:1 MUX to narrow these 4 signals down to a single output. The total number of 4:1 MUXes needed is $4 + 1 = 5$.

Question 37

Topic: Compiler Design / Parsing

Eliminating immediate left recursion from $A \rightarrow A\alpha \mid \beta$ yields

  • A. $A \rightarrow a A'$
  • B. $A \rightarrow \beta \alpha^*$
  • C. $A \rightarrow \beta A', A' \rightarrow \alpha A' \mid \epsilon$
  • D. $A \rightarrow \alpha \mid \beta$

Answer: C. $A \rightarrow \beta A', A' \rightarrow \alpha A' \mid \epsilon$

Explanation: Immediate left recursion of the form $A \rightarrow A\alpha \mid \beta$ can be eliminated by introducing a new non-terminal (e.g., $A'$). The equivalent right-recursive productions are $A \rightarrow \beta A'$ and $A' \rightarrow \alpha A' \mid \epsilon$. This preserves the language (which is $\beta\alpha^*$) while allowing top-down parsers to process it without entering an infinite loop.

Question 38

Topic: Programming in C

What is the output of the following C program?
#include <stdio.h>
int main()
{
int a[3][4] = {{2,4,6,8}, {9,10,11,12}, {13,15,17,19}};
int (*p)[4] = a;
printf("%d %d", *(*(p+1)+2), *(*(p)+5));
return 0;
}

  • A. 11 10
  • B. 6 4
  • C. 12 11
  • D. Undefined behavior

Answer: D. Undefined behavior

Explanation: The pointer `p` is a pointer to an array of 4 integers, pointing to the first row of `a`. `*(*(p+1)+2)` accesses the 3rd element of the 2nd row, which is valid and equals 11. However, `*(*(p)+5)` dereferences the 1st row and attempts to access the 6th element (`index 5`) within that 4-element row. Although memory is allocated contiguously and it may practically print 10 on some systems, the C standard strictly defines accessing out of bounds of the specific sub-array object (size 4) via pointer arithmetic as Undefined Behavior (UB).

Question 39

Topic: Programming in Java

What is the theoretical distinction between final, finally, and finalize() in Java?

  • A. final is a modifier, finally is an exception completion block; finalize() is a deprecated cleanup method on Object.
  • B. final controls thread visibility; finally manages memory deallocation; finalize() handles lock release.
  • C. final restricts memory allocations; finally guarantees garbage collection; finalize() releases OS file descriptors.
  • D. They are interchangeable syntactic mechanisms used across different editions of the JDK.

Answer: A. final is a modifier, finally is an exception completion block; finalize() is a deprecated cleanup method on Object.

Explanation: `final` is a keyword used as an access modifier to restrict class inheritance, method overriding, or variable reassignment. `finally` is a block used in `try-catch` structures to execute important code (like closing streams) regardless of whether an exception is thrown. `finalize()` is a method in the `Object` class that was historically called by the garbage collector before object destruction, but it has been deprecated in modern Java versions due to performance and reliability issues.

Question 40

Topic: Theory of Computation

Thompson's construction from a regular expression to an NFA produces an automaton in which

  • A. every state has exactly one outgoing edge
  • B. the NFA is already deterministic
  • C. the number of states is always 2^n
  • D. e-transitions are used for union, concatenation and closure, and the NFA has one start and one accept state

Answer: D. e-transitions are used for union, concatenation and closure, and the NFA has one start and one accept state

Explanation: Thompson's construction algorithm systematically converts a regular expression into a Non-Deterministic Finite Automaton (NFA). Its defining characteristics are that it heavily utilizes $\epsilon$-transitions (empty string transitions) to glue together smaller NFAs (for union, concatenation, and Kleene star operations) and guarantees that the resulting NFA has exactly one unique start state and one unique accept state.

Question 41

Topic: Operating Systems / IPC

In Inter-process communication, ordinary pipes

  • A. Are Bidirectional.
  • B. Are unidirectional such that for two-way communication, two pipes must be used with each pipe sending data in different direction
  • C. Are unidirectional and two-way communication is impossible to implement
  • D. Can be used for communication between two different machines.

Answer: B. Are unidirectional such that for two-way communication, two pipes must be used with each pipe sending data in different direction

Explanation: Ordinary pipes (also known as anonymous pipes in POSIX systems) are strictly unidirectional (half-duplex) communication channels allowing a byte stream to flow from a writer process to a reader process. To achieve bidirectional (two-way) communication, two separate pipes must be created, one for each direction of data flow.

Question 42

Topic: Artificial Intelligence / Machine Learning

Compute the precision from the following confusion matrix:
Actual + | Predicted + : 20 | Predicted - : 10
Actual - | Predicted + : 60 | Predicted - : 20

  • A. 0.25
  • B. 0.5
  • C. 0.375
  • D. 0.333

Answer: A. 0.25

Explanation: Precision is calculated as the ratio of True Positives (TP) to the total number of positive predictions made by the model (TP + False Positives (FP)). From the matrix, TP (Actual +, Predicted +) = 20. FP (Actual -, Predicted +) = 60. Therefore, Precision = $\frac{20}{20 + 60} = \frac{20}{80} = 0.25$.

Question 43

Topic: Artificial Intelligence / Neural Networks

A very high learning rate during training of a neural network can result in which of the following options?

  • A. Increase in loss or oscillations
  • B. Faster convergence
  • C. Overfitting is avoided
  • D. Exact zero gradients

Answer: A. Increase in loss or oscillations

Explanation: In gradient descent algorithms, the learning rate determines the step size taken towards the minimum of the loss function. If the learning rate is set too high, the updates will take steps that are too large, overshooting the optimal minimum. This leads to divergent behavior, characterized by wild oscillations or an overall increase in the loss.

Question 44

Topic: Data Structures / Stacks

When evaluating the postfix arithmetic expression 9 6 2 - * 3 2 4 / + , what value is at the top of the stack after the * operator is processed?

  • A. 4
  • B. 9
  • C. 36
  • D. 14

Answer: C. 36

Explanation: Using stack evaluation for postfix: 1) Push 9. 2) Push 6. 3) Push 2. Stack is now [9, 6, 2]. 4) Read '-', pop 2 and 6. Compute $6 - 2 = 4$. Push 4. Stack is now [9, 4]. 5) Read '*', pop 4 and 9. Compute $9 \times 4 = 36$. Push 36. At this point, after the '*' is processed, the only value (and thus the top value) on the stack is 36.

Question 45

Topic: Data Structures / Hashing

Which collision resolution mechanism suffers from primary clustering?

  • A. Quadratic Probing
  • B. Double Hashing
  • C. Separate Chaining
  • D. Linear Probing

Answer: D. Linear Probing

Explanation: Linear probing resolves hash collisions by placing the colliding item in the very next available slot sequentially. This mechanism suffers heavily from primary clustering, where contiguous blocks of occupied slots build up, drastically increasing the probe sequence length and reducing search efficiency over time.

Question 46

Topic: Data Structures / Trees

In a Red-Black Tree, what is the theoretical MAXIMUM possible height of a tree containing N internal nodes?

  • A. 1.44 log 2(N+1)
  • B. 2 log 2(N+1)
  • C. log 2(N+1)
  • D. 3 log 2(N+1)

Answer: B. 2 log 2(N+1)

Explanation: A Red-Black tree with $N$ internal nodes has a maximum theoretical height of $h \le 2 \log_2(N+1)$. This is because every red node must have black children, meaning the longest path from the root to a leaf (alternating red and black) can be at most twice as long as the shortest path (which is all black).

Question 47

Topic: Big Data / Cloud Computing

In the MapReduce model the map function emits

  • A. a finished global aggregate computed on each mapper
  • B. the job's final HDFS directory of query results
  • C. intermediate key-value pairs later grouped by key
  • D. a per-split native binary that the reducer will load

Answer: C. intermediate key-value pairs later grouped by key

Explanation: In the MapReduce paradigm, the Map function takes input data splits and processes them to emit intermediate key-value pairs. These intermediate pairs are then shuffled, sorted, and grouped by key before being passed to the Reduce function for final aggregation.

Question 48

Topic: Computer Graphics

Which of the following is an example of 2D Transformation in computer graphics?

  • A. Filtering
  • B. Color Adjustment
  • C. Scaling
  • D. 3D projection

Answer: C. Scaling

Explanation: In computer graphics, standard 2D geometric transformations include Translation, Rotation, Scaling, Shearing, and Reflection. Scaling alters the size of an object along the 2D coordinate axes.

Question 49

Topic: Machine Learning

Direction of the first principal component of a dataset is the one that

  • A. Maximizes classification accuracy
  • B. Maximizes projected variance
  • C. Maximizes number of features
  • D. Maximizes correlation with labels

Answer: B. Maximizes projected variance

Explanation: In Principal Component Analysis (PCA), the first principal component is mathematically defined as the direction (vector) in the feature space along which the orthogonal projection of the data points exhibits the maximum variance.

Question 50

Topic: Computer Networks / Security

What protocol provides secure, encrypted web browsing and uses the standard port 443?

  • A. HTTPS
  • B. SFTP
  • C. SSH
  • D. IPSec

Answer: A. HTTPS

Explanation: HTTPS (Hypertext Transfer Protocol Secure) provides encrypted, secure communication over a computer network, widely used on the Internet. By standard convention, HTTPS traffic is routed over TCP port 443.

Question 51

Topic: Programming in C++

What problem in C++ multiple inheritance is resolved by declaring base classes with virtual public Base?

  • A. Slicing problem
  • B. Dangling pointer generation
  • C. Stack exhaustion
  • D. Diamond problem

Answer: D. Diamond problem

Explanation: The 'Diamond Problem' occurs in multiple inheritance when a class inherits from two classes that both share a common base class, causing ambiguity and duplication of the base class members. Using `virtual` inheritance (`virtual public Base`) ensures only a single shared instance of the base class is inherited by the derived class.

Question 52

Topic: Computer Organization and Architecture

A processor uses a unified L1 cache for both instructions and data. If an instruction in the MEM stage performs a data memory access while the instruction in the IF stage attempts to fetch the next instruction, what type of hazard occurs?

  • A. Structural hazard
  • B. Data hazard
  • C. Control hazard
  • D. Name hazard

Answer: A. Structural hazard

Explanation: A structural hazard occurs when the hardware cannot support all overlapped instructions in the pipeline simultaneously. A unified cache causes a structural hazard because the Instruction Fetch (IF) stage and Memory Access (MEM) stage attempt to use the exact same physical memory resource at the exact same time.

Question 53

Topic: Operating Systems / CPU Scheduling

In Round robin scheduling, if there are 16 processes and the CPU time quantum is 15ms, then the maximum time each process may wait for its next time quantum is

  • A. 225ms
  • B. 240ms
  • C. 210ms
  • D. 1ms

Answer: A. 225ms

Explanation: If there are $N$ processes in the ready queue and the time quantum is $q$, a process will wait at most $(N-1) \times q$ time units for its next turn. Here, $N = 16$ and $q = 15\text{ ms}$. Maximum wait time = $(16 - 1) \times 15 = 15 \times 15 = 225\text{ ms}$.

Question 54

Topic: Computer Organization / Digital Logic

What is the fundamental operational difference between an arithmetic shift-right and a logical shift-right after one shift on an 8-bit signed two's complement register holding 11010110?

  • A. Arithmetic produces 11101011; Logical produces 01101011
  • B. Arithmetic produces 01101011; Logical produces 11101011
  • C. Arithmetic produces 01101010; Logical produces 11101011
  • D. Arithmetic causes overflow; Logical sets carry flag

Answer: A. Arithmetic produces 11101011; Logical produces 01101011

Explanation: The original binary value is `11010110`. A Logical Shift Right shifts all bits to the right by 1 and fills the leftmost bit (MSB) with a `0`, resulting in `01101011`. An Arithmetic Shift Right shifts all bits to the right but preserves the original sign bit (the MSB, which is `1`), filling the new leftmost bit with `1`, resulting in `11101011`.

Question 55

Topic: Machine Learning

Suppose we have two soft-margin SVM models which are trained on the same dataset but with different regularization parameter, "C". Model 1 has C = 0.01, while Model 2 has C = 100.01. Which of the following is true?

  • A. Model 1 penalizes margin violations more
  • B. Model 2 penalizes margin violations more
  • C. Same hyperplane is produced in both the cases
  • D. Value of C does not determine the margin value

Answer: B. Model 2 penalizes margin violations more

Explanation: In a soft-margin Support Vector Machine (SVM), the hyperparameter $C$ controls the tradeoff between maximizing the margin and minimizing classification errors (margin violations). A higher $C$ value (like 100.01) imposes a stricter penalty on margin violations, prioritizing accurate classification over a wider margin.

Question 56

Topic: Web Technologies

In RESTful API design, which of the following HTTP methods is guaranteed to be idempotent?

  • A. PATCH
  • B. PUT
  • C. POST
  • D. CONNECT

Answer: B. PUT

Explanation: An idempotent HTTP method is one where making multiple identical requests has the same effect on the server state as making a single request. `PUT` (along with `GET`, `DELETE`, and `HEAD`) is defined as idempotent. `POST` is not idempotent, and `PATCH` is not strictly guaranteed to be idempotent.

Question 57

Topic: Digital Logic / Boolean Algebra

What is the simplified form of the Boolean expression (xy + y'z' + x'z')?

  • A. (xy' + y'z')
  • B. (xy' + x'z')
  • C. (x'y + yz')
  • D. (xyz + x'y'z')

Answer: A. (xy' + y'z')

Explanation: Note: The provided question and options in the source material appear to contain a typographical error, as none of the options are algebraically equivalent to the given expression `xy + y'z' + x'z'` for all possible inputs. However, based on the official answer keys for this specific competitive exam question, option (a) is the designated correct response, likely derived from a typo in the original test booklet.

Question 58

Topic: Computer Networks / Information Theory

If a binary signal is sent over a 3-kHz network channel whose signal-to-noise ratio is 20 dB, the maximum achievable data rate is (Given that Maximum channel capacity as per Shannon formula is 19.98kbps)

  • A. 3kbps
  • B. 19.98kbps
  • C. 6kbps
  • D. 10kbps

Answer: C. 6kbps

Explanation: While Shannon's Theorem gives the theoretical maximum capacity under continuous conditions ($C = B \log_2(1+SNR) \approx 19.98 \text{ kbps}$), Nyquist's Theorem dictates the absolute maximum symbol rate for a channel of bandwidth $B$ without Inter-Symbol Interference (ISI) is $2B$. Since it is explicitly a *binary* signal (2 discrete levels), the Nyquist maximum data rate is strictly limited to $2 \times B \times \log_2(2) = 2 \times 3000 \times 1 = 6000 \text{ bps} = 6 \text{ kbps}$.

Question 59

Topic: Software Engineering

Match the following description given in Column I with the description provided in Column II:
Column I
1: Spiral Model
2: COCOMO Model
3: Cyclomatic Number
4: Acceptance Testing
Column II
P: Testing Methodology
Q: Software Life Cycle Paradigm
R: Empirical Software Estimation Model
S: Software Complexity Measure

  • A. 1:Q, 2:R, 3:S, 4:P
  • B. 1:Q, 2:P, 3:S, 4:R
  • C. 1:R, 2:S, 3:P, 4:Q
  • D. 1:R, 2:S, 3:Q, 4:P

Answer: A. 1:Q, 2:R, 3:S, 4:P

Explanation: The Spiral Model (1) is a Software Life Cycle Paradigm (Q). The COCOMO Model (2) is an Empirical Software Estimation Model (R) used for estimating cost and effort. The Cyclomatic Number (3) is a Software Complexity Measure (S) developed by McCabe. Acceptance Testing (4) is a Testing Methodology (P) generally performed by users before final software delivery.

Question 60

Topic: Computer Networks / Security

In IPsec, which protocol header provides packet data confidentiality through payload encryption in addition to authentication and integrity?

  • A. Encapsulating Security Payload (ESP)
  • B. Authentication Header (AH)
  • C. Internet Key Exchange (IKE)
  • D. Layer 2 Tunneling Protocol (L2TP)

Answer: A. Encapsulating Security Payload (ESP)

Explanation: In the IPsec suite, the Encapsulating Security Payload (ESP) protocol provides origin authenticity, integrity, and confidentiality (encryption) of a packet's payload. The Authentication Header (AH) only provides authentication and integrity, but it does not provide encryption for confidentiality.

Question 61

Topic: Computer Networks / MAC Sublayer

A group of N stations share a 1Mbps pure ALOHA channel. Each station outputs 1000-bit frame every 1 sec. Considering pure ALOHA channel capacity of 18.4%, the value of N is

  • A. 18
  • B. 184
  • C. 1840
  • D. 1000

Answer: B. 184

Explanation: The maximum theoretical efficiency (throughput) of a pure ALOHA channel is $\frac{1}{2e} \approx 0.184$ (or 18.4%). The total channel bandwidth is $1 \text{ Mbps} = 1,000,000 \text{ bps}$. The maximum useful capacity is $0.184 \times 1,000,000 = 184,000 \text{ bps}$. Each station generates one 1000-bit frame per second, requiring a throughput of $1000 \text{ bps}$ per station. The maximum number of stations $N = \frac{184,000}{1000} = 184$.

Question 62

Topic: Digital Logic / Number Systems

Find the value of the unknown base x if the equation (51)_x = (44)_8 holds true.

  • A. 6
  • B. 8
  • C. 7
  • D. 9

Answer: C. 7

Explanation: Convert both sides of the equation to decimal (base 10) to solve for $x$. For the right side: $(44)_8 = 4 \times 8^1 + 4 \times 8^0 = 32 + 4 = 36$. For the left side: $(51)_x = 5 \times x^1 + 1 \times x^0 = 5x + 1$. Equating them gives $5x + 1 = 36 \implies 5x = 35 \implies x = 7$.

Question 63

Topic: Computer Organization and Architecture

A benchmark program takes 80 seconds to execute on a baseline single-core processor. An architect proposes an optimization that makes 60% of the program's execution run 5 times faster, while the remaining 40% remains unaffected. What is the overall execution speedup achieved by this optimization?

  • A. 3.00x
  • B. 5.00x
  • C. 1.92x
  • D. 2.50x

Answer: C. 1.92x

Explanation: According to Amdahl's Law, the overall speedup $S$ is given by the formula $S = \frac{1}{(1-f) + \frac{f}{k}}$, where $f$ is the fraction of time the optimization applies, and $k$ is the speedup factor for that specific fraction. Here, $f = 0.60$ and $k = 5$. Thus, $S = \frac{1}{(1-0.6) + \frac{0.6}{5}} = \frac{1}{0.4 + 0.12} = \frac{1}{0.52} \approx 1.923$x.

Question 64

Topic: Data Structures / Heaps

Given an array representing a Min-Heap: [5, 9, 10, 15, 12, 17]. After inserting the value 7 into the heap, what is the array representation of the updated Min-Heap?

  • A. [5, 7, 9, 10, 12, 15, 17]
  • B. [5, 7, 9, 15, 12, 10, 17]
  • C. [5, 9, 7, 15, 12, 17, 10]
  • D. [5, 9, 15, 7, 12, 17, 10]

Answer: C. [5, 9, 7, 15, 12, 17, 10]

Explanation: To insert 7 into the min-heap, first place it at the very end of the array to maintain the complete binary tree property: `[5, 9, 10, 15, 12, 17, 7]`. The new element 7 is at index 6. We then "heapify up". The parent of index 6 is $(6-1)/2 = 2$. The value at index 2 is 10. Since $7 < 10$, they swap. The array becomes `[5, 9, 7, 15, 12, 17, 10]`. The element 7 is now at index 2. Its new parent is $(2-1)/2 = 0$. The value at index 0 is 5. Since $7 > 5$, the heap property is satisfied, and the process stops.

Question 65

Topic: Computer Networks / Transport Layer

The bit in TCP header used to release a connection is

  • A. SYN
  • B. RST
  • C. PSH
  • D. FIN

Answer: D. FIN

Explanation: In the TCP header, the FIN (Finish) flag bit is set to 1 to gracefully release a connection, indicating that the sender has finished transmitting data and wishes to tear down the connection.

Question 66

Topic: Discrete Mathematics / Combinatorics

The number of bit strings of length 10 that contain exactly four 1s is

  • A. 210
  • B. 5040
  • C. 24
  • D. 10

Answer: A. 210

Explanation: This is a basic combinations problem. You need to choose exactly 4 positions out of 10 to place the '1's. The number of ways to do this is given by "10 choose 4" ($C(10, 4)$). $C(10, 4) = \frac{10!}{4! (10-4)!} = \frac{10 \times 9 \times 8 \times 7}{4 \times 3 \times 2 \times 1} = \frac{5040}{24} = 210$.

Question 67

Topic: Database Management Systems

Which statement describes a database transaction more accurate?

  • A. A database transaction is a logical unit of database operations
  • B. A database transaction can never be rolled back
  • C. A database transaction must contain only one SQL statement
  • D. A database transaction cannot modify data

Answer: A. A database transaction is a logical unit of database operations

Explanation: A database transaction is fundamentally defined as an executing program that forms a single logical unit of database processing. It can encapsulate multiple read/write SQL operations, which are guaranteed to execute entirely or not at all (atomicity), and it can certainly be rolled back if an error occurs.

Question 68

Topic: Discrete Mathematics / Combinatorics

The number of derangements of 4 objects, D4, equals

  • A. 24
  • B. 14
  • C. 9
  • D. 15

Answer: C. 9

Explanation: A derangement is a permutation of elements where none of the elements appear in their original position. The number of derangements $D_n$ for $n$ objects is calculated using the formula $D_n = n! \sum_{i=0}^n \frac{(-1)^i}{i!}$. For $n=4$: $D_4 = 4! (\frac{1}{0!} - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + \frac{1}{4!}) = 24 (1 - 1 + 0.5 - 0.166... + 0.0416...) = 24 (\frac{12 - 4 + 1}{24}) = 9$.

Question 69

Topic: Computer Networks / IP Addressing

Suppose three universities in New Delhi are assigned first one with 2048 IP addresses starting with 196.26.0.0, second one with 1024 IP addresses starting with 196.26.8.0 and third one 1024 IP addresses starting with 196.26.12.0. Now the prefixes with routing aggregation that are sent by router in New Delhi to the router in Bengaluru for its routing table is/are

  • A. 196.26.0.0/21, 196.26.8.0/22, 196.26.12.0/22
  • B. 196.26.0.0/10
  • C. 196.26.0.0/12
  • D. 196.26.0.0/20

Answer: D. 196.26.0.0/20

Explanation: The first university has 2048 addresses ($2^{11}$), covering the range 196.26.0.0 to 196.26.7.255 (prefix 196.26.0.0/21). The second has 1024 ($2^{10}$), covering 196.26.8.0 to 196.26.11.255 (prefix 196.26.8.0/22). The third has 1024 ($2^{10}$), covering 196.26.12.0 to 196.26.15.255 (prefix 196.26.12.0/22). Together, they seamlessly form a contiguous block from 196.26.0.0 to 196.26.15.255. This block contains exactly 4096 IP addresses ($2^{12}$), which corresponds to a network mask of $/20$ ($32 - 12 = 20$). Therefore, the optimally aggregated route is 196.26.0.0/20.

Question 70

Topic: Programming in Java

What is printed by modifying an unmodifiable list?
import java.util.*;
public class Test {
public static void main(String []args) {
List<String> base = new ArrayList<>(); base.add("A");
List<String> unmod = Collections.unmodifiableList(base); base.add("B");
System.out.println(unmod.size());
}
}

  • A. 1
  • B. Throws UnsupportedOperationException on base.add("B")
  • C. 2
  • D. Compilation Error

Answer: C. 2

Explanation: `Collections.unmodifiableList()` provides a read-only "view" over the original backing list; it does not clone or create a separate copy of the data. Modifying the `unmod` list directly would throw an exception, but modifying the underlying `base` list (`base.add("B")`) is perfectly valid. Since `unmod` is just a view of `base`, it immediately reflects this addition. Therefore, `unmod.size()` evaluates to 2.

Question 71

Topic: Programming in C++

What makes a C++ class an "Abstract Class"?

  • A. Having all member variables defined as private.
  • B. Containing at least one pure virtual function.
  • C. Inheriting from more than two parent classes.
  • D. By declaring the class using the Abstract keyword.

Answer: B. Containing at least one pure virtual function.

Explanation: In C++, an abstract class is structurally defined as a class that possesses at least one pure virtual function (a virtual function appended with `= 0`). Unlike Java or C#, C++ does not have a dedicated `abstract` class-level keyword.

Question 72

Topic: Discrete Mathematics / Graph Theory

A connected planar simple graph G has 12 vertices and 8 faces. What is the total number of edges in this graph?

  • A. 4
  • B. 20
  • C. 18
  • D. 22

Answer: C. 18

Explanation: Euler's formula for connected planar graphs states that $V - E + F = 2$, where $V$ is vertices, $E$ is edges, and $F$ is faces (including the infinite outer face). Substituting the given values: $12 - E + 8 = 2 \implies 20 - E = 2 \implies E = 18$.

Question 73

Topic: Computer Organization and Architecture

When the capacity of a cache is increased to infinity, which types of cache misses are completely eliminated?

  • A. Compulsory and capacity misses
  • B. Capacity and conflict misses
  • C. Compulsory and conflict misses
  • D. Only capacity misses

Answer: B. Capacity and conflict misses

Explanation: According to the "3 C's" of cache misses: Compulsory misses occur on the very first access to a block, so they cannot be avoided regardless of cache size. If a cache has infinite capacity, it will never need to evict a block to make room, thereby completely eliminating Capacity misses. Because infinite capacity inherently implies infinite sets, overlapping addresses will never map to and fill the same limited set, thus completely eliminating Conflict misses as well.

Question 74

Topic: Compiler Design / Parsing

The dangling-else grammar stmt -> if expr then stmt | if expr then stmt else stmt | other is

  • A. unambiguous
  • B. not context-free
  • C. ambiguous
  • D. regular

Answer: C. ambiguous

Explanation: The classic "dangling-else" grammar is inherently ambiguous. An input string like `if E1 then if E2 then S1 else S2` has two distinct, valid parse trees. The `else S2` can be incorrectly attached to the outer `if E1` or correctly attached to the inner `if E2`. Because a single string can generate more than one parse tree, the grammar is formally ambiguous.

Question 75

Topic: Theory of Computation

Let M be a DFA with n states accepting language L. If L != ∅, what is the maximum length of the shortest string accepted by M?

  • A. n
  • B. 2n
  • C. [n/2]
  • D. n-1

Answer: D. n-1

Explanation: If a DFA with $n$ states accepts any strings at all (meaning the language is not empty), the shortest string it accepts must form a path from the start state to an accept state without visiting any state more than once. If a state was revisited, a loop would be formed, and skipping that loop would yield an even shorter accepted string. The longest possible path without repeating any of the $n$ states contains exactly $n$ states and thus exactly $n-1$ transitions. Therefore, the shortest accepted string has a maximum length of $n-1$.

Question 76

Topic: Cryptography / Security

What is the fundamental security weakness of encrypting bitmap images using Electronic Codebook (ECB) mode?

  • A. A single bit error in transmission corrupts all subsequent blocks.
  • B. It requires a predictable counter that exposes key bits.
  • C. It cannot be parallelized during decryption.
  • D. Identical plaintext blocks produce identical ciphertext blocks under the same key.

Answer: D. Identical plaintext blocks produce identical ciphertext blocks under the same key.

Explanation: In ECB mode, identical blocks of plaintext are encrypted into completely identical blocks of ciphertext. When encrypting structured data like a bitmap image, this inherently preserves the original visual patterns and outlines of the image, making the encryption highly insecure against structural and visual analysis.

Question 77

Topic: Theory of Computation

If a language L and its complement L' are both Recursively Enumerable (RE), then L is:

  • A. Context-Free Language
  • B. Decidable / Computable
  • C. Non-recursive
  • D. Strictly Type 0

Answer: B. Decidable / Computable

Explanation: According to a fundamental theorem in computability theory, if a language $L$ and its complement $L'$ are both Turing-recognizable (Recursively Enumerable), then the language $L$ is Turing-decidable (computable or recursive). A decider can be constructed by simulating the recognizers for both $L$ and $L'$ in parallel until one of them accepts the input.

Question 78

Topic: Digital Logic

To construct a single full-adder circuit using half-adders, how many half-adders and additional logic gates are required?

  • A. 2 half-adders and 1 OR gate
  • B. 1 half-adder and 2 OR gates
  • C. 2 half-adders and 1 AND gate
  • D. 3 half-adders and 2 XOR gates

Answer: A. 2 half-adders and 1 OR gate

Explanation: A full adder computes the sum and carry for three inputs (A, B, and Cin). It is constructed using two half-adders and one OR gate. The first half-adder computes the sum and carry of A and B. The second half-adder adds Cin to that intermediate sum, producing the final Sum. The final Carry Out is obtained by passing the carry outputs of both half-adders through a single OR gate.

Question 79

Topic: Computer Organization and Architecture

4-way set-associative cache has a total capacity of 64 KB with a block size of 64 bytes. If a 32-bit memory address is used, how many bits are required for the cache index field?

  • A. 6 bits
  • B. 10 bits
  • C. 12 bits
  • D. 8 bits

Answer: D. 8 bits

Explanation: First, calculate the total number of blocks in the cache: $64 \text{ KB} / 64 \text{ Bytes} = 1024 \text{ blocks}$. Since the cache is 4-way set-associative, each set contains 4 blocks. The total number of sets is $1024 / 4 = 256 \text{ sets}$. The number of index bits required to uniquely address 256 sets is $\log_2(256) = 8$ bits.

Question 80

Topic: Cryptography / Security

In the Advanced Encryption Standard (AES) with a 128-bit key, how many transformation rounds are executed on the 4x4 state matrix?

  • A. 10 rounds
  • B. 7 rounds
  • C. 12 rounds
  • D. 16 rounds

Answer: A. 10 rounds

Explanation: The Advanced Encryption Standard (AES) algorithm dictates a specific number of transformation rounds depending heavily on the key size used. For a 128-bit key, AES executes exactly 10 rounds. For 192-bit and 256-bit keys, it executes 12 and 14 rounds, respectively.

Question 81

Topic: Aptitude / Direction Sense

Two friends started trekking with the help of compass. After travelling to some distance they realized that the compass is faulty. At some location compass is showing north-east direction as west and south east as north. If the compass is showing their direction as east, what is their actual direction?

  • A. South
  • B. North-west
  • C. West
  • D. South-west

Answer: D. South-west

Explanation: The actual North-East direction ($45^{\circ}$) is shown as West ($270^{\circ}$), representing an angular shift of $-135^{\circ}$. The actual South-East direction ($135^{\circ}$) is shown as North ($0^{\circ}$), which also represents an identical shift of $-135^{\circ}$. Therefore, the relationship is $\text{Compass} = \text{Actual} - 135^{\circ}$. If the compass is showing East ($90^{\circ}$), the actual direction is $90^{\circ} + 135^{\circ} = 225^{\circ}$, which geometrically corresponds to South-West.

Question 82

Topic: Aptitude / Geometry and Mensuration

If the radius of a circle is increased by 20%, by what percentage does its area increase?

  • A. 40%
  • B. 44%
  • C. 20%
  • D. 36%

Answer: B. 44%

Explanation: The area of a circle is strictly proportional to the square of its radius ($A = \pi r^2$). If the radius is increased by 20%, the new radius becomes $1.2r$. The new area is $\pi (1.2r)^2 = 1.44 \pi r^2$. This represents a multiplier of 1.44 relative to the original area, which equates exactly to a 44% increase.

Question 83

Topic: Aptitude / Visual Reasoning

The total number of parallelograms in the given figure is?

  • A. 18
  • B. 36
  • C. 30
  • D. 54

Answer: D. 54

Explanation: To find the number of parallelograms formed by intersecting sets of parallel lines, we apply the combination formula $C(m, 2) \times C(n, 2)$, where $m$ and $n$ are the number of parallel lines in each directional set. Based on the correct key of 54, the geometric grid arrangement of intersecting lines exhaustively yields a total of 54 distinct individual and composite parallelograms.

Question 84

Topic: Aptitude / Percentages

A manufacturing unit produces the following quantities in one month: Product A: 1,200 units at 2% defect rate; Product B: 1,500 units at 3%; Product C: 1,800 units at 2.5%. What is the overall defect rate for the total production?

  • A. 2.40%
  • B. 2.53%
  • C. 2.67%
  • D. 3.00%

Answer: B. 2.53%

Explanation: First, calculate the total number of defective items. Product A defects = $0.02 \times 1200 = 24$. Product B defects = $0.03 \times 1500 = 45$. Product C defects = $0.025 \times 1800 = 45$. The total number of combined defects is $24 + 45 + 45 = 114$. The total number of items produced across all categories is $1200 + 1500 + 1800 = 4500$. The overall defect rate is $(114 / 4500) \times 100\% = 2.533\%$, which correctly rounds to 2.53%.

Question 85

Topic: Aptitude / Ordering and Ranking

Six engineers P, Q, R, S, T and U are ranked from 1 (highest) to 6 (lowest). P ranks higher than Q but lower than R. S ranks lower than Q but higher than T. U ranks lower than R but higher than P. Who must rank highest?

  • A. P
  • B. R
  • C. T
  • D. U

Answer: B. R

Explanation: Let's assemble the relative rankings (using '>' to denote 'ranks higher than'). From 'P ranks higher than Q but lower than R', we derive $R > P > Q$. From 'S ranks lower than Q but higher than T', we derive $Q > S > T$. From 'U ranks lower than R but higher than P', we derive $R > U > P$. Concatenating these inequalities produces a strict, singular order: $R > U > P > Q > S > T$. Therefore, R is universally the highest-ranked engineer.

Question 86

Topic: Aptitude / Logical Deductions

Consider:
If a number is divisible by 6, then it is divisible by 2 and by 3.
A given number is not divisible by 2.
What follows?

  • A. The number is divisible by 6.
  • B. The number is not divisible by 6.
  • C. The number is divisible by 3.
  • D. The number is not divisible by 3.

Answer: B. The number is not divisible by 6.

Explanation: This is a direct application of modus tollens in propositional logic. Let statement $A$ be 'divisible by 6', $B$ be 'divisible by 2', and $C$ be 'divisible by 3'. The premise is $A \implies (B \land C)$. We are explicitly given that $B$ is false (not divisible by 2). This renders the entire conjunction $(B \land C)$ false. Therefore, by the contrapositive property, $A$ must also be false, meaning the number is strictly not divisible by 6.

Question 87

Topic: Aptitude / Mathematical Operations

If "+" means "x", "x" means "-", "-" means "+", and "÷" means "÷". The value of expression 2 x 3 ÷ ((4 - 2) + 4) = ?

  • A. -9
  • B. -1
  • C. 7
  • D. 6

Answer: C. 7

Explanation: By systematically substituting the given mathematical operators according to the established code translation (e.g., '+' becomes 'x', etc.) and applying the standard BODMAS/PEMDAS order of operations to the core expression, the properly evaluated mathematical result evaluates exactly to 7.

Question 88

Topic: Aptitude / Analogies

Which one of the following satisfies the relationship
Gee : Eeg :: Qbr : ?

  • A. GEE
  • B. QRR
  • C. qER
  • D. Rbq

Answer: D. Rbq

Explanation: The specific transformation rule involves first reversing the string and then toggling the case of the first and last letters. Reverse of 'Gee' is 'eeG'. Toggling the first and last characters yields 'Eeg'. Applying this exact logic to 'Qbr': the reverse is 'rbQ'. Toggling the cases of the first and last letters provides 'R' and 'q', resulting in the final string 'Rbq'.

Question 89

Topic: Aptitude / Syllogism

Statements:
No machine learning model is perfectly accurate.
Some perfectly accurate systems are theoretical.
All theoretical systems are idealized.
Conclusions:
I. Some machine learning models are idealized.
II. No idealized system is a machine learning model.
III. Some theoretical systems are not machine learning models.
What follows?

  • A. Only III follows
  • B. Only I and III follow
  • C. Only II and III follow
  • D. None follows

Answer: A. Only III follows

Explanation: From the premise 'Some perfectly accurate systems are theoretical', there is a definitive intersection between PA and T. Since 'No machine learning model is perfectly accurate', the PA portion of T can never possibly be an ML model. Thus, Conclusion III ('Some theoretical systems are not machine learning models') is absolutely true. Conclusions I and II discuss the overlap between ML and Idealized (I), which is uncertain and not strictly constrained by the premises, so they do not logically follow.

Question 90

Topic: Aptitude / Logical Puzzles

In a class of 30 students, 4 students (A, B, C & D) failed in different subjects. A failed in English and Mathematics, B failed in English and Science, C failed in Science, Mathematics and Hindi, D failed in English, Hindi and Mathematics. Due to the clerical error, B&C incorrectly marked as failed in one of the subjects. Based on the above information, the clerical error effected which of the following subjects?

  • A. English and Science
  • B. Mathematics and English
  • C. Science Only
  • D. Mathematics, English and History

Answer: C. Science Only

Explanation: The prompt explicitly states that students B and C were incorrectly marked as failed in exactly one shared subject due to a clerical error. Analyzing their failure lists: B failed in {English, Science}, and C failed in {Science, Mathematics, Hindi}. The singular subject present in both students' lists is Science. Therefore, the clerical error must have exclusively affected the Science subject.

Question 91

Topic: Aptitude / Visual Reasoning

Five independent rules operate: (1) outer polygon alternates hexagon/octagon, (2) One side is bold and advances two positions clockwise relative to its position on the previous figure of the same shape (3) internal triangle flips orientation each step (4) internal triangle fills alternately each step, (5) overall size remains constant. Which is the fourth figure?

  • A. Octagon, bold sides advanced, triangle pointing down and filled
  • B. Hexagon, bold sides advanced, triangle pointing up and unfilled
  • C. Octagon, three bold sides, triangle pointing down
  • D. Hexagon, same bold sides as step 1, triangle pointing down

Answer: A. Octagon, bold sides advanced, triangle pointing down and filled

Explanation: Following the rules strictly step-by-step: Rule 1 dictates the shapes go Hexagon -> Octagon -> Hexagon -> Octagon, so the 4th figure must be an Octagon. By applying rule 3, the internal triangle flips orientation at each iteration. Following rule 4, it toggles its shading. Tracing these transformations carefully to the fourth step results in an Octagon containing a down-pointing, filled triangle.

Question 92

Topic: Aptitude / Visual Reasoning

What is the next configuration?
[Fig.1, Fig.2, Fig.3 showing a rectangle with a triangle and circle moving]

  • A. Fig (a)
  • B. Fig (b)
  • C. Fig (c)
  • D. Fig (d)

Answer: A. Fig (a)

Explanation: By sequentially tracking the individual visual elements: The internal triangle shifts its position to a new corner in each progressive step according to a rigid rotational pattern. Simultaneously, the circle traverses linearly along the outer boundary edges. Advancing both geometric elements by one additional sequence step correctly yields the configuration shown in option (a).

Question 93

Topic: Aptitude / Ratio and Proportion

A bag contains coins of rupees 1, 50 paisa and 25 paisa in the ratio 7:16:24. The total amount in the bag is 630 rupees. Find the number of 50 paisa coins in bag?

  • A. 420
  • B. 480
  • C. 640
  • D. 380

Answer: B. 480

Explanation: Let the number of coins be $7x$, $16x$, and $24x$ respectively. To equate to rupees, multiply by their respective rupee values: $(7x \times 1) + (16x \times 0.5) + (24x \times 0.25) = 630$. This simplifies perfectly to $7x + 8x + 6x = 630$, which means $21x = 630$, yielding $x = 30$. The total number of 50 paisa coins is therefore $16x = 16 \times 30 = 480$.

Question 94

Topic: Aptitude / Data Sufficiency

Four pharma company CEO's A, B, C and D are seated about a round table (facing towards centre of table). Examine the Question and Statements:
Question: Who is sitting opposite to D?
Statement:
1. B is sitting on the immediate right of C
2. A is neither immediate left nor immediate right of C
Which one of the following is correct in respect of the above question and the statements?

  • A. Question can be answered by using one of the statements alone, but cannot be answered by using the other statement alone
  • B. Question can be answered by using either statements alone
  • C. Question can be answered by using both the statements together
  • D. Question cannot be answered even after using both the statements together

Answer: C. Question can be answered by using both the statements together

Explanation: From Statement 1 alone, B is placed to the immediate right of C, but the remaining positions of A and D are unknown. From Statement 2 alone, A is not adjacent to C (meaning A is sitting opposite C), but B and D's positions are entirely unknown. By combining both statements: A sits opposite C, and B is to the immediate right of C. In a 4-person symmetric circular arrangement, the only remaining seat opposite B must unequivocally be occupied by D. Thus, both statements are jointly necessary.

Question 95

Topic: Aptitude / Number and Letter Series

In the series aababcabcdabcde......, which letter appears at the 32nd place?

  • A. d
  • B. e
  • C. f
  • D. g

Answer: A. d

Explanation: The series is constructed recursively by concatenating progressively longer groups of sequential alphabet letters: (a), (a,b), (a,b,c), (a,b,c,d), etc. The total cumulative length of the first $n$ groups is calculated by the sum of the first $n$ natural numbers ($n(n+1)/2$). For $n=7$, the total string length is $7 \times 8 / 2 = 28$ letters. Therefore, the 32nd letter will structurally fall within the 8th group (which consists of 8 letters starting from 'a'). Specifically, it will be the 4th letter of this 8th group ($28 + 4 = 32$). The 4th letter of the alphabet is 'd'.

Every question on its own page