  1. What does the method `dir(module)` in Python do? a) Returns the documentation of a module b) Lists all functions and variables in a module c) Calls a specific function from a module d) Checks if a module is imported correctly Correct answer: b) Lists all functions and variables in a module 2. Which character is used to indicate a new line in Python strings? a) \t b) \\ c) \n d) '' Correct answer: c) \n 3. What is the primary purpose of a docstring in Python functions? a) Store the function's name b) Define the input and output types c) Provide instructions and information about the function d) Specify the function's return value Correct answer: c) Provide instructions and information about the function 4. What type of variables are keys allowed to be in a Python dictionary? a) List b) Tuple c) Dictionary d) Set Correct answer: b) Tuple


        **MCQ 1:** Which of the following character sets in Python is used to represent a new line? A) tab \t B) new line \n C) backslash \\ D) string " " **Correct Answer:** B) new line \n **MCQ 2:** Which operator has the highest precedence according to the Order of Operations in Python? A) Exponentiation ** B) Slicing C) Attribute reference D) Subscription **Correct Answer:** A) Exponentiation ** **MCQ 3:** In Python, which of the following statements regarding defining a function is true? A) The function name must always be a single character B) A function's docstring should describe the input parameters only C) Testing a function is not necessary for its execution D) The function writing process involves six steps **Correct Answer:** D) The function writing process involves six steps **MCQ 4:** What is the purpose of the 'int' function in Python? A) Convert an integer to a string B) Change a string to an integer C) Calculate the length of a string D) Find the sum of elements in a list **Correct Answer:** B) Change a string to an integer **MCQ 5:** Which of the following is NOT a branching keyword in Python? A) if B) elif C) or D) else **Correct Answer:** C) or

Java
1. In which year was the Java programming language developed? A) 1996 B) 1997 C) 1998 D) 1999 Answer: C) 1998 2. What is the special format used in Java instead of ordinary machine code? A) Binary code B) Byte code C) Assembly code D) Hexadecimal code Answer: B) Byte code 3. Which company developed the Java programming language? A) Microsoft B) Apple C) Sun Microsystems D) IBM Answer: C) Sun Microsystems 4. What is used to execute byte code in Java on any computer? A) Java Compiler B) Java Virtual Machine (JVM) C) Java Debugger D) Java Interpreter Answer: B) Java Virtual Machine (JVM) 5. Which keyword is used to declare a subclass of another class in Java? A) subclass B) superclass C) extends D) implements Answer: C) extends 6. Which keyword is used to specify that a class has to provide a certain set of methods in Java? A) implements B) extends C) interface D) abstract Answer: C) interface 7. What does the keyword "static" mean in the context of a Java main method? A) Not associated with any class B) Associated with an object C) Associated with a subclass D) Associated with the superclass Answer: A) Not associated with any class 8. Which keyword is used to create objects in Java? A) declare B) create C) new D) initialize Answer: C) new 9. What is the purpose of a constructor in Java? A) To destroy objects manually B) To provide initial values to attributes C) To handle exceptions D) To compare two values Answer: B) To provide initial values to attributes 10. How are multi-line comments written in Java? A) // comments B) # comments C) /* comments */ D) Answer: C) /* comments */ 11. What is used to write something to the terminal in Java? A) System.input() B) System.output() C) System.message() D) System.out.println() Answer: D) System.out.println() 12. Which keyword is used to catch exceptions in Java? A) try B) catch C) exception D) throw Answer: B) catch 13. When an exception is thrown but not caught, what happens to the program execution? A) It continues without any issue B) It restarts from the beginning C) It is aborted with an error message D) It ignores the exception Answer: C) It is aborted with an error message 14. What type of error is an ArithmeticException in Java? A) Compilation error B) Run-time error C) Logic error D) Syntax error Answer: B) Run-time error 15. What is the purpose of the "throws" declaration in Java? A) To catch exceptions B) To throw exceptions C) To avoid exceptions D) To pass exceptions on to the calling method Answer: D) To pass exceptions on to the calling method 16. What is an unchecked exception in Java? A) An exception that must be caught B) An exception that doesn't need to be caught C) An exception that occurs at compile time D) An exception with a custom message Answer: B) An exception that doesn't need to be caught 17. Which keyword is used to declare a method that has no associated implementation in Java? A) abstract B) virtual C) override D) synchronized Answer: A) abstract 18. How are array references declared in Java? A) data[] B) array[] C) list[] D) index[] Answer: B) array[] 19. Which class describes graphic windows in Java? A) Window B) Frame C) GUI D) Display Answer: B) Frame 20. What method is automatically called by the Java window system whenever a window's contents need to be redrawn? A) refresh() B) redraw() C) paint() D) display() Answer: C) paint()







