
Chapter 5: Design Properties
Quiz
•
Mathematics
•
1st - 5th Grade
•
Practice Problem
•
Medium
+2
Standards-aligned
Software Engineering
Used 3+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
According to Parnas (1972), which of these is NOT a benefit of information hiding?
Parallel development
Changeability
Comprehensibility
Increased Cohesion
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A system uses tables to display data. Some tables sort by clicking column headers, others don't. Some show prices in euros, others in dollars. What design property is violated?
Information Hiding
Cohesion
Conceptual Integrity
Coupling
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the ParkingLot example, why should the vehicles data structure be private?
To allow changing the data structure without impacting clients
To make the code run faster
To prevent compilation errors
To save memory
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A cohesive class should have how many responsibilities? (Select all that apply)
One single responsibility
Two complementary ones
At least three
As many as possible
Tags
CCSS.RI.1.4
CCSS.RI.2.1
CCSS.RL.1.1
CCSS.RL.2.1
CCSS.RL.3.1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is an example of ACCEPTABLE coupling?
Classes communicating through hidden data
Two classes sharing global variables
Class A directly reading Class B's private file
A class using public methods from Java's Hashtable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function violates cohesion principles?
pop() - removes top element from stack
sin_or_cos(x, op) - calculates sine OR cosine based on a flag
getBalance() - returns account balance
calculateDropoutRate()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What makes coupling "poor" rather than "acceptable"?
Dependencies not mediated by stable interfaces
Having dependencies
Writing long method names
Using too many classes
Similar Resources on Wayground
10 questions
SOAL MATEMATIKA DIAGRAM KELAS 3
Quiz
•
3rd Grade
10 questions
Estimating Products Word Problems
Quiz
•
2nd - 4th Grade
10 questions
Gr 5 Asset practice 2
Quiz
•
5th Grade
10 questions
Volume Word Problems
Quiz
•
5th Grade
10 questions
Matematika Kelas 3 Diagram Batang
Quiz
•
3rd Grade
10 questions
MEDIAN
Quiz
•
5th - 6th Grade
10 questions
TUGAS 1 MATEMATIKA
Quiz
•
5th Grade
10 questions
Garis dan Diagram batang
Quiz
•
4th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Mathematics
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Area
Quiz
•
3rd Grade
21 questions
Factors and Multiples
Quiz
•
4th Grade
12 questions
Distributive Property of Multiplication
Quiz
•
3rd Grade
20 questions
Division Facts
Quiz
•
3rd Grade
5 questions
4.2G Relate Fractions to Decimals
Interactive video
•
4th Grade
20 questions
Multiplication and Division Fact Families
Quiz
•
3rd Grade
10 questions
Division Division Division
Quiz
•
5th Grade
