Question
Six persons S, T, U, V, W and X play one game each, one
after another, viz. Cricket, Football, Tennis, Rugby, Hockey and Badminton but not necessarily in the same order. Football is not played before Tennis; nor is it played in the end. Who among the following plays Tennis? I. The first game which is played is Badminton, which is not played either by U or by W. S, U and W do not play the last game. II. Cricket is played by T just after Tennis and just before Rugby, which is played by V. Each of the questions below consist of a question and 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 both the statements and give answerSolution
From I and II.
Which tree traversal is most suitable for finding the shortest path in an unweighted graph represented as a tree?
Which C operator is used to access a value at a memory address stored in a pointer?
Which Python keyword is used to define a function?
Which of the following statements is correct for Python lists?
Which of the following is used to handle exceptions in Java?
- Which network device operates at the Data Link Layer of the OSI model and helps to filter and forward data between LAN segments?
In Python, what does len() function do?
Which algorithm is used to find the shortest path from a single source in graphs with negative weights?
In Java, which method is used to start a thread?
Which of the following is a valid C++ constructor?