Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Computer Science Engineering (CSE) MCQ

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Computer Science Engineering (CSE) MCQ


Test Description

30 Questions MCQ Test - Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper below.
Solutions of Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper questions in English are available as part of our course for Computer Science Engineering (CSE) & Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper | 46 questions in 180 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 1

The ___________ is too high for it to be considered _________ .

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 1

Fare : the amount of money you pay to travel by bus, train, taxi etc.
Fair : appropriate and acceptable in a particular situation the fare is high for it to be considered fair.
Here it is clearly seen that we are talking about amount, so first filler should be “fare” and from this option B and C are eliminated and second filler is given the sense of right, so it should be “fair” 

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 2

A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painters with letters

From the additional plates gives in the options, which one of the combinations of additional plates would allow the players to construct in five letter palindrome. The players should use all five plates exactly once. The plates can be rotated in their plane.

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 2

As we know, palindrome is word that mads the same forwards and backwards RADAR is the only word. We have to rotate A and R 1800 anticlockwise/clockwise.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 3

Let r be a root of the expression x2 + 2x + 6 = 0
Then the value of the expression (r + 2)(r + 3)(r + 4)(r + 5) is 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 3

x + 2x + 6 = 0
If r is root, then 
r2 + 2r + 6 = 0
r2 + 2r = -6 ... (i)
Now, (r + 2)(r + 3)(r + 4)(r + 5)
⇒ {(r + 2)(r + 4)}{(r + 3)(r + 5)}
⇒ (r2 + 6r + 8)(r2 + 8r + 15)
⇒ (r2 + 2r + 4r + 8)(r2 + 2r + 6r + 15)
From (i), r2 + 2r = -6
⇒ (4r + 2)(6r+ 9)
⇒ 2(2r +1)3(2r+ 3)
⇒ 6(2r +1)(2r+ 3)
⇒ 6(4r2 + 8r+ 3)
From equation (i),
r2 + 2r = -6
4(r2 + 2r) = -24
Þ 6(-24+ 3)
⇒ 6(-21)
⇒ -126

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 4

A function y(x) is defined in the interval [0,1] on the x - axis as

Which one of the following is the area under the curve for the interval [0, 1] on the x –axis ? 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 4

Graph of y(x) vs x

Area of rectangle = l x b
Area enclosed under the curve 
⇒ 
⇒ 13/6

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 5

Given below are four statements
Statement 1 : All students are inquisitive
Statement 2 : Some students are inquisitive 
Statement 3 : No students are inquisitive
Statement 4 : Some students are not inquisitive
For the given four statements, find the statements what cannot be true, simultaneously, assuming that there is at least one student in the class 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 5

As in the question, it is asked that statements that can not be true simultaneously

After making the venn diagram it is clearly visible that statement 1 and statement 3 cannot be possible simultaneously only one can possibly be happen at a time. 

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 6

A box contains five balls of same size and shape. Three of them are green coloured balls and two of them are orange coloured balls. Balls are drawn from the box one at a time. If a green ball is drawn it is not replaced. If an orange ball is drawn it is replaced with another orange ball. First ball is drawn. What is the probability of getting an orange ball in the next drawn ? 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 6

In this we have two different cases
Case 1: 1 green and 1 orange ball

As we can’t replace ball after getting green ball, so when we are drawing orange ball at that time we are left with only 4 balls in a box
Case 2: 1 orange and 1 orange ball

As with orange ball we can replace, so when we are drawing second orange ball at that time we have 5 balls in of box P (getting an orange ball in the next drawn) = P (case 1 + case 2)

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 7

Some people believe that “what gets measured, improves”. Some other believe that “what gets measured, gets gamed”. One possible reason for the difference in the beliefs is the work culture in organization. In organizations with good work culture, metrics help improve outcomes. However the same metrics are counterproductive in organizations with poor work culture.
Which one of the following is the correct logical inference based on the information in the above passage?

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 7

(A) Eliminated because Metrics are counterproductive in organization with poor work culture
(B) Eliminated because Metrics are counterproductive in organization with poor work culture not good work culture
(C) Eliminated because of the term “never” as Metrics are useful.
(D) Correct answer as Metrics are useful in organization with good work culture.

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 8

The corners and the mid point of a triangle are name using distinct letters P, Q, R, S , T and U but not necessarily in the same order. Consider the following statements

  • The line joining P and R is parallel to the line joining Q and S
  • P is placed on the side opposite to the corner T
  • S and U cannot be placed in the same side

Which one of the following statements is correct based on the above information? 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 8


It satisfies all the given points.
PR||QS
P is placed on the side opposite to the corner T
S and U cannot be placed in the same side

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 9

