CS255 Notes

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

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:47 PM on 5/7/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

17 Terms

1
New cards

Composite Data Types

Data-type made up of one or more types of variables

2
New cards

User-defined

Creating the Object-Type Composite Data Type

3
New cards

Struct

A type in Object-Oriented Programming (OOP) that holds attributes and methods

4
New cards

Class

A central syntax in OOP that contains attributes and methods

5
New cards

Encapsulation

OOP principle where methods are public and data is private

6
New cards

Inheritance

OOP concept defining relationships between different classes

7
New cards

Polymorphism

OOP feature allowing code reuse for multiple purposes

8
New cards

Constructors

Special member methods in classes called automatically when an instance is declared

9
New cards

Dynamic Allocation

Using keywords like new and delete to allocate and deallocate memory

10
New cards

Array-Based Lists

Abstract data type allowing storage, insertion, deletion, and search of data of the same type

11
New cards

Node

Dynamically allocate & link new nodes whenever an insert function is called

12
New cards

Ordered Linked Lists

A data structure where a new value can be inserted at exactly one place to maintain a sorted list

13
New cards

Recursive Definition

Defining a problem solution in terms of smaller versions of itself without using loops

14
New cards

Binary Trees

Data structures made of nodes where each node contains data and points to other nodes, maintaining a hierarchy

15
New cards

Binary Search Tree

A type of binary tree where each node may have 0, 1, or 2 children, aiding in searching for values efficiently

16
New cards

Tree Traversals

Operations like Pre-Order, In-Order, and Post-Order to navigate through binary trees in a specific order

17
New cards

Binary Search Tree Property

Nodes in the left subtree have values less than the root, and nodes in the right subtree have values greater, aiding in efficient value search.

Explore top flashcards

Verbos en aleman
Updated 1056d ago
flashcards Flashcards (106)
SAT Vocabulary
Updated 288d ago
flashcards Flashcards (990)
UCSP Reviewer
Updated 691d ago
flashcards Flashcards (104)
Chi square
Updated 1183d ago
flashcards Flashcards (20)
Ap Lang Master list
Updated 107d ago
flashcards Flashcards (95)
Verbos en aleman
Updated 1056d ago
flashcards Flashcards (106)
SAT Vocabulary
Updated 288d ago
flashcards Flashcards (990)
UCSP Reviewer
Updated 691d ago
flashcards Flashcards (104)
Chi square
Updated 1183d ago
flashcards Flashcards (20)
Ap Lang Master list
Updated 107d ago
flashcards Flashcards (95)