Part 5, diving into data Flashcards

1
Q

what is the median

A

this is a measure of location or a measure of central tendency. this tells us exactly where the centre of the dataset is

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

what is the interquartile range

A

this is a measure of spread or dispersion. It tells us how far the data travels from the median.

Its found by splitting the data set into 4 quarters and then taking the middle 50%

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

what would the value r be for each of these

  1. strong positive correlation
  2. weak negative correlation
  3. no correlation
A

what do the correlation coefficients of each of these mean

  1. r = 1
  2. r = -0.3
  3. r =0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

at this stage we would

writing and testing code by implementing the algorithm

A

in the context of programming what would we do at stage 3 carry out the plan of george polyas problem solving process

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

This is a built in library in python that can read csv files and translate them into lists

A

what is the python csv libary for

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

what are the steps of the high level algorithm for finding the median

A
  1. sort numbers
  2. find length of list
  3. if length is odd

 3a. set median to middle number

  1. otherwise

 4a. find two middle numbers

 4b. set median to mean of two middle numbers

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

this was a hungarian who studied the process of problem solving

A

who was george polya

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

This function opens a file, and returns it as a file object

A

what is the python open() function for

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

what are the 4 steps of an algorithm to find the interquartile range

A
  1. Find the median
  2. Split the data into a lower half and an upper half
  3. Find the median of each half
  4. Subtract the lower median from the upper one.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

who was george polya

A

this was a hungarian who studied the process of problem solving

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

what is the python open() function for

A

This function opens a file, and returns it as a file object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. Find the median
  2. Split the data into a lower half and an upper half
  3. Find the median of each half
  4. Subtract the lower median from the upper one.
A

what are the 4 steps of an algorithm to find the interquartile range

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

what are heuristics

A

these are methods of discovery or invention. Rules of thumb that help us to solve problems.

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

what do the correlation coefficients of each of these mean

  1. r = 1
  2. r = -0.3
  3. r =0
A

what would the value r be for each of these

  1. strong positive correlation
  2. weak negative correlation
  3. no correlation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. sort numbers
  2. find length of list
  3. if length is odd

 3a. set median to middle number

  1. otherwise

 4a. find two middle numbers

 4b. set median to mean of two middle numbers

A

what are the steps of the high level algorithm for finding the median

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

in the context of programming what would we do at stage 2 make a plan of george polyas problem solving process

A

at this stage we would

Create an algorithm and apply heuristics to help solve any complex problems

17
Q

at this stage we would

Create an algorithm and apply heuristics to help solve any complex problems

A

in the context of programming what would we do at stage 2 make a plan of george polyas problem solving process

18
Q
  1. Understand the problem
  2. Make a plan
  3. Carry out the plan
  4. Look back
A

what are the four steps of problem solving that hungarian george polya laid out

19
Q

this is a measure of location or a measure of central tendency. this tells us exactly where the centre of the dataset is

A

what is the median

20
Q

this is a measure of spread or dispersion. It tells us how far the data travels from the median.

Its found by splitting the data set into 4 quarters and then taking the middle 50%

A

what is the interquartile range

21
Q
  1. Break the problem into smaller sub-problems.
  2. Try to solve a simpler form of the problem.
  3. Think if there is a pattern you have seen before.
  4. Try working backwards from the solution.
  5. Try representing the problem in a different way.
  6. Don’t give up too quickly.
  7. Don’t be afraid to make mistakes.
A

name 7 heuristics

22
Q

what is the syntax for the python open() function

A

the syntax for this is

name(file, mode)

file = the path and name of the file

mode = a string defining what mode you want to open the file in.

23
Q

in the context of programming what would we do at stage 3 carry out the plan of george polyas problem solving process

A

at this stage we would

writing and testing code by implementing the algorithm

24
Q

what is the algorithm for including or excluding rows from a table given a condition

A
  1. initialise an empty table table1
  2. for each row in table0

 2a. if row satisfies condition

 2b. append row to table1

25
Q

these are methods of discovery or invention. Rules of thumb that help us to solve problems.

A

what are heuristics

26
Q

name 7 heuristics

A
  1. Break the problem into smaller sub-problems.
  2. Try to solve a simpler form of the problem.
  3. Think if there is a pattern you have seen before.
  4. Try working backwards from the solution.
  5. Try representing the problem in a different way.
  6. Don’t give up too quickly.
  7. Don’t be afraid to make mistakes.
27
Q

in the context of programming what would we do at stage 1 undertsnad the problem of george polyas problem solving process

A

at this stage we would

Write tests first to better understand the problem at hand

28
Q

what are the four steps of problem solving that hungarian george polya laid out

A
  1. Understand the problem
  2. Make a plan
  3. Carry out the plan
  4. Look back
29
Q
A

what is the formula to find the interquartile range

30
Q

the syntax for this is

name(file, mode)

file = the path and name of the file

mode = a string defining what mode you want to open the file in.

A

what is the syntax for the python open() function

31
Q

at this stage we would

Write tests first to better understand the problem at hand

A

in the context of programming what would we do at stage 1 undertsnad the problem of george polyas problem solving process

32
Q

what is the python csv libary for

A

This is a built in library in python that can read csv files and translate them into lists

33
Q
  1. initialise an empty table table1
  2. for each row in table0

 2a. if row satisfies condition

 2b. append row to table1

A

what is the algorithm for including or excluding rows from a table given a condition

34
Q

this is a number between -1 and +1 and is usually denoted by r. it tells us how closely the points of two data sets follow the trend line

A

what is the correlation coefficient

35
Q

what is the formula to find the interquartile range

A
36
Q

at this stage we would

Look at any challenges overcome, any resources used, what was learnt that can be applied in the future

A

in the context of programming what would we do at stage 4 look back of george polyas problem solving process

37
Q

what is the correlation coefficient

A

this is a number between -1 and +1 and is usually denoted by r. it tells us how closely the points of two data sets follow the trend line

38
Q

in the context of programming what would we do at stage 4 look back of george polyas problem solving process

A

at this stage we would

Look at any challenges overcome, any resources used, what was learnt that can be applied in the future