3/5/2009computer software1 introduction computer system hardware software hw kernel/os api...
Post on 03-Jan-2016
212 Views
Preview:
TRANSCRIPT
3/5/2009 Computer software 1
IntroductionIntroduction
Computer System
•Hardware
•Software
HW
Kernel/OS
API
Application Programs
SW
3/5/2009 Computer software 2
Software/ProgramSoftware/Program
Software or program is • a set of computer instructions that achieve specific tasks. • written in a specific language
3/5/2009 Computer software 3
Programming LanguageProgramming LanguageEvolutionEvolution
First Generation Language – machine languageSecond Generation Language – assembly languageThird Generation Language – high level language
CC++BASICCOBOL……..
Programmer friendly
3/5/2009 Computer software 4
General-Purpose General-Purpose Programming LanguagesProgramming Languages
C : operating system
C++ : applications
BASIC : easy to learn
COBOL : business applications
3/5/2009 Computer software 5
System ProgramsSystem ProgramsExamplesExamples
Operating Systems
Utility programs
3/5/2009 Computer software 6
Application ProgramsApplication ProgramsExamplesExamples
MS Word
Netscape Web Browser
MS PowerPoint
3/5/2009 Computer software 7
SW/Program/CodeSW/Program/Code
Source code – text/ASCII
Object code - binary
Machine code - binary
3/5/2009 Computer software 8
Compiler & LinkerCompiler & Linker
Compiler Linker
Source
Code
Object
Code
Executable
Code
Readable
by
human
Executable
by
machine
Machine codeText
Other
Object
Codes
3/5/2009 Computer software 9
ExecutionExecution
User
Kernel/OS Executable
Coed
1
2
3
3/5/2009 Computer software 10
Script LanguagesScript Languages
Shell Languages
JavaScript
VB script
3/5/2009 Computer software 11
InterpreterInterpreter
Translation
Execution
Line by line
No binary code/machine code
top related