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. What is the difference between an abstract class and an interface in Java? A. An interface can have only abstract methods. B. An abstract class can be instantiated. C. An abstract class can have both concrete methods and abstract methods. D. A class can implement multiple interfaces. 2 / 25 2. What is the purpose of the super keyword in Java? A. It is used to access a static variable. B. It is used to call a method from a superclass. C. It is used to specify the access level of a class. D. It is used to create an instance of a subclass. 3 / 25 3. In a code language, "BREAD" is written as "CFBEF". How will "CHEER" be written in the same language? A. DGFFS B. DGFSF C. DFGSS D. DIFFS 4 / 25 4. In database normalization, which normal form eliminates transitive dependencies? A. First Normal Form (1NF) B. Fourth Normal Form (4NF) C. Second Normal Form (2NF) D. Third Normal Form (3NF) 5 / 25 5. 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. False B. True 6 / 25 6. Today is March 15, 2023. What day of the week will it be after 61 days? A. Wednesday B. Tuesday C. Monday D. Thursday 7 / 25 7. True or False: An equilateral triangle has all angles equal to 60 degrees. A. False B. True 8 / 25 8. What is the output of the following Java code snippet?int x = 10;int y = x++ + ++x - x--;System.out.println(y); A. 10 B. 13 C. 12 D. 11 9 / 25 9. 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. 14 km/h B. 10 km/h C. 12 km/h D. 16 km/h 10 / 25 10. In HTML, the <div> element is used to define a container or a division of content. A. True B. False 11 / 25 11. If a train travels at a speed of 75 km/h, how long will it take to cover a distance of 900 km? A. 12 B. 10 C. 16 D. 14 12 / 25 12. If the sum of two consecutive odd numbers is 36, what is the larger number? A. 21 B. 17 C. 23 D. 19 13 / 25 13. What are the differences between the "throw" and "throws" keywords in Java? A. "throw" is used to explicitly throw an exception within a method. B. "throws" is used to catch exceptions in Java. C. "throw" is used in a method signature. D. "throws" is used to declare the exceptions that a method might throw. 14 / 25 14. The average of 5 consecutive even numbers is 28. What is the largest number among these? A. 30 B. 34 C. 36 D. 32 15 / 25 15. 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. Some cats are rabbits. D. All rabbits are dogs. 16 / 25 16. If APPLE is coded as BQQMF, what is the code for ORANGE? A. PQBNHF B. PSBOGD C. PQQMF D. PSBOHF 17 / 25 17. The average of 5 numbers is 20. If one number is excluded, the average becomes 18. What is the excluded number? A. 15 B. 20 C. 10 D. 25 18 / 25 18. If a car travels a distance of 480 kilometers in 8 hours, what is its average speed in kilometers per hour? A. 55 B. 60 C. 65 D. 75 19 / 25 19. 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. 6 days C. 18 days D. 8 days 20 / 25 20. A foreign key is used to establish a relationship between two tables in a database. A. True B. False 21 / 25 21. The binary number system is base 2, using only the digits 0 and 1. A. True B. False 22 / 25 22. True or False: Every prime number is an odd number. A. True B. False 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. 200 B. 800 C. 600 D. 400 24 / 25 24. If the cost price of an item is $800 and it is sold at a profit of 25%, what is the selling price? A. 1200 B. 1100 C. 1000 D. 900 25 / 25 25. 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. 200 B. 220 C. 240 D. 180 0% Exit Please rate the Exam Thank you Send feedback