1. What is the purpose of the tutorial "Teach Yourself Java in 21 Minutes"? A. To teach Java in 21 days B. To explain C++ syntax C. To provide information about Simula D. To give a brief tutorial on Java for those familiar with object-oriented languages like Simula or C++ - Answer: D. To give a brief tutorial on Java for those familiar with object-oriented languages like Simula or C++ 2. Which keyword is used to create objects in Java? A. create B. assign C. initialize D. new - Answer: D. new 3. What is the purpose of the Java Virtual Machine (JVM)? A. To execute byte code on any computer B. To compile Java programs C. To debug Java code D. To interpret C++ source code - Answer: A. To execute byte code on any computer 4. Which keyword is used to declare a subclass in Java? A. extend B. subclass C. subclassOf D. extends - Answer: D. extends 5. In Java, which operator is used for real division and integer division? A. // B. / C. % D. *= - Answer: B. / 6. Which keyword is used to catch exceptions in Java? A. handle B. catch C. try D. exception - Answer: B. catch 7. What does the "throws" keyword indicate in a Java method declaration? A. The method is throwing an exception B. The method returns a value C. The method is private D. The method is static - Answer: A. The method is throwing an exception 8. In Java, what is the purpose of the "public" keyword in method declarations? A. To indicate that the method is static B. To allow the method to be accessed from other classes C. To declare the method as a constructor D. To specify the method's return type - Answer: B. To allow the method to be accessed from other classes 9. Which keyword is used to specify that a class must provide a certain set of methods in Java? A. requires B. follow C. implements D. declare - Answer: C. implements 10. How is multi-line commenting achieved in Java? A. Using // B. Using ''' C. Using ## D. Using /* and */ - Answer: D. Using /* and */ 11. What is the purpose of the "abstract" keyword in Java class declarations? A. To prevent inheritance B. To allow multiple inheritance C. To indicate that the class cannot be instantiated D. To make the class final - Answer: C. To indicate that the class cannot be instantiated 12. How are array references declared in Java? A. int[] arrayName; B. array arrayName[]; C. array arrayName; D. int arrayName[]; - Answer: A. int[] arrayName; 13. What is the purpose of the "extends" keyword in Java class declarations? A. To declare a subclass B. To indicate an interface C. To initialize a variable D. To allocate memory - Answer: A. To declare a subclass 14. Which method is automatically called by the Java window system for redrawing window contents? A. repaint B. update C. draw D. paint - Answer: D. paint 15. What is the purpose of the "show" method in Java? A. To hide the Java window B. To display the Java window C. To close the Java window D. To maximize the Java window - Answer: B. To display the Java window




