ï‚·The CPU is the most important component in a computer.ï‚·In the earliest computers, CPUs were huge devices madeof electrical and mechanical components such as vacuumtubes and switches.ï‚·Today, CPUs are small chips known asmicroprocessors.
CPEN 21_Programming Logic and Design- Introduction to Computers and LogicPage4of123. Output -After data items have been processed, the resulting informationusually is sent to a printer, monitor, or some other output device so peoplecan view, interpret, and use the results.II. STORAGE DEVICESMain MemoryMain memory is where the computer stores a program while the programis running.Main memory is commonly known asrandom-access memory or RAM.RAM is usually volatile type of memory that is used only for temporarystorage while a program is running.When the computer is turned off, the contents of RAM are erased.Secondary Storage DevicesSecondary storage is a type of memory that can hold data for longperiods of time, even when there is no power to the computer.Programs are normally stored in secondary memory and loaded intomain memory as needed.The most common type of secondary storage device is thedisk drive.Adisk drivestores data by magnetically encoding it onto a circular disk.External disk drivescan be used to create backup copies of importantdata or to move data to another computer.Afloppy disk driverecords data onto a small floppy disk, which can beremoved from the drive.Floppy disks hold only a small amount of data, are slow to access data,and are sometimes unreliable.USB drivesare small devices that plug into the computer’s USB(universal serial bus) port, and appear to the system as a disk drive.They store data in a special type of memory known as flash memory.USB drives, which are also known as memory sticks and flash drives,are inexpensive, reliable, and small enough to be carried in your pocket.Optical devicessuch as the CD (compact disc) and the DVD (digitalversatile disc) are also popular for data storage.
CPEN 21_Programming Logic and Design- Introduction to Computers and LogicPage5of12CD and DVD drives use a laser to detect the pits on disc surface andthus read the encoded data.Optical discs hold large amounts of data, and because recordable CDand DVD drives are now commonplace, they are good mediums forcreating backup copies of data.III.HOW THE COMPUTER STORE DATAAll data that is stored in a computer is converted to sequences of 0s and1s.A computer’s memory is divided into tiny storage locations known asbytes.Each byte is divided into eight smaller storage locations known as bits.The term bit stands for binary digit.A. Storing NumbersA bit that is turned off represents the number 0 and a bit that is turnedon represents the number 1.The position of each digit in a binary number has a value assigned to it.B. Storing CharactersAny piece of data that is stored in a computer’s memory must be storedas a binary number that includes characters, such as letters andpunctuation marks.
Upload your study docs or become a
Course Hero member to access this document
Upload your study docs or become a
Course Hero member to access this document
End of preview. Want to read all 12 pages?
Upload your study docs or become a
Course Hero member to access this document
Term
Spring
Professor
N/A
Tags
Binary numeral system, USB flash drive, Computer program