GATE Exam  >  GATE Tests  >  Test : CSE Past Year Paper 2020 - GATE MCQ

Test : CSE Past Year Paper 2020 - GATE MCQ


Test Description

30 Questions MCQ Test - Test : CSE Past Year Paper 2020

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

Goods and Services Tax (GST) is an indirect tax introduced in India in 2017 that is imposed on the supply of goods and services, and it subsumes all indirect taxes except few. It is a destination-based tax imposed on goods and services used, and it is not imposed at the point of origin from where goods come. GST also has a few components specific to state governments, central government and Union Territories (UTs).
Which one of the following statements can be inferred from the given passage?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 1

According to passage GST is imposed on the supply of goods and services hence option (a) is incorrect which states that GST is imposed on production of goods and services.
In the passage it is mentioned that GST has a two components specific to UTs. So option (b) is incorrect.
Passage states that GST is a destination based tax which means it is imposed at the point of usage of goods and services. Hence (c) is correct.
Option (d) says GST includes all indirect taxes but as per passage it subsumes all indirect taxes except few.

Test : CSE Past Year Paper 2020 - Question 2

Raman is confident of speaking English ________ six months as he has been practising regularly _________ the last three weeks.

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 2

• ‘within’ is a preposition that is used to express something that occurs inside a particular period of time.
• ‘for’ is used here because
(i) Sentence is in ‘present perfect continuous tense’.
(ii) For is used when we talk about a period of time.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test : CSE Past Year Paper 2020 - Question 3

If P = 3, R = 27, T = 243, then Q + S = ________.

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 3

Test : CSE Past Year Paper 2020 - Question 4

Two straight lines are drawn perpendicular to each other in X-Y plane. If α and β are the acute angles the straight lines make with the X-axis, then α + β is ________.

Test : CSE Past Year Paper 2020 - Question 5

The figure below shows an annular ring with outer and inner radii as b and a, respectively.
The annular space has been painted in the form of blue colour circles touching the outer and inner periphery of annular space. If maximum n number of circles can be painted, then the unpainted are available in annular space is ________.

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 5

Unpainted area = Area of annular ring – Area of n blue color circles
Area of annular ring = πb2 – πa2
i.e. π(b2 – a2)
Area of 1 blue circle = 
Hence, area of n blue circles = 
⇒ Unpainted area = 

Test : CSE Past Year Paper 2020 - Question 6

There are multiple routes to reach from node 1 to node 2, as shown in the network.

The cost of travel on an edge between two nodes is given in rupees. Nodes ‘a’ ‘b’, ‘c’, ‘d’, ‘e’ and ‘f’ are toll booths. The toll price at toll booths marked ‘a’ and ‘c’ is Rs. 200. and is Rs. 100 for the other toll booths. Which is the cheapest route from node 1 to node 2?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 6

• Cost of 1-a-C-2 : 200 + 200 + 100 + 100 + 100 = 700
• Cost of 1-b-2 : 300 + 100 + 200 = 600 
• Cost of 1-f-b-2 : 100 + 100 + 100 + 200 = 500
• Cost of 1-f-e-2 :100 + 100 + 100 + 200 + 200 = 700
Hence, 1-f-b-2 is having minimum cost.

Test : CSE Past Year Paper 2020 - Question 7

His knowledge of the subject was excellent but his classroom performance was ________.

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 7

‘But’ is used for introducing an idea which contrasts with the statement that has been already said.

Test : CSE Past Year Paper 2020 - Question 8

Select the word that fits the analogy:
Cook : Cook :: Fly : ________

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 8

(i) Relation is verb : noun
(ii) One who cooks is a cook, similarly one who flies any aircraft is a flyer.

Test : CSE Past Year Paper 2020 - Question 9

The dawn of the 21st century witnessed the melting glaciers oscillating between giving too much and too little to billions of people who depend on their for fresh water. The UN climate report estimates that without deep cuts to man-made emissions, at least 30% of the northern hemisphere’s surface permafrost could melt by the end of the century.Given this situation of imminent global exodus of billions of people displaced by rising seas, nation-states need to rethink their carbon footprint for political concerns, if not for environmental ones.
Which one of the following statements can be inferred from the given passage?

Test : CSE Past Year Paper 2020 - Question 10

The total revenue of a company during 2014-2018 is shown in the bar graph. If the total expenditure of the company in each year is 500 million rupees, then the aggregate profit loss (in percentage) on the total expenditure of the company during 2014-2018 is ________.

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 10

Total expenditure = 2500 million
Total revenue = 3000 million
So, profit % 

*Answer can only contain numeric values
Test : CSE Past Year Paper 2020 - Question 11

Let R be the set of all binary relations on the set {1, 2, 3}. Suppose a relation is chosen from R at random. The probability that the chosen relation is reflexive (round off to 3 decimal places) is ________.


Detailed Solution for Test : CSE Past Year Paper 2020 - Question 11

