SlideShare a Scribd company logo
1 of 22
Programming
Fundamentals
REHAN IJAZ
By
Computer hardware refers to the physical parts or components of a computer
such as monitor, keyboard, Computer data storage, hard drive disk, mouse,
printers, CPU (graphic cards, sound cards, memory, motherboard and chips),
Computer software, or just software, is any set of machine-readable
instructions (most often in the form of a computer program) that
directs a computer's processor to perform specific operations.
๏ƒผ Coined 1953 by Paul Niquette
๏ƒผ First used in print by John Tukey in1958
JOHN TUKEY
Born
(1915-06-16)June 16, 1915 New Bedford,
Massachusetts, USA
Fields Mathematician
Institutions Bell Labs, Princeton University
Known for Coining the term 'bit'
System softwares Application softwares
๏ƒผ Microsoft employee is called "Softie".
๏ƒผ Average salary for a developer coming in at 1,11,30,000.
๏ƒผ Microsoft currently employs 88,180 people
๏ƒผ Pakistan's IT industry's global share is estimated at US$2.8 billion.
๏ƒผ Pakistan Software Export Board is national public sector
organization dealing with Software/software houses
๏ƒผ PASHA โ€“Pakistan Software House Association
๏ƒผ An operating system (OS) is a collection of software
๏ƒผ Manages computer hardware resources and provides
common services for computer programs.
๏ƒผ Application programs usually require an operating
system to function.
๏ƒผ Acts as an intermediary between programs and the
computer hardware.
๏ƒผ In a multitasking operating system where multiple programs can be
running at the same time, the operating system determines which
applications should run in what order and how much time should be
allowed for each application before giving another application a turn.
๏ƒผ It handles input and output to and from attached hardware devices, such
as hard disks, printers, and dial-up ports.
๏ƒผ On computers that can provide parallel processing, an operating system
can manage how to divide the program so that it runs on more than one
processor at a time.
๏ต A compiler is a computer program (or a set of programs) that transforms source
code written in a programming language (the source language) into another
computer language (the target language), with the latter often having a binary
form known as object code. If you create any error in code then output not found
or get error message.
๏ต The first compiler was developed by Grace Hopper while working on the Harvard
Mark I computer.
GRACE HOPPER
Born
December 9, 1906
New York City, New York, U.S.
Rank
U.S. Chief Technology Officer , (Rear
admiral (lower half)) US Navy
Known for Coining the term compiler
๏ต An interpreter is a computer program that directly executes, i.e.
performs, instructions written in a programming or scripting language,
without previously compiling them into a machine language program.
No Compiler Interpreter
1 Compiler Takes Entire program as input Interpreter Takes Single instruction as
input .
2 Conditional Control Statements are Executes
faster
Conditional Control Statements are
Executes slower
3 Memory Requirement : More (Since Object
Code is Generated)
Memory Requirement is Less
4 Program need not be compiled every time Every time higher level program is
converted into lower level program
5 Errors are displayed after entire program is
checked
Errors are displayed for every instruction
interpreted (if any)
6 Example : C Compiler Example : BASIC
๏ต Sometimes called text editor, a program that enables you to create and edit text files.
There are many different types of editors, but they all fall into two general categories:
๏ต The distinction between editors and word processors is not clear-cut, but in general,
word processors provide many more formatting features. Nowadays, the term editor
usually refers to source code editors that include many special features for writing and
editing source code.
๏ต The source code consists of the programming statements that are
created by a programmer with a text editor or a visual programming
tool and then saved in a file. For example, a programmer using the C
language types in a desired sequence of C language statements using
a text editor and then saves them as a named file. This file is said to
contain the source code.
# include <stdio.h>
int main ()
{
printf (โ€œ Am I Dr. AQ Khan or politician?โ€);
return 0;
}
๏ต Source code is compiled with a C compiler and the resulting output,
the compiled file, is often referred to as object code. The object code
file contains a sequence of instructions that the processor can
understand but that is difficult for a human to read or modify.
# include <stdio.h>
int main ()
{
Printf (โ€œ Am I Dr. AQ Khan or politician?โ€);
Return ();
}
Compiler
10101010111111010101011000
01010100101001010010111010
10101011010111010101010101
01010101010010101010101001
01001010010101011100001010
00000001111111100000101100
10101010010100101011111010
1110110
Source Code Object Code
Programming Fundamentals lecture 1

