Interview test Quiz 0% Instructions:This quiz consists of multiple-choice questions and true/false questions.There are a total of 30 questions.You will have 30 minutes to complete the quiz.Make sure to select the correct answer before the time runs out.The quiz will be automatically submitted after the 30-minute time limit.Let's begin the quiz! Time's up!The quiz has ended. Your responses have been automatically submitted.Thank you for participating! Techweblabs - SPHOORTHY ENGINEERING COLLEGE (09-09-2023) 1 / 25 1. True or False: In a relational database, a one-to-many relationship is represented by placing a foreign key in the "one" side table. A. True B. False 2 / 25 2. Today is March 15, 2023. What day of the week will it be after 61 days? A. Wednesday B. Monday C. Tuesday D. Thursday 3 / 25 3. If 10 persons can complete a task in 12 days, how many days will 15 persons take to complete the same task? A. 4 days B. 18 days C. 8 days D. 6 days 4 / 25 4. The average of 5 consecutive even numbers is 28. What is the largest number among these? A. 34 B. 30 C. 36 D. 32 5 / 25 5. What is the purpose of the super keyword in Java? A. It is used to call a method from a superclass. B. It is used to create an instance of a subclass. C. It is used to specify the access level of a class. D. It is used to access a static variable. 6 / 25 6. In a code language, "BREAD" is written as "CFBEF". How will "CHEER" be written in the same language? A. DGFFS B. DGFSF C. DIFFS D. DFGSS 7 / 25 7. The binary number system is base 2, using only the digits 0 and 1. A. False B. True 8 / 25 8. A shopkeeper gives a discount of 20% on the marked price of an item. If the marked price is $250, what is the selling price? A. 240 B. 200 C. 220 D. 180 9 / 25 9. What is the output of the following Java code snippet?int x = 10;int y = x++ + ++x - x--;System.out.println(y); A. 13 B. 11 C. 12 D. 10 10 / 25 10. If APPLE is coded as BQQMF, what is the code for ORANGE? A. PQQMF B. PSBOGD C. PQBNHF D. PSBOHF 11 / 25 11. True or False: Every prime number is an odd number. A. True B. False 12 / 25 12. The average of 5 numbers is 20. If one number is excluded, the average becomes 18. What is the excluded number? A. 25 B. 15 C. 10 D. 20 13 / 25 13. What is the difference between an abstract class and an interface in Java? A. A class can implement multiple interfaces. B. An abstract class can have both concrete methods and abstract methods. C. An abstract class can be instantiated. D. An interface can have only abstract methods. 14 / 25 14. If a car travels a distance of 480 kilometers in 8 hours, what is its average speed in kilometers per hour? A. 60 B. 75 C. 55 D. 65 15 / 25 15. A foreign key is used to establish a relationship between two tables in a database. A. False B. True 16 / 25 16. If the cost price of an item is $800 and it is sold at a profit of 25%, what is the selling price? A. 1100 B. 900 C. 1000 D. 1200 17 / 25 17. If all cats are dogs, and all dogs are rabbits, which of the following statements is true? A. All rabbits are cats. B. No rabbits are cats. C. All rabbits are dogs. D. Some cats are rabbits. 18 / 25 18. True or False: An equilateral triangle has all angles equal to 60 degrees. A. False B. True 19 / 25 19. If the sum of two consecutive odd numbers is 36, what is the larger number? A. 17 B. 23 C. 19 D. 21 20 / 25 20. In database normalization, which normal form eliminates transitive dependencies? A. Second Normal Form (2NF) B. Fourth Normal Form (4NF) C. First Normal Form (1NF) D. Third Normal Form (3NF) 21 / 25 21. What are the differences between the "throw" and "throws" keywords in Java? A. "throws" is used to catch exceptions in Java. B. "throw" is used in a method signature. C. "throw" is used to explicitly throw an exception within a method. D. "throws" is used to declare the exceptions that a method might throw. 22 / 25 22. A boat can travel a distance of 45 km downstream in 3 hours. The speed of the stream is 5 km/h. What is the speed of the boat in still water? A. 12 km/h B. 14 km/h C. 10 km/h D. 16 km/h 23 / 25 23. In a bag of marbles, 40% are red, 25% are blue, and the remaining are green. If there are 200 green marbles, how many marbles are in total? A. 800 B. 600 C. 200 D. 400 24 / 25 24. If a train travels at a speed of 75 km/h, how long will it take to cover a distance of 900 km? A. 16 B. 12 C. 10 D. 14 25 / 25 25. In HTML, the <div> element is used to define a container or a division of content. A. False B. True 0% Exit Please rate the Exam Thank you Send feedback