decision

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/52

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:28 AM on 6/16/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

53 Terms

1
New cards

curved box in flow chart

start/end

2
New cards

rectangle in flow chart

instruction

3
New cards

diamond box in flow chart

decision

4
New cards

how to layout trace table

instruction step column

column for each variable

column for equation

new row for new step

print column

5
New cards

maximum number of passes needed to sort list of n items into order using bubble sort

n

6
New cards

circumstances in which max number of passes would be needed to sort list using bubble sort

when number at the end needs to be at the start

7
New cards

how to use bubble sort

compare adjacent items in a list from left to right

in order, leave

not in order, swap

list in order when a pass is completed without any swaps

8
New cards

how to use quick sort algorithm

select a pivot then split the items into two sub-lists

one sub-list contains items less than the pivot

the other sub-list contains items greater than the pivot

select further pivots from within each sub-list and repeat

9
New cards

three bin packing algorithms

first-fit

first-fit decreasing

full-bin

10
New cards

adv disadv first-fit bin packing algorithm

adv quick to implement

disadv unlikely to lead to a good solution

11
New cards

adv disadv first-fit decreasing

adv usually get fairly good solution, easy to implement

disadv may not get optimal solution

12
New cards

how to use full bin packing algorithm

use observation to find combinations of items that will fit in a bin. pack these first

any remaining items are packed using the first-fit algorithm

13
New cards

adv disadv full-bin packing

adv usually get good solution

disadv difficult to do, especially with plentiful and awkward numbers

14
New cards

change in run time of algorithm

if algorithm has order f(n), then increasing the size of the problem from n to m will increase the run time of the algorithm by a factor of approximately f(m)/f(n)

15
New cards

Define walk

route through a graph along edges from one vertex to the next

16
New cards

Define path

Walk where no vertex is revisited

17
New cards

Define cycle

Path that ends where it started

18
New cards

Define Hamiltonian cycle

Cycle that visits every vertex

19
New cards

Define trail

Walk where no edge is revisited

20
New cards

Define Eulerian circuit

Trail where every edge is visited and starts and ends at the same vertex

21
New cards

Define complete graph

Graph with every vertex connected to every vertex

22
New cards

Euler's handshaking lemma

Sum of vertices’ degrees = edges X 2

So you can never have odd number of odd vertices

23
New cards

Define classical travelling salesman problem

Each vertex visited once

24
New cards

Define practical traveling salesman problem

Each vertex visited at least once

25
New cards

Weird dummy

So that each activity can be uniquely represented in terms of its events

26
New cards

how start planarity

I

27
New cards

graph that has direction associated with edges

directed graph/digraph

28
New cards

define tree

connected graph with no cycles

29
New cards

define complete graph

every vertex directly connected by a single edge to each of the other vertices

30
New cards

define adjacency matrix

each entry describes number of arcs joining the corresponding vertices

31
New cards

define eulerian graph

contains a trail that includes every edge and starts and finishes at the same vertex

32
New cards

semi eulerian graph

contains a trail that includes every edge but starts and finishes at different vertices

33
New cards

define a tour

walk which visits every vertex, returning to its starting vertex

34
New cards

triangle inequality

longest side of any triangle is less than or equal to the sum of the 2 shorter sides

35
New cards

maximum point linear programming

last point covered by an objective line as it leaves feasible region

36
New cards

minimum point linear programming

first point covered by an objective line as it enters the feasible region

37
New cards

what do slack variables represent

amount of slack between actual quantity and maximum possible value of that quantity

38
New cards

what does simplex method allow u to do

determine if a particular vertex on the edge of the feasible region is optimal

decide which adjacent vertex u should move to in order to increase value of objective function

39
New cards

two stage simplex method

define a new objective function to minimise the sum of all the artificial variables

40
New cards

big M method

subtract M x (sum of artificial variables) from objective function

41
New cards

source node and sink node critical path analysis

start and end node

42
New cards

describe dummy

no time or cost

solely shows dependencies between activities

43
New cards

define critical activity

activity where any increase in its duration means an increase for duration of entire project

44
New cards

define critical path

path from source node to sink node which entirely follows critical activities

longest path contained in the network

45
New cards

total float of activity

amount of time that its start may be delayed without affecting duration of project

latest finish - earliest start - duration

46
New cards

define resource levelling

the process of adjusting the start and finish times of the activities to take into account constraints on resources

47
New cards

rules for scheduling

use first available worker

if there is a choice of activities for a worker, assign the one with the lowest value for its late time

48
New cards

lower bound for number of workers to complete a project within its critical time

sum of all activity times / critical time of project

49
New cards

define order of an algorithm

tells u how changes in the size of a problem affect its approximate run time

50
New cards

order of bubble sort

n^2

51
New cards

what happen when no negatives in I row but value of I isnt 0

original problem has no feasible solution

no values of x y and z that satisfy all initial constraints

52
New cards

how draw resource histogram

label every square

53
New cards

why is thingy using order of algorithm only approximation

order of X doesnt mean proportional to X (which is assumption behind answer)

merely means that dominant term is of order X