__________ is a behavioral design pattern that lets an object alter its behavior when its internal state changes. It appears as if the object changed its class.
Behavioral Design Patterns

Quiz
•
Computers
•
University
•
Medium
Halyna Melnyk
Used 65+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
State
Command
Mediator
Observer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What concept is the State pattern closely related to?
Finite Machine
State Machine
Finite-Stable Machine
Finite-State Machine
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The main idea of the State Pattern is that, at any given moment, there’s a ________ number of states which a program can be in.
infinit
finit
finalized
finished
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What kind of operators are mostly implemented in the State machine?
conditional
loop
assignment
all of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What pattern can we use when having an object that behaves differently depending on its current state, the number of states is enormous, and the state-specific code changes frequently?
Command
Mediator
State
Observer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use this pattern when you have a class polluted with massive conditionals that alter how the class behaves according to the current values of the class’s fields. What pattern?
Observer
Mediator
State
Strategy
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What pattern you can use when having a lot of duplicate code across similar states and transitions of a condition-based state machine.
Observer
Mediator
State
Command
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Empowerment Technology (SUMMATIVE)

Quiz
•
12th Grade - University
20 questions
Machine Learning

Quiz
•
University
20 questions
CSE316_Unit01_Quiz01

Quiz
•
University
25 questions
Quiz Teori bahasa Otomata

Quiz
•
University
20 questions
Understanding Functions in Programming

Quiz
•
9th Grade - University
20 questions
Week 11-12 PC8 Advanced OOP Concepts Quiz

Quiz
•
University
20 questions
TECHNOLOGY (Grammar) Level 3 Unit 5

Quiz
•
University
15 questions
Шаблоны проектирования

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade