SlideShare ist ein Scribd-Unternehmen logo
1 von 4
How Computerprocessdata:
• The CPU, or Central ProcessingUnit,is the part of the computerwhere workgetsdone.In
mostcomputers,there isone processingchip
ALU
• ALU stands forArithmetic/LogicUnit
• Thisis the part that executesthe computer'scommands.
A commandmustbe eitherabasicarithmetic operation:
+ - * /
or one of the logical comparisons: >< =not=
• Everythinghasto be brokendownintothese few operations.
• The ALU can onlydo one thingat a time but can workveryfast.
Main Memory
• Main Memorystoresthe commandsthat the CPU executesandthe results.
• Thisis where the computerstoresthe dataand commandsthat are currentlybeingused.
• Whenthe computeristurnedoff,all data inMain Memory vanishes.
• A data storage methodof thistype iscalledvolatile since the data"evaporates."
• The CPU can fetchone piece of data inone machine cycle.
Machine cycle
Control Unit
• Thisis the part of the computerthatcontrolsthe Machine Cycle.
• It takesnumerouscyclestodoevena simple additionof twonumbers.
• Fetch- • getan instructionfromMain Memory
• Decode - • translate itintocomputercommands
• Execute - • actuallyprocessthe command
• Store - • write the resulttoMain Memory
OperatingSystem
• Thisis the instructionsthatthe computerusestotell itself how it"operates".It'sthe answer
to "Who am I and whatcan I do?"
• Some commonoperatingsystemsare DOS,variousversionsof Windows,OS/2,UNIX,LINUX,
System7. These all behave inverydifferentwaysandhave differenthardware
requirements.Sotheywon'tall runon all machines
Applications
• These are the variousprogramsthatare currentlyrunningonthe computer.
• By takingturnswiththe Machine Cycle,moderncomputers canhave several different
programsrunningat once.Thisis called multi-tasking.
• Each openapplicationhastohave some data storedinMain Memory,evenif the application
ison rest breakandis justsittingthere.
Input / Output Storage
• Whenyouenternewdata, the keystrokesmustbe storeduntil the computercando
somethingwiththe newdata.
• Whenyouwant data printedoutor displayed,itmustbe storedsomewherehandyfirst.
WorkingStorage
• The numbersand charactersthat are the intermediateresultsof computeroperationsmust
be storeduntil the final valuesare calculated.Thesevalues"inprogress"are keptin
temporarylocations.
• For example,if the computerisaddingupthe numbers3, 5, and 6, it wouldfirstadd3 to 5
whichyieldsavalue of 8. The 8 is storedin working storage.Thenthe 8 and 6 are addedand
the newvalue 14 isstored.The value of 14 is now available tobe displayedonthe screenor
to be printedor to be usedinanothercalculation.
UnusedStorage
• One hopesthatthere is alwayssome storage space thatis notin use.
• If space runsout inMain Memory,the computerwill crash,that is,stopworking.
Data representation,and Data processingina computer:
DefinitionofData:
• Data is distinctpiecesof information,usuallyformattedinaspecial way.All software is
dividedintotwo
• general categories:dataandprograms.Programsare collectionsof instructionsfor
manipulatingdata.
• Data can existinavarietyof forms -- as numbersortexton piecesof paper,asbitsand bytes
storedinelectronicmemory,orasfacts storedina person'smind.
• Strictlyspeaking,dataisthe plural of datum, a single piece of information.
• In practice,however,peopleuse dataasboth the singularandplural formof the word.
Basic data type
• In programming,classificationof aparticulartype of information.Itiseasyforhumansto
distinguish betweendifferenttypesof data.
• We can usuallytell ata glance whetheranumberisa percentage,atime,oran amountof
money.We do thisthroughspecial symbols -- %,:,and$ -- that indicate the data'stype.
• Similarly,acomputerusesspecial internalcodestokeeptrackof the differenttypesof data
it processes.
Most programminglanguagesrequire the programmertodeclare the datatype of every
data object,andmost
database systemsrequire the usertospecifythe type of eachdatafield.The available data
typesvaryfrom
one programminglanguage toanother,andfromone database applicationtoanother,but
the following
usually
existin one formor another:
• integer:In more commonparlance,whole number;anumberthathas no fractional part.
• floating-point:A numberwitha decimal point.
• For example,3isan integer,but3.5 isa floating-pointnumber.
character (text):Readable text
Storage of data as files
• Computerdatastorage,oftencalledstorage ormemory,isa technologyconsistingof
computercomponentsandrecordingmediausedtoretaindigital data.
• It isa core functionandfundamental componentof computers.
• The central processingunit(CPU) of a computeriswhat manipulatesdata
by performingcomputations.
• A moderndigital computerrepresentsdatausingthe binarynumeral system.
• Text,numbers,pictures,audio,andnearlyanyotherformof informationcanbe converted
intoa stringof bits,or binarydigits,eachof whichhasa value of 1 or 0.
• The most commonunitof storage isthe byte,equal to8 bits.

Weitere ähnliche Inhalte

Ähnlich wie How Computer Process Data

Computer Organisation unit 1 basics of computer Organisation
Computer Organisation unit 1 basics of computer OrganisationComputer Organisation unit 1 basics of computer Organisation
Computer Organisation unit 1 basics of computer Organisationluckyanirudhsai
 
computer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdfcomputer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdfshubhangisonawane6
 
Computer architecture pptx
Computer architecture pptxComputer architecture pptx
Computer architecture pptxMDSHABBIR12
 
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdffundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdfAlihaAzmat1
 
Transforming Data into Information
Transforming Data into InformationTransforming Data into Information
Transforming Data into InformationBint-e- Hawa
 
fundamentals of digital communication unit 2 notes.pdf
fundamentals of digital communication  unit 2 notes.pdffundamentals of digital communication  unit 2 notes.pdf
fundamentals of digital communication unit 2 notes.pdfshubhangisonawane6
 
Intro to Computing Lec 1.pptx
Intro to Computing Lec 1.pptxIntro to Computing Lec 1.pptx
Intro to Computing Lec 1.pptxFalakNiaz15
 
IT Revision.pptx
IT Revision.pptxIT Revision.pptx
IT Revision.pptxEzazkhan19
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann ArchitectureZahid Rajeel
 
5_6097975312522412493.pptx
5_6097975312522412493.pptx5_6097975312522412493.pptx
5_6097975312522412493.pptxKunalGola6
 
Fundamentals of computer Part 1
Fundamentals of computer Part 1Fundamentals of computer Part 1
Fundamentals of computer Part 1SURBHI SAROHA
 
Computer Fundamentals.pptx
Computer Fundamentals.pptxComputer Fundamentals.pptx
Computer Fundamentals.pptxJaimeCanchela1
 
module 1-1.pptx
module 1-1.pptxmodule 1-1.pptx
module 1-1.pptxDaysPiracy
 

Ähnlich wie How Computer Process Data (20)

Computer Organisation unit 1 basics of computer Organisation
Computer Organisation unit 1 basics of computer OrganisationComputer Organisation unit 1 basics of computer Organisation
Computer Organisation unit 1 basics of computer Organisation
 
Basic computer system
Basic computer systemBasic computer system
Basic computer system
 
COMPONENTS OF A COMPUTER
COMPONENTS OF A COMPUTERCOMPONENTS OF A COMPUTER
COMPONENTS OF A COMPUTER
 
computer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdfcomputer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdf
 
Computer architecture pptx
Computer architecture pptxComputer architecture pptx
Computer architecture pptx
 
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdffundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
 
Transforming Data into Information
Transforming Data into InformationTransforming Data into Information
Transforming Data into Information
 
Fundamental of Computers
Fundamental of ComputersFundamental of Computers
Fundamental of Computers
 
fundamentals of digital communication unit 2 notes.pdf
fundamentals of digital communication  unit 2 notes.pdffundamentals of digital communication  unit 2 notes.pdf
fundamentals of digital communication unit 2 notes.pdf
 
Intro to Computing Lec 1.pptx
Intro to Computing Lec 1.pptxIntro to Computing Lec 1.pptx
Intro to Computing Lec 1.pptx
 
IT Revision.pptx
IT Revision.pptxIT Revision.pptx
IT Revision.pptx
 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
 
Computer Introduction
Computer IntroductionComputer Introduction
Computer Introduction
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
 
5_6097975312522412493.pptx
5_6097975312522412493.pptx5_6097975312522412493.pptx
5_6097975312522412493.pptx
 
1 introduction-to-computer
1 introduction-to-computer1 introduction-to-computer
1 introduction-to-computer
 
ch1notes IP.pptx
ch1notes IP.pptxch1notes IP.pptx
ch1notes IP.pptx
 
Fundamentals of computer Part 1
Fundamentals of computer Part 1Fundamentals of computer Part 1
Fundamentals of computer Part 1
 
Computer Fundamentals.pptx
Computer Fundamentals.pptxComputer Fundamentals.pptx
Computer Fundamentals.pptx
 
module 1-1.pptx
module 1-1.pptxmodule 1-1.pptx
module 1-1.pptx
 

Mehr von Vikram Nandini

IoT: From Copper strip to Gold Bar
IoT: From Copper strip to Gold BarIoT: From Copper strip to Gold Bar
IoT: From Copper strip to Gold BarVikram Nandini
 
Linux File Trees and Commands
Linux File Trees and CommandsLinux File Trees and Commands
Linux File Trees and CommandsVikram Nandini
 
Introduction to Linux & Basic Commands
Introduction to Linux & Basic CommandsIntroduction to Linux & Basic Commands
Introduction to Linux & Basic CommandsVikram Nandini
 
Manufacturing - II Part
Manufacturing - II PartManufacturing - II Part
Manufacturing - II PartVikram Nandini
 
Prototyping Online Components
Prototyping Online ComponentsPrototyping Online Components
Prototyping Online ComponentsVikram Nandini
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural NetworksVikram Nandini
 
Design Principles for Connected Devices
Design Principles for Connected DevicesDesign Principles for Connected Devices
Design Principles for Connected DevicesVikram Nandini
 
Communication in the IoT
Communication in the IoTCommunication in the IoT
Communication in the IoTVikram Nandini
 
Introduction to Cyber Security
Introduction to Cyber SecurityIntroduction to Cyber Security
Introduction to Cyber SecurityVikram Nandini
 
cloud computing UNIT-2.pdf
cloud computing UNIT-2.pdfcloud computing UNIT-2.pdf
cloud computing UNIT-2.pdfVikram Nandini
 
Introduction to Web Technologies
Introduction to Web TechnologiesIntroduction to Web Technologies
Introduction to Web TechnologiesVikram Nandini
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsVikram Nandini
 

Mehr von Vikram Nandini (20)

IoT: From Copper strip to Gold Bar
IoT: From Copper strip to Gold BarIoT: From Copper strip to Gold Bar
IoT: From Copper strip to Gold Bar
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
 
Linux File Trees and Commands
Linux File Trees and CommandsLinux File Trees and Commands
Linux File Trees and Commands
 
Introduction to Linux & Basic Commands
Introduction to Linux & Basic CommandsIntroduction to Linux & Basic Commands
Introduction to Linux & Basic Commands
 
INTRODUCTION to OOAD
INTRODUCTION to OOADINTRODUCTION to OOAD
INTRODUCTION to OOAD
 
Ethics
EthicsEthics
Ethics
 
Manufacturing - II Part
Manufacturing - II PartManufacturing - II Part
Manufacturing - II Part
 
Manufacturing
ManufacturingManufacturing
Manufacturing
 
Business Models
Business ModelsBusiness Models
Business Models
 
Prototyping Online Components
Prototyping Online ComponentsPrototyping Online Components
Prototyping Online Components
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networks
 
IoT-Prototyping
IoT-PrototypingIoT-Prototyping
IoT-Prototyping
 
Design Principles for Connected Devices
Design Principles for Connected DevicesDesign Principles for Connected Devices
Design Principles for Connected Devices
 
Introduction to IoT
Introduction to IoTIntroduction to IoT
Introduction to IoT
 
Embedded decices
Embedded decicesEmbedded decices
Embedded decices
 
Communication in the IoT
Communication in the IoTCommunication in the IoT
Communication in the IoT
 
Introduction to Cyber Security
Introduction to Cyber SecurityIntroduction to Cyber Security
Introduction to Cyber Security
 
cloud computing UNIT-2.pdf
cloud computing UNIT-2.pdfcloud computing UNIT-2.pdf
cloud computing UNIT-2.pdf
 
Introduction to Web Technologies
Introduction to Web TechnologiesIntroduction to Web Technologies
Introduction to Web Technologies
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 

Kürzlich hochgeladen

Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 

Kürzlich hochgeladen (20)

Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 

