SlideShare a Scribd company logo
1 of 43
Download to read offline
Basic Organization of a Computer
Brain of
Computer
System
Computer Memory
• Computer memory is the storage space in the
computer, where data is to be processed and
instructions required for processing are stored.
• Each location has a unique address in memory.
CPU Registers
• CPU Register or processor register is a
quickly accessible location available to a
computer's CPU.
• It is fastest among the all types of data storage.
Cache Memory
• It is used to hold those parts of data and
program which are most frequently required to
execute program.
• It consumes less access time as compared to main
memory, so it is faster than main memory.
• It is the portion of memory made of high speed
RAM (SRAM).
• Cache memory has limited capacity to store data.
• Widely used for Memory Caching.
• Works on the “Principle of Locality of
Reference”.
It acts as a buffer between the
CPU and the main memory.
Primary Memory
• Primary memory is computer memory that is
accessed directly by the CPU.
Random Access Memory (RAM)
• RAM is used to hold the program
and data during computation i.e.
stores temporary data.
• Volatile memory: data retains as
long as continuous power supply
is provided.
• Any cell can be accessed in any
order at same speed if address is
known.
Read Only Memory (ROM)
• Non- volatile in nature.
• Information can simply be read by the user but
cannot be modified.
• Generally stores BIOS(Basic Input Output
System)
1. PROM – Programmable Read Only Memory
2. EPROM – Erasable Programmable Read Only Memory
3. EEPROM – Electrically Erasable Programmable Read Only
Memory
Units to measure computer Memory
Secondary Memory
• Communicates indirectly with CPU via main
memory. So, It is slower than the main memory.
• Non- volatile in nature. So, store data
permanently.
1. Magnetic Storage Devices: it is sequential
access memory.
2. Hard Disk
3. Floppy Disk
4. Magnetic Tape
• Optical Storage Devices:
1. CD-ROM
2. CD-Recordable
3. CD-Rewritable
4. DVD-ROM
• USB Flash Drive
• Memory Cards
• Solid State Drive
Processing Devices
• Processing devices are parts of the computer
that are responsible for processing or
converting data into meaningful information.
1. Processor
2. Buses
3. System Clock
1. Processor:
A. The CPU is traditionally referred to as a Processor.
B. The CPU is a computer chip located on the
motherboard.
C. Performs processing and control activities performed by
different parts of computer.
D. Main electronic circuitry in the computer.
E. Carries out the instructions contained in a computer
program by performing arithmetic, logical, control and
input/output operations.
F. Most modern CPUs are contained on a single Integrated
Circuit (IC) chip and as such are called
microprocessors.
G. A processor can have two or more CPUs or independent
processing units called “cores” on a single chip and such
processor is called a multi-core processor.
2. Buses
• Electrical pathway that transfer data and
instructions among different parts of computer.
• Main memory is directly/indirectly connected to
the processor via a bus.
1. Data Bus
2. Address Bus
3. Control Bus
• Address bus is Unidirectional because the
microprocessor is addressing a specific
memory location.
• Data bus is Bidirectional because the
Microprocessor can read data from memory
or write data to the memory.
3. Clock
• Used to synchronizing the activities performed
by the computer.
Software
• Set of computer programs which includes
instructions, used for performing a particular task
using hardware.
• Software tells hardware: what to do? How to do?
1. System Software:
• System software is "Background" software
that helps the computer manage its own
internal resources.
• It enables the application software to interact
with the computer hardware. Eg. Operating
System, Device Drivers, Utility Software,
Translators etc..
2. Application Software: Collection of
programs written for a specific application.
Operating System
• System software, helps in managing the
resources of a computer.
• Primary goal: make computer convenient and
efficient to use.
• Eg. MS-DOS, MS-Windows, UNIX, Linux, Mac
OS etc…
Tasks performed by OS
• Process Management
• Memory Management
• File Management
• Device Management
• Security and user Interface
• Servicing the request by user etc…
Types of OS
• Batch Processing OS
• Multiuser OS
• Multi tasking OS
• Multithreading OS
• Time Sharing OS
Device Drivers
• System Software, responsible for proper
functioning of devices.
• Each device has a device driver associated with it.
• Whenever computer system needs the use of
device, the processor issues general commands to
the driver of device.
• When you buy an operating system, many device
drivers are built into the product. In Windows
operating systems, a device driver file usually has a
file name suffix of DLL or EXE
Utility Software
• Used to analyze, configure and maintain the
computer system.
• Examples of utility programs
are antivirus software, backup software
and disk cleaners, clean up tools,
defragmentation tool etc…
Levels of Programming Languages
1. Low level Language
A. Machine Language
B. Assembly Language
2. High level Language
Machine Language
• First Generation Language.
• Instructions are represented by combinations
of 0’s and 1’s.
• Programs are executable, can be run directly.
• Requires memorization of binary codes. So,
difficult to learn.
• Machine Dependent Codes, not portable.
Assembly Language
• Second Generation Language.
• Machine language instructions are replaced
with simple pneumonic abbreviations (e.g.
ADD, MUL, DIV etc…).
• Programs needs to translate into machine
language.
Assembler
• Translate assembly language statements into
machine language codes.
• Types of Assembler –
1. Single-pass Assembler
2. Two-pass Assembler
High-Level Language
• Consist of set of English like statements, it
makes programming easier and less error-
prone.
• Languages are not closely related to internal
characteristics of computer.
• Two Categories:
1. Specific Purpose Languages (LISP, Prolog etc…)
2. General Purpose Language(C++, JAVA, C etc…)
Files used in c programming
Source File
(file with .c
extension)
Object File
(file with .o
extension)
Executable
File
(file with
.exe
extension)
Compiler
Header File
(file with .h
extension)
Linker
Compiler
• The name compiler is primarily used for
programs that translate source code from a high-
level programming language to a lower level
language (e.g., assembly language, object code,
or machine code) to create
an executable program.
• Compiler resides on a disk or other storage media,
when a high-level program is to be compiled,
compiler is loaded into main-memory.
Interpreter
• Converted high-level language code into
corresponding machine code.
• Instead of entire program, one statement
at a time is translated and executed
immediately.
Linker/Link Editor/Binder
• In high-level language built-in library functions
need to be linked to the library. This is done by
Linker.
• Sometimes, programs are divided into
modules. These modules are combined and
assembled and object module is generated.
• Linker has the responsibility to combine / Link
all modules and generate a single executable
file of the source program.
Loader
3. basic organization of a computer
3. basic organization of a computer
3. basic organization of a computer
3. basic organization of a computer

