In a BST, we can find the Kth smallest element to a given element in O(1) time. __
True
False
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
In-order is same as :
Depth-first order
Topological order
Linear order
Breadth-first order
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Consider the following AVL tree.

Which of the following order of elements are inserted into an empty AVL tree, so that it is possible to get the above AVL tree?

84, 61, 76, 15, 88, 73, 17, 80
88, 84, 80, 73, 76, 15, 61, 84
76, 15, 88, 73, 17, 80, 61, 84
None of these
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Match List I with List II

Choose the correct answer from the options given below:

A-I, B-III, C-IV, D-II
A-III, B-I, C-IV, D-II
A-III, B-I, C-II, D-IV
A-I, B-III, C-II, D-IV
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
The running time of an algorithm is O(g(n)) if and only if

  1. its worst-case running time is O(g(n)) and its best-case running time is (g(n))(O=big O)
  2. its worst-case running time is (g(n)) and its best-case running time is O(g(n))(O=big O)
  3. O(g(n))=(g(n))(O=big O)
  4. O(g(n))ω(g(n))is non-empty set, (o=small o)

Choose the correct answer from the options given below:

(A) only
(B) only
(C) only
(D) only
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Consider the undirected graph below: [MSQ]

Using Prim’s algorithm to construct a minimum spanning tree starting with node a, which one of the following sequences of edges represents a possible order in which the edges would be added to construct the minimum spanning tree?

(a,b), (a,h), (h,g), (g,f), (f,c), (c,i), (c,d), (d,e)
(a,b), (b,h), (g,h), (g,i), (c,i), (c,f), (c,d), (d,e)
(a,b), (b,c), (c,i), (c,f), (f,g), (g,h), (c,d), (d,e)
(a,b), (g,h), (g,f), (c,f), (c,i), (f,e), (b,c), (d,e)
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which among the following statement(s) is (are) true?

  1. A hash function takes a message of arbitrary length and generates a fixed length code.
  2. A hash function takes a message of fixed length and generates a code of variables.
  3. A hash function may give the same value for distinct messages.

Choose the correct answer from the options given below:

(A) only
(B) and (C) only
(A) and (C) only
(B) only
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

Both Statement I and Statement II are true

Both Statement I and Statement II are false

Statement I is correct but Statement II is false

Statement I is incorrect but Statement II is true

Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

P-2, Q-3, R-4, S-1
P-2, Q-4, R-3, S-1
P-4, Q-3, R-2, S-1
P-4, Q-2, R-3, S-1
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
There is a 60% increase in amount in 3 years and simple interest. What will be the compound interest of Rs.8000 after 3 years at the same interest?
Rs.5628
Rs.3872
Rs.5824
Rs.3972
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
If one-fourth of one-third of a number is 25, then two-tenth of that number is _____

60
300
120
45
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Tickets numbered from 1 to 45 are mixed up and then a ticket is drawn at random. What is the probability that the ticket drawn has a number which is multiple of 4 (or) 5?
11/45
7/45
2/5
8/15
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A dishonest dealer purchases goods at 20% discount of the cost price of Rs.x and also cheats his wholesaler by getting 20% extra through false weighing, per kg. Then he marks up his goods by 80% of x, but he gives a discount of 25% besides he cheats his customer by weighing 10% less than the required. What is his overall profit percentage?
120%
80%
125%
135%
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

A man covered a certain journey by a bus. If he covered 25% of the distance at the speed of 10 kmph, 45% of the distance at 30 kmph and remaining of the distance at 15 kmph, then his average speed is?

16.66 km/h

18.33 km/h

17.37 km/h

14.67 km/h

Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
In triangle ABC length of the side BC is less than twice the length of the side AB by 4 cm length of the side AC exceeds the length of the side AB by 8 cm. The perimeter is 36 cm. The length of the smallest side of the triangle ABC is?
8 cm
6 cm
16 cm
14 cm
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
' They have written 3 letters already.'

What is the tense of the sentence given above?

Present continuous tense
Simple present tense
Present perfect tense
Present perfect continuous tense
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Maya _______ at the children for making a mess. [MSQ]
Screamed
Screams
is screaming
has been screaming
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
What the meaning of the word ' Inchoate'
having lot of hatred
Filled with awe
only partly in existence
desperately hoping for good
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Read the passage and answer the question.

PASSAGE

In 1885, the U.S. government locked funds to build a base for a statue, but a newspaper campaign attracted as many as 160,000 people to contribute. That was the Statue of Liberty. But it's the British rock group Marillion that is often credited for using a loyal and engaged fan base to fund a $60,000 US tour and subsequent album through its website. Back in 1997, that was the world’s first online crowdfunding campaign.

