Distance between two stations A and B is 842 km. A train covers the journey from A to B at 74 km per hour and returns back to A with a uniform speed of 46 km per hour. Find the average speed of the train during the whole journey.
From these series find the odd number:
The ratio of the circumferences of two circles is 4:5. What is the ratio of their areas?
The complete shape looks like shape:
P: Adding an edge to a tree will form a loop. Removing an edge of a tree will result in two disconnected subtrees.
Q: Given Graph G, contains distinct edges, and a cycle C in G. The heaviest edge on C is not in the MST of G.
A[ 21, 7, 41, 22, 15, 18, 25, 58, 103 , 203 ]
Find the total number of inversions possible for the given array.
[ Hint: Inversion formal definition is two elements A[i] and A[j] form an inversion if A[i] > A[j] and i < j ]
Letter
|
A
|
L
|
G
|
O
|
R
|
I
|
T
|
H
|
M
|
Probability
|
20
|
18
|
16
|
12
|
10
|
6
|
5
|
2
|
1
|
Alice got a message in combination of 1’s and 0’s. Alice needs to apply a hamming code algorithm to understand the given message.
110100110011011110101
Find the decrypted message sent by Bob which considers two consecutive ‘1’ and ‘0’. The consecutive numbers may or may not be in continuous order ____? [ Hint: consider left node as 0 ] [MSQ]
AB → C
C → D
BD → E
Which of the following is/are super key(s) of R? [MSQ]
SELECT name, course_id
FROM instructor, teaches
WHERE instructor_ID= teaches_ID;
< T0, start >
< T0, A, 2000, 1950 >
< T0, B, 3000, 3050 >
< T0, commit >
< T1, start >
< T1, C, 1700, 1600 >
What will be the recovery action by immediate modification recovery?
Name
|
Age
|
Occupation
|
Category
|
Shiva
Abdul
Dev
Anil
Anand
|
29
26
28
27
25
|
Professor 1
Engineer2
Teacher3
Business4
Doctor5
|
A
A
B
D
C
|
There is an index file associated with this and it contains the values 4, 5, 2, 1 and 3. Which one of the fields is the index built from?
algorithm(select approximate value)

What is the recall(upto to one decimal in percentage)

For above data what is precision(in percentage)

For above data what is F1 score (Upto one decimal)
{5, 6, 8, 4, 10, 3}
10, 22, 26, 29, 34, x, 42, 67, 70, y are 42 and 35 respectively, then y/x is equal to:

[MSQ]


[MSQ]



[MSQ]
Total optimal value of f(x, y)

Complete the code to calculate the output for the list [1, 2, 3, 4].
def product_except_self(nums):
n = len(nums)
left, right, result = [1] * n, [1] * n, [1] * n
for i in range(1, n):
left[i] = left[i - 1] * nums[i - 1]
for i in range(n - 2, -1, -1):
right[i] = right[i + 1] * nums[i + 1]
for i in range(n):
result[i] = left[i] * right[i]
return resultresult = ___________
print(result)
x = [1, 2, 3]
y = x
y.append(4)
print(x)