Eight friends A, B, C, D, E, F, G and H are sitting around a circular table not necessarily in the same order. Three of them are facing outward while five are facing towards the centre. There are an equal number of males and females in the group.
C is facing the centre. E is sitting third to the right of C.
F is sitting third to the left of E. Three people are sitting between F and B. The immediate neighbours of B are females. G is sitting third to the right of F. D is sitting third to the right of A. A is not an immediate neighbour of E. The immediate neighbours of E are males and facing the centre. The immediate neighbours of D are females and face outside. The one sitting third to the left of B is a male. No female is an immediate neighbour of G.
Four of the following five are alike in a certain way based on their seating positions in the above arrangement and hence form a group. Which of the following differs from a group?
Study the following information and answer the questions given below:
Eight friends A, B, C, D, E, F, G and H are sitting around a circular table not necessarily in the same order. Three of them are facing outward while five are facing towards the centre. There are an equal number of males and females in the group.
C is facing the centre. E is sitting third to the right of C.
F is sitting third to the left of E. Three people are sitting between F and B. The immediate neighbours of B are females. G is sitting third to the right of F. D is sitting third to the right of A. A is not an immediate neighbour of E. The immediate neighbours of E are males and facing the centre. The immediate neighbours of D are females and face outside. The one sitting third to the left of B is a male. No female is an immediate neighbour of G.
What is D’s position with respect to G?
Eight friends A, B, C, D, E, F, G and H are sitting around a circular table not necessarily in the same order. Three of them are facing outward while five are facing towards the centre. There are an equal number of males and females in the group.
C is facing the centre. E is sitting third to the right of C.
F is sitting third to the left of E. Three people are sitting between F and B. The immediate neighbours of B are females. G is sitting third to the right of F. D is sitting third to the right of A. A is not an immediate neighbour of E. The immediate neighbours of E are males and facing the centre. The immediate neighbours of D are females and face outside. The one sitting third to the left of B is a male. No female is an immediate neighbour of G.
How many persons are sitting between H and C when counted from the left side of H?
PASSAGE
When we imagine a forest, we think of green plants, shrubs, algae, insects, animals, butterflies, mushrooms, flowers, creepers and many more living beings that lend vibrancy to this wonderful aspect of nature.
Dead trees are referred to as ‘snags’. What happens when a tree dies in the forest? No one removes it, let alone destroys it, by burning or burying, it is just left to be. Of what good is a dead tree? Well, when a tree dies, the tree itself may have ceased to live, but it continues to foster the intricate ecosystem of biota that is truly enthralling. A dead tree is a valuable habitat for a host of other species like birds, insects and reptiles. It hosts algae, lichen and moss, which in turn provide food and sustenance to a host of other organisms. That is why in informed societies where forests are part of conservation plans, dead trees - whether standing or fallen - are left undisturbed to exist cheek-by-jowl with other constituents of the forest. A tree that has been dead for a very, very long time might start disintegrating with sustained response to sunlight, rain, moisture and wind. Even as it disintegrates, it turns into valuable compost with minerals and roughage that enriches the soil of the forest.
The Northern Illinois Forestry Association lists atleast 38 species of birds `` that sceavate nest holes or use existing holes in dead or dying trees are 29 species of mammals that use tree cavaliers for various purposes ”.
What is the meaning of the idiom cheek-by-jowl?
In Order: EACKFHDBG
Pre order:FAEKCDHGB
What will be the post order traversal for above tree?
list1 = [1, 2, 3]
list2 = [4, 5]
What is the result of this nested list?
result = [[x + y for y in list2] for x in list1]
print(result)
values = [1, 2, 3]
functions = [lambda x: x**2, lambda x: x*3]
result = [list(map(f, values)) for f in functions]
print(result)
def fib(n, GATE={}):
if n in GATE:
return GATE[n]
if n <= 1:
return n
GATE[n] = fib(n-1, GATE) + fib(n-2, GATE)
return GATE[n]
print(fib(10))
def outer(a):
def middle(b):k/[p--[[[[-
def inner(c):
return a + b + c
return inner
return middle
f = outer(5)
g = f(10)
result = g(15)
print(result)
GATE = [{'name': 'John', 'age': 25}, {'name': 'Alice', 'age': 30}, {'name': 'Bob', 'age': 25}]
Sort by age in descending order, then by name in ascending order, but exclude entries where the age is less than 25.
filtered_sorted_GATE = sorted(
[p for p in GATE if p['age'] >= 25],
key=lambda x: (-x['age'], x['name'])
)
print(filtered_sorted_GATE)
Q, U, I, C, K, S, O, R, T, E, X, A, M, P, L, E
What is the position of the pivot element after completion of the first pass_____?
Apply a single source shortest path algorithm on the given graph using vertex ‘A’ as the source. What is the order in which vertices get removed from the priority queue for the above graph?

Given a relational schema r(A, B, C, D, E) and a set of FD’s {A → BC, CD → E, B → D, E → A} that holds on r. The decomposition of r into r1(A, B, C) and r2(A, D, E) is
I.Lossless decomposition
II.Dependency preserving
Which of the following is true?
Let transactions T1, T2 and T3 be defined to perform the following operations:
T1: Add 5 to A
T2: Double A
T3: Display A on the screen and then set it to 1 i.e., A = 1.
(Where A is same item in the database)
Suppose transactions T1, T2 and T3 are allowed to execute concurrently. If A has initial value zero, report the possible values of final value of A and the displayed value of A
(I) P(E)=1/4
(II) n(S)=8
(III) n(E)=6
(IV) P(E)=3/4
Which of the following option(s) are true: [MSQ]
A continuous random variable X has the distribution function
F(x) = 0 if x < 1
The value of k is
For which of the following values of λ and μ the system of equation
x + y + z = 6
x + 2y + 3z = 10
x + 2y + λ z = μ
has no solution
Consider solving the following system of simultaneous equations using LU decomposition.
where L and U are denoted as
Which one of the following is the correct combination of values for
Consider the system of linear equations.
x + 2y+ z = 5
2x + ay + 4z = 12
2x + 4y + 6z = b
The values of a and b such that there exists a non-trivial null space and the system admits infinite solutions are
For the standard basis a linear transformation
has the matrix representation
The image under T of (2,1,2) is
Which of the following option(s) are true? [MSQ]
The derivative of f(x) = cos (x) can be estimated using the approximation
The percentage error is calculated as
The percentage error in the derivative of f (x ) at x = π/6 radian, choosing h = 0.1 radian, is
A path AB in the form of one quarter of a circle of unit radius is shown in the figure. Integration of (x + y)^2
on path of AB traversed in a counter-clockwise sense
The volume enclosed by the surface f (x, y) = over the triangle bounded by the lines x = y; x = 0; y = 1 in
the xy plane is _______.
1. We do feature normalization so that new features will dominate others.
2. Sometimes, feature normalization is not feasible in the case of categorical variables.
3. Feature normalization always helps when we use the Gaussian kernel in SVM.
You want to choose a hyperparameter (H) based on TE and VE.

Which value of H will you choose based on the above table?
1.Type I error is known as a false positive, and Type II error is known as a false negative.
2.Type I error is known as a false negative, and Type II error is known as a false positive.
3.Type I error occurs when we reject a null hypothesis when it is actually true.
What is the entropy of the target variable?
1. For a sample input, compute an output
2. Initialize weights of perceptron randomly
3. Go to the next batch of dataset
4. If the prediction does not match the output, change the weights
ℎ1 counts the number of misplaced tiles. If the initial state has 5 misplaced tiles, what would be the heuristic estimate
ℎ1 for the start node?
ℎ2 uses the Manhattan distance. If three tiles have Manhattan distances of 2, 1, and 3 respectively from their goal positions, what is
ℎ2for this configuration?