A = {1, 2, 3}
n = ⏐A⏐ = 3
Number of relations on A = 
Number of reflexive relations on A = 
P(reflexive relation) = 

Test : CSE Past Year Paper 2020 - Question 12

Consider a relational database containing the following schemas.



The primary key of each table is indicated by underlining the constituent fields.

The number of rows returned by the above SQL query is

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 12



∴ 4 rows in table.

Test : CSE Past Year Paper 2020 - Question 13

Which one of the following is used to represent the supporting many-ore relationships of a weak entity set in an entity-relationship diagram?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 13

Test : CSE Past Year Paper 2020 - Question 14

Consider allocation of memory to a new process. Assume that none of the existing holes in the memory will exactly fit the process’s memory requirement. Hence, a new hole of smaller size will be created if allocation is made in any of the existing holes. Which one of the following statements is TRUE?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 14

The hole created by best fit is never larger than the hole created by first fit. This is correct option.

Test : CSE Past Year Paper 2020 - Question 15

What is the worst case time complexity of inserting n elements into an empty linked list, if the linked list needs to be maintained in sorted order?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 15

Insert element at the beginning of linked list, take Ο(1)

*Answer can only contain numeric values
Test : CSE Past Year Paper 2020 - Question 16

Consider the following C program:

The output of the program is ________.


Test : CSE Past Year Paper 2020 - Question 17

Consider the functions: 
I. e-x
II. x2 – sin x
III. 
Which of the above functions is/are increasing everywhere in [0,1]?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 17


∴ Hence it is increasing function.

Test : CSE Past Year Paper 2020 - Question 18

Consider the following statements about process state transitions for a system using preemptive scheduling.
I. A running process can move to ready state.
II. A ready process can move to running state.
III. A blocked process can move to running state.
IV. A blocked process can move to ready state.
Which of the above statements arc TRUE?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 18

Statement I, II and IV are correct.

Test : CSE Past Year Paper 2020 - Question 19

Consider the following statements:
I. If L1 ∪ L2 is regular, then both L1 and L2 must be regular.
II. The class of regular languages is closed under infinite union.
Which of the above statements is/are TRUE?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 19

• If L1 ∪ L2 is regular, then neither needs to be regular.
Example: {anbn} ∪ {anbn}c = (a + b)* is regular but {anbn} and its complement both are non-regular.
So statement I is false.
• The class of regular language is not closed under infinite union.
Proof:  It is was closed under infinite union then
anbn = {∈} ∪ {ab } ∪ {aabb } ∪ ........ will be infinite union of finite languages (which are regular) and hence will become regular. But we know that {anbn⏐n ≥ 0} is nonregular.
So II is false
So option (a), neither I nor II is the correct answer.

Test : CSE Past Year Paper 2020 - Question 20

The preorder traversal of a binary search tree is 15, 10. 12, 11, 20, 18,  16, 19. Which one of the following is the postorder traversal of the tree?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 20


Postorder: 11, 12, 10, 16, 19, 18, 20, 15

*Answer can only contain numeric values
Test : CSE Past Year Paper 2020 - Question 21

Consider the following grammar:
S → aSB⏐d
B → b
The number of reduction steps taken by a bottom-up parser while accepting the string aaadbbb is ________.


Detailed Solution for Test : CSE Past Year Paper 2020 - Question 21

S → aSB
→ aaSBB [S → aSB]
→ aaaSBBB [S → aSB]
→ aaadBBB [S → d]
→ aaadbBB [B → b]
→ aaadbbB [B → b]
→ aaadbbb [B → b]
Total 7 steps required.

Test : CSE Past Year Paper 2020 - Question 22

Which one of the following regular expressions represents the set of all binary strings with an odd number of 1’s?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 22

• Regular expression in option (a) is incorrect because it will force the strings to end with 1 and a string of odd number of 1’s need not to end with 1.
• Regular expression in option (b) will force it to start with 1 and hence it is incorrect.
• Regular expression in option (c) can create odd number of 1’s as well as even number of 1’s and hence it is incorrect.
• Regular expression in option (d) is incorrect as it does not generate strings ‘01’ or 1 or more 0 followed by 1 which is having an odd number of 1’s.
Note: Option (d) would be correct only when if the expression were (0*10*10*)*10* + (0*10*) means (0*10*) missing from the option. Hence option (d) is also incorrect.

Test : CSE Past Year Paper 2020 - Question 23

What is the worst case time complexity of inserting n2 elements into an AVL-tree with n elements initially?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 23

AVL with n element: [height balanced [–1, 0, +1] BST]
logn level due to balanced BST.
(i) Every insertion of element:
logn: Find place to insert.
logn: If property not satisfied do rotation.
∴ n2 element insertion:
For 1 element ≡ 2 logn
So, for n2 element ≡ θ(n2 logn)

Test : CSE Past Year Paper 2020 - Question 24

