1 / 110

Observe Yourself or -5

Observe Yourself or -5. Turn off communication devices. Dress properly. Module 3 Processing & memory. Learning Objective. After completing this module, students will be able to: Explain how data is encoded to computer. Discuss components and characteristics of the system unit.

aisha
Download Presentation

Observe Yourself or -5

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Observe Yourself or -5 • Turn off communication devices Dress properly

  2. Module 3Processing & memory

  3. Learning Objective • After completing this module, students will be able to: • Explain how data is encoded to computer. • Discuss components and characteristics of the system unit. • Describe how CPU processes an instruction. • Name various types of memory

  4. Binary • Topic • Data representation • Measuring capacity • Coding scheme • Parity bit

  5. Human Language • Number 0-9 • Character A-Z • Voice • Picture

  6. Computer Language

  7. Digital Data Representation • Digital computers can understand only states, • and • and • The 0s and 1s used with digital devices can be represented in a variety of ways • Open or closed circuit • Absence or presence of an electronic charge • Absence or presence of a magnetic spot

  8. Bit • Regardless of their physical representations, these 0s and 1s are commonly referred to as bits (binary digits). • A bit is the smallest unit of data that a digital computer can recognize, so the input you enter stored on you PC are all just .

  9. bit by itself typically represents only a fraction of a piece of data. Consequently, bits are usually grouped together to form letters and other characters, documents, program files, graphics files, and more. • Eight bits grouped together are collectively referred to as a byte. • Byte terminology is frequently used in a variety of computer contexts. For example, document size and storage capacity are measured in bytes, based on the amount of data that is contained in the document or that can be stored on the storage medium. • The size of any item such as program, written document, photo file, music file is measured in bytes.

  10. Prefix for larger amounts of data • KB • MB • GB • TB • PB • EB • ZB • YB

  11. Coding System • Number • Text • Graphics • Audio • Video

  12. Representing Numerical Data • Numbering system

  13. Data Representation • Decimal System • Use 10 symbols (0,1,2,3,4,5,6,7,8,9) • For human understanding • Binary System • : the basic unit of computing • Two number system • Use 2 symbols (0 and 1) • Electrical current being off (0)and on (1) • All data and program instructions in the computer are represented as binary

  14. Convert Decimal to Binary • Choose a method of conversion • Comparison with descending powers of two and subtraction • Short division by two with remainder 9

  15. Examples of decimal & binary number • The binary number 1001 • 1*23 + 0*22 + 0*21 + 1*20 • 9 in decimal system

  16. Coding systems for Text-Based Data

  17. Coding Schemes for Text • Binary coding schemes assign a unique binary code to each letter • Extended Binary Coded Decimal Interchange Code • For mainframe • 8 bits for a character • Combination of 28 =256 characters • American Standard Code for Information Interchange • For microcomputer • Requires 7 or 8 bits per character, depending on the version • 8 bits for a character • Combination of 28 = 256 characters

  18. Problem before • Fundamentally, computers just deal with numbers. • They store letters and other characters by assigning a number for each one. • Before Unicode was invented, there were hundreds of different encoding systems for assigning these numbers. • No single encoding could contain enough characters • These encoding systems also conflict with one another. • That is, two encodings can use the same number for two different characters, or use different numbers for the same character. • Any given computer (especially servers) needs to support many different encodings; yet whenever data is passed between different encodings or platforms, that data always runs the risk of corruption.

  19. U • bits for a character • Combination of

  20. Audio Data

  21. Audio Data • Samples are digital representations of the sound at a particular moment. • For example, audio CDs record sound using -byte samples sampled at a rate of times per second (the minimum number of times in order to maintain sound quality). • With so many samples per second, sound files take up a great deal of storage space. • EX: about MB for a 2-minute stereo song.

  22. Graphics Data • Graphics data consists of still images, such as photographs or drawings. • One of the most common methods for storing graphics data is in the form of a • A grid of hundreds of thousands of dots (pixels), arranged to represent an image. • The color to be displayed at each pixel is represented by some combination of 0s and 1s, and the number of bits required to store the color for one pixel is called

  23. Monochrome 1 bit Grayscale 8 bits

  24. 16 color image : 4 bit depth 256 color image : 8 bit depth True color image : 24 bit depth

  25. How much storage space is required for ? • How much storage space is required for grayscale picture at resolution 800*600 ? • How much storage space is required for true color picture at resolution 800*600?

  26. Video Data • Movie you see on TV, Video come from series of still pictures project continuously. • This will cause moving picture.

  27. Video Data • Video data is displayed using a collection of frames; each frame contains a still graphical image. • When the frames are projected on after the other – typically at a rate frames per second – the illusion of movement is created. • With so many frames, the amount of data involved in showing a two-hour feature film can be substantial. Video Motion

  28. What size of file for 2 hour movie?

  29. Error Checking

  30. How does the computer know if an error has occurred? • Bits travel from one point to another. The signal may be interfered by the environment that causes data error. • How can we detect this error?

  31. Parity Bit • Parity bit, also called a check bit, is an extra bit added to a group of bits to make the parity of the group odd or even, for purposes of checking accuracy.

  32. Data 0001 Sum of bits is odd or even Extra bit 0001 2 1 is Even 0001 1 is Odd 0

  33. The sender and receiver must both • agree to use parity checking and • to agree on whether parity is to be odd or even. • If the two sides are not configured with the same parity scheme, communication will be impossible.

  34. End: Basic Concept of Binary

  35. System unit

  36. The System Unit • It houses • the motherboard (including the processor chip and memory chips) • Power supply • Storage devices

  37. Variation of System Units

  38. Case: Empty Box

  39. Power Supply • It is a device that converts AC to DC to run the computer.

  40. Power Problem • Power surge • Power brownout • Power failure Picture http://www.gilliselectricinc.com/images/protection-surges.jpg

  41. Surge Protector • It is a device that protects a computer from being damaged by surges (spikes) of high voltage. Williams ed8. p201 http://www.aeropause.com/archives/surgeprotector.JPG

  42. Voltage Regulator • It is a device that protects a computer from being damaged by insufficient power. Williams 8ed. p202

  43. UPS • A UPS (uninterruptible power supply) is a battery-operated device that provides a computer with electricity if there is a power failure. Williams 8ed. p202 http://www.hyper-v-mart.com/images/PowerWareUPS.jpg http://www.tdhvisions.com/images/UPS_6.jpg

  44. Bay • It is a shelf or an opening used for the installation of electronic equipment, generally a hard drive, DVD drive.

  45. The main circuit board in the system unit which contains • Soldered (nonremovable) components • Sockets or slots for components that can be removed – microprocessor chip, RAM chips, and various expansion cards. Williams 8ed. p202 http://asusmotherboards.org/wp-content/uploads/2009/02/asus-p5e3-motherboard-premium.jpg

  46. Microprocessor

  47. Shape of Microprocessor • Microprocessor is a brain of your computer. • It performs processing.

More Related