You can boost your Computer Science Engineering (CSE) 2026 exam preparation with this GATE Mock Test Computer Science Engineering (CSE) - 6 (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.
How many different salads can be made from onion, cucumber, tomato, and carrot?
Detailed Solution: Question 1
Direction: In the following question, a sentence is given with blank to be filled in with appropriate word. Some alternatives are suggested for each question. Choose the correct alternative from the given alternatives.
The child was so spoiled by her indulgent parents that she became ________ when she did not receive all of their attention.
Detailed Solution: Question 2
Direction: Study the following pie chart carefully & answer the question given below it.
The pie chart given below shows the break-up of the cost of construction of a house (in degrees). Assuming that the total cost of construction is Rs. 60000, answer the question given below.

The amount spent on labour exceeds the amount spent on supervision by:
Detailed Solution: Question 3
What will be the value of expression log cot9o + log cot45o + log cot81o ?
Detailed Solution: Question 4
From the given four options choose the correct sentence:
Detailed Solution: Question 5
Directions: Select from the options given below that would best replace the underlined part of the sentence.
A corporation created by the federal government during the Great Depression, the Tennessee Valley Authority (TVA) is responsible for flood control, must generate electric power, and soil conservation.
Detailed Solution: Question 6
What is the chance that a leap year, selected at random, will contain 53 Sundays?
Detailed Solution: Question 7
In a group, the ratio of the number of boys to the number of girls is P. The ratio of the number of girls to the number of boys is Q, then P + Q is always
Detailed Solution: Question 8
The ratio of cost price and marked price of a cell phone is 2 : 3 and ratio of profit percentage and discount percentage is 3 : 2. What is the discount percentage?
Detailed Solution: Question 9
Directions: In the question given below, a statement is followed by three courses of action labelled (A), (B) and (C). A course of action is a step or administrative decision to be taken for improvement, follow-up or further action in regard to the problem, policy, etc. On the basis of the information given in the statement, you have to assume everything in the statement to be true and then decide which of the suggested courses of action logically follow(s) for pursuing.
Statement: Many political activists have decided to stage demonstrations and block traffic movement in the city during peak hours to protest against the steep rise in prices of essential commodities.
Courses of action:
(A) The Govt. should immediately ban all forms of agitations in the country.
(B) The police authority of the city should deploy additional forces all over the city to help traffic movement in the city.
(C) The state administration should carry out preventive arrests of the known criminals staying in the city.
Detailed Solution: Question 10
In a binary tree with n nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What is the number of nodes in the tree that has exactly one child?
Detailed Solution: Question 11
Consider the below given table in which regular expression is mapped to unique token:

What will be the output when the string "pppqppqprpqp" is scanned by the lexical analyzer if the analyzer outputs the token that matches the longest possible prefix if it is mandatory to use all the tokens at least once?
Detailed Solution: Question 12
Consider the following five disk access requests of the form (request-id, cylinder number) that are present in the disk scheduler queue at a given time.
(P, 155), (Q, 85), (R, 110), (S, 30), (T, 115)
Assume the head is positioned at cylinder 100. The scheduler follows Shortest Seek Time First scheduling to service the requests.
Which one of the following statements is/are true?
Detailed Solution: Question 13
Consider the relation given below and find the maximum normal form applicable to them:
Detailed Solution: Question 14
Consider the following grammar G:
S → aXa ⎪ bXb ⎪ a ⎪ b
X → aX ⎪ bX ⎪ ε
Identify the language generated by the above G?
Detailed Solution: Question 15
If the system,
2x − y + 3z = 2
x + y + 2z = 2
5x − y + az = b
Has infinitely many solutions, then the values of a and b, respectively, are:
Detailed Solution: Question 16
Consider the following four processes with arrival times (in milliseconds) and their length of CPU bursts (in milliseconds) as shown below:

These processes are run on a single processor using preemptive Shortest Remaining Time First scheduling algorithm. If the average waiting time of the processes is 1 illisecond, then the value of Z is ________.
Detailed Solution: Question 17
Consider a person wants to make change for Rs. 1873 and he has infinite supply of denomination i.e. 1, 2, 5, 10, 20, 50, 100, 500, 1000 valued coins. What is the minimum number of coins needed to make the change?
Detailed Solution: Question 18
If T1 and T2 are average access time of upper level memory M1 and lower level memory M2 in a 2- level memory hierarchy and H is the hit rate in M1, then the overall average access time is given by _______, assuming that in case of a miss in M1, a block is first copied from M2 to M1 and then accessed from M1.
Detailed Solution: Question 19
Which of the given schedules is/are recoverable?
Detailed Solution: Question 20
Which of the following statements are true?
S1: Inserting n elements into empty binary heap takes O(n) time.
S2: The most efficient algorithm take O(m+n) time for finding number of connected components in undirected graph of n vertex and m edges.
Detailed Solution: Question 21
By which of the following, spatial locality of reference is achieved?
Detailed Solution: Question 22
A message consisting of 2400 bits is to be passed over the Internet. The message is passed to the transport layer which appends a 150-bits header, followed by the network layer which uses a 120-bits header. Network layer packets are transmitted via two networks, each of which uses a 26-bits header. The destination network only accepts up to 900-bits long. The number of bits, including headers delivered to the destination network, is:
Detailed Solution: Question 23
Which of the following languages is/are undecidable?
Note: M indicates the encoding of the Turing machine M?
Detailed Solution: Question 24
Consider the following segment table in segmentation scheme:

What happens if the logical address requested is segment Id 2 and offset 1000?
Detailed Solution: Question 25
Which of the following is/are true about Peterson's synchronization mechanism?
Detailed Solution: Question 26
Consider a control unit design in which 42 control signals are to be generated and the system is supporting 4−flag conditions. If the 64−bit control word is stored in control memory, then which of the following is true about control memory size and maximum degree of parallelism in both horizontal and vertical micro-programmed control unit. (For, vertical micro-programmed control unit, the same number of locations should be taken as horizontal).
Note:
HμPC denotes Horizontal micro-programmed control unit.
VμPC denotes Vertical micro-programmed control unit.
Detailed Solution: Question 27
The eigenvalues of a Hermitian matrix are _________.
Detailed Solution: Question 28
Consider the following format of 32 bit floating-point number:

(S) Sign: 1 bit
(E) Exponent: 8 bits
(M) Mantissa: 23 bits
The mantissa is normalized and has an implied "1" on the left of the point. Normalized form of mantissa is 1. M. The exponent is formatted using excess- 127 notation, with an implied base of 2. What will be the decimal value of the following 32 bit floating point number stored in the above-mentioned format?
Detailed Solution: Question 29
Total number of comparisons needed to find maximum and minimum of 200 element is __________.
Detailed Solution: Question 30