esc101 introduction to computing welcome amey karkare dept of cse iit kanpur welcome esc101,...

15
ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming 1

Upload: garry-byrd

Post on 19-Dec-2015

229 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

ESC101Introduction to Computing

WELCOME

Amey KarkareDept of CSEIIT Kanpur

Welcome Esc101, Programming 1

Page 2: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

ACKNOWLEDGEMENTS

All previous instructors of Esc101 at IIT Kanpur.

MS Office clip art, various websites and images The images/contents are used for

teaching purpose and for fun. The copyright remains with the original creator. If you suspect a copyright violation, bring it to my notice and I will remove that image/content.

Page 3: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

The Course

The course teaches you how to solve problems using the computer.

No prior exposure to programming is needed.

Welcome Esc101, Programming 3

Page 4: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

What is a Computer?

Welcome Esc101, Programming 4

Almost all electronic gadgets today are Computers.They are everywhere!

Page 5: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Every discipline uses computing: All branches of engineering, sciences, design and arts.Understand how computers workWrite your own programs boring repetitive stuff!

Welcome Esc101, Programming 5

Why am I doing this course?

Automate

Page 6: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Welcome Esc101, Programming 6

Sou

rce:

htt

p://

xkcd

.com

/131

9

Page 7: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Process of Programming: Step 1

• Define and model the problem. In real-life this is important and complicated.

• For example, consider modeling the Indian Railways reservation system.

Welcome Esc101, Programming 7

Page 8: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Process of Programming

In this course, all problems will be defined precisely and will be simple

Welcome Esc101, Programming 8

Page 9: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Process of Programming: Step 2Obtain a logical solution to your problem.A logical solution is a finite and clear

step-by-step procedure to solve your problem.

Also called an Algorithm. We can visualize this using a Flowchart. Very important step in the programming

process.

Welcome Esc101, Programming 9

Page 10: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Welcome Esc101, Programming

Friendship Algorithm/Flowchart

10

Source: The Big Bang Theory

Page 11: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Algorithms in real-life

Any step-by-step guide. e.g. Assembly instructions for a make-it-yourself kit.

Welcome Esc101, Programming 11

http://www.gocomics.com/calvinandhobbes/2009/06/02

Page 12: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

At least for this course…

Welcome Esc101, Programming 12

What is “NOT” a computer

Page 13: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Welcome Esc101, Programming 13

Some famous Computers

IBM Deep Blue

Page 14: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Welcome Esc101, Programming 14

Some famous Computers

IBM Watson

Page 15: ESC101 Introduction to Computing WELCOME Amey Karkare Dept of CSE IIT Kanpur Welcome Esc101, Programming1

Welcome Esc101, Programming 15

Some famous Computers

IBM Watson