Lesson 1 - Introduction to Data Structures and Algorithms Flashcards

1
Q

specialized format to store and organize data in a computer’s memory or disk and a collection of variables, possibly of several different data types connected in various ways.

A

DATA STRUCTURE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Types of Data Structures…? (5)

A
  • Arrays
  • Linked Lists
  • Stacks
  • Trees
  • Hash Tables
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

data that a variable can hold in a programming language.

A

DATA TYPES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

specification of a set of data and set of operations performed in a data.

A

ABSTRACT DATA TYPES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

finite set of instructions that specify a sequence of operations to be carried out.
A recipe for solving a problem.

A

ALGORITHMS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Every Algorithm must satisfy the following criteria… (5)

A
  1. Input
  2. Output
  3. Definiteness
  4. Finiteness
  5. Effectiveness
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

____ are the data items presented to the algorithm.

A

INPUTS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

____ are the data items presented to the outside world as the result of the execution of a program based on the algorithm.

A

OUTPUT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

____ can be used to encapsulate parts of an algorithm by localizing in one section of a program all the statements relevant to a certain aspect of a program.
essential tool in a programming that generalizes the notion of an operator.

A

PROCEDURE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

____ is an input to a computer and an algorithm is used to transform this into a refined data

A

RAW DATA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

textual representation of a flowchart.
could be translated into a program.

A

PSEUDOCODE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The process by which a programmer refines an initial data to a problem’s solution into more specific terms.

A

STEPWISE REFINEMENT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly