Question
Seven boxes T, U, V, W, X, Y and Z are kept in a
seven-storey building such as bottommost box is numbered as 1 and the box immediately above it is numbered as 2 and so on. Which is the fourth box? Statement I: W is kept in a prime numbered box. V is kept three boxes above W. Z is kept one box above X. Y is kept one box below T. U is kept three boxes below T. Statement II: X is kept three boxes above Y. U is kept two boxes below Y. Z is kept above X. V is kept above T. W is kept below T. The question given below consists of two statements numbered I and II given below it. You have to decide whether the data provided in the statements are sufficient to answer the question. Read all the statements and answer the question.Solution
From statement I, W is kept in a prime numbered box. V is kept three boxes above W. Z is kept one box above X. Y is kept one box below T. U is kept three boxes below T. We get: From statement I alone, we get T is the fourth box. From statement II, X is kept three boxes above Y. U is kept two boxes below Y. Z is kept above X. V is kept above T. W is kept below T. We get:
From statement II alone, we get T is the fourth box. Therefore, data given in either statement I or II alone is sufficient to answer the question.Â
What is an ER diagram used for?
Fork() command is used to create a new process. State true or false.
What is the meaning of the term "refactoring" in software engineering?
Which is the correct format specifier for double type value in C?
What is a "token" in lexical analysis?
What is the worst-case time complexity of inserting n2Â elements into an AVL tree with n elements initially?
What is a common characteristic of problems suitable for dynamic programming solutions?
File Transfer Protocol (FTP), uses well-known port 21 is used for control connection and port 20 for the
Which layer of the TCP/IP model is responsible for IP addressing and routing?
The maximum number of binary trees that can be formed with three unlabeled nodes is: