Amongst five bags A, B, C, D and E, each having a different weight. Which of the bag is heaviest?
I. Only two bags are heavier than D. D is heavier than E but lighter than B.
II. C is lighter than D but heavier than E. A is heavier than D, but not the heaviest.
In this question, we have to look after both the statements I. As per this statement, we will have two following cases: CASE I: B can be the heaviest and E can be lightest B > __ > D > __ > E CASE II: B will be the second heaviest and E will be the second lightest __ > B > D > E > __ From this statement, it is not clear that who is the heaviest, so this statement will get eliminated and we cannot use this statement individually II. As per this statement, diagram will be as follows: B > A > D > C > E So from this statement we can conclude that B is the heaviest So, answer will be Only II
Which is not true about minimum spanning tree?
Which of the following protocols is most commonly used in IoT devices to enable communication between smart devices?
Which component of a network ensures that data is delivered to the correct host in a multi-host environment?
What is the primary goal of Cyber Security?
Which of the following is a critical concern for securing critical infrastructure?
In mobile computing, what is the main feature of pervasive computing?
Worst case is the worst case time complexity of Prim’s algorithm if adjacency matrix is used?
Which of the following operations on a data structure refers to the removal of an element from the front of a queue?
Which architecture allows multiple processors to share memory and work simultaneously?
In Data Structures, which of the following algorithms uses the Divide and Conquer strategy?