
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
17 questions
Tacos y Tacos Trivia
Quiz
•
University
10 questions
Sensor dan Tranduser
Quiz
•
University
15 questions
culinary
Quiz
•
University
10 questions
Riddles
Quiz
•
KG - Professional Dev...
15 questions
Newton's Laws
Quiz
•
KG - University
10 questions
INFO1110 Icebreakers
Quiz
•
University
10 questions
CCC in Asia
Quiz
•
University
12 questions
Arduino and IoT
Quiz
•
KG - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade