Other Flashcards

1
Q

Algorithm

A
  • Step by step method for accomplishing some task

- A set of rules for solving a problem a finite number of steps

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

A good algorithm

A
  • specifies the sequence of events and the details of each step
  • unambiguous
  • must stop
  • input
  • output
  • effective
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Algorithm creation

A
  • analyze the problem
  • design an algorithm solution
  • implement the algorithm
  • test the program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Computer science

A

Computer science is the study of the storage, transformation, and transfer of information

The field encompasses both the theoretical study of algorithm and the practical problems involved in implementing them in terms of computer software and hardware

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

Machine code

A
  • is interpretable by machines but not readable for humans
  • two main parts
  • opcode: some sort of instruction
  • arguements: can be registers of raw values
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Compiler

A

Is a program that translates code into Machine code

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

Numerical analysis

A

Is concerned with accurate, efficient approximations of solutions to problems of continuous mathematics

In other words efficient algorithms for approximating real and complex math

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

Where is numerical analysis used

A
  • ENIAC
  • calculators
  • mathematical modelling of natural systems
  • robots and manufacturing
  • gaming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Compiled languages

A
  • Ada
  • C
  • C++
  • Go
  • FORTRAN
  • Objective-C
  • Pascal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Interpreted languages

A
  • Javascript
  • Lisp
  • MATLAB
  • Perl
  • Python
  • Ruby
  • Shell Scripts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Virtual machine languages

A
  • Java
  • C#
  • F#
  • Visual Basic .NET
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

FORTRAN

A
  • the first widely used programming language

- designed in 1950s

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

Round off error

A

The error introduced by representing real, continuous numbers using a finite, discrete number system

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

Stability

A

The measure of an algorithms effect on the propagation of round off error

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

Truncation error

A

The error resulting from approximating an infinite mathematical process with a finite computer algorithm

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

Convergence

A

As an algorithm tends towards infinity, the truncation error tends towards zero