1. What is the purpose of using the `private` keyword in a Java class declaration? A) To specify that attributes can be accessed from other classes B) To prevent access to attributes from outside the class C) To make attributes accessible from within the class and its subclasses D) To mark attributes as read-only **Correct Answer: B) To prevent access to attributes from outside the class** 2. In Java, what keyword is used to declare that something can be accessed from other classes? A) private B) protected C) public D) static **Correct Answer: C) public** 3. Which keyword specifies that something can be accessed from within the class and all its subclasses, but not from outside? A) private B) protected C) public D) static **Correct Answer: B) protected** 4. What is the purpose of the `void` keyword when declaring a method in Java? A) Indicates the method is private B) Specifies a method that returns nothing C) Ensures the method is static D) Allows the method to be accessed from other classes **Correct Answer: B) Specifies a method that returns nothing** 5. How is the return type of a method indicated in Java before the method's name? A) By using the static keyword B) By using the final keyword C) By specifying the return type D) By declaring the method as private **Correct Answer: C) By specifying the return type** 6. What is the purpose of the `new` operator in Java when creating objects? A) To delete objects B) To modify objects C) To create new objects D) To encapsulate objects **Correct Answer: C) To create new objects** 7. In Java, what is automatically called when an object is created and matches the parameters given during object creation? A) Static method B) Constructor C) Abstract method D) Virtual method **Correct Answer: B) Constructor** 8. Which keyword is used to extend a class and create a subclass in Java? A) new B) extends C) this D) super **Correct Answer: B) extends** 9. In Java, what is done first when a subclass constructor has parameters that need to be initialized? A) Protected keyword is used B) Abstract methods are implemented C) Constructor of the superclass is called using `super` D) Garbage collection is triggered **Correct Answer: C) Constructor of the superclass is called using `super`** 10. In Java, what kind of methods are automatically overridden in subclasses without any special syntax? A) Static methods B) Final methods C) Virtual methods D) Abstract methods **Correct Answer: C) Virtual methods** 11. What kind of methods in Java are really just declarations without any associated implementation? A) Static methods B) Final methods C) Virtual methods D) Abstract methods **Correct Answer: D) Abstract methods** 12. How are abstract classes distinguished from regular classes in Java? A) They don't have a constructor B) They can't have methods C) They use the `abstract` keyword in the class declaration D) They must implement all methods in the superclass **Correct Answer: C) They use the `abstract` keyword in the class declaration** 13. What is the purpose of an interface in Java? A) To specify a set of methods a class must provide B) To restrict access to class attributes C) To define static methods D) To add new attributes to a class **Correct Answer: A) To specify a set of methods a class must provide** 14. In Java, how is a class declared to implement an interface? A) By using the `implements` keyword B) By using the `extends` keyword C) By using the `abstract` keyword D) By using the `interfaceof` keyword **Correct Answer: A) By using the `implements` keyword** 15. Which method must be implemented in a class that implements an interface in Java? A) processEvent() B) processMouseClick(int x, int y) C) handleClick() D) notifyUser() **Correct Answer: B) processMouseClick(int x, int y)** 16. What is the purpose of the `static` keyword in a Java method? A) To allow the method to be accessed from other classes B) To associate the method with an object C) To prevent the method from being overridden D) To make the method belong to the class itself **Correct Answer: D) To make the method belong to the class itself** 17. In the main method of a Java program, what is the purpose of the `args` parameter? A) To store the return value of the main method B) To define the main method as public C) To pass command line arguments to the program D) To specify the return type of the main method **Correct Answer: C) To pass command line arguments to the program** 18. How can you register a listener object in Java to handle specific events like mouse clicks? A) By implementing the `notifyListener` method B) By adding a `processEvent` method in the listener C) By using the `attachListener` method D) By calling the `addMouseListener` method with the listener object **Correct Answer: D) By calling the `addMouseListener` method with the listener object** 19. What keyword is used in Java to declare a superclass constructor within a subclass constructor? A) supercall B) parent C) parent-class D) super **Correct Answer: D) super** 20. Which keyword is used to specify that a method must be implemented in a subclass? A) mustimplement B) notextend C) override D) abstract **Correct Answer: D) abstract**