More Related Content

What's hot

Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
ย 
Lecture 1 programming fundamentals (PF)
Lecture 1 programming fundamentals (PF)Lecture 1 programming fundamentals (PF)
Lecture 1 programming fundamentals (PF)Kamran Zafar
ย 
Computer Programming
Computer ProgrammingComputer Programming
Computer ProgrammingSyed Zaid Irshad
ย 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharVivek Parihar
ย 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming LanguagesManish Kharotia
ย 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programmingNeeru Mittal
ย 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programmingManoj Tyagi
ย 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreterParas Patel
ย 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming LanguagesJuhi Bhoyar
ย 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming ConceptsJussi Pohjolainen
ย 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programmingNSU-Biliran Campus
ย 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals ArghodeepPaul
ย 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer Ashim Lamichhane
ย 
Programming languages
Programming languagesProgramming languages
Programming languagesAsmasum
ย 
Algorithm Design & Implementation
Algorithm Design & ImplementationAlgorithm Design & Implementation
Algorithm Design & ImplementationGaditek
ย 
Theory of programming
Theory of programmingTheory of programming
Theory of programmingtcc_joemarie
ย 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Raja Hamid
ย 
Introduction to basic programming
Introduction to basic programmingIntroduction to basic programming
Introduction to basic programmingJordan Delacruz
ย 

What's hot (20)

Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
ย 
Lecture 1 programming fundamentals (PF)
Lecture 1 programming fundamentals (PF)Lecture 1 programming fundamentals (PF)
Lecture 1 programming fundamentals (PF)
ย 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
ย 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek parihar
ย 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
ย 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
ย 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
ย 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
ย 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
ย 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
ย 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
ย 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
ย 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals
ย 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
ย 
Programming languages
Programming languagesProgramming languages
Programming languages
ย 
Algorithm Design & Implementation
Algorithm Design & ImplementationAlgorithm Design & Implementation
Algorithm Design & Implementation
ย 
Theory of programming
Theory of programmingTheory of programming
Theory of programming
ย 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
ย 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
ย 
Introduction to basic programming
Introduction to basic programmingIntroduction to basic programming
Introduction to basic programming
ย 

Viewers also liked

Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cProgramming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cRaja Hamid
ย 
Fundamental Programming Lect 1
Fundamental Programming Lect 1Fundamental Programming Lect 1
Fundamental Programming Lect 1Namrah Erum
ย 
Fundamental Programming Lect 3
Fundamental Programming Lect 3Fundamental Programming Lect 3
Fundamental Programming Lect 3Namrah Erum
ย 
Chapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of ProgrammingChapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of Programmingricsanmae
ย 
Fundamental Programming Lect 2
Fundamental Programming Lect 2Fundamental Programming Lect 2
Fundamental Programming Lect 2Namrah Erum
ย 
Embedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals masterEmbedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals masterHossam Hassan
ย 
Functional Programming Fundamentals
Functional Programming FundamentalsFunctional Programming Fundamentals
Functional Programming FundamentalsShahriar Hyder
ย 

Viewers also liked (7)

Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cProgramming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f c
ย 
Fundamental Programming Lect 1
Fundamental Programming Lect 1Fundamental Programming Lect 1
Fundamental Programming Lect 1
ย 
Fundamental Programming Lect 3
Fundamental Programming Lect 3Fundamental Programming Lect 3
Fundamental Programming Lect 3
ย 
Chapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of ProgrammingChapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of Programming
ย 
Fundamental Programming Lect 2
Fundamental Programming Lect 2Fundamental Programming Lect 2
Fundamental Programming Lect 2
ย 
Embedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals masterEmbedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals master
ย 
Functional Programming Fundamentals
Functional Programming FundamentalsFunctional Programming Fundamentals
Functional Programming Fundamentals
ย 

Similar to Programming Fundamentals lecture 1

