Lect 9

Lect 9

University

40 Qs

quiz-placeholder

Similar activities

Review Cost Accounting 1

Review Cost Accounting 1

University

45 Qs

TUTORIAL 8

TUTORIAL 8

University

40 Qs

PAS GAMBAR MANUFAKTUR KELAS XII

PAS GAMBAR MANUFAKTUR KELAS XII

11th Grade - University

40 Qs

Secret Code

Secret Code

1st Grade - University

44 Qs

Motor Control

Motor Control

University

40 Qs

Scientific Principles PPT 3 - Properties of Water

Scientific Principles PPT 3 - Properties of Water

12th Grade - University

44 Qs

Ramadan Halaqah 1441

Ramadan Halaqah 1441

KG - Professional Development

40 Qs

แบบทดสอบวิชาไมโครคอนโทรลเลอร์

แบบทดสอบวิชาไมโครคอนโทรลเลอร์

KG - Professional Development

45 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?