1. What method is used to append a new element to the end of a list in Python? a) add() b) insert() c) append() d) extend() Correct answer: c) append() 2. Which method extends a list by appending elements from another enumerable in Python? a) extend() b) add() c) append() d) insert() Correct answer: a) extend() 3. What method gets the index of the first occurrence of a specified value in a list in Python? a) index() b) find() c) search() d) locate() Correct answer: a) index() 4. Which method inserts a value just before the specified index in a list in Python? a) add() b) insert() c) push() d) place() Correct answer: b) insert() 5. What does the pop() method do in Python for lists? a) Removes and returns the first element of the list b) Adds a new element to the end of the list c) Reverses the list in place d) Removes and returns the item at a specified index Correct answer: d) Removes and returns the item at a specified index 6. How does the remove() method work for lists in Python? a) Adds a new element to the end of the list b) Removes all items from the list c) Removes the first occurrence of the specified value d) Reverses the list in place Correct answer: c) Removes the first occurrence of the specified value 7. Which method reverses the list in place in Python? a) sort() b) reverse() c) rearrange() d) flip() Correct answer: b) reverse() 8. What does the count() method do for lists in Python? a) Sorts the list in numerical order b) Extends the list by appending elements from another enumerable c) Counts the number of occurrences of a specific value in the list d) Removes all items from the list Correct answer: c) Counts the number of occurrences of a specific value in the list 9. How does the sort() method work for lists in Python? a) Adds a new element to the end of the list b) Extends the list by appending elements from another enumerable c) Sorts the list in numerical and lexicographical order d) Reverses the list in place Correct answer: c) Sorts the list in numerical and lexicographical order 10. What does the clear() method do for lists in Python? a) Removes all items from the list b) Reverses the list in place c) Counts the number of occurrences of a specific value in the list d) Initializes a list to a fixed number of elements Correct answer: a) Removes all items from the list 11. How can you remove duplicate values in a list in Python? a) Using the del keyword and slice notation b) Using a for loop to iterate over the list c) Converting the list to a set and then back to a list d) Using the clear() method Correct answer: c) Converting the list to a set and then back to a list 12. In a list comprehension in Python, what does the 'for' expression do? a) Filters elements from the source iterable b) Applies an expression to each element of an iterable c) Reverses the list in place d) Removes duplicate values from the list Correct answer: b) Applies an expression to each element of an iterable 13. How can you concatenate two lists in Python using list comprehension? a) Using the + operator b) Using the zip function c) Using the extend() method d) Using a list comprehension expression Correct answer: d) Using a list comprehension expression 14. In Python list comprehensions, where should the if/else clauses be used? a) After the for loop b) Before the for loop c) Inside the expression d) After the expression Correct answer: b) Before the for loop 15. How do you perform double iteration in a list comprehension in Python? a) By using two separate for loops b) By using the zip function c) By combining two for loops into one line d) By using nested list comprehensions Correct answer: c) By combining two for loops into one line 16. What should be considered before using list comprehension for in-place functions in Python? a) The cost of the function b) The length of the list c) Whether the function returns None d) The side effects of the function Correct answer: d) The side effects of the function 17. What is the rule of thumb for double iteration order in list comprehensions in Python? a) Start with outer loop first b) Always start with the inner loop first c) Follow an equivalent for loop d) Use a single loop for multiple iterations Correct answer: c) Follow an equivalent for loop 18. Which method can be used to initialize a list with a fixed number of different mutable objects? a) insert() b) extend() c) copy() d) list() Correct answer: d) list() 19. How can you remove duplicate values in a list while preserving the order in Python? a) Using an OrderedDict b) Using a set and then list conversion c) Using the append() method d) Using the clear() method Correct answer: a) Using an OrderedDict 20. Which method returns a sorted list instead of sorting in place in Python list comprehensions? a) sort() b) sorted() c) reverse() d) extend() Correct answer: b) sorted()









1. In SQL, which statement is used to group the results of a SELECT query by one or more columns? A) ORDER BY B) GROUP BY C) HAVING D) DISTINCT Correct Answer: B) GROUP BY 2. How does the GROUP BY statement generate results in SQL? A) As one result B) As a table of partial results C) As individual rows D) As a sum of all values Correct Answer: B) As a table of partial results 3. The HAVING clause in SQL is used to filter the results of: A) WHERE statement B) GROUP BY statement C) JOIN statement D) ORDER BY statement Correct Answer: B) GROUP BY statement 4. Using the GROUP BY statement along with aggregation functions helps in: A) Sorting the results B) Filtering the results C) Grouping the results D) Summing all values Correct Answer: C) Grouping the results 5. What does the GROUP BY clause do when combined with the HAVING statement in SQL? A) Limits the number of grouped columns B) Filters the grouped results C) Adds new columns to the result set D) Sorts the results alphabetically Correct Answer: B) Filters the grouped results 6. In SQL, the GROUP BY clause can be used with which of the following aggregation functions? A) AVERAGE B) COUNT C) MAX D) All of the above Correct Answer: D) All of the above 7. How can you count the number of rows for each unique entry in a column using SQL? A) Using GROUP BY with SUM function B) Using DISTINCT with COUNT function C) Using GROUP BY with COUNT function D) Using ORDER BY with COUNT function Correct Answer: C) Using GROUP BY with COUNT function 8. What does the GROUP BY clause combined with the ORDER BY clause help achieve in SQL? A) Filter the results B) Group the results C) Sort the results D) Aggregate the results Correct Answer: C) Sort the results 9. Which SQL standard versions introduce ROLAP aggregation for Data Mining? A) 1995, 1998 B) 2000, 2005 C) 2006, 2010 D) 1999, 2003 Correct Answer: D) 1999, 2003 10. What does the ROLAP aggregation operator "roll up" do in SQL? A) Calculates the average B) Provides all possible combinations C) Aggregates values in order from left to right D) Ignores null values Correct Answer: C) Aggregates values in order from left to right 11. How can you filter results using a HAVING clause in SQL? A) Filtering the selected columns B) Filtering the grouped results C) Filtering the joined tables D) Filtering the WHERE conditions Correct Answer: B) Filtering the grouped results 12. What is the purpose of the GROUP BY statement in SQL? A) To group the results based on primary key B) To group the results based on multiple columns C) To group the results based on foreign key D) To group the results based on ORDER BY Correct Answer: B) To group the results based on multiple columns 13. In SQL, what does the HAVING clause filter when used with GROUP BY? A) Individual rows B) Sum of all values C) Aggregated results D) Only distinct values Correct Answer: C) Aggregated results 14. Which SQL clause is used to filter grouped results specifically in SQL? A) HAVING B) WHERE C) ORDER BY D) DISTINCT Correct Answer: A) HAVING 15. How can you count the number of unique entries for a column using SQL? A) Using DISTINCT with COUNT B) Using GROUP BY with SUM C) Using HAVING with COUNT D) Using GROUP BY with COUNT Correct Answer: D) Using GROUP BY with COUNT 16. What is the purpose of the GROUP BY clause in SQL? A) To sort the results B) To aggregate the results C) To combine multiple columns D) To filter the results Correct Answer: B) To aggregate the results 17. Which SQL operator provides aggregates obtained by considering attributes in order from left to right? A) ALL B) CUBE C) ROLL UP D) DISTINCT Correct Answer: C) ROLL UP 18. How can the GROUP BY clause be used to count the number of rows for each unique entry in a given column? A) GROUP BY with ORDER BY B) GROUP BY with HAVING C) GROUP BY with COUNT D) GROUP BY with ROLL UP Correct Answer: C) GROUP BY with COUNT 19. In SQL, what does the GROUP BY clause facilitate? A) Sorting the results B) Filtering NULL values C) Grouping results by multiple columns D) Aggregating individual rows Correct Answer: C) Grouping results by multiple columns 20. Which SQL clause is used to return specific results based on grouped data conditions? A) ORDER BY B) GROUP BY C) HAVING D) WHERE Correct Answer: C) HAVING






