Module 1 Flashcards

Memorization

1
Q

It is a sequence of unambiguous instructions for solving a problem, i.e., for obtaining a required output for any legitimate input in a finite amount of time.

A

Algorithm

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

It is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output.

A

Algorithm

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

It is a sequence of computational steps that transform the input into the output.

A

Algorithm

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

What are the requirements of an algorithm

A

(FDCCE)
- Finiteness
- Definiteness
- Clearly specified input
- Clearly specified or expected output
- Effectiveness

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

True or False. An algorithm may only be represented in one single form, a sequence of steps.

A

False
(An algorithm can be represented in various forms. Recipes, processes, methods, etc.)

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

What are the steps involved in solving computational problems?

A

(PDSDCAIPD)
- Problem Definition
- Development of a Model
- Specification of an Algorithm
- Designing an Algorithm
- Checking the Correctness of an Algorithm
- Analysis of an Algorithm
- Implementation of an Algorithm
- Program Testing
- Documentation

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

This step states that before you start to work on a solution the developer or/and programmer must be able to understand fully the problem statement.

A

Problem Definition

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

How many elements do problem statements often have?

A

Three

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

What are the three elements of problem statements?

A

-The problem
- The method of solving the problem
- The purpose

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

It involves the definition of model objectives, conceptualization of the problem, translation into a computational model, and model testing, revision, and application.

A

Model Development

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

It is an iterative process, in which many models are derived, tested, and built upon until a model fitting the desired criteria is built.

A

Model Development

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

True or False. Subsequent modelling work may need to begin the search at a different place as the original model building began, rather than where it finished.

A

False
(Modelling work may need to begin at THE SAME PLACE)

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

All algorithms must satisfy which criteria? (Enumerate all 5)

A

(IODFE)
- Input
- Output
- Definiteness
- Finiteness
- Effectiveness

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

This algorithm criteria states that An algorithm has zero or more inputs, taken from a specified set of objects.

A

Input
(ZERO or more inputs)

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

This algorithm criteria states that Each step must be precisely defined; Each instruction is clear and unambiguous.

A

Definiteness
(precisely defined, clear and unambiguous)

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

This algorithm criteria states that The algorithm must terminate after a finite number of steps.

A

Finiteness
(finite number of steps)

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

This algorithm criteria states that An algorithm has one or more outputs, which have a specified relation to the inputs.

A

Output
(ONE or more outputs)

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

This algorithm criteria states that All operations to be performed must be sufficiently basic that they can be done exactly in finite length

A

Effectiveness
(finite length)

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

In theoretical science, the _______ of an algorithm is asserted when it is said that the algorithm is correct with respect to a specification.

A

Correctness

19
Q

_________ correctness refers to the input-output behavior of the algorithm.

A

Functional
(input-output behavior)

20
Q

_________ correctness requires that if an answer is returned it will be correct.

A

Partial

20
Q

It is the determination of the amount of time and space resources required to execute it.

A

Analysis of algorithms
(determination of the amount of time and space)

20
Q

_________ correctness requires that if an answer is returned it will be correct and that the algorithm terminates.

A

Total
(algorithm must also terminate)

21
Q

A ___________ is a type of mathematical proof that plays a critical role in formal verification because total correctness of an algorithm depends on termination.

A

Termination proof

22
Q

It refers to the efficiency or running time of an algorithm is stated as a function relating the input length to the number of steps.

A

Time Complexity
(number of steps)

23
Q

It refers to the efficiency or running time of an algorithm is stated as a function relating the input length to the volume of memory.

A

Space Complexity
(volume of memory)

24
Q

It is a series of steps that you expect will arrive at a specific solution

A

Algorithms

25
Q

True or False. Writing a program is equal to expressing the code for the said program.

A

False
(Writing a program DOES NOT EQUAL expressing code)

26
Q

It is the process of executing a program with the intent of finding errors.

A

Program Testing
(intent of finding errors)

27
Q

A good test is one that has a decently low probability of finding an error.

A

False
(Has a HIGH probability of finding an error)

28
Q

True or False. Program testing can show the absence of errors and show if errors are present

A

False
(program testing CANNOT show the absence of errors)

29
Q

True or False. It is possible to write tests before the program.

A

True

30
Q

For a programmer reliable ____________ is always a must.

A

Documentation

31
Q

True or False. Successful documentation will make information easily accessible, provide a limited number of user entry points, help new users learn quickly, simplify the product and help cut support costs.

A
32
Q

The presence of _________ helps keep track of all aspects of an application and it improves on the quality of a software product.

A
33
Q
A
33
Q
A
34
Q
A
35
Q
A
36
Q
A
37
Q
A
38
Q
A
39
Q
A
40
Q
A
41
Q
A