Question
Who lives on 6th
floor? Study the following information carefully and answer the question given below: There are eight people A, P, Q, J, K, V, U and L are living in a 8 floor Building on different floors from top to bottom (such as ground floor is numbered as 1 and top floor is numbered as 8) but not necessarily in the same order. A lives on an even-numbered floor but not on the floor numbered second or fourth. Only three floors are there between A and P. Only two people live between Q and K. V lives on a floor above J. There are equal numbers of floors between the floors on which K and P live and between the floors on which A and K live. L lives immediately below J’s floor. U lives immediately below A’s floor.Solution
A lives on an even-numbered floor but not on the floor numbered second or fourth. Only three floors are there between A and P.
What is the output of the following code?
print(min(max(False,-30,-4), 12,7))
How can we set default rwx permission to all users on every file which is created on the current shell?
In a binary search tree (BST), what is the time complexity of finding the maximum element in the tree?
Â
What is the main purpose of hashing in blockchain?
Which storage technology provides high-speed, non-volatile data storage but is volatile and temporary in nature?
Which device is responsible for making routing decisions in a network?
Which network topology requires the highest amount of cabling?
What is the main purpose of subnetting?
Which of the following synchronization mechanisms is known for its "wait" and "notify" operations?
Predict the output for below code in python
X=true
Y=false
Z=false
if not X or Y :
print(“first case”)