Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.

  • Published on
    20-Dec-2015

  • View
    212

  • Download
    0

Embed Size (px)

Transcript

<ul><li> Slide 1 </li> <li> Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009 </li> <li> Slide 2 </li> <li> Basic Components of a Computer Input devices Keyboards and pointing devices (mouse) Output devices Display or video monitor Printer Speakers Central Processing Unit (CPU) </li> <li> Slide 3 </li> <li> Basic Components of a Computer Memory and storage devices Primary storage: RAM (Random Access Memory) Secondary storage: Storage devices that serve as long-term repositories for data: Hard disk drives Recordable CD and DVD drives Tape drives Flash Drives </li> <li> Slide 4 </li> <li> A Bit About Bits Information Communication that has value because it informs Anything that can be communicated, whether it has value or not Information comes in many forms Words, numbers, pictures Sound, movies </li> <li> Slide 5 </li> <li> A Bit About Bits Computers information is digital Bit, or binary digit The smallest unit of information Can have one of two values: 1 or 0 Can represent words, numbers, pictures, sounds, movies, codes, or instructions Byte: a collection of 8 bits </li> <li> Slide 6 </li> <li> A Bit About Bits Using two symbols all numbers can be represented on a calculator as well as performing arithmetic A calculator translates the touch on the numeric keypad into series of 0s and 1s. 19 will be represented as 00010011. Imagine 0=false, 1=true Operations that manipulate true/false called boolean/logic operations </li> <li> Slide 7 </li> <li> A Bit About Bits Bits as Numbers Binary number system Binary denotes all numbers with combinations of two digits. Decimal numbers are automatically converted into binary numbers and vice versa. Binary number processing is completely hidden from the user. </li> <li> Slide 8 </li> <li> Bit-related terminology Byte Kilobyte (KB) Megabytes (MB) Gigabytes (GB) = 8 bits = 1 Thousand Bytes =1024 Bytes = 2 10 = 1 Million Bytes = 1,048,576 Bytes = 2 20 = 1 Billion Bytes = 2 30 </li> <li> Slide 9 </li> <li> The Computers Core: The CPU and Memory The CPU: The Real Computer CPU (microprocessor) Interprets and executes the instructions in each program Supervises arithmetic and logical data manipulations </li> <li> Slide 10 </li> <li> The Computers Core: The CPU and Memory CPU (microprocessor) Communicates with all the other parts of the computer system indirectly through memory An extraordinarily complex collection of electronic circuits Housed along with other chips and electronic components on the motherboard </li> <li> Slide 11 </li> <li> The Computers Memory RAM (random access memory) Used to store program instructions and data temporarily Unique addresses and data can be stored in any location Can quickly retrieve information Will not remain if power goes off (volatile) </li> <li> Slide 12 </li> <li> The Computers Memory RAM (random access memory) Organized in units called cells Cell = 8 bits = 1 Byte Each cell has a unique address (numeric) Read Operation: retrieving the content of a certain address Write Operation: placing bit pattern in the cell at a particular address </li> <li> Slide 13 </li> <li> The Computers Memory 0 1 2 3 4 5 6 high order bit Most Significant low order bit least Significant </li> <li> Slide 14 </li> <li> The Computers Memory ROM (read-only memory) Information stored permanently on a chip Contains startup instructions and other permanent data Flash memory Used for phones, pagers, portable computers, handheld computers, and PDAs </li> <li> Slide 15 </li> <li> Buses, Ports, and Peripherals Information travels between components on the motherboard through groups of wires called system buses, or just buses. Connect to expansion slots Connect to external buses and ports Slots and ports Make it easy to add external devices, called peripherals. </li> <li> Slide 16 </li> <li> Thank You </li> </ul>

Recommended

View more >