Professional Documents
Culture Documents
Programming
Chapter No. 1
Introduction to Computers
Outline
Application Programs
Word-Processors, Spreadsheets,
…Database Software, etc
System Software
Compilers, Interpreters, etc.
Operating System, Device Drivers
Machine with all its hardware
Operating System
• Process management
• Memory management
• Input / Output management
• File management
• Interpretation of commands and instructions.
• Facilitates easy communication
– between the computer system and the user.
Number system
• Binary (1, 0)
• Octal (0-7)
• Decimal (0-9)
• Hexadecimal (0-9, A-F)
Bits and Bytes
• So we have….
Programming Language
• Machine Language
• Uses binary code
• Machine-dependent
• Not portable
• Assembly Language
– Uses mnemonics
• a mnemonic is an abbreviation for an operation. For
example, inc ("increase by one") is a mnemonic.
– Machine-dependent
– Not usually portable
• High-Level Language (HLL)
– Uses English-like language
– Machine independent
– Portable (but must be compiled for different platforms)
• Examples: Pascal, C, C++, Java, Fortran, . . .
Translators