
Basics
Quiz
•
Fun
•
University
•
Medium
Fatma Orsun
Used 8+ times
FREE Resource
Enhance your content
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the difference between object-oriented programming and procedural programming?
Procedural programming can use looping and branching, but object-oriented programming cannot.
Procedural programming uses subroutines, but object-oriented programming does not allow them.
Procedural programming specifies a sequence of tasks, but object-oriented programming describes the properties of tools or items.
Procedural programming specifies a sequence of calculations, but object-oriented programming involves more logic.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do object behaviors and attributes differ?
Attributes apply only to a specified object, but behaviors apply to other linked objects.
Behaviors are vector quantities, but attributes are scalars.
Attributes describe a state, but behaviors describe actions.
Behaviors describe dynamic properties, but attributes are static.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are designing a traffic simulation program. What is a possible attribute that you could use for a car object?
opening the door
accelerating
cleaning
gas mileage
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Robert has gathered the requirements for a new solution, described the application he is going to build, and identified the main objects in the solution. What should he do next?
Describe object interactions.
Start writing code.
Build class diagrams.
Build CRC cards.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of encapsulation?
to protect an object from unwanted changes
to eliminate redundant properties
to separate attributes from behaviors
to organize attributes and behaviors in a hierarchical fashion
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In addition to attributes and behaviors, which quality must a class possess?
a data type
a state
a color
a name
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the following class diagram, what does promote() represent?
an attribute
an abstraction
a behavior
a name
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Exam😭😅
Quiz
•
KG - Professional Dev...
8 questions
Sleep-Wake Disorders
Quiz
•
University
15 questions
3D PRINTING WITH RP MAKER
Quiz
•
1st Grade - Professio...
10 questions
SAFETY & RISK
Quiz
•
University
10 questions
TOYS
Quiz
•
4th Grade - University
7 questions
Computer basics
Quiz
•
12th Grade - University
10 questions
Construct 3 Quiz - Game Development
Quiz
•
2nd Grade - Professio...
15 questions
Computer Programmer Quiz
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade