OOP Exam 2

0.0(0)
studied byStudied by 1 person
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

Abstraction

Specifying a general interface while hiding implementation details

2
New cards

Algorithm

A procedure for solving a specific problem, expressed as an ordered set of actions

3
New cards

Assertion

An expression that, if false, indicates a program error

4
New cards

Class

A template encapsulating data and code that manipulates it

5
New cards

Constructor

A special class member that creates and initializes an object from the class

6
New cards

Data Validation

Ensuring that a program operates on clean, correct and useful data

7
New cards

Declaration

A statement that introduces a name with an associated type into a scope

8
New cards

Definition

A declaration that also fully specifies the entity declared

9
New cards

Encapsulation

Bundling data and code into a restricted container

10
New cards

Enumerated type

A data type that includes a fixed set of constant values called enumerators

11
New cards

Exception

An object created to represent an error or other unusual occurrence and then propagated via special mechanisms until caught by special handling code

12
New cards

Field

A class member variable

13
New cards

Getter

A method that returns the value of a private variable

14
New cards

Invariant

Code for which specified assertions are guaranteed to be true

15
New cards

Method

A function that manipulates data in a class

16
New cards

Object

An instance of a class containing a set of encapsulated data and associated methods

17
New cards

Object-Oriented Programming (OOP)

A style of programming focused on the use of classes and class hierarchies

18
New cards

Operator

A short string representing a mathematical, logical, or machine control action

19
New cards

Setter

A method that changes the value of a private variable

20
New cards

Shadowing

A variable declared in a narrower scope than that of a variable of the same name declared in a broader scope

21
New cards

Unified Modeling Language (UML)

The standard visual modeling language used to describe, specify, design, and document the structure and behavior of object-oriented systems

22
New cards

Validation Rules

Algorithmically enforceable constraints on the correctness, meaningfulness, and security of input data

23
New cards

Variable

A block of memory associated with a symbolic name that contains a primitive data value or the address of an object instance

24
New cards

Inheritance

Reuse and extension of fields and method implementations from another class

25
New cards

Primitive Type

a data type that can typically be handled directly by the underlying hardware

26
New cards

Interface

A reference type containing only method signatures, default methods, static methods, constants and nested types

27
New cards

Instance

An encapsulated bundle of data and code (e.g., an instance of a program is a process; an instance of a class is an object)

28
New cards

Destructor

a special class member that cleans up when an object is deleted (not supported by Java)

29
New cards

Multiple Inheritance

A subclass inheriting class members from two or more superclasses

30
New cards

Superclass

The class from which members are inherited

31
New cards

Subclass

the class inheriting members

32
New cards

Abstract Class

a class that cannot be instantiated

33
New cards

Abstract Method

a method declared with no implementation

34
New cards

Override

A subclass replacing its superclass’ implementation of a method

35
New cards

Namespace

a named scope

36
New cards

Package

a grouping of related types providing access protection and namespace management

37
New cards

Version Control

The task of keeping a system consisting of many versions well organized

38
New cards

Branch

a second distinct development path within the same organization and often within the same version control system

39
New cards

Fork

a second distinct and independent development path undertaken (often by a different organization) to create a unique product

40
New cards

Baseline

A reference point in a version control system, usually indicating completion and approval of a product release and sometimes used to support a fork.

41
New cards

Class Hierarchy

defines the inheritance relationships between a set of classes

42
New cards

Class Library 

a collection of classes designed to be used together efficiently