

SOLID
Presentation
•
Computers
•
University
•
Practice Problem
•
Medium
Nimisha Roy
Used 13+ times
FREE Resource
2 Slides • 7 Questions
1
2
Multiple Choice
Which SOLID principle is most closely related to High Cohesion GRASP principle?
Open Close Principle
Single Responsibility Principle
Liskov Substitution Principle
Dependency Inversion Principle
3
Multiple Choice
Which SOLID principle is being violated in this code?
Single Responsibility Principle
Interface Segregation Principle
Open Close Principle
Dependency Inversion Principle
4
Multiple Choice
Which SOLID principle is being violated in this code?
Single Responsibility Principle
Interface Segregation Principle
Liskov Substitution Principle
Open Close Principle
Dependency Inversion Principle
5
Multiple Choice
Which SOLID principle is being violated in this code?
Single Responsibility Principle
Interface Segregation Principle
Liskov Substitution Principle
Open Close Principle
Dependency Inversion Principle
6
Multiple Choice
Suppose you want to create a <user> interface for a UI implementation, but you end up creating <admin>, <employee> and <customer> interfaces. Which SOLID principle did you adopt?
Open Close Principle
Interface Segregation Principle
Liskov Substitution Principle
Dependency Inversion Principle
7
Multiple Choice
Which SOLID principle is being violated in this UML diagram?
Single Responsibility Principle
Interface Segregation Principle
Liskov Substitution Principle
Open Close Principle
Dependency Inversion Principle
8
Multiple Choice
Which is the best solution to make this implementation LSP compliant?
Create Separate classes for Square and Rectangle with no inheritance
make Rectangle and Square siblings and introduce the interface Shape
Modifying the behavior of Rectangle to match Square by enforcing width and height must always be equal for Rectangle
9
Show answer
Auto Play
Slide 1 / 9
SLIDE
Similar Resources on Wayground
6 questions
Permasalahan Jaringan Komputer
Presentation
•
12th Grade
10 questions
บทเรียนวิชาคอมพิวเตอร์พื้นฐาน
Presentation
•
KG
8 questions
Quantum Mechanics
Presentation
•
University
10 questions
Unit 1- Key Features of Society
Presentation
•
KG - University
10 questions
Ion Concentration
Presentation
•
University
8 questions
Buffer Solutions
Presentation
•
12th Grade
11 questions
Nutrition
Presentation
•
University
11 questions
Telephone Vocabulary
Presentation
•
12th Grade
Popular Resources on Wayground
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
10 questions
Spanish Greetings and Goodbyes!
Presentation
•
6th Grade - University
20 questions
Preterito vs. Imperfecto
Quiz
•
KG - University
15 questions
TOEFL Structure - TEST 2
Quiz
•
University
25 questions
Cell Transport
Quiz
•
KG - University
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
4 questions
Exit ticket for the end of class: Spotlight
Quiz
•
KG - Professional Dev...
12 questions
Hurricane or Tornado
Quiz
•
3rd Grade - University