Since the early 2000s, several online crowdfunding platforms have come up across the globe helping people to bring their unique ideas to life. Either in the form of launching a unique product that they have designed or a film that they need help to make or simply raising funds for an ailing family member - crowdfunding in making all of it possible. Such has been the growth of the segment that statistics predict the size of the global crowdfunding market to be $28.8 billion by 2025.

It was a tiring flight from New York to Singapore in economy class that prompted Zeff O’ Nell to design a seat that could allow economy class passengers to lie down. The Zephyr seat took about four months to be designed and another eight months to be engineered and constructed into a mock-up. The result was a lie-flat social distancing complaint seat for airlines that could retrofit existing commercial aircrafts.

Through crowdfunding the company wants to raise money to scale up the business. It has currently raised more than 101K through its online campaign. As they say it's time to reach for the stars.

Question:

What is the first phase of crowdfunding?

Pre-campaign
Campaign
Post-campaign

Mission trips

Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Refer the diagram below, where the attributes of relation R are characterized.

Identify the correct statements?

A5 is a weak attribute
A3 is a multivalued attribute
A2 is a derived attribute
A3 is a foreign key attribute
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33

Identify the CORRECT statement(s)? [MSQ]

Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Consider the following statements based on the wait-die scheme for deadlock prevention:

1. Older transactions may wait for younger one to release data items. (older means smaller timestamp).

2. Older transactions force rollback of younger transactions instead of waiting for it. Younger transactions may wait for older ones.

3. A transaction may die several times before acquiring needed data items.

4. It is a non-preemptive scheme.

5. It is a preemptive scheme.

Identify the group of statements which are incorrect.

1, 3, 4
2, 5
1, 3, 5
2, 3, 4
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Suppose timestamp ordering protocol is used to control concurrent access. In this context a transaction Ti issues a read(Q). Q is the data item. Identify the correct operations for implementing the read.
If Timestamp(Ti) ≤ Write-timestamp(Q), the read operation is executed
If Timestamp(Ti) ≤ Write-timestamp(Q), Read-timestamp(Q) is set to max(Read-timestamp(Q), Timestamp(Ti))
If Timestamp(Ti) ≤ Write-timestamp(Q), Read-timestamp(Q) is set to max(Read-timestamp(Q), Write-timestamp(Q))
If Timestamp(Ti) ≤ Write-timestamp(Q), the read operation is rejected, and Ti is rolled back
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Which sampling method ensures that every member of a population has an equal chance of being selected?
Stratified sampling
Cluster sampling
Simple random sampling
Systematic sampling
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
In a data warehouse, a fact table contains 1,000,000 transactions, and each transaction is linked to 10 products. How many rows are in the fact table if each transaction has multiple products stored in separate rows?
10000000
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
In a star schema, if a fact table has 500,000 rows and the customer dimension has 50,000 rows, how many rows will a query involving a join between the fact and customer tables return?
500000
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
The SVM’s are less effective when:
The data is linearly separable
The data is clean and ready to use
The data is noisy and contains overlapping points
None of the above
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
For random variables X and Y, we have Var(X)=1, Var(Y)=4, and Var(2X-3Y)=34, then the correlation between X and Y is:
1/2

1/4
1/3
None of the above
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
In a classification problem with two classes (binary classification), how many output nodes are typically used in a supervised neural network?
1
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Presence of Outliers in a dataset not affects:
Standard deviation
Range
Mean
Inter-quartile Range(IQR)
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Which evaluation metric is commonly used for assessing the performance of a classification model when dealing with imbalanced datasets?
Accuracy
F1-score
Mean Absolute Error (MAE)
R-squared (R²)
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
In a neural network, which one of the following techniques is NOT useful to reduce overfitting?
Dropout

Regularization
Batch normalization
Adding more layers
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
4
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
In Uniform Cost Search (UCS), which node will be expanded first?
The node with the lowest depth
The node with the fewest connections.
The node with the lowest cumulative path cost
The node closest to the root
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
In a graph where the edge costs vary, which of the following is true about Breadth-First Search?
It guarantees optimality in path cost.
It finds the shortest path in terms of edge count, not necessarily in cost.

It is optimal when combined with an admissible heuristic.
It performs better than Uniform Cost Search in weighted graphs.
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which type of inference in Bayesian networks calculates the probability distribution of variables of interest without specifying the values of other variables?
Marginal Inference
Conditional Inference
Exact Inference
Approximate Inference
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
What does the concept of "uncertainty" refer to in decision-making?
The complete knowledge about future events.
The predictability of future events.
The degree of doubt or ambiguity surrounding potential outcomes.
The complexity of decision-making.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

[MSQ]

p = True, q = True, r = True
p = True, q = True, r = False
p = True, q = False, r = False
p = False, q = False, r = False
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
The following set of data refers to the amount of money in £s taken by a news vendor for 6 days. Determine the mean, median and modal values of the set:

{27.90, 34.70, 54.40, 18.92, 47.60, 39.68}

Choose the correct option:

Mean value = £37.20
Median value = £37.19
Both are correct
None of the above
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Determine the standard deviation from the mean of the set of numbers:

{5, 6, 8, 4, 10, 3} correct to 4 significant figures.

2.380
3.124
5.258
4.265
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Find the expectation of obtaining a 4 upwards with 3 throws of a fair dice.
0.50
0.20
1.20
0.36
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
A production department has 35 similar milling machines. The number of break-downs on each machine averages

0.06 per week.Determine the probabilities of having one breaking down in any week.

0.2572
0.3567
0.5897
0.8475
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
In an experiment to determine the relationship between force on a wire and the resulting extension, the following data is

obtained:

Determine the linear coefficient of correlation for this data.

0.996
0.457
0.256
0.789
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
a coin is tossed 100 times, it is unlikely that the result will be exactly 50 heads and 50 tails. Let us assume that, say,

5 people each toss a coin 100 times and note the number of, say, heads obtained. Let the results obtained be as shown

below.

Determine the Chi-square value for the coin-tossing data given above

4.36
5.67
8.96
7.24
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
The speeds of cars are measured using a radar unit, on a motorway. The speeds are normally distributed with a mean of 90 km/hr and a standard deviation of 10 km/hr. What is the probability that a car selected at chance is moving at more than 100 km/hr?
1.235
0.1587
2.256
None of above
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
The thickness x of a protective coating applied to a conductor designed to work in corrosive conditions follows a uniform distribution over the interval [20, 40] microns.

Choose the correct option(s). [MSQ]

E(X) = 10 μm
σ (X) = 6.77 μm
Probability that the coating is less than 35 microns thick is 0.75.
All options are correct.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
If A be a 2×2 matrix and |A| = 3 then |3A| is
9
27
81
243
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
If A is a 4 5 matrix and AX = B is an inconsistent system .Then the highest possible rank of A is ?
4
5
2
3
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
How many of the following matrices have an Eigen value 1?

One
Two
Three
Four
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
511A + 510I
309A + 104I
154A + 155I
EXP (9A)
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
0
1
2
infinite
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
For what values of α and β , the following simultaneous equations have an infinite number of solution ?

2,7
3,8
8,3
7,2
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
a unique solution
infinitely many solutions
no solution
exactly two solutions
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Consider the following 2 * 2 matrix A where two elements are unknown and are marked by a and b. The Eigen values of this matrix are –1 and 7. What are the values of a & b ?

a = 6, b = 4
a = 4, b = 6
a = 3, b = 5
a = 5, b = 3
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
2 (maximum)
2(minimum)
-2(maximum)
-2(minimum)
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
0
1/3
1
3
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
The function y = | 2 - 3x |
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
1
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
A parabolic cable is held between two supports at the same level. The horizontal span between the supports is L.

The sag at the mid-span is h. The equation of the parabola is

origin at the center of the cable. The expression for the total length of the cable is

Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
22.5π
33.2π
20.3π
15.6π
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
What will be the output of the following code?

def GATE(n):

if n == 0:

return 0

return n +GATE(n // 2)

print(GATE(10))

15
16
20
Infinite Recursion
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
What is the output of the given code segment?

x = {1: "a", 2: "b", 3: "c"}

for key in x:

x[key + 1] = x[key] * 2

print(x)

{1: "a", 2: "b", 3: "c", 4: "aa", 5: "bb", 6: "cc"}
Runtime error
Unpredictable result due to dictionary mutation during iteration
None
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
What is the correct code to remove duplicates from a list while preserving the order of elements?
unique_items = list(set(lst))
unique_items = []

for item in lst:

if item not in unique_items:

unique_items.append(item)

unique_items = [item for item in set(lst)]
unique_items = dict.fromkeys(lst)
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
What will be the output of the following code when the graph is disconnected?

def GATE(graph, start):

queue = [start]

visited = set()

while queue:

node = queue.pop(0)

if node not in visited:

visited.add(node)

queue.extend(graph[node] - visited)

return visited

graph = {

0: {1, 2}, 1: {0, 3}, 2: {0}, 3: {1}, 4: {5}, 5: {4}

}

print(GATE(graph, 0))

{0, 1, 2, 3, 4, 5}
{0, 1, 2, 3}
{4, 5}
set()
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Which of the following is NOT a correct statement about generators and iterators in Python?
Generators are functions that yield values one at a time.
Iterators are objects that implement the _iter_and _next_methods.
Generators are more memory-efficient than iterators
Iterators can be used to iterate over any sequence, including lists, tuples, and strings.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66