GATE CS Mock 2018 | Set 2


Question 1
For the workshops organized in college, students can participate more than one workshop saying that all are organized in different timings. 150 students are enrolled in total for one or more than one workshop. Registration details are as follows : 99 students are enrolled for Cyber Security. 56 students are enrolled for Solar Energy, 89 students are enrolled for Artificial Intelligence. 25 students for both Cyber Security and Solar Energy. 65 students for both Cyber Security and Artificial Intelligence and 18 students for both Solar Energy and Artificial Intelligence. How many students are participating in all three workshops ?
A
12
B
16
C
10
D
14
Set Theory & Algebra    General Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 1 Explanation: 
n(A ∪ B ∪ C) = n(A) + n(B) + n(C) - [n(A ∩ B) + n(A ∩ C) + n(B ∩ C)] + n(A ∩ B ∩ C) 150 = 99+56+89 - [25+65+18] + x 150 = 244 - 108 + x So, x = 14 Answer : Option D
Question 2
There was a man on the news last night who reckons we -------- visited by beings from other worlds.
A
were
B
have been
C
had been
D
had
English    General Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 2 Explanation: 
Reckons is a verb, which means 'believe' or 'think'. The man on the news (last night) believes that we have been visited by beings from other worlds. So, only option (B) is suitable.
Question 3
Choose the most closely related word for 'Paradox'
A
Certitude
B
Enigma
C
Explanation
D
Derivative
English    General Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 3 Explanation: 
'Paradox' is a noun, which can be related as Puzzle. In given options, Enigma (a puzzle) is the only closely related word to Paradox. So, option (B) is correct.
Question 4
The probability that the top and bottom cards of a randomly shuffled deck are both aces is - A. \frac{4}{52} * \frac{4}{52} B. \frac{4}{52} * \frac{3}{52} C. \frac{4}{52} * \frac{4}{51} D. \frac{4}{52} * \frac{3}{51}
A
A
B
B
C
C
D
D
Probability    General Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 4 Explanation: 
Prob. top card is Ace- \frac{4}{52} Prob. bottom card is Ace- \frac{3}{51} Prob. both top and bottom card are aces - \frac{4}{52} * \frac{3}{51}
Question 5
Read each sentence to find out whether there is any grammatical error in it. The error, if any will be in one part of the sentence. Choose the part of the sentence that has an error in it, if there is no error select 'D'.
A
An Indian ship
B
laden with merchandise
C
got drowned in the Pacific Ocean.
D
No error.
English    General Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 5 Explanation: 
An Indian ship laden with merchandise got drowned in the Pacific Ocean.
Question 6
What is the number of solutions for the inequality- x_1 + x_2 + x_3 \leq 11 where x_1, x_2,x_3 are integers greater than 0?
A
182
B
364
C
78
D
440
General Aptitude    Arithmetic Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 6 Explanation: 
Refer- PnC
Question 7
"Three Gorges Dam crosses the Yangtze River in Hubei province, China. It is the world’s largest hydroelectric power station by total capacity of 22,500 MW. A shift in a mass of that size will impact the rotation of the Earth due to a phenomena known as “the moment of inertia”, which is the inertia of a rigid rotating body with respect to its rotation. The moment of inertia of an object about a given axis describes how difficult it is to change its angular motion about that axis. The longer the distance of a mass to its axis of rotation, the slower it will spin. Raising 39 trillion kilograms of water 175 meters above sea level will increase the Earth’s moment of inertia, and thus slow its rotation. However, the impact will be extremely small. NASA scientists calculated the shift of such a mass will increase the length of day by only 0.06 microseconds, and make the Earth only very slightly more round in the middle and more flat on the top. It will also shift the pole position by about two centimeters (0.8 inch)." Choose the most relevant option based on above paragraph :
A
This dam is a remarkable piece of engineering and increased the Earth’s moment of inertia very slightly.
B
We can use 'the moment of inertia' to increase the length of day by making more such dams.
C
Such projects should be made to slow the rotation of the earth.
D
Such dams can make the shape of Earth flat, so should not be encouraged.
English    General Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 7 Explanation: 
By referring the above paragraph, only option (A) is relevant answer.
Question 8
The units digit of (35)^(87) + (93)^(46) is:
A
4
B
2
C
6
D
None of these
General Aptitude    Arithmetic Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 8 Explanation: 
Step 1: (35)^(87) = (5)^87 x (7)^87 → 5 x 1 = 5 (Each power of 7 ends in a units digit of either a 7,9,3 or 1. When you multiply 5 by any odd number you will end up with a units digit of 5). Step 2: (93)^(46) = (3)^46 x (31)^46 → 9 x 1 = 9 (Each power of 31 ends in a units digit of 1. Each power of 3 ends in a units digit of either 3, 9, 7 and 1). Therefore, the units digit we are looking for is 5 + 9 = 14. Units digit will be 4. Option (A) is correct.
Question 9
Five colleague of different age group headed to the bar for celebrating birthday party. Few of them decided to order alcohol. The government rule clearly sates that one must be atleast 25 years old inorder to drink alcohol. Peter is the head of team and eldest member with age 40 and Bruce is co-teamlead. John is drinking banana smoothie. Barry is drinking alchohol and Smith, who is 20 years old, haven't decided yet. Choose the correct option to make sure rules are being followed :
A
Check Bruce's age
B
Check Bruce's and Smith's drink
C
Check Bruce and Barry's age and Smith's drink
D
Check Peter and Smith's drink
General Aptitude    Arithmetic Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 9 Explanation: 
Bruce is co-teamlead, whose age is not given. So his drink must be checked. John is having banana smoothie, so no need of checking. Barry is drinking alcohol, so his age must be checked. Same way, Smith's drink should be checked. So, option (C) is correct.
Question 10
Choose the correct expression for f(x) given in the graph. 55
A
f(x) = 2 - |x + 2|
B
f(x) = 2 + |x − 2|
C
f(x) = 2 - |x − 2|
D
f(x) = 2 + |x + 2|
Numerical Methods and Calculus    General Aptitude    GATE CS Mock 2018 | Set 2    
Discuss it


Question 10 Explanation: 
Verify using some random values. Option (B) f(x) = 2 + |x − 2| is correct option.
There are 65 questions to complete.


Company Wise Coding Practice    Topic Wise Coding Practice