Week 1: Why we programme? Flashcards

1
Q

What is a microprocessor wired to do?

A

“What to do next?”

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

What is programming about?

A

To learn how to talk to this…

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

What is a programmer?

A

Somebody who tells these computers what to do…

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

Why learn how to programme (in this course) ?

A

Because you can do things within excel for instance and programme it yourself. We are going to build stuff primarily for ourselves

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

What does he now want us to think?

A

That we are someone from the inside

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

Why be a programmer?

A
  1. To getsome tasks done 2. Clean up survey data 3. Fix a performance problem in the Sakai data 4. Produce something for others to use 5. Add guestbook to a website
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a code ? What is a software?

A

What is code? What is software? We use these words pretty much independently, a program. It’s really a sequence of stored instructions. It gives it back, in, out, in, out. So it’s really a sequence of stored instructions.

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

What is the difference between human proigramms and programs for computers?

A

The human being can fix these mistakes while a computer cannot do that.

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

What is this?

A

Hardware

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

Where can you normally find hardware?

A

Inside

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

What is this?

A

It is a motherboard

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

What are these?

A

Memory chips, they are connected through the motherbaord

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

What is the central processing unit?

A

The central processing unit that I’ve spoken of before. Put that back down. Central processing unit is the closest thing a computer has to a brain, but it’s barely a brain. It’s really just a super fast programmable calculator. It, we make it flexible by our creativity when we write programs. We make it seem intelligent. It’s people that make it intelligent by taking our own knowledge and putting it in.

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

What are the central processing unit and the main memory together?

A

So, we have the main memory and we have the central processing unit. And this is where our high-speed instructions come from, this is where our high-speed data is stored. And this is the thing that asks “what next?” and it reads its instructions from here.

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

Name a few examples of input/output devices.

A

Mouse or keyboard. HDMI, ethernet connector etc.

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

What is an RAM?

A

Random access memory. is a form of computer data storage. A random-access memory device allows data items to be accessed (read or written) in almost the same amount of time irrespective of the physical location of data inside the memory.

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

What happens in an RAM if the power goes off?

A

The data vanishes. when the power goes off, these things sort of go away. The data in this RAM goes away. It’s just designed to be really fast. But not permanent. So we need a place that’s permanent, that’s what secondary storage is.

18
Q

What is a CPU?

A

Runs the programme. The CPU is always wondering what to do next. Not the brains exactly. Very dumb but very very fast

19
Q

What are input devices?

A

Keyboard, Mouse Touchscreen

20
Q

What are output devices?

A

Screen, Speakers, Printer, DVD burner

21
Q

What is the main memory?

A

Fast small, temporary storage - lost on reboot - aka RAM

22
Q

What is a secondary memoray?

A

Slower large, permanent storage - lasts until deleted disk drive memory stick.

23
Q

Where do we write our programmms ?

A

In the memory. We put our programms in to the memory and the CPU puts the programms out of the memory.

24
Q

Do computers directly execute Python ?

A

Not really. What they eyxecute are machine languages like 0s and 1s

25
Q

What does Python do for us?

A

It translates into machine language

26
Q

What is getting hot in your computer?

A

The CPU

27
Q

Why was Python invented?

A

We invented Python as humans as a way to encapsulate our instructions.

28
Q

Who developed Python ?

A

Guido van Rossum

29
Q

What are the characteristics of Python ?

A

It is easy to use.

30
Q

Why is Python called Python ?

A

After a British comedy show.

31
Q

What is the difference between learning a human language and a programming language?

A

A human language is designed for talking to humans who will make corrections for us. Computers are very literal.

32
Q

Who should learn which language?

A

Yu should really learn the programming language instead of trying to make Python understand you.

33
Q

What is the answer if you type something in that Python cannot read?

A

“Syntax error”

34
Q

Name the elements of Python…

A

Vocabulary/ Words

Sentence structure - valid syntax patterns

Story Structure - constructing a programme for a purpose

35
Q

Why can you not use reserved words?

A

Because they already have a meaning.

36
Q

What is “x”

A

a variable

37
Q

What is =

A

an operator

38
Q

What is 2?

A

a constant

39
Q

what is “print”?

A

a reserved word

40
Q
A