Search Header Logo

Design Patterns in Software Engineering

Authored by Tarik Ćoralić

Other

University

40 Questions

Used 1+ times

Design Patterns in Software Engineering
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main goal of using design patterns in software engineering?

Replace comments

Solve specific bugs

Increase CPU speed

Reuse solutions to common design problems

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT one of the four essential parts of a design pattern?

Pattern name

The problem

Solution

Programming syntax

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of design pattern focuses on object creation?

Structural

Behavioral

Creational

Relational

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pattern ensures a class has only one instance and provides a global point of access to it?

Factory

Builder

Singleton

Strategy

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main idea behind the Factory Method pattern?

Build objects using inheritance

Hide object creation logic

Define one universal object

Return multiple unrelated objects

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Abstract Factory pattern is used to:

Create one type of object

Link unrelated classes

Create families of related objects

Track runtime behavior

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Builder pattern focus on?

Running commands

Building complex objects step by step

Wrapping objects

Checking object types

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?