A plot of land must be divided between four families. They instant their individual plots to be similar in shape, not necessarily in area. The land has equally spaced placed marked as dots on the below figure. Two ropes R1 and R2 are already present and cannot be moved.
What is the least number of additional straight ropes needed to needs to divided plot ? A straight rope can pass through three poles that are aligned in a straight line 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 9

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 10

In a currently conducted National Entrance Test, Boys constituted 65% of those who appeared for the test. Girls constituted the remaining candidates and they accounted for 60% of the qualified candidates. Which one of the following is the correct logical inference based on the information provided in the above passage ? 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 10

*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 11

Consider network with three routers P, Q, and R. All links have cost of unit, the routers exchange distance vector routing information & converge on routing tables. After some time link Q-R fails, assume P & Q send out routing update at random time, each at same average rate. The probability of routing loop form (Rounded off to one decimal place) between P & Q leading to count to infinity problem is_____.


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 11


The link between the Q - R is broken, so the probability after the convergence depends on the sharing of information between nodes P and Q, if the node Q share the information first then there will be no looping, if node P shares the information then there will be chance of looping so the probability will be 0.5 
So, P = 1/2 = 0.5

*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 12

Consider a 100 Mbps link between an earth station (sender) and a satellite (receiver) at an altitude of 2100 km. The signal propagates at a speed of 3 x 108 m/s. The time taken (in milliseconds runoff to 2 decimal places) for the receiver to completely receive a packet of 1000 bytes transmitted by the sender is _____.


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 12



*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 13

What is the minimum number of bits required for sequence number field in a TCP connection to send maximum segment life time of 60 sec if the bandwidth of connection is 1 Gbps, without wrap around time.


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 13

B = 1 Gbps

⇒ 
⇒ 60 x 109 = 2n+3 
⇒ log2 (60 x 109) = n + 3
⇒ log 60 + 9 x log2 10 = n + 3
⇒ 5.9 + 29.87 = n + 3
⇒ 35.79 = n + 3
⇒ n + 3 = 36
⇒ n = 33

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 14

In given table 

The route aggregation is applied over above table what will be the subnet – ID/mask in aggregated router?

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 14

(A) 12.20.1010 0100.00000000, here the network address is 12.20.1010 0100.00000000 and this network covers all the required IP addresses and hence the required answer.
(B) 12.20.10100 100.00000000, here the network address is 12.20.10100 100.00000000, but this network does not have IP address 12.20.170.0, hence this cannot be the answer.
(C) 12.20.101010 00.00000000, here in this network address we do not have IP address 12.20.164.0, hence this cannot be the answer.
(D) 12.20.101001 00.00000000, here in this network we do not have IP address 12.20.170.0, hence this cannot be the answer.  
So, 12.20.164.0/20 will be the network – ID of aggregated route.

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 15

Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers shown below:-

What is the number of subnets in the enterprise network?

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 15

This is just like non equal sub netting where router 2 has the half of the addresses, Router 1 has other half, which is further divided into two subnets which is Web server and router 3, So total of 3 subnets possible.

*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 16

Consider a resolution of domain name www.gate.org.in by a DNS resolver. Assume that no records are called anywhere across the DNS servers and the iterative query resolution mechanism is used in the resolution. The number of DNS query response pairs involved in completely resolving the domain name is ____.


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 16

In the iterative query the DNS resolver go to the these three servers which is root server, TLD DNS server, authoritative server. So there will be three pairs of request and response here.

*Multiple options can be correct
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 17

Which of the following statements is TRUE?

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 17

From given statements
Statements B, C, and D are true.

*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 18

Consider the following grammar along with translation rules:
S → S1 # T        {S. val = S1. val* T. val}
S → T                {S. val = T. val}
T + T ,%R          (T. val = Tval ÷ R. val)
T → R                {T. val = R. val}
R → id               {R. val = id. val}
Using translation rules, the computed value of the S.val for the expression 20 #10%5 # 8%2%2 is ______.


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 18

Annotated parse tree

∴ S .val = 80

*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 19

Consider the augmented grammar with {+,*,(,),id} as the set of terminals.
S ' → S.
S → S+R| R
R → R*P| P
P → (S) | id
If I0 is the set of two LR(0) items {[S' →  S.] , [S → S. + R]} , then goto (Closure (I0 , ), + ) contains exactly _____ items.


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 19

*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 20

A code memory that has a hit rate of 0.8 has an access latency 10 ns and miss penalty 100 ns. An optimization is done on the cache to reduce the miss rate. However the optimization results in an increase of cache access latency to 15 ns, whereas the miss penalty is not affected. The minimum hit rate needed after the optimization such that it should not increase the average memory access time is _____


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 20

AMATOld = 0.8(10) + 0.2 (100) = 8 + 20 = 28.
Let x be the cache hit rate after optimization.
AMATnew = x(15) + (1- x)100 = 15x +100 -100x = 100 - 85x
AMATOld ≥ AMATnew
→ 100 - 85x ≤ 28
→ 72 = 85x
→ x = 72 / 85 = 0.85

*Multiple options can be correct
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 21

Consider 2 kB direct mapped cache, 64 Byte block size 64 kB main memory and 16 bit word size, CPU access words P, Q, R and S respectively 10 times i.e. (P Q R S). Starting address of first byte of P, Q, R and S is respectively. 
P = A248, Q = CA8A, R = C28A, S = A262
Which of the following is/are true (initially cache is empty) 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 21

Cache line 2kB/64B = 32
∴ Line offset = 5 bit
Bits in Physical address = log2 (Main memory size = log2 (64 kB) = 16 bit)
Physical address format for direct mapped cache

Physical address format for main memory 

  • P and S are in same block of memory physical address
  • Q and S are different block of main memory but mapped to same cache line. 
*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 22

Consider processor x1 with 5 stage standard RISC pipeline with 2 GHz clock frequency. It requires one clock cycle without any pipeline dependency A program consist of 30% branch instruction, control hazards results in 2 clock cycles. Another pipeline x2 with same clock cycle frequency uses branch prediction unit with 80 % efficiency. If prediction is correct then no stall is created and if prediction is wrong then no effect in number of stalls. There is no data hazard or structure hazard in the pipeline what is the speed up achieved using x2 and x1.


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 22


Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 23

Which facilitates transfer of bulk data from HDD to main memory with highest throughout?

*Multiple options can be correct
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 24

Let WB and WT be 2 set associative cache organizations that use LRU algorithm for cache block replacement. WB is Write Back cache and WT is Write through cache. Winch of the following statements are false? 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 24

A. Every write hit in WB leads to a data transfer from cache to main memory. False, for the hit operation no need to fetch the data from the main memory.
B. Eviction of a block from WT will not lead to data transfer from cache to main memory 
False.
C. A read miss in WB will never lead to eviction of a dirty block from WB
D. Each cache block in WB and WT has a dirty bit

*Multiple options can be correct
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 25

Which of the following statements is are true?

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 25

Option A: True 
If L1 and L2 are regular then L1 ∩ L2 is Regular thus also deterministic context free Language.
Option B: False
Since ∑* is a recursively enumerable Language but there are many languages which are subset of ∑* which are not Recursive.
Option C: True
If L is recursively enumerable Language, then for all member strings of L, the TM of L will halt within finite time. If  is recursively enumerable Language, then for all nonmember strings of L. The TM of  will halt within finite time. Thus for both member and nonmember strings of L and  we have a TM which halts within finite time. Thus L is a Recursive Language.
Option D: True
Complement of CFL is a CSL in the worst case which is Recursive.

*Multiple options can be correct
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 26

L1 = {ww|w∈ (a, b*)}
L2 = {anbncm|m, n ≥ 0}
L3 = {ambncn| m, n ≥ 0}
Which of the following statements are false? 

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 26

L1 = {ww|w∈{a, b}*} this language is not CFL but complement of  is CFL. 
L2 = {anbncm|nm ≥ 0} is CFL
L3 = {anbmcn|n, m ≥ 0} is CFL
L2 ∩ L3 is not CFL. 
(B), (C) and (D) are false

*Multiple options can be correct
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 27

Which of the following is/are undecidable?

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 27

For a given TM, M decide that m takes more than 1073 steps on every string is decidabe only.
Remaining are undecidable (A), (C) and (D) are undecidable. 

Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 28

Which one of the following regular expressions correctly represents the language of the finite automaton given below?

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 28


⇒(ab*b+ba*a)(ab*+ba*)

*Multiple options can be correct
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 29

Consider language

Note ωR is reversal of string ω which is true?

Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 29

L1 = {anωan|ω∈(a, b)*} is regular 
L2 = {ωxωR|ω, x∈ (a, b)* |W|, |x| > 0} is also regular 
∴ Both L1 and L2 are regular Any language which is regular is context free language as well. 

*Answer can only contain numeric values
Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 30

The value of the given limit is ____


Detailed Solution for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper - Question 30


When 

View more questions
Information about Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper Page
In this test you can find the Exam questions for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper solved & explained in the simplest way possible. Besides giving Questions and answers for Practice Test: Gate Computer Science Engineering (CSE) 2022 Paper, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)