
Chapter 5: Design Properties
Authored by Software Engineering
Mathematics
1st - 5th Grade
CCSS covered
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.2.1
CCSS.RI.3.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
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?
Similar Resources on Wayground
10 questions
STATISTIKA
Quiz
•
5th Grade
10 questions
Kuis Matematika
Quiz
•
1st Grade - University
10 questions
Line Plot Mode
Quiz
•
5th Grade
10 questions
Percent, Decimal, Fraction, and Ratio
Quiz
•
5th Grade
10 questions
Avaliação 2º Programação
Quiz
•
2nd Grade
10 questions
Wk 7 Lesson 1, Word Problems
Quiz
•
3rd Grade
10 questions
MATEMATIKA (Statistika)
Quiz
•
4th Grade
10 questions
2GC - OD Game Week 28
Quiz
•
2nd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Mathematics
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
10 questions
Area
Quiz
•
3rd Grade
20 questions
Identifying Fractions
Quiz
•
3rd Grade
10 questions
Multiplying Fractions
Quiz
•
5th Grade