Consider the language L = {an⏐n > 0} ∪ {anbn⏐n ≥ 0} and the following statements.
I. L is deterministic context-free.
II. L is context-free but not deterministic context-free.
III. L is not LL(k ) for any k.
Which of the above statements is/are TRUE?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 24

• Statement I: L in DCFL is true, since {an} ∪ {anbn} = regular ∪ DCFL = DCFL, by closure property. So II is false and I is true.
• Statement III is true because we cannot write LL(k ) grammar, for any value of k , since no matter how many a’s are shown to compiler it will be impossible to distinguish between whether the string presented is in the form of {an} or {anbn} and hence the production cannot be chosen uniquely for any value of k.
So option (a) is correct, I and III only are true.

*Answer can only contain numeric values
Test : CSE Past Year Paper 2020 - Question 25

A multiplexer is placed between a group of 32 registers and an accumulator to regulate data movement such that at any given point in time the content of only one register will move to the accumulator, The minimum number of select lines needed for the multiplexer is _________.


Detailed Solution for Test : CSE Past Year Paper 2020 - Question 25

Number of registers = n = 32
Required multiplexer size is n : 1 i.e. 32 : 1
No of select lines required to the multiplexer = m
∴ m = log2 n
m = log2 32
m = 5

*Answer can only contain numeric values
Test : CSE Past Year Paper 2020 - Question 26

If there are m input lines and n output lines for a decoder that is used to uniquely address a byte addressable 1 KB RAM, then the minimum value of m + n is ________.


Detailed Solution for Test : CSE Past Year Paper 2020 - Question 26

We need 210 outputs to map 1 KB RAM.
For this we need 10 × 210 decoder.
Here m = 10 and n = 210
m + n = 1034

*Answer can only contain numeric values
Test : CSE Past Year Paper 2020 - Question 27

A direct mapped cache memory of 1 MB has a block size of 256 bytes. The cache has an access time of 3 ns and a hit rate of 94%. During a cache miss, it takes 20 ns to bring the first word of a block from the main memory, while each subsequent word takes 5 ns. The word size is 64 bits. The average memory access time in ns (round off to 1 decimal place) is ________.


Detailed Solution for Test : CSE Past Year Paper 2020 - Question 27

Word size = 64 bit = 8B
Block size = 256B
∴ 
Tavg = (0.94 × 3) + (1 – 0.94) [3 + 20 + (31 × 5)]
= 13.5 ns

*Answer can only contain numeric values
Test : CSE Past Year Paper 2020 - Question 28

Consider a double hashing scheme in which the primary hash function is h1(k) = k mod 23 and the secondary hash function is h2(k) = 1 + (k mod 19). Assume that the table size is 23. Then the address returned by probe 1 in the probe sequence (assume that the probe sequence begins at probe 0) for key value k = 90 is ________.


Detailed Solution for Test : CSE Past Year Paper 2020 - Question 28

For double hashing we use the formula as (h1(k) + i h2(k ))% table size where i denotes probe value.
h1(k) = 90% 23 = 21
h2(k) = 1 + k % 19
= 1 + 90 % 19 = 15
For probe 1 the value of i is 1 thus, (21 + 13) % 23 = 13

Test : CSE Past Year Paper 2020 - Question 29

Consider the following statements about the functionality of an IP based router.
I. A router does not modify the IP packets during forwarding.
II. It is not necessary for a router to implement any routing protocol.
III. A router should reassemble IP fragments if the MTU of the outgoing link is larger than the size of the incoming IP packet.
Which of the above statements is/are TRUE?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 29

I. A router modifies the IP packets during forwarding because TTL is changing.
II. A router can also be used in LAN network it does not require routing protocol at that time.
III. Packet fragmentation is done if packet size is more than MTU.

Test : CSE Past Year Paper 2020 - Question 30

Consider the following data path diagram.

Consider an instruction: R0 ← R1 + R2. The following steps are used to execute it over the given data path. Assume that PC is incremented appropriately. The subscripts r and w indicate read and write operations, respectively.
1. R2r, TEMP1r, ALUadd, TEMP2w
2. R1r, TEMP1w
3. PCr, MARw, MEMr
4. TEMP2r, R0w
5. MDRr, IRw
Which one of the following is the correct order of execution of the above steps?

Detailed Solution for Test : CSE Past Year Paper 2020 - Question 30

1. Send the address to memory via MAR.
2. Read the opcode into IR from the memory via MBR.
3. Send the first operand to Temp1(ALU).
4. Read the second operand directly from the R2 and process the data in ALU and store the result into TEMP2.
5. Store the result into R0.

View more questions
Information about Test : CSE Past Year Paper 2020 Page
In this test you can find the Exam questions for Test : CSE Past Year Paper 2020 solved & explained in the simplest way possible. Besides giving Questions and answers for Test : CSE Past Year Paper 2020, EduRev gives you an ample number of Online tests for practice
Download as PDF