W3CERT Computer Software M2
W3CERT Computer Software M2W3CERT Computer Software M2
W3CERT Computer Software M2HemaHeloise
ย 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxUzma1102
ย 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1Jackie Marshall
ย 
Last module pc_software
Last module pc_softwareLast module pc_software
Last module pc_softwareAnirban Mandal
ย 
System programming note
System programming noteSystem programming note
System programming noteSANTOSH RATH
ย 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppmeharikiros2
ย 
What is a computer
What is a computerWhat is a computer
What is a computerJagan Mohan
ย 
Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and JavaPRN USM
ย 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxHazardRhenz1
ย 
Power Point Lesson 04
Power Point  Lesson 04Power Point  Lesson 04
Power Point Lesson 04Nasir Jumani
ย 
bui ba ba
bui ba babui ba ba
bui ba babuibaba
ย 
ComputerSoftware.pdf
ComputerSoftware.pdfComputerSoftware.pdf
ComputerSoftware.pdfAFANJIPHILL
ย 
Chapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptxChapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptxAbdalla536859
ย 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itmrichagarg16
ย 
Computer programming languages
Computer programming languagesComputer programming languages
Computer programming languagesSubramanianMuthusamy3
ย 

Similar to Programming Fundamentals lecture 1 (20)

Unit2_1.pdf
Unit2_1.pdfUnit2_1.pdf
Unit2_1.pdf
ย 
W3CERT Computer Software M2
W3CERT Computer Software M2W3CERT Computer Software M2
W3CERT Computer Software M2
ย 
Comp2
Comp2Comp2
Comp2
ย 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
ย 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1
ย 
Last module pc_software
Last module pc_softwareLast module pc_software
Last module pc_software
ย 
Glossary
GlossaryGlossary
Glossary
ย 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
ย 
System programming note
System programming noteSystem programming note
System programming note
ย 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cpp
ย 
What is a computer
What is a computerWhat is a computer
What is a computer
ย 
Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and Java
ย 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
ย 
Power Point Lesson 04
Power Point  Lesson 04Power Point  Lesson 04
Power Point Lesson 04
ย 
bui ba ba
bui ba babui ba ba
bui ba ba
ย 
ComputerSoftware.pdf
ComputerSoftware.pdfComputerSoftware.pdf
ComputerSoftware.pdf
ย 
Chapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptxChapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptx
ย 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itm
ย 
Computer programming languages
Computer programming languagesComputer programming languages
Computer programming languages
ย 
Exam 1 in ITEP 132
Exam 1 in ITEP 132Exam 1 in ITEP 132
Exam 1 in ITEP 132
ย 

More from REHAN IJAZ

How to make presentation effective assignment
How to make presentation effective assignmentHow to make presentation effective assignment
How to make presentation effective assignmentREHAN 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 systemREHAN IJAZ
ย 
Programming Fundamentals lecture 8
Programming Fundamentals lecture 8Programming Fundamentals lecture 8
Programming Fundamentals lecture 8REHAN IJAZ
ย 
Introduction to artificial intelligence lecture 1
Introduction to artificial intelligence lecture 1Introduction to artificial intelligence lecture 1
Introduction to artificial intelligence lecture 1REHAN IJAZ
ย 
Programming Fundamentals lecture 7
Programming Fundamentals lecture 7Programming Fundamentals lecture 7
Programming Fundamentals lecture 7REHAN IJAZ
ย 
Programming Fundamentals lecture 6
Programming Fundamentals lecture 6Programming Fundamentals lecture 6
Programming Fundamentals lecture 6REHAN IJAZ
ย 
Programming Fundamentals lecture 5
Programming Fundamentals lecture 5Programming Fundamentals lecture 5
Programming Fundamentals lecture 5REHAN IJAZ
ย 
Programming Fundamentals lecture 4
Programming Fundamentals lecture 4Programming Fundamentals lecture 4
Programming Fundamentals lecture 4REHAN IJAZ
ย 
Programming Fundamentals lecture 3
Programming Fundamentals lecture 3Programming Fundamentals lecture 3
Programming Fundamentals lecture 3REHAN IJAZ
ย 
Career development interviews
Career development interviewsCareer development interviews
Career development interviewsREHAN IJAZ
ย 
importance of Communication in business
importance of Communication in businessimportance of Communication in business
importance of Communication in businessREHAN IJAZ
ย 
Porposal on Student information management system
Porposal on Student information management systemPorposal on Student information management system
Porposal on Student information management systemREHAN IJAZ
ย 
Project on Student information management system
Project on Student information management systemProject on Student information management system
Project on Student information management systemREHAN 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

PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
ย 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7Call Girls in Nagpur High Profile Call Girls
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
ย 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
ย 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
ย 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
ย 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
ย 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
ย 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
ย 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
ย 

Recently uploaded (20)

PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
ย 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
ย 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
ย 
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
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
ย 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
ย 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
ย 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
ย 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
ย 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
ย 

Programming Fundamentals lecture 1

  • 2. Computer hardware refers to the physical parts or components of a computer such as monitor, keyboard, Computer data storage, hard drive disk, mouse, printers, CPU (graphic cards, sound cards, memory, motherboard and chips),
  • 3. Computer software, or just software, is any set of machine-readable instructions (most often in the form of a computer program) that directs a computer's processor to perform specific operations.
  • 4.
  • 5. ๏ƒผ Coined 1953 by Paul Niquette ๏ƒผ First used in print by John Tukey in1958 JOHN TUKEY Born (1915-06-16)June 16, 1915 New Bedford, Massachusetts, USA Fields Mathematician Institutions Bell Labs, Princeton University Known for Coining the term 'bit'
  • 7. ๏ƒผ Microsoft employee is called "Softie". ๏ƒผ Average salary for a developer coming in at 1,11,30,000. ๏ƒผ Microsoft currently employs 88,180 people ๏ƒผ Pakistan's IT industry's global share is estimated at US$2.8 billion. ๏ƒผ Pakistan Software Export Board is national public sector organization dealing with Software/software houses ๏ƒผ PASHA โ€“Pakistan Software House Association
  • 8. ๏ƒผ An operating system (OS) is a collection of software ๏ƒผ Manages computer hardware resources and provides common services for computer programs. ๏ƒผ Application programs usually require an operating system to function. ๏ƒผ Acts as an intermediary between programs and the computer hardware.
  • 9. ๏ƒผ In a multitasking operating system where multiple programs can be running at the same time, the operating system determines which applications should run in what order and how much time should be allowed for each application before giving another application a turn. ๏ƒผ It handles input and output to and from attached hardware devices, such as hard disks, printers, and dial-up ports. ๏ƒผ On computers that can provide parallel processing, an operating system can manage how to divide the program so that it runs on more than one processor at a time.
  • 10. ๏ต A compiler is a computer program (or a set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language), with the latter often having a binary form known as object code. If you create any error in code then output not found or get error message. ๏ต The first compiler was developed by Grace Hopper while working on the Harvard Mark I computer.
  • 11. GRACE HOPPER Born December 9, 1906 New York City, New York, U.S. Rank U.S. Chief Technology Officer , (Rear admiral (lower half)) US Navy Known for Coining the term compiler
  • 12.
  • 13. ๏ต An interpreter is a computer program that directly executes, i.e. performs, instructions written in a programming or scripting language, without previously compiling them into a machine language program.
  • 14.
  • 15. No Compiler Interpreter 1 Compiler Takes Entire program as input Interpreter Takes Single instruction as input . 2 Conditional Control Statements are Executes faster Conditional Control Statements are Executes slower 3 Memory Requirement : More (Since Object Code is Generated) Memory Requirement is Less 4 Program need not be compiled every time Every time higher level program is converted into lower level program 5 Errors are displayed after entire program is checked Errors are displayed for every instruction interpreted (if any) 6 Example : C Compiler Example : BASIC
  • 16. ๏ต Sometimes called text editor, a program that enables you to create and edit text files. There are many different types of editors, but they all fall into two general categories: ๏ต The distinction between editors and word processors is not clear-cut, but in general, word processors provide many more formatting features. Nowadays, the term editor usually refers to source code editors that include many special features for writing and editing source code.
  • 17.
  • 18. ๏ต The source code consists of the programming statements that are created by a programmer with a text editor or a visual programming tool and then saved in a file. For example, a programmer using the C language types in a desired sequence of C language statements using a text editor and then saves them as a named file. This file is said to contain the source code.
  • 19. # include <stdio.h> int main () { printf (โ€œ Am I Dr. AQ Khan or politician?โ€); return 0; }
  • 20. ๏ต Source code is compiled with a C compiler and the resulting output, the compiled file, is often referred to as object code. The object code file contains a sequence of instructions that the processor can understand but that is difficult for a human to read or modify.
  • 21. # include <stdio.h> int main () { Printf (โ€œ Am I Dr. AQ Khan or politician?โ€); Return (); } Compiler 10101010111111010101011000 01010100101001010010111010 10101011010111010101010101 01010101010010101010101001 01001010010101011100001010 00000001111111100000101100 10101010010100101011111010 1110110 Source Code Object Code