SlideShare a Scribd company logo
4
Most read
7
Most read
9
Most read
Introduction
to
Programming
REHAN IJAZ
By
ProgrammingFundamentals
 In computing, a program is a specific set of ordered operations for a
computer to perform.
 Typically, the program is put into a storage area accessible to the computer.
 The computer gets one instruction and performs it and then gets the next
instruction.
 The storage area or memory can also contain the data that the instruction
operates on.
 Programming is the process of writing instructions in any computer
programming language to get any specific objective.
 Process of writing instructions is based on some logic.
 Your first step is to figure out exactly what you want your program to do
 Chalk out the steps on paper (algorithm)
 A programming language is a special language programmers use to develop
applications, scripts, or other set of instructions for computers to execute.
 programming languages provide methods for sending input into the computer
program so that it can be manipulated
 Examples BASIC, C, C++, COBOL, FORTRAN, Ada, and Pascal.
 Machine language consisting of binary digits which a
computer can respond to directly.
 Machine language is the only language a computer is
capable of understanding directly.
 Every processor or processor family has its own
machine code instruction set. Instructions are patterns
of bits that by physical design correspond to different
commands to the machine.
 David J. Wheeler created the first assembly
language. While working as part of a team on
the Electronic Delay Storage Automatic
Computer,
 Sometimes referred to as assembly or ASL, assembly language is a low-level
programming language used to interface with computer hardware.
 Assembly language uses structured commands as substitutions for numbers
allowing humans to more easily read the code versus looking at binary.
 Although easier to read than binary, assembly language is a difficult language
and is usually substituted for a higher language such as C.
 Assembly language uses a mnemonic to represent each low-level machine
instruction or operation.
 Assembly language is converted into executable machine code (object code)
by a utility program referred to as an assembler; the conversion process is
referred to as assembly, or assembling the code.
Programming Fundamentals lecture 2
 C, an early systems programming language, was developed by
Dennis Ritchie and Ken Thompson at Bell Labs between 1969 and
1973.
 C++ is a high-level programming language developed by Bjarne
Stroustrup at Bell Labs beginning in 1979.
 C++ is a Machine Independent Language.
 C++ Provides huge Function Library
 C++ is an Object Oriented Programming Language (OOPL).
 C++ can be used for developing System Software viz., operating systems, compilers,
editors and data bases.
 C++ is suitable for Development of Reusable Software. , thus reduces cost of
software development.
#include <iostream>
int main()
{
cout << "Hello World!" << endl;
return 0;
}
 you should first write the program
 Save the program
 Compile the Program ( Alt+F9)
 fix the syntax errors, if identified by the complier
 Re-compile the program
 Run the program (Ctrl + F9)
 See the output, if any
 1. Come up with an idea for a program.
 2. Decide the probable identity of the typical user of the program.
 3. Pick computer language(s) to use.
 4. Design the program by using pseudocode or any other tool to outline
the structure of the program.
 5. Write the program.
 6. Test the program.
 Step 6 is known as alpha testing.
 7. Fix any problems that you discover during alpha testing.
 Repeat Steps 6 and 7 as often as possible.
 8. Give out copies of the program to other people to test.
 Step 8 is known as beta testing. The idea is to let total strangers use your
program so they can tell you what they like and dislike.
 9. Fix any problems that people discover during beta testing.
 Repeat Steps 8 and 9 as often as possible.
 10. Release the program
Programming Fundamentals lecture 2

More Related Content

PDF
Object oriented programming c++
Ankur Pandey
 
PPTX
Programming Fundamentals lecture 1
REHAN IJAZ
 
PPTX
Computer Programming Overview
agorolabs
 
PPT
Programming in c
indra Kishor
 
PPT
Lecture 5 - Structured Programming Language
Md. Imran Hossain Showrov
 
PDF
Introduction to computer programming
Noel Malle
 
PPTX
Programming paradigm
busyking03
 
PPT
Cocomo model
MZ5512
 
Object oriented programming c++
Ankur Pandey
 
Programming Fundamentals lecture 1
REHAN IJAZ
 
Computer Programming Overview
agorolabs
 
Programming in c
indra Kishor
 
Lecture 5 - Structured Programming Language
Md. Imran Hossain Showrov
 
Introduction to computer programming
Noel Malle
 
Programming paradigm
busyking03
 
Cocomo model
MZ5512
 

What's hot (20)

PPSX
Programming Fundamental Presentation
fazli khaliq
 
PPTX
introduction to programming languages
NaqashAhmad14
 
PPT
Unit 1 - Introduction to Software Engineering.ppt
DrTThendralCompSci
 
PPTX
Basic programming concepts
salmankhan570
 
PPT
Fundamental Programming Lect 1
Namrah Erum
 
PPTX
Software Engineering Layered Technology Software Process Framework
JAINAM KAPADIYA
 
PPTX
Theory of programming
tcc_joemarie
 
PPT
4 evolution-of-programming-languages
Rohit Shrivastava
 
PPTX
Introduction to programming languages
Sayed Mahmoud AbdEl Rahman
 
PDF
Principles of programming languages. Detail notes
VIKAS SINGH BHADOURIA
 
PPT
Computer languages 11
Muhammad Ramzan
 
PPTX
Basic Computer Programming
Allen de Castro
 
PPTX
Cocomo model
ZunairaIshtiaq2
 
PPTX
SRS(software requirement specification)
Akash Kumar Dhameja
 
PPTX
Introduction to Programming Languages
educationfront
 
PPTX
Types of Programming Languages
Juhi Bhoyar
 
PPTX
Programming language
Shuja Qais
 
PPTX
Programming languages
www.myassignmenthelp.net
 
PDF
Introduction to Operating Systems
Mukesh Chinta
 
PPTX
Introduction to problem solving in C
Diwakar Pratap Singh 'Deva'
 
Programming Fundamental Presentation
fazli khaliq
 
introduction to programming languages
NaqashAhmad14
 
Unit 1 - Introduction to Software Engineering.ppt
DrTThendralCompSci
 
Basic programming concepts
salmankhan570
 
Fundamental Programming Lect 1
Namrah Erum
 
Software Engineering Layered Technology Software Process Framework
JAINAM KAPADIYA
 
Theory of programming
tcc_joemarie
 
4 evolution-of-programming-languages
Rohit Shrivastava
 
Introduction to programming languages
Sayed Mahmoud AbdEl Rahman
 
Principles of programming languages. Detail notes
VIKAS SINGH BHADOURIA
 
Computer languages 11
Muhammad Ramzan
 
Basic Computer Programming
Allen de Castro
 
Cocomo model
ZunairaIshtiaq2
 
SRS(software requirement specification)
Akash Kumar Dhameja
 
Introduction to Programming Languages
educationfront
 
Types of Programming Languages
Juhi Bhoyar
 
Programming language
Shuja Qais
 
Programming languages
www.myassignmenthelp.net
 
Introduction to Operating Systems
Mukesh Chinta
 
Introduction to problem solving in C
Diwakar Pratap Singh 'Deva'
 
Ad

Viewers also liked (6)

PPTX
Intro to object oriented programming
David Giard
 
PPTX
Mathematical Modeling With Maple
Vaitheeswaran Gnanaraj
 
PDF
8- java language basics part2
Amr Elghadban (AmrAngry)
 
PPT
3.3 programming fundamentals
Sayed Ahmed
 
PDF
Fundamentals of programming)
jakejakejake2
 
PPTX
Functional Programming Fundamentals
Shahriar Hyder
 
Intro to object oriented programming
David Giard
 
Mathematical Modeling With Maple
Vaitheeswaran Gnanaraj
 
8- java language basics part2
Amr Elghadban (AmrAngry)
 
3.3 programming fundamentals
Sayed Ahmed
 
Fundamentals of programming)
jakejakejake2
 
Functional Programming Fundamentals
Shahriar Hyder
 
Ad

Similar to Programming Fundamentals lecture 2 (20)

PPTX
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
PPTX
lecture Slides - Week 1.programming fundamentals
fazayn927
 
PPTX
PRESENTATION OF students learning outcomes.pptx
hinabibi9
 
PDF
Introduction to computer programming
VanessaBuensalida
 
PDF
sege.pdf
SegezzBrian
 
PPT
Topic 1 B C programming exercises one.ppt
Carlos701746
 
PPTX
programming.pptx
DarianElmyra
 
PPTX
Computer and programing basics.pptx
gaafergoda
 
PDF
C_Dayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy1.pdf
amanpathak160605
 
PDF
Fundamentals of programming with C++
Seble Nigussie
 
PPTX
Chapter 2.pptx
TamiratDejene1
 
PDF
C progrmming
Shivam Singhal
 
PDF
6272 cnote
P Kiran Sree
 
PPTX
Fundamental programming Nota Topic 1.pptx
UmmuNazieha
 
PPTX
Software programming and development
Ali Raza
 
PPT
Introduction to Computer
zaheeriqbal41
 
PPT
Synapseindia dot net development computer programming
Synapseindiappsdevelopment
 
PPT
Book ppt
FALLEE31188
 
PDF
Programming_Fundamentals_Chapter_1_INTRO.pdf
BernardVelasco1
 
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
lecture Slides - Week 1.programming fundamentals
fazayn927
 
PRESENTATION OF students learning outcomes.pptx
hinabibi9
 
Introduction to computer programming
VanessaBuensalida
 
sege.pdf
SegezzBrian
 
Topic 1 B C programming exercises one.ppt
Carlos701746
 
programming.pptx
DarianElmyra
 
Computer and programing basics.pptx
gaafergoda
 
C_Dayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy1.pdf
amanpathak160605
 
Fundamentals of programming with C++
Seble Nigussie
 
Chapter 2.pptx
TamiratDejene1
 
C progrmming
Shivam Singhal
 
6272 cnote
P Kiran Sree
 
Fundamental programming Nota Topic 1.pptx
UmmuNazieha
 
Software programming and development
Ali Raza
 
Introduction to Computer
zaheeriqbal41
 
Synapseindia dot net development computer programming
Synapseindiappsdevelopment
 
Book ppt
FALLEE31188
 
Programming_Fundamentals_Chapter_1_INTRO.pdf
BernardVelasco1
 

More from REHAN IJAZ (13)

DOCX
How to make presentation effective assignment
REHAN IJAZ
 
DOCX
Project code for Project on Student information management system
REHAN IJAZ
 
DOCX
Programming Fundamentals lecture 8
REHAN IJAZ
 
PPTX
Introduction to artificial intelligence lecture 1
REHAN IJAZ
 
DOCX
Programming Fundamentals lecture 7
REHAN IJAZ
 
PPTX
Programming Fundamentals lecture 6
REHAN IJAZ
 
PPTX
Programming Fundamentals lecture 5
REHAN IJAZ
 
DOCX
Programming Fundamentals lecture 4
REHAN IJAZ
 
PPTX
Programming Fundamentals lecture 3
REHAN IJAZ
 
PDF
Career development interviews
REHAN IJAZ
 
DOC
importance of Communication in business
REHAN IJAZ
 
DOCX
Porposal on Student information management system
REHAN IJAZ
 
PPTX
Project on Student information management system
REHAN IJAZ
 
How to make presentation effective assignment
REHAN IJAZ
 
Project code for Project on Student information management system
REHAN IJAZ
 
Programming Fundamentals lecture 8
REHAN IJAZ
 
Introduction to artificial intelligence lecture 1
REHAN IJAZ
 
Programming Fundamentals lecture 7
REHAN IJAZ
 
Programming Fundamentals lecture 6
REHAN IJAZ
 
Programming Fundamentals lecture 5
REHAN IJAZ
 
Programming Fundamentals lecture 4
REHAN IJAZ
 
Programming Fundamentals lecture 3
REHAN IJAZ
 
Career development interviews
REHAN IJAZ
 
importance of Communication in business
REHAN IJAZ
 
Porposal on Student information management system
REHAN IJAZ
 
Project on Student information management system
REHAN IJAZ
 

Recently uploaded (20)

PPT
Lecture in network security and mobile computing
AbdullahOmar704132
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PPTX
easa module 3 funtamental electronics.pptx
tryanothert7
 
PDF
Principles of Food Science and Nutritions
Dr. Yogesh Kumar Kosariya
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
Activated Carbon for Water and Wastewater Treatment_ Integration of Adsorptio...
EmilianoRodriguezTll
 
PPTX
AgentX UiPath Community Webinar series - Delhi
RohitRadhakrishnan8
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PPT
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
PDF
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PPTX
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PDF
flutter Launcher Icons, Splash Screens & Fonts
Ahmed Mohamed
 
PDF
Software Testing Tools - names and explanation
shruti533256
 
Lecture in network security and mobile computing
AbdullahOmar704132
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
easa module 3 funtamental electronics.pptx
tryanothert7
 
Principles of Food Science and Nutritions
Dr. Yogesh Kumar Kosariya
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Activated Carbon for Water and Wastewater Treatment_ Integration of Adsorptio...
EmilianoRodriguezTll
 
AgentX UiPath Community Webinar series - Delhi
RohitRadhakrishnan8
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
flutter Launcher Icons, Splash Screens & Fonts
Ahmed Mohamed
 
Software Testing Tools - names and explanation
shruti533256
 

Programming Fundamentals lecture 2

  • 2.  In computing, a program is a specific set of ordered operations for a computer to perform.  Typically, the program is put into a storage area accessible to the computer.  The computer gets one instruction and performs it and then gets the next instruction.  The storage area or memory can also contain the data that the instruction operates on.
  • 3.  Programming is the process of writing instructions in any computer programming language to get any specific objective.  Process of writing instructions is based on some logic.  Your first step is to figure out exactly what you want your program to do  Chalk out the steps on paper (algorithm)
  • 4.  A programming language is a special language programmers use to develop applications, scripts, or other set of instructions for computers to execute.  programming languages provide methods for sending input into the computer program so that it can be manipulated  Examples BASIC, C, C++, COBOL, FORTRAN, Ada, and Pascal.
  • 5.  Machine language consisting of binary digits which a computer can respond to directly.  Machine language is the only language a computer is capable of understanding directly.  Every processor or processor family has its own machine code instruction set. Instructions are patterns of bits that by physical design correspond to different commands to the machine.
  • 6.  David J. Wheeler created the first assembly language. While working as part of a team on the Electronic Delay Storage Automatic Computer,
  • 7.  Sometimes referred to as assembly or ASL, assembly language is a low-level programming language used to interface with computer hardware.  Assembly language uses structured commands as substitutions for numbers allowing humans to more easily read the code versus looking at binary.  Although easier to read than binary, assembly language is a difficult language and is usually substituted for a higher language such as C.
  • 8.  Assembly language uses a mnemonic to represent each low-level machine instruction or operation.  Assembly language is converted into executable machine code (object code) by a utility program referred to as an assembler; the conversion process is referred to as assembly, or assembling the code.
  • 10.  C, an early systems programming language, was developed by Dennis Ritchie and Ken Thompson at Bell Labs between 1969 and 1973.  C++ is a high-level programming language developed by Bjarne Stroustrup at Bell Labs beginning in 1979.
  • 11.  C++ is a Machine Independent Language.  C++ Provides huge Function Library  C++ is an Object Oriented Programming Language (OOPL).  C++ can be used for developing System Software viz., operating systems, compilers, editors and data bases.  C++ is suitable for Development of Reusable Software. , thus reduces cost of software development.
  • 12. #include <iostream> int main() { cout << "Hello World!" << endl; return 0; }
  • 13.  you should first write the program  Save the program  Compile the Program ( Alt+F9)  fix the syntax errors, if identified by the complier  Re-compile the program  Run the program (Ctrl + F9)  See the output, if any
  • 14.  1. Come up with an idea for a program.  2. Decide the probable identity of the typical user of the program.  3. Pick computer language(s) to use.  4. Design the program by using pseudocode or any other tool to outline the structure of the program.  5. Write the program.  6. Test the program.  Step 6 is known as alpha testing.
  • 15.  7. Fix any problems that you discover during alpha testing.  Repeat Steps 6 and 7 as often as possible.  8. Give out copies of the program to other people to test.  Step 8 is known as beta testing. The idea is to let total strangers use your program so they can tell you what they like and dislike.  9. Fix any problems that people discover during beta testing.  Repeat Steps 8 and 9 as often as possible.  10. Release the program