Intro Flashcards

1
Q

What is Numerical Computation?

A

It is the computational analysis of the problem solving processes with the aim of developing an efficient solution algorithm that can be implemented in a computing machine.

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

What are the differences between Numerical Analysis and Numerical Computation?

A

Numerical Analysis (NA) and Numerical Computation (NC)

  1. Infinity exists as an instance to reckon or count in NA but in NC infinity is outside its scope (ambit). Machines deal with finite.
  2. NA states and transitions exist in constants and variables | NC states and transitions exist in operations and operands.
  3. In NA the instance of zero exists to be counted/ reckoned and manipulated, but in NC zero is number neutral.
  4. For NA an implementation tool (e.g computing) is not in view | for NC an implementation tool is in view
  5. NA process is expressed in language of algebra | NC process is expressed in the language of algorithms
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a computing machine?

A

A computing machine is a device which accepts data and instructions, processes the data, and generates an output that is in line with the instructions given.

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

What is accuracy?

A

Suppose X is the exact in mind (expected number), and X’ was the result of calculation, then the accuracy of X’ is the measure of its proximity or closeness to the value X

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

What are the limitations of signed magnitude method of storing numbers?

A
  1. The existence of two expressions for zero ( +0 = 00000000; -0 = 10000000)
  2. The need to dedicate a bit to represent a signed number.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the advantage of One’s Complement?

A

It eliminates the need for reserving a bit for the number’s sign (sign of the number is the number itself).

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

What is the limitation of One’s Complement?

A

It has two expressions for zero: +0 = 00000000 and -0 = 11111111

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

What is Absolute Error?

A

/ A - A’ /
Where A = desired value,
A’ = result/measured value

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

What is Relative error?

A

Absolute error ÷ desired value (or real number)

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

What is percentage error?

A

Relative error × 100

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

What is machine epsilon?

A

Smallest number a machine can record.

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

What is machine gamma?

A

Largest number a machine can reckon.

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

What is error?

A

Suppose a number A is the expected value, and A’ is the result of calculations, the error is the difference between A and A’.

A = A’ + e, where e is the error.

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

What is truth?

A

Truth is an instance in the context-sensitive universe of human mental conception and is unique to the individual; there is no prescription for truth.

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

What is Precision?

A

Precision is the number of digits reckoned in the data representation for a fraction.

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

What is mistake?

A

Mistake is the unwitting execution of an incorrect process.

17
Q

What are the sources of errors?

A
  1. Abstraction error
  2. Inherent error
  3. Logic precision error
18
Q

What is abstraction error?

A

Is error from defective way of thinking about the problem solving process. It has more stages: Theoretical, Assumption, Formulation, Blunder or Mistake.

19
Q

What is Inherent Error?

A

Arises from limitations in language in expressing the problem-solving process.

20
Q

What are the types of errors?

A
  1. Abstraction error
  2. Inherent Error
  3. Logical Precision Error
21
Q

What is Logical Precision Error?

A

Errors that arise from processing floating point numbers on a digital computer. It results from limitations in data storage and data manipulation.

22
Q

What is the relationship between machine epsilon and machine gamma?

A

e = Γ-1 ÷ 2.0
Where e = machine epsilon
Γ = machine gamma

23
Q

What happens when a machine encounters a number smaller than its epsilon value?

A
  1. Underflow flag is raised.
  2. Zero is reckoned.
24
Q

What happens when a machine encounters a number larger than its gamma value?

A
  1. Overflow flag is raised.
  2. A ‘NaN’ (Not a Number) is reckoned or stored.
25
What algorithm can you use to implement machine epsilon?
Set ep = 0.5 While (ep < 1): ep = ep/2 ep = 1.0 - ep