1. What is a tuple in Python? A) A mutable data type B) A collection of ordered elements C) A key-value pair structure D) A function that returns multiple values Correct answer: B 2. How are tuples different from lists in Python? A) Tuples are mutable, and lists are immutable B) Tuples are indexed from 1, and lists are indexed from 0 C) Tuples are ordered, and lists are unordered D) Tuples are immutable, and lists are mutable Correct answer: D 3. Which of the following is the correct syntax to create a tuple in Python? A) my_tuple = (1, 2, 3) B) my_tuple = [1, 2, 3] C) my_tuple = {1, 2, 3} D) my_tuple = (1:2, 2:3, 3:4) Correct answer: A 4. Can tuples contain elements of different data types in Python? A) Yes B) No C) Only if the elements are integers D) Only if all elements are strings Correct answer: A 5. How can you access a specific element in a tuple in Python? A) Using the append() method B) Using square brackets [] C) Using the dot operator . D) Using the insert() method Correct answer: B 6. Which of the following methods can be used to count the occurrences of a specific element in a tuple? A) len() B) count() C) remove() D) index() Correct answer: B 7. Can a tuple be modified after it is created in Python? A) Yes B) No C) Only if it contains strings D) Only if it contains integers Correct answer: B 8. Which of the following is a valid way to delete a tuple in Python? A) del my_tuple B) my_tuple.delete() C) my_tuple.remove() D) my_tuple.pop() Correct answer: A 9. What will be the output of the following code snippet? my_tuple = (1, 2, 3) print(my_tuple[1]) A) 1 B) 2 C) 3 D) Error Correct answer: B 10. How can you check if an element exists in a tuple in Python? A) Using the in keyword B) Using the has() method C) Using the exists() function D) Using the contains() method Correct answer: A 11. Which of the following methods can be used to concatenate two tuples in Python? A) merge() B) join() C) concat() D) Using the + operator Correct answer: D 12. What is the result of the expression (1, 2) + (3, 4) in Python? A) (1, 2, 3, 4) B) (4, 3, 2, 1) C) (1, 3, 2, 4) D) Error Correct answer: A 13. How can you unpack a tuple in Python? A) Using the unpack() method B) Using the unpacking operator * C) Using the split() method D) Using the unpacker() function Correct answer: B 14. Which of the following is a valid way to check the length of a tuple in Python? A) size() B) get_length() C) len() D) length() Correct answer: C 15. What will be the data type of the result when you slice a tuple in Python? A) Tuple B) List C) String D) Dictionary Correct answer: A 16. Which character is used to define a tuple in Python? A) [] B) () C) {} D) // Correct answer: B 17. What is the purpose of using tuples in Python? A) To store key-value pairs B) To store unordered elements C) To store mutable data D) To store immutable sequences Correct answer: D 18. How can you reverse the elements of a tuple in Python? A) Using the reverse() method B) Using the reversed() function C) Using the rev() method D) Tuples cannot be reversed Correct answer: B 19. Which of the following methods is used to get the index of a specific element in a tuple? A) find() B) index() C) search() D) locate() Correct answer: B 20. What is the main advantage of using tuples over lists in Python? A) Tuples can hold more elements B) Tuples are faster to iterate through C) Tuples can be modified easily D) Tuples take up less memory Correct answer: D



