Object Oriented Programming Concepts

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

Flashcards covering the fundamental concepts, frameworks, and benefits of Object-Oriented Programming as presented in the lecture notes.

Last updated 1:26 AM on 8/6/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

What is a programming paradigm?

A way to classify programming languages based on their features, including execution model, syntax style, grammar, and how code is grouped with state.

2
New cards

What are the two categories of programming paradigms listed in the notes?

Imperative (Procedural, Object oriented) and Declarative (Functional, Logic, Reactive).

3
New cards

Define Object-Oriented Programming (OOP).

A programming paradigm based on the concept of "objects," which consist of data (attributes) and code (methods), focusing on organizing software around data rather than functions and logic.

4
New cards

What is the main aim of Object-Oriented Programming regarding data access?

To bind together data and the functions that operate on them so that no other part of the code can access the data except for that specific function.

5
New cards

What purposes do OOP frameworks like Spring, Hibernate, and Struts serve?

They provide collections of code that offer common functionality, structure, and patterns to enhance code reusability, maintainability, and scalability.

6
New cards

What is the purpose of the Hibernate framework?

It is an Object-Relational Mapping (ORM) framework that simplifies database interactions by mapping Java classes to database tables.

7
New cards

How is a Class defined in OOP?

A class consists of data members and member functions that serve as a blueprint; for example, a "Car" class might define properties like having 44 wheels, a speed limit, and a mileage range.

8
New cards

What is an Object in the context of OOP?

The basic unit of OOP representing real-life entities; for example, a "Dog" is an object with characteristics like breed and behaviors like barking.

9
New cards

What is Data Abstraction?

The practice of providing only essential information to the outside world while hiding the background implementation details.

10
New cards

How is Encapsulation defined?

The wrapping up of data under a single unit, acting as a mechanism that binds code and data while hiding class variables from other classes.

11
New cards

What is Inheritance?

The capability of a class to derive properties and characteristics from another class.

12
New cards

What is Polymorphism?

The ability of a message or entity to be displayed in more than one form, such as a person acting as a father, husband, and employee simultaneously.

13
New cards

What occurs during Dynamic Binding?

The code to be executed in response to a function call is not known until runtime, meaning the association is decided at the time of the call.

14
New cards

What is an Interface in OOP?

A fundamental concept that defines a contract or blueprint for classes, specifying what a class must do (via abstract method signatures) without specifying how to do it.

15
New cards

What are the four key characteristics of Interfaces?

Abstract Methods (signatures only), No State (no instance variables), Contract (implementing classes must provide logic), and Multiple Implementation (a class can implement more than one).

16
New cards

List the primary benefits of using Object-Oriented Programming.

Modularity, Reusability, Productivity, Security, Flexibility, and being easily upgradable and scalable.