Font size
WorksheetsObject-Oriented Programming
Total questions: 10
Worksheet time: 5mins
Why is it useful for code to be object-oriented?
to ensure the code works
to organize code that is easier to maintain and change
to maintain the value of the code
A blueprint for a software object is called a ___.
object
program
API
class
What is a class?
A class is an object.
A class is an object that defines a certain value.
A class is a blueprint by which individuals' objects are created.
An _________ is an instance or of a copy of a class.
Class
Object
Attribute
A ________ is blue print that defines certain characteristics and behavior. It is simply a representation of different types of objects.
Class
Object
Attribute
Characteristics
Select all the given characteristic of OOP
Data structures are designed such that they characterize the objects.
C input/output is based on library and the processes are carried out by including functions.
Programs are divided into what are known as objects.
Emphasis is on data rather than procedure
An object is an actual representation of a class.
true
false
Which is the correct symbol to represent an object?
</>
(/)
{/}
Object-oriented programming is based on the concepts of _______ ?
class
properties
object
Choose the correct statement.
If we structure code as objects then we can change one part without affecting other codes.
To make a game with complex code, coding in sequence and instructions will not mess up the codes.
Creating code with OOP is more structural and easier to change other objects in a game.
