You can boost your Computer Science Engineering (CSE) 2026 exam preparation with this GATE Mock Test Computer Science Engineering (CSE) - 1 (available with detailed solutions).. This mock test has been designed with the analysis of important topics, recent trends of the exam, and previous year questions of the last 3-years. All the questions have been designed to mirror the official pattern of Computer Science Engineering (CSE) 2026 exam, helping you build speed, accuracy as per the actual exam.
Mock Test Highlights:
Sign up on EduRev for free and get access to these mock tests, get your All India Rank, and identify your weak areas to improve your marks & rank in the actual exam.
Find the number of digits in 176440, given that log6 = 0.778 and log7 = 0.845:
Detailed Solution: Question 1
Direction: Choose the correct synonym (word with similar meaning) of the head word form the four options given and mark the right option.
DEFIANCE
Detailed Solution: Question 2
If all the students of class VI shake hands with each other and the total number of the handshake is 780. Find the number of students in class VI:
Detailed Solution: Question 3
The scores of 15 students in an examination were recorded as 10,5,8,16,18,20,8,10,16,20,18,11,16,14 and 12. After calculating the mean, median and mode, an error is found. One of the values is wrongly written as 16 instead of 18. Which of the following measures of central tendency will change?
Detailed Solution: Question 4
Direction: Given below is an idiom/phrase which is followed by four alternative meanings to each. Choose the correct option which is the most appropriate meaning.
Gordian knot
Detailed Solution: Question 5
Look at this series: 2, 6, 12, 20, 30, 42, ...
What number should come next?
Detailed Solution: Question 6
One of the four words given in the four options does not fit the set of words. The odd word from the group is:
Detailed Solution: Question 7
Directions: The question is based on the following bar graph giving the number of students in different branches of an engineering college for the years 1996-1997 and 1997-98.

The percentage decrease in electronics students of ABC Engineering College for the period 1996-97 to 1997-98 exceeds the percentage decrease in electronics students of XYZ Engineering College for the same period by:
Detailed Solution: Question 8
Directions: Read the given statement carefully and answer the question that follows.
Statement: There were different streams of freedom movements in colonial India carried out by the moderates, liberals, radicals, socialists and so on.
Which of the following is the best inference from the above statement?
Detailed Solution: Question 9
A bottle of whisky contains 3/4 th whisky and the rest is water. What quantity of the mixture must be taken away and substituted by equal quantity of water to have half whisky and half water?
Detailed Solution: Question 10
A bolt is manufactured by 3 machines A, B and C. Machine A turns out twice as many items as B and machines B and C produce an equal number of items. 2% of bolts produced by A and B are defective and 4% of bolts produced by C are defective. All bolts put into 1 stockpile and 1 is chosen from this pile. What is the probability that it is defective?
Detailed Solution: Question 11
Which statement defines an Algorithm?
Detailed Solution: Question 12
The initial congestion window size over a TCP is 1. If slow strat algorithm is used and the size of congestion window incremented by 1 whenever an ACK is received i.e. after first round trip time congestion window size is 2 segments. Assume connection never leaves slow start. Find the number of RTT’s to send 3999 segments:
Detailed Solution: Question 13
Which of the following statement is wrong?
Detailed Solution: Question 14
Consider the following grammar G:
S → X|a|YXZ
X → Y∣b
Y → S∣c
Z → d
After removing the left recursion how many Production Rules exist in the grammar.
(In G there are 8 Production Rules)
Detailed Solution: Question 15
The standard ordered basis of R3 is {e1,e2,e3}. Let T:R3 → R3 be the linear transformation such that,
T(e1)=7e1−5e3, T(e2)=−2e2+9e3,T(e3)=e1+e2+e3
The standard matrix of T is:
Detailed Solution: Question 16
The output of a multiplexer shown below is:
f (w1, w2, w3, w4) = 

The boxes 1,2 and 3 represents 2 input logic gates.
Which of the following statements is/are true?
Detailed Solution: Question 17
Consider the following program written in C:
#include<stdio.h>
f(int a, int b)
{
if(b != 0)
{
if(a != 0)
{
printf("#");
f(a/2, b);
}
}
else
{
b = b - 1;
f(1024, b);
}
}
int main()
{
f(2048,2048);
}
The number of times # will be printed is __________.
Detailed Solution: Question 18
Processes P1,P2,P3 and P4 run on a single processor. Arrival time of processes P1,P2,P3 and P4 are 1,3,3 and 5 ms respectively while computation time of P1,P2,P3 and P4 are 2,X,5 and 7 ms respectively. Algorithm used by processor for processing is Shortest Job First. If the average time turnaround time is
13/2 ms then the value of X is_____________ ms (computation time of P2 is less than P4).
Detailed Solution: Question 19
Foreign key is a set of attributes references to primary key or alternative key of same relation or some other relation. Select the correct option regarding the foreign key:
Detailed Solution: Question 20
Consider the following schedule S of transactions T1,T2,T3,T4:

Which one of the following statement/s is correct?
Detailed Solution: Question 21
Consider the two processors P1 and P2 with intermediate register gateway is 0.
P1: Has four stage pipeline with stage latency 1.5 n/sec, 2 n/sec, 1 n/sec and 0.5 n/sec.
P2: Has five stage pipeline with stage latency 1 n/sec, 2.5 n/sec, 1.5 n/sec, 2 n/sec and 1 n/sec.
If each processor has infinite number of instruction to execute, then which of the following is true?
Detailed Solution: Question 22
Consider the following multiplexer where 0,1,2,3 are four data input lines selected by two address line combinations of CB =00, 01,10,11 respectively and f is the output of the multiplexer:

The function f(S2, S1, A) implemented by the above circuit is?
Detailed Solution: Question 23
Let L = { anbmcmdn | n, m >= 1 }. Which of the following grammars generates L?
Detailed Solution: Question 24
Consider the following problems, which among them can be implemented on a Turing machine :
S1: Calculating GCD of two numbers.
S2: Copying string.
S3: Predicting the result of tomorrow's cricket match.
S4: Calculating surface area of given cone dimensions.
Detailed Solution: Question 25
Which of the given below options is/are FALSE?
Detailed Solution: Question 26
Find derivative of the f(x) = 
Detailed Solution: Question 27
The simplified SOP (Sum of Product) form of the Boolean expression 
Detailed Solution: Question 28
Let S be a set of n elements. The number of ordered pairs in the largest and the smallest equivalence relations on S is
Detailed Solution: Question 29
Consider a non-pipelined machine with 6 stages; the lengths of each stage are 20 ns,10 ns,30 ns,25 ns,40 ns, and 15 ns respectively. Suppose for implementing the pipelining the machine adds 5 ns of overhead to each stage for clock skew and set up. What is the speed up factor of the pipelining system (ignoring any hazard impact)?
Detailed Solution: Question 30