Question
Who among the following person lives on the floor
immediately above U? Answer the questions based on the information given below. Eight persons viz. U, V, W, X, Y, Z, A and B are living in an eight-storey building, but not necessarily in the same order. The bottommost floor is numbered as 1 and the floor immediately above it is numbered as 2 and so on. Not more than one person lives on the same floor. The consecutive alphabetically named person doesn’t live on the adjacent floors of the building. Y lives on an odd-numbered floor and three floors below Z. A lives between Y and Z. Only two persons live between A and B who doesn’t live on the bottommost floor. X lives on an even-numbered floor. The number of floors above X is the same as the number of floors below U. W lives three floors below V.Solution
Y lives on an odd-numbered floor and three floors below Z. A lives between Y and Z. Only two persons live between A and B who doesn’t live on the bottommost floor. X lives on an even-numbered floor. The number of floors above X is the same as the number of floors below U. W lives three floors below V. The consecutive alphabetically named person doesn’t live on the adjacent floors of the building. Hence, cases 1 and 3 get eliminated.
In a switch statement (e.g., C++, Java), what happens if a break statement is omitted from a case block?
Which layer is not in OSI but in TCP/IP
Which debugging technique involves adding temporary output statements (e.g., print() or console.log()) to display variable values or execution flow?
In a nodal analysis a circuit with 10 nodes will have _______ unknown voltage and _______equation.Â
Which of the following programming language can be used to process text data for the requirements in various textual data analysis?Â
Which refers to the creation of Internet Protocol (IP) packets with a false source IP address  to i mpersonate another computer system.Â
...What is the time complexity for accessing an element at a specific index in an array?
A binary search function is returning -1 (not found) even when the target element is present in the array. The array is sorted. Which of the following i...
Consider the following C code snippet for calculating base raised to the power of exp:
  #include
  double power(double ...
In Python, which of the following built-in data structures can be most efficiently used to implement a stack, and why?