Lecture 1. Introduction to Programming
Lecture 1. Introduction to Programming
Programming Languages
Lecture (1)
Submitted By:
❑ Chapter 5. Functions.
❑ Chapter 6. Arrays.
2
CHAPTER (1)
Introduction to
Computers & Programming
3
Ch 1. OUTLINE (Part One)
❑ What is a Computer ?
❑ Components of Computer.
❑ Basic Organization of a Computer System.
❑ What is Programming, Prog. Lang., Algorithm, Program ?
❑ Difference Between Compiler VS. Interpreter.
❑ Problem Solving Process in Programming.
❑ The Most Popular & Used Programming Languages.
❑ Why should we learn C++.
❑ Introduction to C++ & History.
3
Introduction
Processed Data
Raw Facts/Materials
that can be stored
6
What is a Computer ?
A Computer is an Electronic Device that
accepts data as inputs, stores, processes the
inputs as per user instructions, and provides
information as outputs in desired format.
7
Components of Computer
Software Hardware
General
System Application
Purpose
Software Software
Software
Common
Operating Language
Utility
System Translators
Programs
8
Computer System
A Computer System consists of mainly
four basic units; namely Input unit,
Storage unit, Central Processing unit
and output unit.
9
Basic Organization of a Computer System
10
No. Operation Description
➢ Programming Language is …
A set of rules, symbols, and special words used to write
a computer program.
➢ Computer Program is …
A set of instructions for a computer to Perform various
Operations.
➢ Computer Software is …
A collection of programs used by a computer.
13
Programming and Problem Solving
➢ Algorithm is …
A sequence of precise instructions which leads to a
solution.
➢ Program is …
An algorithm expressed in a language the computer
can understand.
14
Difference Between Compiler VS. Interpreter
15
16
Problem Solving Process in Programming
17
Programming
Languages
Low High
Prog. Lang. Prog. Lang.
18
Programming
Languages
Simple Base
Prog. Lang. Prog. Lang. Full
Prog. Lang.
Ex: HTML Ex: ASP→ V.B
Ex: C++, Java, Python
JSP → Java
19
Programming
Languages
Structure Object
Programming
Oriented ….
Programming
(OOP)
20
21
22
23
24
25
Why should we learn C++
26
27
28
29
Thanks!