SB_Quiz1_Day1-Day4

SB_Quiz1_Day1-Day4

Professional Development

10 Qs

quiz-placeholder

Similar activities

Input/Output Interface Cards

Input/Output Interface Cards

Professional Development

9 Qs

Networking

Networking

Professional Development

14 Qs

Révisions après vacances

Révisions après vacances

Professional Development

13 Qs

DECI - Week 11 - round

DECI - Week 11 - round

Professional Development

10 Qs

Basics in Active Directory for IT Helpdesk Quiz

Basics in Active Directory for IT Helpdesk Quiz

Professional Development

15 Qs

Spring Boot Quiz

Spring Boot Quiz

Professional Development

11 Qs

Fun Robots and MakeCode

Fun Robots and MakeCode

4th Grade - Professional Development

13 Qs

DBMS DEFINITIONS

DBMS DEFINITIONS

Professional Development

10 Qs

SB_Quiz1_Day1-Day4

SB_Quiz1_Day1-Day4

Assessment

Quiz

Computers

Professional Development

Easy

Created by

Pratham Soni

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the goal of Spring Boot?

Additional libraries for monitoring

Manual configuration

Extensive XML configuration

Faster setup and less configuration

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of @Autowired annotation?

Defines and configures a bean

Marks a class as a Spring bean

Used for dependency injection

Specifies which bean to inject

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the default scope of a class in Spring Boot?

Singleton

Session

Prototype

Request

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between @Controller and @RestController in Spring MVC?

@Controller is used for RESTful API services, @RestController is used for traditional web applications

@Controller requires @ResponseBody for data response, @RestController implicitly includes @ResponseBody

@Controller returns data directly, @RestController returns views

@Controller handles web pages, @RestController handles RESTful web services

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the purpose of JPQL in JPA?

A platform-independent object-oriented query language

Direct database access

More code for managing connections

Fine-grained control over database operations

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which annotation is used to specify the primary key of an entity in JPA?

@Id

@GeneratedValue

@Entity

@Table

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does Hibernate do in relation to JPA?

Maps Java objects to database tables

Requires more boilerplate code

Handles direct database access

Provides fine-grained control over operations

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?