SlideShare a Scribd company logo
2
Most read
15
Most read
18
Most read
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.
Programming Fundamentals lecture 1
 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
Programming Fundamentals lecture 1
 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.
Programming Fundamentals lecture 1
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.
Programming Fundamentals lecture 1
 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
Ad

Recommended

Programming Fundamentals
Programming Fundamentals
Trivuz ত্রিভুজ
 
Pressure Measurement
Pressure Measurement
Othmane El Ahrache
 
Intro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
Introduction To Computer
Introduction To Computer
Abu Bakar Soomro
 
Basic programming concepts
Basic programming concepts
salmankhan570
 
Loops c++
Loops c++
Shivani Singh
 
Video Editing Basics
Video Editing Basics
Kevin Duggan
 
Fundamentals of Python Programming
Fundamentals of Python Programming
Kamal Acharya
 
Basic Computer Programming
Basic Computer Programming
Allen de Castro
 
Introduction to programming
Introduction to programming
Neeru Mittal
 
Algorithm and flowchart
Algorithm and flowchart
Elizabeth de Leon Aler
 
Introduction to programming
Introduction to programming
Gwyneth Calica
 
Introduction to Java Programming
Introduction to Java Programming
Ravi Kant Sahu
 
Algorithms and Flowcharts
Algorithms and Flowcharts
Deva Singh
 
Programming
Programming
Leo Simon Anfone
 
Introduction to Compiler design
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
Algorithm and flowchart
Algorithm and flowchart
Rabin BK
 
Introduction to C programming
Introduction to C programming
Rokonuzzaman Rony
 
Introduction to Programming Languages
Introduction to Programming Languages
educationfront
 
Chapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to Programming
mshellman
 
Programming in c
Programming in c
indra Kishor
 
What is an algorithm?
What is an algorithm?
Angela DeHart
 
Introduction to C Programming
Introduction to C Programming
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
 
Linker and Loader Explained
Linker and Loader Explained
Adarsh Kr Sinha
 
Introduction to flowchart
Introduction to flowchart
Jordan Delacruz
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languages
Varun Garg
 
Data types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in java
Javed Rashid
 
Introduction to JAVA
Introduction to JAVA
ParminderKundu
 
Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f c
Raja Hamid
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
Raja Hamid
 

More Related Content

What's hot (20)

Basic Computer Programming
Basic Computer Programming
Allen de Castro
 
Introduction to programming
Introduction to programming
Neeru Mittal
 
Algorithm and flowchart
Algorithm and flowchart
Elizabeth de Leon Aler
 
Introduction to programming
Introduction to programming
Gwyneth Calica
 
Introduction to Java Programming
Introduction to Java Programming
Ravi Kant Sahu
 
Algorithms and Flowcharts
Algorithms and Flowcharts
Deva Singh
 
Programming
Programming
Leo Simon Anfone
 
Introduction to Compiler design
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
Algorithm and flowchart
Algorithm and flowchart
Rabin BK
 
Introduction to C programming
Introduction to C programming
Rokonuzzaman Rony
 
Introduction to Programming Languages
Introduction to Programming Languages
educationfront
 
Chapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to Programming
mshellman
 
Programming in c
Programming in c
indra Kishor
 
What is an algorithm?
What is an algorithm?
Angela DeHart
 
Introduction to C Programming
Introduction to C Programming
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
 
Linker and Loader Explained
Linker and Loader Explained
Adarsh Kr Sinha
 
Introduction to flowchart
Introduction to flowchart
Jordan Delacruz
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languages
Varun Garg
 
Data types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in java
Javed Rashid
 
Introduction to JAVA
Introduction to JAVA
ParminderKundu
 
Basic Computer Programming
Basic Computer Programming
Allen de Castro
 
Introduction to programming
Introduction to programming
Neeru Mittal
 
Introduction to programming
Introduction to programming
Gwyneth Calica
 
Introduction to Java Programming
Introduction to Java Programming
Ravi Kant Sahu
 
Algorithms and Flowcharts
Algorithms and Flowcharts
Deva Singh
 
Algorithm and flowchart
Algorithm and flowchart
Rabin BK
 
Introduction to C programming
Introduction to C programming
Rokonuzzaman Rony
 
Introduction to Programming Languages
Introduction to Programming Languages
educationfront
 
Chapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to Programming
mshellman
 
What is an algorithm?
What is an algorithm?
Angela DeHart
 
