Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
21 views

Week 1 - Introduction To Computing

Python for Beginners introduces programming concepts over 14 weeks. Week 1 provides a general introduction to computing, discussing what computing is, practical uses, and introducing programming concepts. The agenda covers an introduction to computing, computing in everyday appliances, programming languages, and Python's role in programming. It defines computing as involving input, processing, and output using hardware and software. Programming languages help write instructions for computers and there are different paradigms. Python is widely used for web development, data analysis, machine learning and scientific computing.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Week 1 - Introduction To Computing

Python for Beginners introduces programming concepts over 14 weeks. Week 1 provides a general introduction to computing, discussing what computing is, practical uses, and introducing programming concepts. The agenda covers an introduction to computing, computing in everyday appliances, programming languages, and Python's role in programming. It defines computing as involving input, processing, and output using hardware and software. Programming languages help write instructions for computers and there are different paradigms. Python is widely used for web development, data analysis, machine learning and scientific computing.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Python for Beginners

ෙනාහැක්කක් ෙනාමැත

Week -01 General Introduction to computing

www.heladevs.org
Where we are ??

Week 14

Week ...

Week 02
• Brief history
• Evolution of
programming
Week 01
languages
• What is computing
• What is programming • Levels of abstraction
• Compile vs Interpreted
Today's lesson will
focus on..
▪ Introduction to computing

▪ Practical use of computing

▪ Introduce the concept of programming


What is computing ?
01 Basic organization of a computer

Importance of computing

Computing in day to day appliances

02 Your Phone, TV

Internet, Online Communication, Online shopping and Banking

Programming languages

03 Helps writing set of instructions to computer to solve problems

There are different paradigms (imperative, functional, oop..etc)

Agenda Python in the programming world

Week -01 04 Wide variety of purposes, including web development, data analysis,
machine learning, and scientific computing.
What is Computation?

Input Processing Output


Organization of a computer
Why computers are important ?
● Speed: Computers can process data very fast, much faster than humans.

● Accuracy: Computers are very accurate and do not make mistakes in


calculations or data processing.

● Diligence: Computers do not get tired, bored or distracted

● Reliability: Computers are reliable and consistent devices

● Capacity : Computers can store huge amounts of data in memory as well as


persistence storage

● Versatility: Computers can be programmed to perform a wide range of tasks,


from simple calculations to complex simulations.

● Much more : Multitasking, Connectivity, Scalability, Portability…


Computing ? Hardware ?
• Data Components such as
• Process • Central processing unit (CPU),
• Store • Memory (RAM), storage devices such as hard disk
• Retrieve information drives (HDDs) and solid-state drives (SSDs),
• Input and output devices such as keyboards, mice,
• Using hardware and software tools and monitors, and
• Create, manipulate, and analyse data in • Various other components such as motherboards,
various forms, including text, images, power supplies, and cooling systems
audio, and video
• Computing encompasses a wide range Software ?
of activities
System Software
OS, Drivers, manage the operation of the computer
• Programming and software Ex: Windows, macOS, and Linux.
development, speech recognition,
machine learning, data analysis, image
processing Application Software
Designed to perform specific tasks and enable users to complete various
activities,
• Essential tool for modern businesses,
Ex: Microsoft Office, Adobe Creative Suite, and web browsers like
organizations, and individuals, allowing Google Chrome and Mozilla Firefox.
them to automate processes, increase
efficiency, and access vast amount of
information quickly and easily.
Programming Languages
Set of notations & rules
A programming language is a set of notations and grammatical rules that are used
to create software programs and applications. These languages provide a way for
programmers to communicate with a computer and specify the actions that the
computer should perform.

Versatile
There are many programming languages, each with its own syntax, rules, and
capabilities. Some popular programming languages include Python, Java, C/C++,
Scala, JavaScript, and Ruby.

Compiled and Interpreted


Programmers use programming languages to write code that can be compiled
or interpreted by a computer. This code typically consists of a series of
statements, commands, and functions that specify what the program should do.

Can create a wide range of applications


Programming languages can be used to create a wide variety of software, from
simple scripts to complex applications, operating systems, and even entire
ecosystems of software tools and platforms. The choice of programming
language depends on the task at hand, the programming environment, and the
preferences and expertise of the programmer
Why Python ?
● Easy to Learn and Use:
Python has a simple, easy-to-read syntax that makes it easy for developers to write code quickly
and efficiently. It has a low barrier to entry and is often used as a first programming language for
beginners.

● Large Standard Library:


Python has a large standard library that provides a wide range of modules and functions for
common programming tasks, such as file handling, networking, and data processing. This makes it
easy for developers to quickly and easily build applications without having to reinvent the wheel.

● Cross-platform compatibility:
Python is a cross-platform programming language, meaning it can run on a variety of operating
systems, including Windows, macOS, Linux, and UNIX. This makes it easy for developers to write
code once and deploy it on multiple platforms.

● Dynamically Typed:
Python is dynamically typed, which means that the type of variable is inferred at runtime. This
makes it easy for developers to write code quickly, as they don't need to declare variable types in
advance.

● Extensible:
Python is an extensible language, which means that developers can easily add new modules and
libraries to extend its functionality. This makes it easy for developers to build complex applications
and systems.

● Supports multiple programming paradigms:


Python supports multiple programming paradigms, including object-oriented, functional, and
procedural programming. This makes it a versatile language that can be used for a wide range of
applications.
Python in the industry
1. A Stack Overflow report mentions that around 60.1% of developers employed have taken an online course in programming and around 86.8 %
have learned a language, framework, or tooling without any sort of formal coursework. There is a good chance for self-taught developers to earn
more than normal developers.

2. Most software companies hire Python developers every year. Even if you are from a non-computer science branch, you will most likely work for
a software company. If you have right set of skills.

https://www.analyticsinsight.net/why-self-taught-python-developers-can-earn-more-than-normal-developers/ https://medium.com/@nqabell89/7-key-military-applications-of-machine-learning-9818dfa2ea86
Car as a model ... Functions

Logics 1. Start the car

1. If rainy, Activate wipers 2. Break the car

2. No seat belts?, indicate the 3. Turn the car


warnings
4. Turn on/off lights
3. Low fuel? Warn the driver

Properties

1. Colour

Error handling 2. Tyre size

1. Incorrect sensor readings Objects 3. Production year

2. Invalid state 1. Head lights 4. Speed

2. Tyres

3. Doors
Further Readings
● Computer science playlist on - Crash course youtube channel

https://youtube.com/playlist?list=PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo

● Chapter 1 : Introduction to Computing

https://cs.calvin.edu/activities/books/processing/text/01computing.pdf

● Intro to Computer Science Terminology

https://codeburst.io/intro-to-computer-science-terminology-f9ae64e75d27

● The Complete Guide to Von Neumann Architecture

https://history-computer.com/the-complete-guide-to-von-neumann-architecture/
Next Week – Week -02

Week 14

Week ...

Week 02
• Brief history
• Evolution of
programming
Week 01
languages
• What is computing
• Programming • Levels of abstraction
• Compile vs Interpreted
THANK YOU
ෙනාහැක්කක් ෙනාමැත.

You might also like