
Behavioral Design Patterns in C++ - Hangman - III
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial step taken by the instructor to implement the checkpoint feature?
Create a new project and copy files
Remove unnecessary attributes from the Hangman class
Directly modify the existing Hangman class
Add a new method to the Hangman class
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are different game states stored for checkpoint management?
In a vector list
In a linked list
In a hash map
In a stack
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of removing unwanted states from the vector?
To prevent confusion with multiple states
To improve game performance
To reduce memory usage
To ensure only relevant checkpoints are kept
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What design principle is violated by the current implementation of the Hangman class?
Liskov Substitution Principle
Single Responsibility Principle
Interface Segregation Principle
Open/Closed Principle
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What new class does the instructor propose to manage checkpoints?
Checkpoint Manager
State Controller
Game State Manager
Checkpoint Handler
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?