How Computer Process Data

  • 1. How Computerprocessdata: • The CPU, or Central ProcessingUnit,is the part of the computerwhere workgetsdone.In mostcomputers,there isone processingchip ALU • ALU stands forArithmetic/LogicUnit • Thisis the part that executesthe computer'scommands. A commandmustbe eitherabasicarithmetic operation: + - * / or one of the logical comparisons: >< =not= • Everythinghasto be brokendownintothese few operations. • The ALU can onlydo one thingat a time but can workveryfast. Main Memory • Main Memorystoresthe commandsthat the CPU executesandthe results. • Thisis where the computerstoresthe dataand commandsthat are currentlybeingused. • Whenthe computeristurnedoff,all data inMain Memory vanishes. • A data storage methodof thistype iscalledvolatile since the data"evaporates." • The CPU can fetchone piece of data inone machine cycle.
  • 2. Machine cycle Control Unit • Thisis the part of the computerthatcontrolsthe Machine Cycle. • It takesnumerouscyclestodoevena simple additionof twonumbers. • Fetch- • getan instructionfromMain Memory • Decode - • translate itintocomputercommands • Execute - • actuallyprocessthe command • Store - • write the resulttoMain Memory OperatingSystem • Thisis the instructionsthatthe computerusestotell itself how it"operates".It'sthe answer to "Who am I and whatcan I do?" • Some commonoperatingsystemsare DOS,variousversionsof Windows,OS/2,UNIX,LINUX, System7. These all behave inverydifferentwaysandhave differenthardware requirements.Sotheywon'tall runon all machines Applications • These are the variousprogramsthatare currentlyrunningonthe computer.
  • 3. • By takingturnswiththe Machine Cycle,moderncomputers canhave several different programsrunningat once.Thisis called multi-tasking. • Each openapplicationhastohave some data storedinMain Memory,evenif the application ison rest breakandis justsittingthere. Input / Output Storage • Whenyouenternewdata, the keystrokesmustbe storeduntil the computercando somethingwiththe newdata. • Whenyouwant data printedoutor displayed,itmustbe storedsomewherehandyfirst. WorkingStorage • The numbersand charactersthat are the intermediateresultsof computeroperationsmust be storeduntil the final valuesare calculated.Thesevalues"inprogress"are keptin temporarylocations. • For example,if the computerisaddingupthe numbers3, 5, and 6, it wouldfirstadd3 to 5 whichyieldsavalue of 8. The 8 is storedin working storage.Thenthe 8 and 6 are addedand the newvalue 14 isstored.The value of 14 is now available tobe displayedonthe screenor to be printedor to be usedinanothercalculation. UnusedStorage • One hopesthatthere is alwayssome storage space thatis notin use. • If space runsout inMain Memory,the computerwill crash,that is,stopworking. Data representation,and Data processingina computer: DefinitionofData: • Data is distinctpiecesof information,usuallyformattedinaspecial way.All software is dividedintotwo • general categories:dataandprograms.Programsare collectionsof instructionsfor manipulatingdata. • Data can existinavarietyof forms -- as numbersortexton piecesof paper,asbitsand bytes storedinelectronicmemory,orasfacts storedina person'smind. • Strictlyspeaking,dataisthe plural of datum, a single piece of information. • In practice,however,peopleuse dataasboth the singularandplural formof the word. Basic data type
  • 4. • In programming,classificationof aparticulartype of information.Itiseasyforhumansto distinguish betweendifferenttypesof data. • We can usuallytell ata glance whetheranumberisa percentage,atime,oran amountof money.We do thisthroughspecial symbols -- %,:,and$ -- that indicate the data'stype. • Similarly,acomputerusesspecial internalcodestokeeptrackof the differenttypesof data it processes. Most programminglanguagesrequire the programmertodeclare the datatype of every data object,andmost database systemsrequire the usertospecifythe type of eachdatafield.The available data typesvaryfrom one programminglanguage toanother,andfromone database applicationtoanother,but the following usually existin one formor another: • integer:In more commonparlance,whole number;anumberthathas no fractional part. • floating-point:A numberwitha decimal point. • For example,3isan integer,but3.5 isa floating-pointnumber. character (text):Readable text Storage of data as files • Computerdatastorage,oftencalledstorage ormemory,isa technologyconsistingof computercomponentsandrecordingmediausedtoretaindigital data. • It isa core functionandfundamental componentof computers. • The central processingunit(CPU) of a computeriswhat manipulatesdata by performingcomputations. • A moderndigital computerrepresentsdatausingthe binarynumeral system. • Text,numbers,pictures,audio,andnearlyanyotherformof informationcanbe converted intoa stringof bits,or binarydigits,eachof whichhasa value of 1 or 0. • The most commonunitof storage isthe byte,equal to8 bits.