Chapter 1 Flashcards

1
Q

are values or set of values.

A

Data

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

refers to single unit of values.

A

Data Item

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

Data items that are divided into sub items are called as

A

Group Items

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

Data items that cannot be divided are called as

A

Elementary Items

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

An entity is that which contains certain attributes or properties, which may be assigned values.

A

Attribute and Entity

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

Entities of similar attributes form an entity set.

A

Entity Set

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

is a single elementary unit of information representing an attribute of an entity.

A

Field

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

is a collection of field values of a given entity.

A

Record

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

is a collection of records of the entities in a given entity set.

A

File

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

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

A

Unambiguous

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

An algorithm should have 0 or more well-defined inputs.

A

Input

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

An algorithm should have 1 or more well-defined outputs, and should match the desired output.

A

Output

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

Algorithms must terminate after a finite number of steps.

A

Finiteness

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

Should be feasible with the available resources.

A

Feasibility

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

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

A

Independent

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

the programmatic way of storing data so that data can be used efficiently.

A

Data Structures

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

a computer procedure that is a lot like a recipe (called a procedure) and tells your computer precisely what steps to take to solve a problem or reach a goal.

A

Algorithm

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

are called inputs

A

The ingredients

19
Q

are called the outputs.

A

the results

20
Q

is a kind of data structure that stores the data of only one type.

A

Primitive data structure

21
Q

is a type of data structure that can store the data of more than one type.

A

Non-primitive data structure

22
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.

23
Q

is all about data structures and algorithms.

A

Programming

24
Q

are used to hold data

A

Data structures

25
are used to solve the problem using that data.
Algorithms
26
goes through solutions to standard problems in detail and gives you an insight into how efficient it is to use each one of them.
Data structures and algorithms (DSA)
27
is a way to classify various types of data such as integer, string, etc.
Data Type
28
Those data types for which a language has built-in support are known as
Built-in Data types
29
Those data types which are implementation independent as they can be implemented in one or the other way are known as
derived data types
30
is a systematic way to organize data in order to use it efficiently.
Data Structure
31
provides the internal representation of a data structure
Implementation
32
Data structure implementation should implement its interface correctly.
Correctness
33
Running time or the execution time of operations of data structure must be as small as possible.
Time Complexity
34
Memory usage of a data structure operation should be as little as possible.
Space Complexity
35
This step involves breaking the problem into smaller sub-problems.
Divide/Break
36
This step receives a lot of smaller sub-problems to be solved.
Conquer/Solve
37
When the smaller sub-problems are solved, this stage recursively combines them until they formulate a solution of the original problem.
Merge/Combine
38
 are linear data structures that follow a particular order to add or remove entities. 
Stacks and queues
39
is an Abstract Data Type (ADT)
stack
40
Pushing (storing) an element on the stack.
push()
41
Removing (accessing) an element from the stack. When data is PUSHed onto stack.
pop()
42
get the top data element of the stack, without removing it.
peek()
43
check if stack is full.
IsFull()
44
check if stack is empty.
isEmpty()