Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 19 pages
Exam (elaborations)

OBJECT-ORIENTED PROGRAMMING (OOP) EXAMINATION QUESTIONS AND CORRECT ANSWER WITH EXPLANATION GRADED A+ STUDY GUIDE

Document preview thumbnail
Preview 3 out of 19 pages

OBJECT-ORIENTED PROGRAMMING (OOP) EXAMINATION QUESTIONS AND CORRECT ANSWER WITH EXPLANATION GRADED A+ STUDY GUIDE

Content preview

OBJECT-ORIENTED PROGRAMMING (OOP)
EXAMINATION QUESTIONS AND CORRECT ANSWER
WITH EXPLANATION GRADED A+ STUDY GUIDE
SOUTHERN NEW HAMPSHIRE UNIVERSITY
1. Object-Oriented Programming is:
A. Programming using objects and classes
B. Hardware design method
C. Database system
D. Network protocol
Answer: A
Rationale: OOP is based on objects and classes.

2. An object in OOP is:
A. Instance of a class
B. A function
C. A database
D. A loop
Answer: A
Rationale: Objects are class instances.

3. A class is:
A. Blueprint for objects
B. Variable type
C. Loop structure
D. Operating system
Answer: A
Rationale: Class defines object structure.

4. Encapsulation means:
A. Wrapping data and methods together
B. Deleting data
C. Copying objects
D. Running programs
Answer: A
Rationale: Data hiding and bundling.

,5. Inheritance means:
A. Acquiring properties from another class
B. Deleting class
C. Copying files
D. Creating database
Answer: A
Rationale: Code reuse mechanism.

6. Polymorphism means:
A. One function many forms
B. One object only
C. One class only
D. One variable only
Answer: A
Rationale: Multiple behaviors.

7. Abstraction means:
A. Hiding implementation details
B. Showing all details
C. Deleting data
D. Copying data
Answer: A
Rationale: Simplifies complexity.

8. Constructor is:
A. Method that initializes objects
B. Destructor
C. Loop
D. Variable
Answer: A
Rationale: Object setup function.

9. Destructor is used to:
A. Destroy objects
B. Create objects
C. Copy objects
D. Run loops
Answer: A
Rationale: Cleanup function.

, 10. Method in OOP is:
A. Function inside a class
B. Variable
C. Database
D. OS process
Answer: A
Rationale: Class function.

11. Attribute is:
A. Property of object
B. Function only
C. Loop
D. Database
Answer: A
Rationale: Object data.

12. Object state refers to:
A. Current values of attributes
B. Class name
C. Function name
D. OS state
Answer: A
Rationale: Object data condition.

13. Behavior of object is:
A. Methods/functions
B. Variables only
C. Hardware
D. OS process
Answer: A
Rationale: Actions of object.

14. Access specifier defines:
A. Visibility of members
B. CPU access
C. Memory size
D. OS control
Answer: A
Rationale: Encapsulation control.

Document information

Uploaded on
June 25, 2026
Number of pages
19
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$21.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
teachme2expert
4.9
(5510)
Sold
1359
Followers
544
Items
7703
Last sold
4 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions