SlideShare a Scribd company logo
1 of 16
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.
 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

What's hot

Programming languages
Programming languagesProgramming languages
Programming languages
vito_carleone
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
kitturashmikittu
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 

What's hot (20)

Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Programming
ProgrammingProgramming
Programming
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Chapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to ProgrammingChapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to Programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
Fundamentals of Programming Chapter 2
Fundamentals of Programming Chapter 2Fundamentals of Programming Chapter 2
Fundamentals of Programming Chapter 2
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
pdf c programming language.pdf
pdf c programming language.pdfpdf c programming language.pdf
pdf c programming language.pdf
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
Introduction to qbasic
Introduction to qbasicIntroduction to qbasic
Introduction to qbasic
 

Viewers also liked

Intro to object oriented programming
Intro to object oriented programmingIntro to object oriented programming
Intro to object oriented programming
David Giard
 

Viewers also liked (6)

Intro to object oriented programming
Intro to object oriented programmingIntro to object oriented programming
Intro to object oriented programming
 
Mathematical Modeling With Maple
Mathematical Modeling With MapleMathematical Modeling With Maple
Mathematical Modeling With Maple
 
8- java language basics part2
8- java language basics part28- java language basics part2
8- java language basics part2
 
3.3 programming fundamentals
3.3 programming fundamentals3.3 programming fundamentals
3.3 programming fundamentals
 
Fundamentals of programming)
Fundamentals of programming)Fundamentals of programming)
Fundamentals of programming)
 
Functional Programming Fundamentals
Functional Programming FundamentalsFunctional Programming Fundamentals
Functional Programming Fundamentals
 

Similar to Programming Fundamentals lecture 2

Introduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem AnsariIntroduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem Ansari
Tech
 

Similar to Programming Fundamentals lecture 2 (20)

Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Computer programming languages
Computer programming languagesComputer programming languages
Computer programming languages
 
computerprogramminglanguages-201216152310.pptx
computerprogramminglanguages-201216152310.pptxcomputerprogramminglanguages-201216152310.pptx
computerprogramminglanguages-201216152310.pptx
 
Ayushi
AyushiAyushi
Ayushi
 
Notacd07
Notacd07Notacd07
Notacd07
 
Nota programming
Nota programmingNota programming
Nota programming
 
Programming Part 01
Programming Part 01Programming Part 01
Programming Part 01
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
Introduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem AnsariIntroduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem Ansari
 
Notacd071
Notacd071Notacd071
Notacd071
 
2 Programming Language.pdf
2 Programming Language.pdf2 Programming Language.pdf
2 Programming Language.pdf
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptx
 
SYSTEM DEVELOPMENT
SYSTEM DEVELOPMENTSYSTEM DEVELOPMENT
SYSTEM DEVELOPMENT
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Computer program, computer languages, computer software
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer software
 
Chapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptxChapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptx
 
Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 

More from REHAN IJAZ

Project code for Project on Student information management system
Project code for Project on Student information management systemProject code for Project on Student information management system
Project code for Project on Student information management system
REHAN IJAZ
 

More from REHAN IJAZ (13)

How to make presentation effective assignment
How to make presentation effective assignmentHow to make presentation effective assignment
How to make presentation effective assignment
 
Project code for Project on Student information management system
Project code for Project on Student information management systemProject code for Project on Student information management system
Project code for Project on Student information management system
 
Programming Fundamentals lecture 8
Programming Fundamentals lecture 8Programming Fundamentals lecture 8
Programming Fundamentals lecture 8
 
Introduction to artificial intelligence lecture 1
Introduction to artificial intelligence lecture 1Introduction to artificial intelligence lecture 1
Introduction to artificial intelligence lecture 1
 
Programming Fundamentals lecture 7
Programming Fundamentals lecture 7Programming Fundamentals lecture 7
Programming Fundamentals lecture 7
 
Programming Fundamentals lecture 6
Programming Fundamentals lecture 6Programming Fundamentals lecture 6
Programming Fundamentals lecture 6
 
Programming Fundamentals lecture 5
Programming Fundamentals lecture 5Programming Fundamentals lecture 5
Programming Fundamentals lecture 5
 
Programming Fundamentals lecture 4
Programming Fundamentals lecture 4Programming Fundamentals lecture 4
Programming Fundamentals lecture 4
 
Programming Fundamentals lecture 3
Programming Fundamentals lecture 3Programming Fundamentals lecture 3
Programming Fundamentals lecture 3
 
Career development interviews
Career development interviewsCareer development interviews
Career development interviews
 
importance of Communication in business
importance of Communication in businessimportance of Communication in business
importance of Communication in business
 
Porposal on Student information management system
Porposal on Student information management systemPorposal on Student information management system
Porposal on Student information management system
 
Project on Student information management system
Project on Student information management systemProject on Student information management system
Project on Student information management system
 

Recently uploaded

Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 

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.
  • 9.
  • 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