INTRODUCTION Flashcards

1
Q

defines a particular data with the
following characteristics

A

DATA

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

refer to the data that a variable can hold in
a programming language.

A

Data Object

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

3 CRITERIAS OF DATA OBJECT

A

ATOMIC
TRACEABLE
ACCURATE

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

definition should be defined a
single concept

A

ATOMIC

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

should be able to
mapped to some data element

A

TRACEABLE

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

should be
unambiguous and understandable.

A

ACCURATE

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

Specialized format to store and organize data in a computer’s memory or disk

A

DATA STRUCTURES

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

Collection of variables, possibly of several different data types connected in various ways.

A

DATA STRUCTURES

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

TYPES OF DATA STRUCTURES

A

ARRAY
LINKED LIST
STACKS
TREES
SORTING
HASH TABLES

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

BASIC OPERATIONS OF DATA STRUCTURES

A

TRAVERSING
SEARCHING
INSERTION
DELETION
SORTING
MERGING

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

All data structures can be classified as

A

primitive or aggregate

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

simple kind of data structure stores single data items.

A

PRIMITIVE

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

Many data structures are capable of
storing multiple data items.

A

AGGREGATE

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

data structures in which data elements are arranged sequentially or linearly,

A

LINEAR

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

HAS A FIXED MEMORY SIZE

A

Static

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

THE SIZE IS NOT FIXED

A

DYNAMIC

17
Q

elements are not placed
sequentially or linearly

A

NON-LINEAR

18
Q

The user does not need to know the
implementation of the data structure.

A

ABSTRACTION

19
Q

ADT gives us a better
conceptualization of the real world.

A

BETTER CONCEPTUALIZATION

20
Q

The program is robust and has the ability to catch errors.

A

ROBUST

21
Q

The process of providing only the
essential and hiding the details.

A

ABSTRACTION

22
Q

a technique of combining the
data and the member function in a single unit

A

ENCAPSULATION

23
Q

must terminate after a finite
number of steps.

A

FINITENESS

24
Q

an algorithm should have 0 or more
well-defines inputs.

A

INPUT

25
Q

is a step-by-step procedure, which defines a set of instructions to be executed in a certain order to get the desired output.

A

ALGORITHM

26
Q

should have step-by-step
directions, which should be independent of any
programming code.

A

INDEPENDENT

27
Q

CHARACTERISTICS OF ALGO

A

FINITENESS
INPUT
INDEPENDENT
FEASIBILITY
OUTPUT
UNAMBIGUOUS

28
Q

should be feasible with the
available resources.

A

FEASIBILITY

29
Q

Should have 1 or more well-defined
outputs, and match the desired output.

A

OUTPUT

30
Q

each of its steps (or phases),
and their inputs/outputs should be clear and must lead
to only one meaning.

A

UNAMBIGUOUS

31
Q

determine the amount of
resources necessary to execute it such as time and
storage.

A

MEASUREMENT OF COMPLEXITY

32
Q

DEFINES WHETHER THE SET OF FUNCTIONS WILL GROW
FASTER OR AT THE SAME RATE AS THE EXPRESSION.

A

OMEGA NOTATION
Best-case Analysis

33
Q

DEFINES WHEN THE SET OF FUNCTIONS LIES IN BOTH O
(EXPRESSION) AND OMEGA (EXPRESSION).

A

THETA NOTATION
Average-case Analysis

34
Q

DETERMINES THE SET OF FUNCTIONS GROWS SLOWER

A

BIG-O NOTATION
Worst-case Analysis

35
Q

is textual representation of flowchart.

A

PSEUDOCODE