One of the diagonals of a rhombus is double the other diagonal. Its area is 36 sq.cm. Find the largest diagonal length?
6
8
10
12
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

The simple interest on a sum of money for 3 years at 623% per annum is $6750. What will be the compound interest on the same sum at the same rate for the same period, compounded annually?

Rs 8125

Rs 6655

Rs 7210

None of these

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

Find the odd man out from the given series

2, 6, 12, 20, 32, 42, 56, 72

12

20

32

42

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

The sides of a rectangle are in the ratio 4:5 and its area is 2000 sq.m. Find the perimeter of the rectangle?

158m

150m

400m

180m

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

The probability that Harshini will get married within 365 days is ‘a’ and the probability that her colleague Sony gets married within 365 days is ‘b’. Find the probability that only one of the two gets married at the end of 365 days.

a+b-2ab

a-b+2ab

a+b-ab

a-b+ab

Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Ten years ago, John was half of Akbar’s age. If the ratio of their present ages is 3:4, what will be the total percentage?
25
35
30
45
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which of the deductions follows?

Statement 1: Some toys are Cows.

Statement 2: Some toys are Rabbits.

Deduction 1: All toys are Cows and Rabbits.

Deduction 2: Some cows are Rabbits

Only deduction 1 follows
Only deduction 2 follows
Both deductions follows
None of the deductions follows
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33

Caterpillar: Butterfly :: __?__: Cockroach

Maggot

Nymph

Wriggler

Workers

Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33

The process of reshaping something is known as _________.

sculpture

art

moulding

image processing.

Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
What does the underlined phrase mean?

The newspaper sale was not good, so the manager took the bull by the horns and replaced the editor.

Make the situation worse
Face the problem in a fearless manner

Take decisions by oneself for good
To remove a person from a Job
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Suppose cursor points to a node in a linked list (using the node definition with member functions called data and link). What Boolean expression will be true when the cursor points to the tail node of the list?
(cursor->link( ) == NULL)
(cursor == NULL)
(cursor->data( ) == NULL)
(cursor = cursor->link())
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33

Consider the following graph. If we run breadth first search on this graph starting at any vertex, which one of the following is a possible order for visiting the nodes ?

MNOPQR
NQMPOR
QMNPRO
QMNPOR
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which traversal is the most suitable for deleting all the nodes in a binary tree ? (You can assume the tree to be binary)
Inorder
Preorder
Postorder
Any traversal
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A function finds the smallest positive missing number in an unsorted array. Complete the code to calculate the missing number for the array [3, 4, -1, 1].

def find_missing_number(arr):

n = len(arr)

for i in range(n):

while 1 <= arr[i] <= n and arr[arr[i] - 1] != arr[i]:

arr[arr[i] - 1], arr[i] = arr[i], arr[arr[i] - 1]

for i in range(n):

if arr[i] != i + 1:

return i + 1

return n + 1

result = ___________

print(result)

2
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
A function finds the longest substring without repeating characters. Complete the code to calculate the length of the substring for the input "abcabcbb".

def longest_unique_substring(s):

char_index = {}

max_length = 0

start = 0

for i, char in enumerate(s):

if char in char_index and char_index[char] >= start:

start = char_index[char] + 1

char_index[char] = i

max_length = max(max_length, i - start + 1)

return max_length

result = ___________

print(result)

3
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
A program calculates the median of two sorted arrays. Complete the code to calculate the median for the arrays [1, 3] and [2].

def find_median_sorted_arrays(nums1, nums2):

merged = sorted(nums1 + nums2)

mid = len(merged) // 2

if len(merged) % 2 == 0:

return (merged[mid - 1] + merged[mid]) / 2

else:

return merged[mid]

result = ___________

print(result)

2
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A function implements binary search on a rotated sorted array. Complete the code to find the target 6 in the array [4, 5, 6, 7, 0, 1, 2].

def search_rotated_array(nums, target):

left, right = 0, len(nums) - 1

while left <= right:

mid = (left + right) // 2

if nums[mid] == target:

return mid

if nums[left] <= nums[mid]:

if nums[left] <= target < nums[mid]:

right = mid - 1

else:

left = mid + 1

else:

if nums[mid] < target <= nums[right]:

left = mid + 1

else:

right = mid - 1

return -1

result = ___________

print(result)

2
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Given the following Pandas DataFrame:

import pandas as pd

df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]})

How would you select the column 'B' from the DataFrame?

df['B']
df.'B'
df.select('B')
df.get_column('B')
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
There are 2 strings named as X and Y, Find the length of the longest common subsequence(LCS) of the giving below two string X and Y is_______(NAT)

X = bcadsce

Y = csadesg

4
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
The following Knapsack bag. The Knapsack bag maximum Capacity is 60. Find out the maximum profit for Greedy Knapsack or Fractional Knapsack___? (Upto 1 decimal)

Objects

P

Q

R

S

T

V

W

X

Weights

20

10

15

5

30

4

19

8

Profits

36

25

30

9

30

15

19

18

129.4
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
O(n^2)
O(n^4)
Ω(n^3)
Θ(n^4)
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Assume that a mergesort algorithm in the worst case takes 30 seconds for an input of size 64. Which of the following most closely approximates the maximum input size of a problem that can be solved in 6 minutes?
512
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Consider the following min heap tree. The number of element comparisons required to maintain the heap property after deletion of root are __________.

5
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Which of the following is/are True? [ MSQ]
A complete Binary Tree in a min heap tree if every parent node is minimum compared with its children.
A complete Binary tree is a min heap tree if every parent node is greater than its left child and less than or equal to its right child.
Heap sort is an inplace sorting technique
Heap sort is stable.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Which of the following statement(s) is/are CORRECT about the NULL value in relational model?

S1: To fill a column in tuple when the column does not really “exist” for the particular tuple.

S2: To leave columns in a tuple marked as “unknown” when the actual value is unknown.

Only S1
Only S2
Both S1 and S2
Neither S1 nor S2
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Consider 3 transactions T1, T2 and T3 having 2, 3 and 4 operations respectively. The total number of schedules possible for the given three transactions is ___________.
24
288
1260
15120
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which of the following is true about 2-phase locking protocol?

S1: Lock upgradation and degradation are allowed only in the shrinking phase.

S2: 2-phase locking allows lock degradation in shrinking phase.

Only S1
Only S2
Both S1 and S2
Neither S1 nor S2
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Given a relation R(MNPQT) and set of FD’s

F1 = {M → TN, P → QM} and

F2 = {M → N, P → Q, P → MT, MN → T}

Which of the following statement is true?

F1 and F2 are not equivalent
F1 and F2 are equivalent
We can’t say
None of the above
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
What type of data model organizes data into cubes, allowing for fast retrieval and analysis along multiple dimensions?
Relational model
Multidimensional model
Network model
Hierarchical model
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
A star schema has a fact table with 1,200,000 rows and 4 dimension tables. If each dimension table has 100,000 rows, how many rows will a query involving a join between the fact table and all dimension tables return?
1200000
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
You want to reduce the dimensionality of a dataset using PCA. The dataset has 10 dimensions, and the first 3 principal components explain 80% of the variance. How many principal components would explain 100% of the variance?
10
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
A fair coin is tossed 10 times. What is the probability that ONLY the first two tosses will yield heads?
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
A company is hiring to fill four managerial vacancies. The candidates are five men aand three women. If every candidate is eqaully likely to be chosen then the probability that at least one women will be selected is __ (Upto two decimals)
0.93
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Let X be a normal random variable with mean 1 and variance 4. The probability P{X < 0} is
0.5
Greater than zero and less than 0.5
Greater than zero and less than 1.0
1.0
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
The probability density function of evaporation E on any day during a year in a watershed is given by

The probability that E lies in between 2 and 4 mm/day in a day in the watershed is (upto one decimal)

0.4
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Let the probability density function of a random variable, X, be given as:

where u(x) is the unit step function. Then the value of ' a ' and Probability {X ≤ 0}, respectively, are [MSQ]

2
1/2
1/4
4
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Two random variables x and y are distributed according to

The probability P (x + y ≤ 1) is ________.

0.33
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Three values of x and y are to be fitted in a straight line in the form y = a + bx by the method of least

squares. Given: Σx = 6, Σy = 21, Σx^2 = 14 and xy = 46, the value of a and b are respectively.

2 and 3
1 and 2
2 and 1
3 and 2
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Px(x) = M exp(–2|x|) + N exp(–3|x|) is the probability density function for the real random variable X, over the entire x-axis. M and N are both positive real numbers. The equation relating M and N is
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A matrix P is decomposed into its symmetric part S and skew symmetric part V. If

Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
The components of pure shear strain in a sheared material are given in the matrix form

Here, Trace (E) = 0, Given, P = Trace (E8) and Q = Trace (E11) The numerical value of (P + Q) is _______

32
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
There are three matrices P(4 × 2), Q(2 × 4) and R(4 × 1). The minimum of multiplication required to

compute the matrix PQR is _______?

16
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Two matrices A and B are given below:

If the rank of matrix A is N, then the rank of matrix B is

N/2
N – 1
N
2N
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
For the matrix Which of the following statements is/are TRUE? [MSQ]
[A]{x}={b} has a unique solution
[A]{x}={b} does not have a unique solution
[A] has three linearly independent eigenvectors
[A] is a positive definite matrix
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Orthonormal
Orthogonal
Parallel
collinear
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
If M is an arbitrary real n × n matrix, then which of the following matrices will have non-negative eigenvalues?
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Real eigenvalues and eigenvectors
Real eigenvalue but complex eigenvectors
Complex eigenvalues but real eigenvectors
Complex eigenvalues and eigenvectors
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
1
3
7/9
Indeterminable
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33

The limit (correct up to one decimal place) is __

0.5
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00

0
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Let max (a, b) denote the maximum of two real numbers a and b. Which of the following statement(s) is/are

TRUE about the function f(x) = max{3 – x, x – 1}? [MSQ]

It is continuous on its domain
It has a local minimum at x =2
It has a local maximum at x = 2
It is differentiable on its domain
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
x∈(0,1). Then f(x) has
no local minimum in (0,1)
one local minimum in (0,1)
Exactly one local minimum in (0,1)
Two distinct local minima in (0,1)
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Tautology
Contingency
Contradiction
Invalid
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which of the following statements about informed and uninformed search is true?
Uninformed search algorithms can always find the shortest path faster than informed search algorithms
Informed search algorithms guarantee finding the shortest path if a heuristic function is admissible and consistent.
Both informed and uninformed searches require heuristic information to guarantee completeness
Breadth-First Search is an example of an informed search algorithm.
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Let ℎ1and ℎ2 be two admissible heuristics used in A∗ search.Which ONE of the following expressions is always an admissible heuristic?
ℎ1 + ℎ2
ℎ1 × ℎ2
ℎ1/ℎ2, (ℎ2 ≠ 0)
|ℎ1 − ℎ2|
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
which of the following best describes the main advantage of using probabilistic reasoning in AI over deterministic reasoning?
It provides absolute certainty in outcomes.
It allows for reasoning in domains with incomplete or uncertain information.
It simplifies the representation of knowledge.
It requires extensive computation for trivial problems.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
In a simple network, if the joint PMF values are given as (P(X=1, Y=1) = 0.2), (P(X=1, Y=0) = 0.1), (P(X=0, Y=1) = 0.4), (P(X=0, Y=0) = 0.3). Calculate (P(X=1)). (Upto 1 decimal)

0.3
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Tautology
Contingency
Contradiction
Invalid
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A dataset contains 10 samples. Leave-One-Out Cross-Validation (LOO-CV) is applied to train a model. How many models will be trained?
1
9
10
100
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
A dataset has four features with variances:

Var(F1)=5,Var(F2)=3,Var(F3)=2,Var(F4)=1

After applying PCA, what is the cumulative variance explained by the first two principal components?

80
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
Which of the following statements about inference in Bayesian networks is true?
Any inference algorithm can calculate marginals without knowledge of the network structure.
Exact inference can always be performed in linear time irrespective of network complexity.
Graphical structures can lead to computational efficiency in performing inferences.
Inference is only possible when all node states are known a priori.
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Given the entropy for a split, Esplit = 0.47 and the entropy before the split, Ebefore = 1. What is the Information Gain for the split? (Upto 2 decimals)
0.53
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Which of the following statements is not true about the Decision tree?
It starts with a tree with a single leaf and assign this leaf a label according to a majority vote among all labels over the training set
It performs a series of iterations and on each iteration, it examine the effect of splitting a single leaf
It defines some gain measure that quantifies the improvement due to the split
Among all possible splits, it either choose the one that minimizes the gain and perform it, or choose not to split the leaf at all
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66