
Introduction to OOP

Quiz
•
Computers
•
University
•
Medium
ser firdaus
Used 185+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which statement(s) best describes an object's attributes?
Attributes act like the nouns of an object.
Attributes describe an object's behavior.
Attributes can mean pretty much whatever you want them to mean — that's what we mean by "open source."
All of the above
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which statement(s) best describes an object's behavior?
Behavior acts like the nouns of an object.
Behavior, like attributes, can be defined however we want — that's what we mean by "open source."
Behavior acts like the verbs of an object.
All of the above.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Encapsulation means "open to all" and indicates that the internal workings of an object are entirely visible to the outside world.
True
False
Sometimes
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which statement(s) best describes inheritance?
One object (the child) generalizes the attributes and behavior of another object (the parent), making the object more generalized.
The child object inherits from its parent, adding specialized attributes and behavior
When a child object is created, a well-known best practice is for the developer to manually copy/paste all of the source code from the parent object to ensure that nothing gets broken.
When a child object inherits from its parent, only the additional attributes and behavior must be coded, which is one of the benefits of OOP.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the these is the functionality of ‘Encapsulation’?
Binds together code and data
Using single interface for general class of actions
Reduce Complexity
All of the mentioned
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
LABORATORY QUIZ

Quiz
•
University
20 questions
Multithreading in java

Quiz
•
University
15 questions
Class Diagrams

Quiz
•
University
15 questions
OOP in Python

Quiz
•
University
20 questions
Classes Relationships in Java Programming

Quiz
•
University
20 questions
.NET & C# Basics

Quiz
•
University
20 questions
Java, part I

Quiz
•
11th Grade - University
20 questions
OOPs in Python

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade