Lect 9

Lect 9

University

•

40 Qs

quiz-placeholder

Similar activities

Fundamentals of Accounting 2

Fundamentals of Accounting 2

University

•

35 Qs

Beyblade Metal Series

Beyblade Metal Series

1st Grade - Professional Development

•

39 Qs

Final Review

Final Review

University

•

42 Qs

Level 3 Electrics

Level 3 Electrics

University

•

36 Qs

Aptitude Test - 5 (26 jun 2021)

Aptitude Test - 5 (26 jun 2021)

University

•

45 Qs

Forensic 4

Forensic 4

University

•

40 Qs

UJIAN AKHIR PRAKTIKUM MIKOLOGI PERTANIAN 1

UJIAN AKHIR PRAKTIKUM MIKOLOGI PERTANIAN 1

University

•

40 Qs

Material Management

Material Management

University

•

40 Qs

Lect 9

Lect 9

Assessment

Quiz

•

Other

•

University

•

Practice Problem

•

Easy

Created by

Hoang Tran

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main goal of design patterns?

To replace object-oriented programming

To slow down the development process

To provide proven solutions to recurring design problems

To compile code faster

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When are design patterns primarily used in the SDLC?

During coding

During deployment

During analysis and design

During testing

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a type of design pattern?

Creational

Structural

Behavioral

Operational

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Singleton pattern ensure?

Multiple instances exist per object

Only one instance of a class exists

One and only one instance of a class exists globally

Objects are always lazily initialized

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Singleton, when is the instance created in lazy instantiation?

At compile time

During class declaration

When it is first needed

At application shutdown

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of Singleton in Spring?

REST controller

Spring Bean

JSP file

JPA Repository

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to get a bean in Spring's BeanFactory?

newBean()

getBean()

makeBean()

createInstance()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?