
Basics
Authored by Fatma Orsun
Fun
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
Notes on Blender 3D - Section 4 Review
Quiz
•
6th Grade - University
15 questions
Vocabulary
Quiz
•
9th Grade - Professio...
10 questions
HANGUL quiz part 1
Quiz
•
University
15 questions
Wigglebot
Quiz
•
KG - Professional Dev...
10 questions
MetaQuiz 5 - Gear NFT2
Quiz
•
KG - University
10 questions
Week 10 - Radio 1st year
Quiz
•
University
12 questions
Karel Functions Quiz
Quiz
•
University
9 questions
Akselerasi Indonesia Emas
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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