CS 2341 - Study Guide for Exam 1: Data Abstraction

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

1/12

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering data abstraction, object creation, references, and ADT implementation for CS 2341 Exam 1.

Last updated 12:06 AM on 10/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

13 Terms

1
New cards

Data Type

A set of values together with a set of operations on those values.

2
New cards

Abstract Data Type (ADT)

A data type whose internal representation is hidden from the client, with only the API visible.

3
New cards

Object

An entity that holds a data-type value, characterized by state (current value), identity (distinguishes one object from another), and behavior (effect of operations).

4
New cards

Reference

A Java mechanism for accessing an object (a pointer to it in memory).

5
New cards

API (Application Programming Interface)

A list of constructors and instance methods, with informal descriptions of their behavior.

6
New cards

Client

A program that uses a data type via its API.

7
New cards

Implementation

The code that provides the behavior specified by an API.

8
New cards

new Keyword

Used to invoke a constructor, causing the system to allocate memory, initialize the value, and return a reference.

9
New cards

Aliasing

Occurs when an assignment statement with reference types copies the reference rather than the object, causing both variables to point to the same object.

10
New cards

Pass by Value (in Java)

The concept that Java always passes a copy of the argument: copying the value for primitive types and the reference for objects.

11
New cards

Instance Variables

Variables declared with private to enforce encapsulation, holding one value per instance.

12
New cards

Constructors

Routines that have the same name as the class and are used to initialise instance variables.

13
New cards

Instance Methods

Methods that operate on a specific object's data.