Lecture - 1-1
Lecture - 1-1
COMPUTER
PROGRAMMING
COMPUTER ENGINEERING
DEPARTMENT
Introduction
• This
course will cover the fundamentals concepts of
computer programming
Textbook:
1.Eric Matthes, “Python Crash Course: A Hands-On,
Project-Based Introduction to Programming”, 2015, No
Starch Press.
2.Charles R. Severance, “Python for Everybody: Exploring
Data using Python 3”.
What is a Computer?
• It
is an electronic device that processes data, converting it
into information.
• It
is controlled by programmed instructions, which gives
the machine a purpose and tell it what to do.
• Personal Computers
• Servers
• Embedded Computers
Computers for Individual Users
• Mostcomputers are meant to be used by individual
person at a time.
• Can be carried any where and easily fit inside the briefcase.
• What
comes to your mind about modern
“Smart phones” are they computers or not?
YE
S
Computer for Organizations
• Somecomputers handle the needs of many users at
the same. These powerful computers are most often
used by organizations.
• It
can handle multiple users (Thousands of users).
Many people need to use the same data.
Software
• Set of instructions that tells computer what to do
Data
• Piece of information, individual facts
• Computer organizes and manages data
User
• Person operates the computer. Can also called
computer operator or user.
Information Processing Cycle
• The information process cycle has four steps:
Input
• Accepts data from user/program
Processing
• Processing component performs action on data
based
on instructions from user
Output
• Displays the result of its processing
Storage
• Stores the result of its processing
Computer Hardware
• Computer hardware
Memory
falls in to four
categories.
CPU
Input Output
• Processor
• Memory
Secondary
• I/O
Storage
• Storage
Summary
• What is a Computer?
• Computer Hardware