WorksheetsFinals - OOP - IS
Total questions: 50
Worksheet time: 24mins
A single object can also be referred to as an...
Object
Singular Object
Instance
Singular
Car, Fruit, Ball & Pet are all examples of potential classes?
True
False
A dog might be an instance of the Pet class?
True
False
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
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.
Real-world objects contain ___ and ___.
state
behavior
attributes
methods
A software object's state is stored in ___.
encapsulation
inheritance
polymorphism
fields
A software object's behavior is exposed through ___.
methods
encapsulation
abstraction
inheritance
Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as data ___.
inheritance
polymorphism
abstraction
encapsulation
A blueprint for a software object is called a ___.
object
program
API
class
Common behavior can be defined in a ___ and inherited into a ___ using the ___ keyword.
class
subclass
superclass
extends
A collection of methods with no implementation is called an ___.
block code
comment
interface
blue print
A namespace that organizes classes and interfaces by functionality is called a ___
package
program
output
complied
The term API stands for ___?
Application Package Interface
Application Programming Interface
Abstraction Package Implementation
Abstraction Programming Interface
It has characteristics or attributes. The values of an object's attributes give the object a state.
Object
Class
Inheritance
Interface
The programming methodology that defines objects whose behavior and interactions accomplish given task.
Orient-Object Programming
Oriented-Object Programming
Object-Oriented Programming
Object-Object Programming
Object oriented programming (OOP) is a programming technique that uses “ (a) ” to design the applications and computer programs.
Characteristics of OOP..
Abstraction
Encapsulation
Inheritance
Polymorphism
seriously.. i am not sure with my answer :(
________ is wrapping of data into a single unit called class.
Abstraction
Polymorphism
Encapsulation
Inheritance
__________ refers to the act of representing essential details.
Polymorphism
Abstraction
Inheritance
Encapsulation
__________ is the process in which objects of one class can link and share some common properties from the objects of another class.
Abstraction
Inheritance
Polymorphism
Encapsulation
__________ is the process of using a function for more than one purpose. It allows the use of different internal structures of the object by keeping the same external interface.
Inheritance
Polymorphism
Abstraction
Encapsulation
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
The Object Oriented paradigms suggest we should model instructions in a computer program with the data they manipulate and store these as components together.
TRUE
FALSE
Allows us to consider complex ideas while ignoring irrelevant detail that would confuse us.
Abstraction
Encapsulation
Generalisation
Polymorphism
Object