More Related Content

What's hot

Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
Vaibhav Bajaj
 
Cpu presentation
Cpu presentationCpu presentation
Cpu presentation
Harry Singh
 

What's hot (20)

Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 
computer Architecture
computer Architecturecomputer Architecture
computer Architecture
 
Memory management
Memory managementMemory management
Memory management
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Basic organization of computer
 Basic organization of computer Basic organization of computer
Basic organization of computer
 
Functional units of computer
Functional units of computerFunctional units of computer
Functional units of computer
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
CPU Architecture - Basic
CPU Architecture - BasicCPU Architecture - Basic
CPU Architecture - Basic
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Cpu presentation
Cpu presentationCpu presentation
Cpu presentation
 
Functions Of Operating System
Functions Of Operating SystemFunctions Of Operating System
Functions Of Operating System
 
Secondary memory
Secondary memorySecondary memory
Secondary memory
 
Primary Storage Devices
Primary Storage DevicesPrimary Storage Devices
Primary Storage Devices
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating system
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 

Similar to 3. basic organization of a computer

Presentation1
Presentation1Presentation1
Presentation1
aterodz
 
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
naikayushkumar32
 
pre phd class 1.pptx
pre phd class 1.pptxpre phd class 1.pptx
pre phd class 1.pptx
RbiGradeB
 

Similar to 3. basic organization of a computer (20)

module 1-1.pptx
module 1-1.pptxmodule 1-1.pptx
module 1-1.pptx
 
Introduction to computer system
Introduction to computer systemIntroduction to computer system
Introduction to computer system
 
MODULE 2.pptx
MODULE 2.pptxMODULE 2.pptx
MODULE 2.pptx
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Unit i
Unit iUnit i
Unit i
 
Week 01.pdf
Week 01.pdfWeek 01.pdf
Week 01.pdf
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem Solving
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
 
BAIT1003 Chapter 2
BAIT1003 Chapter 2BAIT1003 Chapter 2
BAIT1003 Chapter 2
 
COMPUTER PROGRAM.pptx
COMPUTER PROGRAM.pptxCOMPUTER PROGRAM.pptx
COMPUTER PROGRAM.pptx
 
Computer1 test 2 prep: processing, software, storage
Computer1   test 2 prep:  processing, software, storageComputer1   test 2 prep:  processing, software, storage
Computer1 test 2 prep: processing, software, storage
 
Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)
 
