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

Lecture 1. Introduction to Programming

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Lecture 1. Introduction to Programming

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

Lectures Notes in

Programming Languages

Lecture (1)
Submitted By:

Dr. Ahmed Mohamed Abd-Elwahab


Lecturer in BIS Department,
Faculty of Commerce & Business Administration,
Helwan University, Cairo, Egypt.
Course Outline
❑ Chapter 1. Introduction to Computers & Programming.

❑ Chapter 2. Elementary Programming.

❑ Chapter 3. Conditional Structures “if & else”.

❑ Chapter 4. Iteration Structures “Loops”.

❑ 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

▪ A computer is a useful tool for solving


a great variety of problems.
5
Introduction

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

The Process of Entering data and instructions into the


1 Take Input
Computer System.

Saving data and instructions so that they are available


2 Store Data
for processing as and when required.

Performing arithmetic, and logical Operations on data


3 Processing Data
in order to convert them into useful information.

The Process of Producing useful information or results


4 Output Information
for the user, such as a printed report or visual display.

Directs the manner and sequence in which all of the


5 Control the Workflow
above operations are performed.
11
12
➢ Programming is …
A process of Problem Solving

➢ 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!

Ahmed Mohamed Abd-Elwahab


30

You might also like