A dishonest shopkeeper uses 80cm scale instead of metre scale and claims to sell at the cost price. What is his % profit?
The ratio of the number of boys and girls in a college is 8:7, if the percentage increase in the number of boys and girls are 25% and 20% respectively. What will be the new ratio?
John can do a piece of work in 18 days. Ali can do the same work in 24 days and Bishal in 36 days. John and Bishal worked for 4 days and handed it to Ali. Ali worked for some days and handed it again to John and Bishal 6 days before completing the work. For how many days did Ali work?
Fill in the blank with the right homophone
____________ lands have no water.
Fill in the blanks with right participle.
The car warrants __________
Tripura is a state in northeastern India. The third-smallest state in the country, it covers 10,491 km2 (4,051 sq mi) and is bordered by Bangladesh to the north, south, and west, and the Indian states of Assam and Mizoram to the east. In 2011 the state had 3,671,032 residents, constituting 0.3% of the country's population.
The area of modern Tripura—ruled for several centuries by the Tripuri dynasty—was part of an independent princely state under the protectorate of the British Empire. The independent Tripuri Kingdom (also known as Hill Tippera) joined the newly independent India in 1949.
Tripura lies in a geographically disadvantageous location in India, as only one major highway, the National Highway 8, connects it with the rest of the country. Five mountain ranges—Boromura, Atharamura, Longtharai, Shakhan and Jampui Hills—run north to south, with intervening valleys; Agartala, the capital, is located on a plain to the west. The state has a tropical savanna climate, and receives seasonal heavy rains from the south west monsoon. Forests cover more than half of the area, in which bamboo and cane tracts are common. Tripura has the highest number of primate species found in any Indian state. Due to its geographical isolation, economic progress in the state is hindered. Poverty and unemployment continue to plague Tripura, which has a limited infrastructure. Most residents are involved in agriculture and allied activities, although the service sector is the largest contributor to the state's gross domestic product.
What is hindered in Tripura due to geographical isolation?
class A:
def _init_(self, value):
self.value = value
def _add_(self, other):
if isinstance(other, A):
return A(self.value + other.value)
elif isinstance(other, B):
return B(self.value + other.value + 5)
else:
return NotImplemented
def _radd_(self, other):
return self.value + other
class B(A):
def _add_(self, other):
if isinstance(other, A):
return B(self.value + other.value + 10)
else:
return NotImplemented
x = A(10)
y = B(20)
result = 5 + y + x + y
print(result)
def outer_func(x):
def inner_func(y):
return x + y
return inner_func
decorated = outer_func(5)
def decorator(func):
def wrapper(a):
return func(a) * 2
return wrapper
@decorator
def add_ten(b):
return decorated(b + 10)
print(add_ten(5))
class Demo:
def _init_(self):
self.x = 1
def change(self):
self.x = 10
class Demo_derived(Demo):
def change(self):
self.x=self.x+1
return self.x
def main():
obj = Demo_derived()
print(obj.change())
main()
with open("output.txt", "w") as f:
f.write("Congoo\nMyan")
with open("output.txt", "r") as f:
lines = f.readlines()
print(lines[1].strip())
f.seek(0)
print(f.read().strip())
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 ?
The length of a path from Vn to Vn-1 in the minimum spanning tree is____.
Character
|
A
|
B
|
C
|
D
|
E
|
F
|
Frequency
|
12
|
2
|
7
|
13
|
14
|
85
|
How many numbers of bits saved using Huffman coding algorithm ____?
(Note: Assume each character is stored with three bits without using any algorithm)
[ Note: Assume unlimited number of items is allowed ]
Weights
|
2
|
3
|
1
|
5
|
Profits
|
64
|
81
|
30
|
25
|
“Either all operations of the transaction are reflected properly in the database, or none are”.
smart_phone(name, model, manufacturer, battery)
FD1: model → name
FD2: model → manufacturer, battery
FD3: model, manufacturer → battery
Identify the correct statement related to the relation smartphone. [MSQ]
Find the average number of block access (storing follows unspanned strategy)
(Assume first level index is Secondary index)
FROM Sailors S
WHERE NOT EXISTS ((SELECT A.bid
FROM Boats A) EXCEPT
(SELECT C.bid
FROM Reserves C
WHERE C.Sid=S.Sid))
What is above query returns ?
The standard deviation of the random variables is
Let Y be another normal variable with mean -1 and variance unknown. If
Which one of the following statements is true ?
the matrix A are (σ + jω) and (σ - jω) , the x is equal to
This system of equations has
What’s the solution to the above integral?
Find dy/dx at t=1.
Which of the following scenarios, if true, is most likely to violate the key assumptions of Naive Bayes and potentially impact its performance?
a = np.asarray ([1.2, -2.5, 2.4, 3])
a = np.exp(a)
a = a/np.sum(a)
1. It will compute the softmax of a
2. It will compute the element-wise sigmoid of a
3. It will compute the e-th power of each element of a
What does above code does
Which of these are true?