stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Chapter 1 Flashcards | StudBud
Explore
/
Chapter 1
Chapter 1
10 terms
·
StudBud Administration
·
1 play
Introduction to Object Oriented Programming
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
An object in a program is an abstraction from a real world object.
False
True
2
One of the advantage of OOP is the ability to add on to existing codes based on needs of a new program.
True
False
3
In the following code, which point(s) CAN BE REMOVED yet the program can still work?
(2) and (3)
(3)
(1)
(1) and (4)
4
Which programming language is oriented towards objects?
C
B
C++
BCPL
5
Identify the concepts of 1, 2, and 3.
1: Base Class, 2: Objects, 3: Sub Objects
1: Sub Class, 2: Sub Sub Class 2, 3: Objects
1: Base Class, 2: Sub Class, 3: Objects
1: Base Class, 2: Sub Class, 3: Sub Sub Class
6
In programming terms, objects consist of data, code, and connections.
True
False
7
Why does the concept of data encapsulation lead to Data Hiding?
Makes it easy for a user to see and use all of the data.
Limits the type of data that can be set as member.
Allows easy deployment of security applications
Keeps the data safe from outside misuse.
8
Which of these are not a basic concept of Object Oriented Programming?
Inheritance and Anthromorphism
Data Abstraction and Data Encapsulation
Data Encapsulation and Polymorphism
Data Classification and Anthropomorphism
9
Which of the given code can be used in "?" ?
"struct" only
"class" only
Both
10
Which item is referring to the object's data attributes?
4
1
3
2