Linker and Loader Explained
Linker and Loader Explained
Adarsh Kr Sinha
 
Introduction to flowchart
Introduction to flowchart
Jordan Delacruz
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languages
Varun Garg
 
Data types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in java
Javed Rashid
 

Viewers also liked (9)

Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f c
Raja Hamid
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
Raja Hamid
 
Fundamental Programming Lect 1
Fundamental Programming Lect 1
Namrah Erum
 
Fundamental Programming Lect 3
Fundamental Programming Lect 3
Namrah Erum
 
Programming Fundamental Presentation
Programming Fundamental Presentation
fazli khaliq
 
Chapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of Programming
ricsanmae
 
Fundamental Programming Lect 2
Fundamental Programming Lect 2
Namrah Erum
 
Embedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals master
Hossam Hassan
 
Functional Programming Fundamentals
Functional Programming Fundamentals
Shahriar Hyder
 
Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f c
Raja Hamid
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
Raja Hamid
 
Fundamental Programming Lect 1
Fundamental Programming Lect 1
Namrah Erum
 
Fundamental Programming Lect 3
Fundamental Programming Lect 3
Namrah Erum
 
Programming Fundamental Presentation
Programming Fundamental Presentation
fazli khaliq
 
Chapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of Programming
ricsanmae
 
Fundamental Programming Lect 2
Fundamental Programming Lect 2
Namrah Erum
 
Embedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals master
Hossam Hassan
 
Functional Programming Fundamentals
Functional Programming Fundamentals
Shahriar Hyder
 
Ad

Similar to Programming Fundamentals lecture 1 (20)

Comp2
Comp2
Gurus Online
 
W3CERT Computer Software M2
W3CERT Computer Software M2
HemaHeloise
 
1. Introduction to Computer System (1).pptx
1. Introduction to Computer System (1).pptx
AkshatMuke1
 
Diploma ii cfpc u-1 introduction to c language
Diploma ii cfpc u-1 introduction to c language
Rai University
 
Bsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c language
Rai University
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
HazardRhenz1
 
Lecture 1 Introduction.pptx hfjsh huwhf uwej wiuehfi w
Lecture 1 Introduction.pptx hfjsh huwhf uwej wiuehfi w
muhammadumairsoftwar
 
Mca i pic u-1 introduction to c language
Mca i pic u-1 introduction to c language
Rai University
 
introduction to c language
introduction to c language
Rai University
 
Btech i pic u-1 introduction to c language
Btech i pic u-1 introduction to c language
Rai University
 
Hardware and Software.pdf
Hardware and Software.pdf
MistarJat
 
lecture Slides - Week 1.programming fundamentals
lecture Slides - Week 1.programming fundamentals
fazayn927
 
Software programming and development
Software programming and development
Ali Raza
 
COMPUTER PROGRAM.pptx
COMPUTER PROGRAM.pptx
Donna May Zuñiga
 
Computer Programming Grade 9 for Students
Computer Programming Grade 9 for Students
JayMungcal
 
Computer Programming Grade 9
Computer Programming Grade 9
Jay Mungcal
 
Information communication technology.pptx
Information communication technology.pptx
arbsthatyoulove
 
Agro informatics centre up State of Lec 6.pptx
Agro informatics centre up State of Lec 6.pptx
muddydevil2003
 
Computer fundamentals -types, os, languages etc.pptx
Computer fundamentals -types, os, languages etc.pptx
ssusere1071f2
 
Programming for Problem Solving
Programming for Problem Solving
Sukhendra Singh
 
W3CERT Computer Software M2
W3CERT Computer Software M2
HemaHeloise
 
1. Introduction to Computer System (1).pptx
1. Introduction to Computer System (1).pptx
AkshatMuke1
 
Diploma ii cfpc u-1 introduction to c language
Diploma ii cfpc u-1 introduction to c language
Rai University
 
Bsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c language
Rai University
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
HazardRhenz1
 
Lecture 1 Introduction.pptx hfjsh huwhf uwej wiuehfi w
Lecture 1 Introduction.pptx hfjsh huwhf uwej wiuehfi w
muhammadumairsoftwar
 
Mca i pic u-1 introduction to c language
Mca i pic u-1 introduction to c language
Rai University
 
introduction to c language
introduction to c language
Rai University
 
Btech i pic u-1 introduction to c language
Btech i pic u-1 introduction to c language
Rai University
 
Hardware and Software.pdf
Hardware and Software.pdf
MistarJat
 
lecture Slides - Week 1.programming fundamentals
lecture Slides - Week 1.programming fundamentals
fazayn927
 
Software programming and development
Software programming and development
Ali Raza
 
Computer Programming Grade 9 for Students
Computer Programming Grade 9 for Students
JayMungcal
 
Computer Programming Grade 9
Computer Programming Grade 9
Jay Mungcal
 
Information communication technology.pptx
Information communication technology.pptx
arbsthatyoulove
 
Agro informatics centre up State of Lec 6.pptx
Agro informatics centre up State of Lec 6.pptx
muddydevil2003
 
Computer fundamentals -types, os, languages etc.pptx
Computer fundamentals -types, os, languages etc.pptx
ssusere1071f2
 
Programming for Problem Solving
Programming for Problem Solving
Sukhendra Singh
 
Ad

More from REHAN IJAZ (14)

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

Recently uploaded (20)

Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
aniket862935
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
David Boutry - Mentors Junior Developers
David Boutry - Mentors Junior Developers
David Boutry
 
Structured Programming with C++ :: Kjell Backman
Structured Programming with C++ :: Kjell Backman
Shabista Imam
 
OCS Group SG - HPHT Well Design and Operation - SN.pdf
OCS Group SG - HPHT Well Design and Operation - SN.pdf
Muanisa Waras
 
How Binning Affects LED Performance & Consistency.pdf
How Binning Affects LED Performance & Consistency.pdf
Mina Anis
 
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
 
Decoding Kotlin - Your Guide to Solving the Mysterious in Kotlin - Devoxx PL ...
Decoding Kotlin - Your Guide to Solving the Mysterious in Kotlin - Devoxx PL ...
João Esperancinha
 
Complete guidance book of Asp.Net Web API
Complete guidance book of Asp.Net Web API
Shabista Imam
 
machine learning is a advance technology
machine learning is a advance technology
ynancy893
 
IPL_Logic_Flow.pdf Mainframe IPLMainframe IPL
IPL_Logic_Flow.pdf Mainframe IPLMainframe IPL
KhadijaKhadijaAouadi
 
Center Enamel can Provide Aluminum Dome Roofs for diesel tank.docx
Center Enamel can Provide Aluminum Dome Roofs for diesel tank.docx
CenterEnamel
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Stay Safe Women Security Android App Project Report.pdf
Stay Safe Women Security Android App Project Report.pdf
Kamal Acharya
 
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
 
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
dayananda54
 
Pavement and its types, Application of rigid and Flexible Pavements
Pavement and its types, Application of rigid and Flexible Pavements
Sakthivel M
 
System design handwritten notes guidance
System design handwritten notes guidance
Shabista Imam
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
aniket862935
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
David Boutry - Mentors Junior Developers
David Boutry - Mentors Junior Developers
David Boutry
 
Structured Programming with C++ :: Kjell Backman
Structured Programming with C++ :: Kjell Backman
Shabista Imam
 
OCS Group SG - HPHT Well Design and Operation - SN.pdf
OCS Group SG - HPHT Well Design and Operation - SN.pdf
Muanisa Waras
 
How Binning Affects LED Performance & Consistency.pdf
How Binning Affects LED Performance & Consistency.pdf
Mina Anis
 
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
 
Decoding Kotlin - Your Guide to Solving the Mysterious in Kotlin - Devoxx PL ...
Decoding Kotlin - Your Guide to Solving the Mysterious in Kotlin - Devoxx PL ...
João Esperancinha
 
Complete guidance book of Asp.Net Web API
Complete guidance book of Asp.Net Web API
Shabista Imam
 
machine learning is a advance technology
machine learning is a advance technology
ynancy893
 
IPL_Logic_Flow.pdf Mainframe IPLMainframe IPL
IPL_Logic_Flow.pdf Mainframe IPLMainframe IPL
KhadijaKhadijaAouadi
 
Center Enamel can Provide Aluminum Dome Roofs for diesel tank.docx
Center Enamel can Provide Aluminum Dome Roofs for diesel tank.docx
CenterEnamel
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Stay Safe Women Security Android App Project Report.pdf
Stay Safe Women Security Android App Project Report.pdf
Kamal Acharya
 
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
 
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
dayananda54
 
Pavement and its types, Application of rigid and Flexible Pavements
Pavement and its types, Application of rigid and Flexible Pavements
Sakthivel M
 
System design handwritten notes guidance
System design handwritten notes guidance
Shabista Imam
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 

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