1. Which of the following is true about Advance Java? A) It is used for developing mobile applications B) It is used for developing web applications C) It is used for developing desktop applications D) It is used for database management Correct answer: B) It is used for developing web applications 2. What does JDBC stand for in Advance Java? A) Java Database Connector B) Java Distributed Computing C) Java Database Connectivity D) Java Data Collection Correct answer: C) Java Database Connectivity 3. Which of the following is an application server in Advance Java? A) Tomcat B) MySQL C) PostgreSQL D) MongoDB Correct answer: A) Tomcat 4. Which component of Advance Java is used for building dynamic web content? A) Servlet B) JDBC C) Swing D) JavaFX Correct answer: A) Servlet 5. What is the purpose of JSP in Advance Java? A) To provide user interface for database operations B) To handle server-side logic in web applications C) To create standalone desktop applications D) To integrate third-party APIs Correct answer: B) To handle server-side logic in web applications 6. Which of the following is used for creating interactive user interfaces in Advance Java? A) RMI B) Swing C) Servlet D) Hibernate Correct answer: B) Swing 7. What is the role of the Spring framework in Advance Java? A) Facilitates building distributed systems B) Provides container for application components C) Manages database operations D) Executes client-side scripts Correct answer: B) Provides container for application components 8. Which tool is commonly used for building and managing Java projects in Advance Java? A) IntelliJ IDEA B) Sublime Text C) Eclipse D) Visual Studio Code Correct answer: C) Eclipse 9. Which of the following is a popular ORM framework in Advance Java? A) JDBC B) JPA C) JSP D) JSF Correct answer: B) JPA 10. In Spring MVC architecture, what is the role of the Controller? A) Handles user requests and processes data B) Interacts with the database C) Generates the user interface D) Manages session data Correct answer: A) Handles user requests and processes data 11. Which of the following is NOT a component of the Spring framework in Advance Java? A) Spring Boot B) Spring Security C) Spring Bean D) SpringFX Correct answer: D) SpringFX 12. Which design pattern is commonly used in Hibernate framework in Advance Java? A) Singleton B) Factory C) Observer D) DAO Correct answer: D) DAO 13. Which tool is commonly used for version control in Java projects? A) Git B) SVN C) Mercurial D) Perforce Correct answer: A) Git 14. Which of the following is used for dependency injection in Spring framework? A) @Autowired B) @Override C) @Transaction D) @Entity Correct answer: A) @Autowired 15. What is the purpose of AOP (Aspect-Oriented Programming) in Spring framework? A) Handling cross-cutting concerns B) Managing database transactions C) Generating dynamic UI components D) Parsing XML configuration files Correct answer: A) Handling cross-cutting concerns 16. Which of the following is NOT a feature of JavaServer Faces (JSF) in Advance Java? A) Templating B) Event handling C) Dependency injection D) State management Correct answer: C) Dependency injection 17. Which component of Hibernate framework is responsible for mapping Java classes to database tables? A) Configuration B) SessionFactory C) Criteria D) Mapping Correct answer: A) Configuration 18. Which of the following is a benefit of using annotations in Hibernate framework? A) Reducing code readability B) Simplifying configuration C) Adding complexity to the project D) Slowing down performance Correct answer: B) Simplifying configuration 19. In which phase of the software development lifecycle is testing typically performed? A) Design B) Implementation C) Maintenance D) Testing Correct answer: D) Testing 20. Which of the following is NOT a type of testing typically performed in software development? A) Unit testing B) Integration testing C) Sprint testing D) System testing Correct answer: C) Sprint testing



