Data Structures and Algorithms - Vocabulary Flashcards

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

1/28

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms from the lecture notes on data structures, algorithms, and programming concepts.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

Data

Raw materials that computer programs process; must be stored so they can be processed.

2
New cards

Data Type

Is a way to classify various types of data which determines the values that can be used and operations that can be performed on the corresponding type of data.

3
New cards

Built-in Data Type

A data type with built-in language support. Also known as Primitive.

4
New cards

Derived Data Type

Data types formed by combining primitive types and associated operations. Also known as User-Defined Data Type / Aggregates.

5
New cards

Fundamental Data Type

Base category of primitive types in Java; includes integral, floating-point, and boolean types. Also known as Primitive Data Type.

6
New cards

Integral Data Types

Numeric types that store integers: char, byte, short, int, long. Deals with integers, or numbers without a decimal part (and characters).

7
New cards

Floating-point Data Type

Data type for numbers with decimals.

8
New cards

Boolean Data Type

Deals with logical values.

9
New cards

Abstract Data Type (ADT)

A data type that specifies the logical properties without the implementation details. It has a set of values (data) and set of operations (methods). It is used to describe the characteristics of a data structure.

10
New cards

Class Type

An ADT is presented as a (blank) and treated as a single entity that encapsulates its data together with its method.

11
New cards

Data

An ADT consists of two parts: Declaration of (blank) and Declaration of operations.

12
New cards

Operations

An ADT consists of two parts: Declaration of data and Declaration of (blank).

13
New cards

Data Structures

Specialized format to store and organize data in a computer’s memory or disk. Such as lists, stacks, queue, trees, and graph.

14
New cards

Linear Data Structures

Elements are accessed in a sequential order but it is not compulsory to store all elements sequentially. (e.g., Linked Lists, Stacks, Queues).

15
New cards

Non-linear Data Structures

Elements are stored or accessed in a non-linear order. (e.g., Trees, Graphs).

16
New cards

Basic Operations

Traversing, Searching, Insertion, Deletion, Sorting, Merging.

17
New cards

Algorithm

A finite set of instructions that specify a sequence of operations to solve a problem.

18
New cards

Flowchart

A pictorial or graphical representation of solution to the problem.

19
New cards

Pseudocode

A textual presentation of a flowchart and close to a natural language. It may become part of the program documentation and could be translated into a program

20
New cards

Inputs, Outputs, Definiteness, Finiteness, and Effectiveness

Criteria for Algorithms

21
New cards

Input

Criteria for algorithm. Data items presented to the algorithm. Zero or more quantities are externally supplied.

22
New cards

Output

Criteria for algorithm. Data items presented to the outside world as the result of the execution of a program based on the algorithm.

23
New cards

Definiteness

Criteria for algorithm. Each instruction must be clear and unambiguous.

24
New cards

Finiteness

Criteria for algorithm. All instructions of an algorithm will terminate after a finite number of steps.

25
New cards

Effectiveness

Criteria for algorithm. Each operation must be definite, but must also be feasible.

26
New cards

Choosing the Right Algorithm

It follows that you should be especially mindful of the algorithms and data structures you use for applications that will process lots of data. These include applications used for big data and the Internet of Things.

27
New cards

Memory Usage

The data structures and algorithms you use critically affect two factors in your applications. This one is specifically affected by data structures.

28
New cards

CPU Time

The data structures and algorithms you use critically affect two factors in your applications. Which is one that specifically affected by the algorithms that interact with those data structures.

29
New cards

Balancing Memory and CPU

There is often an inverse relationship: less memory may mean more CPU time, and vice versa.