mock\ Flashcards

1
Q

1.

what is an algorithm?

A
  • a finite sequence of operations for carrying out a procedure/solving problems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a heuristic algorithm?

A

a method which finds the solution efficenlty , with no gurantee that it is optimal solution

eg: packing algorithms, integer LP

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

what is optimisation?

A

optimal= “best”
optimisation= making it best
* finding the best availible values

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

when is a LP in standard form?

A
  • Objective function to be maximised
  • with constraints <=
  • non negative variables
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is augmented/ slack form?

A

non-negative slack variables convert ineualities to equalities

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

what are basic variables?

A

variables which have been cleared out and only have one non zero column in it

hold and actual value

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

what are non-basic variables?

A

variables which have multiple values in thier column and so are given a 0 value

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

when would a LP require integer solutions?

A

when the variable is discrete
* should be mentioned in working out

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

What does this sigma notation mean?

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

Sigma notation

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

Sigma notation

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

Sigma notation

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

Express the sum using Sigma notation

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

The standard formula for the sum to n terms of r

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

Find the sum

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

The standard formula for the sum to n terms of r squared

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

Find a general expression for

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Method of differences

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What are the general steps for proof by induction?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Proof by induction factorial

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

Proof by induction product

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

What is the order of the following matrices ?

A

Number of rows by numbers of columns
y by x

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

What does it mean for matrices to be “non conformable”?

A

This means that they matrices do not have the exact same order. For example

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

What does associative mean?

A

It means that despite the order/ grouping of numbers, the answers will be the same.

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

What does it mean for something to be commutative ?

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

What are the general steps to carrying out matrices multiplication?

A
  1. write out the order of both matrices
  2. see if compatible, if they are write order of answer matrix
  3. start with first element (1x1) first row by first colum
  4. multiply each pair of numbers and add up the answers
  5. then go onto next element (1x2) first row by second column
  6. multiply each pair and add up numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

Multiply

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

Multiply (find FE)

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

Is matrix muliplication commutative or associative?

A
  • not commutative
    as order within which multiplied does matter
  • is associative
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

what is the original point/shape and the transformed point/shape reffered to ?

A
  • orginal= object
  • transformed= image
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

what is a transformation?

A

the mapping of an object onto a image

44
Q

how do you find the transformation representated by a given matrix?

A
  1. split up the identity matrix into points (unit vectors)
  2. see how they have been transformed by ploting the points on a graph
45
Q

Describe the transformation of the matrix

A
46
Q
A
47
Q

What is the transformation matrix for any angle theta anti-clockwise. ?

A
48
Q

What is the matrix transformation for any clockwise rotation by angle theta?

A
49
Q

Describe the transformation by the matrix

A
50
Q

Describe the transformation by the matrix

A
51
Q

What are shears?

A

The base stays rooted and the rest shifts and becomes parallel. The area of original shape is the same to the shear.

52
Q

What are the 2 different types of shears?

A
53
Q

Successive transformations

A
54
Q

3D matrices

A
55
Q

Describe the Transformation under matrix

A
56
Q

Describe the Transformation under matrix

A
57
Q

Describe the transformation

A
58
Q

What are invariant points?

A

Points that do not change after a transformation.
The origin will always be an invariant point

59
Q

What are invariant lines?

A

A line of points that MAY be invariant or points that remain upon that line after a transformation

60
Q
A
61
Q

More proof by induction matrices

A
62
Q
A
63
Q
A
64
Q

What are the components of an algorithm?

A
  • finite number of steps
  • unambigious steps
  • deterministic
65
Q

What is complexity ?

A
  • Size in relation to run time (efficiency )
  • measure of which one is faster
66
Q

Perform a quick sort algorithm to sort it into ascending order

A

values less than or equal to go to the left of pivot

67
Q

what is
* first fit
* first fit decreasing
* full bin

A
  • FF: putting the numbers using given order in question
  • FFD: ordering the list into descending order - biggest first
  • FB: using brain for optimal solution
68
Q

what does heuristic mean?

A
  • a method that finds the solution efficently, but with no gurante that this solution is optimal
  • important when classical methods fail, only way to find is exhauting all solutions
69
Q

how can the efficency of different packing methods be tested?

A

counting the number of comparisions needed in worst case

70
Q

what is the complexit of the first fit and first fit decreasing algorithm , in the worst case?

A

o (n sqaured)

71
Q

what is the complexity of the quick sort algorithm , in the worst case?

A

O (n squared)

72
Q

What is big O notation?

A
73
Q
A
74
Q

Use quick sort to sort the following numbers in descending order

A
75
Q

Use quick sort to sort the following numbers in descending order

A
76
Q

What is i?

A

The square root of negative 1

77
Q

What is an do the following symbols mean ?

A
78
Q

What is an imaginary number ?

A

Any multiple of i

79
Q

What is a complex number ?

A

An imaginary number and a normal number

80
Q

How is the equality different for complex numbers?

A
81
Q

Questions

A
82
Q

Questions

A
83
Q

Question

A
84
Q
A
85
Q
A
86
Q

What is a conjugate ?

A

A change in the sign in the middle of two terms

87
Q
A
88
Q
A
89
Q
A
90
Q
A
91
Q
A
92
Q

What do you know about the roots of a quadratic equation that are non- real complex numbers?

A

The roots are conjugate.
If f(z)=0
Then f(z*)=0

93
Q
A
94
Q
A
95
Q
A
96
Q
A
97
Q
A
98
Q
A
99
Q

What is the Argand diagram?

A
100
Q

Plot the points

A
101
Q

How would two conjugate pairs be represented geometrically? (On the Angrand diagram)

A

Reflection on the x axis

102
Q
A
103
Q
A
104
Q
A
105
Q
A
106
Q
A