Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture...

26
Guest lecture Computer Science International School Hilversum

Transcript of Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture...

Page 1: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest lecture Computer ScienceInternational School Hilversum

Page 2: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 2

Expectations

What do you want to take home today?

25/5/2014

Page 3: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 3

What I wanted to discuss

□ Compulsory introduction□ Who is a Computer Scientists?□ A practical example□ Practice!□ Tip for the PP□ Evaluation

25/5/2014

Page 4: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 4

Who am I?

25/5/2014

Page 5: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 5

Why am I here?

Because I think technology is awesome

25/5/2014

1700

1800

1900

2000

Renaissance

Industrial Revolution

Technological Revolution

Space Age

DigitalRevolution

Page 6: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 6

Why am I here?

Because I think technology is awesome

25/5/2014

Smartphones

Self-driving vehicles

Augmented Reality

Google Glass

Page 7: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 725/5/2014

It’s all possible because of computers and computer scientists

It’s all possible because of computers and computer scientists

Page 8: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 8

source: xkcd.org

25/5/2014

Page 9: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 9

WHO IS A COMPUTER SCIENTIST?

Computer Scientists vs “Normal” People

25/5/2014

Page 10: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 10

What a Biologist might seeView from the Uithof Utrecht Source: Google Streetview

25/5/2014

water

Abscission, deciduous

Young birch?

Homo sapiens sapiens

Fossil fuels

Old oak?

Contains cholorphyll

grass

Page 11: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 11

Here’s what I seeView from the Uithof Utrecht Source: Google Streetview

25/5/2014

Carries phone

Radio, ABS, navigation, gps, fare system, ...

Bus Information System

Automatic lamppost

NFC chips in OV-cards,

laptops

Page 12: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 12

WHO IS A COMPUTER SCIENTIST

Attributes

25/5/2014

Page 13: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 1325/5/2014

ComputerScientist = {

“attributes” : {“life_long_learner”,“puzzle_solver”,“loves_challenges”,“creative”,“team_player”,“lazy”,“efficient”

}

};

Page 14: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 14

LET’S HAVE AN EXAMPLEA Facebook problem

25/5/2014

Page 15: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 15

The problem

□ We’ve got this fantastic event we want to host

□ It’s open to anyone□ We want to invite all our friends to

this event

□ … but Facebook doesn’t have an ‘invite all’ option

25/5/2014

Page 16: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 16

The problem

25/5/2014

Page 17: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 17

The solutionelements = document.getElementsByName(“checkableitems[]”);

for (i = 0; i < elements.length; i++){

if(elements[i].type = “checkbox”){

elements[i].click();}

}

25/5/2014

Page 18: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 1825/5/2014

https://www.youtube.com/watch?v=1jAJQKjOA-U

Page 19: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 19

TIME TO GET OUR HANDS DIRTY

(not physically, depending on how clean you keep your keyboards)

25/5/2014

Page 20: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 2025/5/2014

Please type this URL in your browser:

http://www.codeacademy.com/tracks/python

Follow the puzzles there

If you have any questions, ask!

Page 21: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 21

A TIP FOR YOUR PERSONAL PROJECT

25/5/2014

Page 22: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 22

Computer science is all about attitude

□ Don’t do things manually! Make it a puzzle instead

25/5/2014

Page 23: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 2325/5/2014

Thanks for listening to this presentation!

I’d really appreciate it if you’d help me give better presentations by giving

feedback

Please go to: www.stijnhoogervorst.nl/ish/

feedback.html

Page 24: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 2425/5/2014

If you’re interested in learning more, you can find more resources here:

http://www.codeacademy.comhttp://www.learnstreet.com

http://code.org/learn (starts off a bit easy)http://www.programmingbasics.org/en/

And these slides are at:www.stijnhoogervorst.nl/ish/presentation.pptx

Page 25: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 25

TRIVIA

25/5/2014

Page 26: Guest lecture Computer Science. Expectations What do you want to take home today? Guest Lecture Computer Science - ISH25/5/20142.

Guest Lecture Computer Science - ISH 2625/5/2014

1) What does RAM mean?Random Access Memory

2) Why does your computer become slower when there are a lot of programs open?

When your RAM is full, instead of from the fast memory, your processor has to load instructions from the hard drive which is slower

3) Another word for location in memory (RAM) isa) Indexb) Addressc) URL

4) How many bits are there in a byte?8 bits in a byte