Presentation1
Presentation1Presentation1
Presentation1
 
IGCSE_ICT_Chapter 1.pptx
IGCSE_ICT_Chapter 1.pptxIGCSE_ICT_Chapter 1.pptx
IGCSE_ICT_Chapter 1.pptx
 
Chapter3
Chapter3Chapter3
Chapter3
 
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
JULY-DEC_2023_BSCBT_3_SEM_V9_BSCBT301_BSCBT301_Fundamentals_of_IT_Unit_2__Ppt...
 
Distributive operating system
Distributive operating systemDistributive operating system
Distributive operating system
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 
lec 1.pptx
lec 1.pptxlec 1.pptx
lec 1.pptx
 
pre phd class 1.pptx
pre phd class 1.pptxpre phd class 1.pptx
pre phd class 1.pptx
 

More from SHIKHA GAUTAM

More from SHIKHA GAUTAM (17)

Agreement Protocols, distributed File Systems, Distributed Shared Memory
Agreement Protocols, distributed File Systems, Distributed Shared MemoryAgreement Protocols, distributed File Systems, Distributed Shared Memory
Agreement Protocols, distributed File Systems, Distributed Shared Memory
 
Distributed Mutual Exclusion and Distributed Deadlock Detection
Distributed Mutual Exclusion and Distributed Deadlock DetectionDistributed Mutual Exclusion and Distributed Deadlock Detection
Distributed Mutual Exclusion and Distributed Deadlock Detection
 
Distributed Systems Introduction and Importance
Distributed Systems Introduction and Importance Distributed Systems Introduction and Importance
Distributed Systems Introduction and Importance
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit v
Unit vUnit v
Unit v
 
Unit iii
Unit iiiUnit iii
Unit iii
 
Unit ii_KCS201
Unit ii_KCS201Unit ii_KCS201
Unit ii_KCS201
 
Type conversion in c
Type conversion in cType conversion in c
Type conversion in c
 
C intro
C introC intro
C intro
 
4. algorithm
4. algorithm4. algorithm
4. algorithm
 
Generations of computer
Generations of computerGenerations of computer
Generations of computer
 
c_programming
c_programmingc_programming
c_programming
 
Data Mining
Data MiningData Mining
Data Mining
 
Warehouse Planning and Implementation
Warehouse Planning and ImplementationWarehouse Planning and Implementation
Warehouse Planning and Implementation
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
DBMS
DBMSDBMS
DBMS
 

Recently uploaded

scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
hublikarsn
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
meharikiros2
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 

Recently uploaded (20)

Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
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
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 

3. basic organization of a computer

  • 1. Basic Organization of a Computer Brain of Computer System
  • 2. Computer Memory • Computer memory is the storage space in the computer, where data is to be processed and instructions required for processing are stored. • Each location has a unique address in memory.
  • 3.
  • 4. CPU Registers • CPU Register or processor register is a quickly accessible location available to a computer's CPU. • It is fastest among the all types of data storage.
  • 5. Cache Memory • It is used to hold those parts of data and program which are most frequently required to execute program. • It consumes less access time as compared to main memory, so it is faster than main memory. • It is the portion of memory made of high speed RAM (SRAM). • Cache memory has limited capacity to store data. • Widely used for Memory Caching. • Works on the “Principle of Locality of Reference”.
  • 6. It acts as a buffer between the CPU and the main memory.
  • 7. Primary Memory • Primary memory is computer memory that is accessed directly by the CPU.
  • 8. Random Access Memory (RAM) • RAM is used to hold the program and data during computation i.e. stores temporary data. • Volatile memory: data retains as long as continuous power supply is provided. • Any cell can be accessed in any order at same speed if address is known.
  • 9. Read Only Memory (ROM) • Non- volatile in nature. • Information can simply be read by the user but cannot be modified. • Generally stores BIOS(Basic Input Output System) 1. PROM – Programmable Read Only Memory 2. EPROM – Erasable Programmable Read Only Memory 3. EEPROM – Electrically Erasable Programmable Read Only Memory
  • 10. Units to measure computer Memory
  • 11. Secondary Memory • Communicates indirectly with CPU via main memory. So, It is slower than the main memory. • Non- volatile in nature. So, store data permanently. 1. Magnetic Storage Devices: it is sequential access memory. 2. Hard Disk 3. Floppy Disk 4. Magnetic Tape
  • 12. • Optical Storage Devices: 1. CD-ROM 2. CD-Recordable 3. CD-Rewritable 4. DVD-ROM • USB Flash Drive • Memory Cards • Solid State Drive
  • 13. Processing Devices • Processing devices are parts of the computer that are responsible for processing or converting data into meaningful information. 1. Processor 2. Buses 3. System Clock
  • 14. 1. Processor: A. The CPU is traditionally referred to as a Processor. B. The CPU is a computer chip located on the motherboard. C. Performs processing and control activities performed by different parts of computer. D. Main electronic circuitry in the computer. E. Carries out the instructions contained in a computer program by performing arithmetic, logical, control and input/output operations. F. Most modern CPUs are contained on a single Integrated Circuit (IC) chip and as such are called microprocessors. G. A processor can have two or more CPUs or independent processing units called “cores” on a single chip and such processor is called a multi-core processor.
  • 15. 2. Buses • Electrical pathway that transfer data and instructions among different parts of computer. • Main memory is directly/indirectly connected to the processor via a bus. 1. Data Bus 2. Address Bus 3. Control Bus
  • 16. • Address bus is Unidirectional because the microprocessor is addressing a specific memory location. • Data bus is Bidirectional because the Microprocessor can read data from memory or write data to the memory.
  • 17. 3. Clock • Used to synchronizing the activities performed by the computer.
  • 18. Software • Set of computer programs which includes instructions, used for performing a particular task using hardware. • Software tells hardware: what to do? How to do?
  • 19. 1. System Software: • System software is "Background" software that helps the computer manage its own internal resources. • It enables the application software to interact with the computer hardware. Eg. Operating System, Device Drivers, Utility Software, Translators etc.. 2. Application Software: Collection of programs written for a specific application.
  • 20. Operating System • System software, helps in managing the resources of a computer. • Primary goal: make computer convenient and efficient to use. • Eg. MS-DOS, MS-Windows, UNIX, Linux, Mac OS etc…
  • 21. Tasks performed by OS • Process Management • Memory Management • File Management • Device Management • Security and user Interface • Servicing the request by user etc…
  • 22. Types of OS • Batch Processing OS • Multiuser OS • Multi tasking OS • Multithreading OS • Time Sharing OS
  • 23. Device Drivers • System Software, responsible for proper functioning of devices. • Each device has a device driver associated with it. • Whenever computer system needs the use of device, the processor issues general commands to the driver of device. • When you buy an operating system, many device drivers are built into the product. In Windows operating systems, a device driver file usually has a file name suffix of DLL or EXE
  • 24.
  • 25. Utility Software • Used to analyze, configure and maintain the computer system. • Examples of utility programs are antivirus software, backup software and disk cleaners, clean up tools, defragmentation tool etc…
  • 26. Levels of Programming Languages 1. Low level Language A. Machine Language B. Assembly Language 2. High level Language
  • 27. Machine Language • First Generation Language. • Instructions are represented by combinations of 0’s and 1’s. • Programs are executable, can be run directly. • Requires memorization of binary codes. So, difficult to learn. • Machine Dependent Codes, not portable.
  • 28. Assembly Language • Second Generation Language. • Machine language instructions are replaced with simple pneumonic abbreviations (e.g. ADD, MUL, DIV etc…). • Programs needs to translate into machine language.
  • 29.
  • 30. Assembler • Translate assembly language statements into machine language codes. • Types of Assembler – 1. Single-pass Assembler 2. Two-pass Assembler
  • 31. High-Level Language • Consist of set of English like statements, it makes programming easier and less error- prone. • Languages are not closely related to internal characteristics of computer. • Two Categories: 1. Specific Purpose Languages (LISP, Prolog etc…) 2. General Purpose Language(C++, JAVA, C etc…)
  • 32. Files used in c programming Source File (file with .c extension) Object File (file with .o extension) Executable File (file with .exe extension) Compiler Header File (file with .h extension) Linker
  • 33. Compiler • The name compiler is primarily used for programs that translate source code from a high- level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program. • Compiler resides on a disk or other storage media, when a high-level program is to be compiled, compiler is loaded into main-memory.
  • 34.
  • 35. Interpreter • Converted high-level language code into corresponding machine code. • Instead of entire program, one statement at a time is translated and executed immediately.
  • 36.
  • 37. Linker/Link Editor/Binder • In high-level language built-in library functions need to be linked to the library. This is done by Linker. • Sometimes, programs are divided into modules. These modules are combined and assembled and object module is generated. • Linker has the responsibility to combine / Link all modules and generate a single executable file of the source program.
  • 38.