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?
Find the odd man out from the given series
2, 6, 12, 20, 32, 42, 56, 72
The sides of a rectangle are in the ratio 4:5 and its area is 2000 sq.m. Find the perimeter of the rectangle?
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.
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
Caterpillar: Butterfly :: __?__: Cockroach
The process of reshaping something is known as _________.
The newspaper sale was not good, so the manager took the bull by the horns and replaced the editor.
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 ?
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)
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)
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)
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)
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?
X = bcadsce
Y = csadesg
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
|

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.
S1: Lock upgradation and degradation are allowed only in the shrinking phase.
S2: 2-phase locking allows lock degradation in shrinking phase.
F1 = {M → TN, P → QM} and
F2 = {M → N, P → Q, P → MT, MN → T}
Which of the following statement is true?
The probability that E lies in between 2 and 4 mm/day in a day in the watershed is (upto one decimal)
where u(x) is the unit step function. Then the value of ' a ' and Probability {X ≤ 0}, respectively, are [MSQ]
The probability P (x + y ≤ 1) is ________.
squares. Given: Σx = 6, Σy = 21, Σx^2 = 14 and xy = 46, the value of a and b are respectively.
Here, Trace (E) = 0, Given, P = Trace (E8) and Q = Trace (E11) The numerical value of (P + Q) is _______
compute the matrix PQR is _______?
If the rank of matrix A is N, then the rank of matrix B is
The limit (correct up to one decimal place) is __
TRUE about the function f(x) = max{3 – x, x – 1}? [MSQ]

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?