0% found this document useful (0 votes)
4 views

Introduction

Uploaded by

Kasun Madusanka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Introduction

Uploaded by

Kasun Madusanka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

DEVELOPMENT PROGRAMME 2020

INTRODUCTION TO PROGRAMMING

Anuradha Mudalige
Department of Electrical and Information Engineering
Faculty of Engineering
University of Ruhuna, Sri Lanka
What is programming?
•Can computers think ?
•Can computers do things themselves?
What is programming?

•Programming is the art of telling the


computer to do things !
•What do computers understand ?

Computer can understand electrical signals only !


• ON → 1
• OFF → 0
How to tell the computer to do things
? (how to programme a computer ?)
• Machine Language Vs High Level Languages
High- Level Languages
•C
• C++
• Java
• Visual Basic
• Perl,
• Python
• ---
• ---------
A Layered View of the Computer
Application Programs
Word-Processors, Spreadsheets,
Database Software, IDEs,
etc…
System Software
Compilers, Interpreters,Preprocessors, etc.
Operating System, Device Drivers
Machine with all its hardware
Why we should learn programming ?
• Programming is a basic literacy. Programming can be
very interesting and rewarding, as a hobby or a
profession.
• It’s a way to create change. Software can change our
lives. ( Facebook, google search, gmail, google maps,
Microsoft office, Android)
• Maybe you can’t find a program that does exactly what
you want or need it to do, so you want to write your
own.
• You have an idea for then next big tech innovation?
Great. Can you bring it to life?
• Programming isn’t that hard to learn !!!
• Developed by Guido van Rossum at the National
Research Institute for Mathematics and
Computer Science in the Netherlands.
• Easy to learn
• Open source → free !
• Python is not a “toy” …. Even programmers at
NASA and Google also use Python !!!

You might also like