Lect 9

Lect 9

University

40 Qs

quiz-placeholder

Similar activities

Extension Communication 2

Extension Communication 2

University

45 Qs

SOLA TWAN KELAS XI TKJ

SOLA TWAN KELAS XI TKJ

KG - University

35 Qs

Examination and Evaluation: Principles and concepts

Examination and Evaluation: Principles and concepts

University

37 Qs

American Literature - Early

American Literature - Early

University

36 Qs

ASESSMEN AKHIR SEMESTER PPJ KELAS XI TJKT

ASESSMEN AKHIR SEMESTER PPJ KELAS XI TJKT

University

40 Qs

Grammar Formative Review

Grammar Formative Review

KG - University

45 Qs

DST Quiz Bee

DST Quiz Bee

University

40 Qs

Operant Conditioning

Operant Conditioning

University

35 Qs

Lect 9

Lect 9

Assessment

Quiz

Other

University

Easy

Created by

Hoang Tran

Used 4+ times

FREE Resource

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()

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?