SB_Quiz1_Day1-Day4

SB_Quiz1_Day1-Day4

Professional Development

10 Qs

quiz-placeholder

Similar activities

DECI - Week 11 - round

DECI - Week 11 - round

Professional Development

10 Qs

Quiz TLJ Kelas XII TKJ  (Tugas Diklat 7 Samisanov)

Quiz TLJ Kelas XII TKJ (Tugas Diklat 7 Samisanov)

Professional Development

15 Qs

Révisions après vacances

Révisions après vacances

Professional Development

13 Qs

Entity Framework

Entity Framework

Professional Development

10 Qs

DBMS Quizzz....!

DBMS Quizzz....!

Professional Development

15 Qs

Microsoft SQL Server

Microsoft SQL Server

12th Grade - Professional Development

10 Qs

DBMS Quiz1

DBMS Quiz1

University - Professional Development

10 Qs

JMETER Final Quiz

JMETER Final Quiz

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?