Object-Oriented Programming and Java Concepts Flashcards

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

1/33

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering programming paradigms, core object-oriented programming concepts, Java history, structure, data types, operators, and user input handling based on the lecture notes.

Last updated 2:42 PM on 9/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

Algorithm

A finite, step-by-step set of well-defined instructions designed to solve a specific problem or perform a calculation.

2
New cards

Computer Program

A set of written instructions that tells a computer what to do.

3
New cards

Programming Paradigm

An approach to solve a problem using a programming language, tools, and techniques.

4
New cards

Procedural Programming

An imperative programming approach that uses a list of instructions to tell the computer what to do step-by-step and relies on procedures or subroutines to perform computations.

5
New cards

Object-Oriented Programming

An extension of procedural programming that involves creating classes, creating objects from those classes, and creating applications.

6
New cards

SIMULA

A simulation programming language developed in the 1960s at the Norwegian Computing Center by Ole-Johan Dahl and Kristen Nygaard, recognized as the first object-oriented programming language.

7
New cards

Object

The basic unit of object-oriented programming; a component of a program that knows how to perform certain actions and interact with other elements, composed of attributes and methods.

8
New cards

Attribute

A characteristic that defines an object, differentiates objects of the same class, and whose value represents the object's state.

9
New cards

Method

A function organized as a self-contained block of program code used to expose the behavior of an object.

10
New cards

Class

A logical entity, template, or blueprint from which objects with common properties are created.

11
New cards

Inheritance

An OOP concept where a child subclass acquires all properties and behaviors of a parent superclass, providing code reusability and runtime polymorphism.

12
New cards

Polymorphism

The ability of a variable, function, or object to take on multiple forms, allowing one interface or method to have multiple implementations.

13
New cards

Encapsulation

A mechanism that binds data and code together as a single unit to hide variables and methods from unwanted modifications.

14
New cards

Abstraction

The quality of dealing with ideas rather than events by hiding internal implementation details and displaying only essential features to the user.

15
New cards

Green Project

A research project at Sun Microsystems led by James Gosling intended for consumer electronic devices that led to the development of Java.

16
New cards

Oak

The original name given in 1992 to the Java programming language, named after an oak tree outside James Gosling's office.

17
New cards

WORA

An acronym standing for 'Write Once, Run Anywhere', describing Java's cross-platform portability.

18
New cards

Remote Method Invocation (RMI)

A Java feature used in distributed applications that allows a program to invoke a method of another program across a network.

19
New cards

Javadoc Comments

Special Java comments that begin with /** and end with */ used to generate HTML documentation for Java programs.

20
New cards

Primitive Data Types

Predefined simple data types in Java, such as byte, short, int, long, float, double, char, and boolean.

21
New cards

Class Data Types

Non-primitive reference data types in Java that represent objects containing both data and methods.

22
New cards

Unicode Character

A 16-bit character set used by Java's char type that replaces the 8-bit ASCII set to support characters from various languages.

23
New cards

Java Identifiers

Case-sensitive tokens used to represent the names of variables, methods, and classes in Java.

24
New cards

Constant

A read-only variable declared with the final keyword in Java that stores a fixed value that cannot be changed during program execution.

25
New cards

Unary Operators

Operators such as increment (++) and decrement (--) used to increase or decrease a numeric variable's value by 1.

26
New cards

Conditional Operator

A ternary operator in Java formatted as exp1?exp2:exp3 that evaluates expressions based on a condition.

27
New cards

BufferedReader

A Java class in the java.io package used to read text efficiently from a character-input stream.

28
New cards

InputStreamReader

A class in java.io that serves as a bridge converting byte streams into character streams.

29
New cards

Scanner Class

A utility class in java.util used to parse primitive types and strings from input using methods such as nextLine(), nextInt(), and nextDouble().

30
New cards

Integer.parseInt()

A static method in the Integer class that parses a String argument and converts it into a primitive integer value.

31
New cards
<p>Programming Paradigms Classification</p>

Programming Paradigms Classification

A diagram categorizing programming paradigms into Imperative (Procedural, Object Oriented, Parallel Processing) and Declarative (Logic, Functional, Database Processing).

32
New cards
<p>Syntax to Declare a Class</p>

Syntax to Declare a Class

The structural layout for defining a class in Java, specifying fields and methods within curly braces.

33
New cards
<p>Encapsulation Capsule Analogy</p>

Encapsulation Capsule Analogy

An illustration comparing class encapsulation to a medical capsule, where variables and methods are kept safe and hidden inside.

34
New cards
<p>Java Data Types Memory Sizes</p>

Java Data Types Memory Sizes

A chart specifying the kind of value and memory footprint for Java primitive data types: byte (1 byte), short (2 bytes), int (4 bytes), long (8 bytes), float (4 bytes), double (8 bytes), char (2 bytes), and Boolean (1 bit).