More on data storage and representation CSC 2001.

Slides:



Advertisements
Similar presentations
Lecture # 7. Topics Storage Techniques of Bits Storage Techniques of Bits Mass Storage Mass Storage Disk System Performance Disk System Performance File.
Advertisements

Storage Devices.
BT 1005 Managing Information Lecture 2 Data Representation, Storage and Transmission.
Computer Hardware Introduction. Computer System Components Input Keyboard, Mouse, Camera, Touch Pad Processing CPU Output Monitor, Printer Storage Floppy,
Chapter 5 Computing Components Nell Dale John Lewis.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Chapter 5 Computing Components Nell Dale John Lewis.
Introduction to Computers
Computer Hardware.
Chapter 1 Data Storage. 2 Chapter 1: Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns.
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
MIS 175 Spring Learning Objectives When you finish this chapter, you will: –Recognize major components of an electronic computer. –Understand how.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
Bits and Data Storage. Basic Hardware Units of a Computer.
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
1 Part I: Machine Architecture 4 A major process in the development of a science is the construction of theories that are confirmed or rejected by experimentation.
Computer Systems I’m ONLY a machine! Standard Grade Revision.
Tom Allen Computer Science Department Trinity University.
Computer Hardware and Software Jinchang Wang. Hardware vs. Software Hardware is something tangible. Computer hardware includes electronic circuitry and.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
Learning Targets Identify the external parts of the computer Identify examples of input devices Identify examples of output devices Define basic computer.
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB.
1 Introduction to Computers Lect 1 Won’t tell you much you don’t know. (Misleading– the course gets more conceptual as we create webpages.) Will go into.
Introduction to the Computer System. What is a computer ? A computer is an electronic device that can accept data and instruction, process them or store.
Computer Basics By: Nicole Hayes. Purposes of Computers Business – Track inventory. – Calculate payroll. – Maintain databases. Personal – Surf the web.
Intro to Computers Computer Apps 1.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.2 Instructor: Lin Chen August 2013.
Chapter 5 Computing Components Nell Dale John Lewis.
1 Introduction to Computers By Masseta ICT Dept. Mzumbe University.
SECONDARY STORAGE DEVICES. Agenda of Today’s Lecture  Introduction to Hardware  Types of hardware devices  Storage Devices  Secondary Storage devices.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
5-1 Computer Components Consider the following ad.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Computer Architecture
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Machine Architecture and Number Systems
Chapter 5 Computing Components. 2 Computer Components Consider the following ad:
The Computer System CS 103: Computers and Application Software.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
STORAGE DEVICES Introduction Comparision Storage Hierarchy Slide 1.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Computer Architecture and Number Systems
Computer Science: An Overview Eleventh Edition
Backing Store.
Introduction to Computers
Chapter 1 Data Storage.
المحور 3 : العمليات الأساسية والمفاهيم
Computer Based Technology:
Introduction to Computers
Machine Architecture and Number Systems
Notes from Last Class Office Hours: GL Accounts?
Machine Architecture and Number Systems
Presentation transcript:

More on data storage and representation CSC 2001

Overview  Memory  Gates  Storage methods  Memory organization  Basic architecture  Long bit streams  Memory  Gates  Storage methods  Memory organization  Basic architecture  Long bit streams

Gates  … a device that produces the output of a Boolean operation when given the operation’s input values

AND, OR, XOR, & NOT gates

A simple flip-flop circuit

Setting the output of flip-flop

Storage techniques  core (direction of magnetic field)  capacitors (charged or discharged)  flash memory (trapped electrons in silicon dioxide) (full or empty)  core (direction of magnetic field)  capacitors (charged or discharged)  flash memory (trapped electrons in silicon dioxide) (full or empty)

Bits, bytes, and beyond 1 byte = 8 bits 1KB = 1024 (2 10 ) bytes 1MB = (2 20 ) bytes 1GB = (2 30 ) bytes

Anatomy of a byte high-order end low-order end most significant bitleast significant bit

Memory organization  memory cells  cells contain chunks of memory (often 1 byte)  have addresses (sequentially numbered)  information can span multiple cells  memory cells  cells contain chunks of memory (often 1 byte)  have addresses (sequentially numbered)  information can span multiple cells

Memory organization

ROM vs. RAM  Read Only Memory  Random Access Memory  Read Only Memory  Random Access Memory

Mass storage  Auxiliary storage devices  magnetic disks  hard drives, Zip disks  single vs. multiple disks  read/write head  tracks/cylinders/sectors  formatting  performance  seek time, latency, access time, transfer rate  Auxiliary storage devices  magnetic disks  hard drives, Zip disks  single vs. multiple disks  read/write head  tracks/cylinders/sectors  formatting  performance  seek time, latency, access time, transfer rate

Hard disks

More mass storage  Compact disks (CD-ROMs)  single spiral-shaped track  DVD-ROMs  multiple, semitransparent layers  Magnetic tape  high capacity, cheap, reliable  slow access time  Compact disks (CD-ROMs)  single spiral-shaped track  DVD-ROMs  multiple, semitransparent layers  Magnetic tape  high capacity, cheap, reliable  slow access time

File storage and retrieval  physical vs. logical records  knowing where to look  defragmentation  physical vs. logical records  knowing where to look  defragmentation

Basic architecture Input device Output device Auxiliary storage device Central Processing Unit Control Unit Arithmetic/logic unit Memory unit

Basic architecture Input device Output device Auxiliary storage device Central Processing Unit Control Unit Arithmetic/logic unit Memory unit Input device mouse, keyboard, modem

Basic architecture Input device Output device Auxiliary storage device Central Processing Unit Control Unit Arithmetic/logic unit Memory unit Output device screen, printer, modem

Basic architecture Input device Output device Auxiliary storage device Central Processing Unit Control Unit Arithmetic/logic unit Memory unit CPU Control Unit, ALU MHz (10 6 ), GHz (10 9 ) 32-bit, 64-bit

Basic architecture Input device Output device Auxiliary storage device Central Processing Unit Control Unit Arithmetic/logic unit Memory unit RAM bits, bytes (8 bits), MB (2 20 bytes), GB (2 30 bytes)

Basic architecture Input device Output device Auxiliary storage device Central Processing Unit Control Unit Arithmetic/logic unit Memory unit Aux storage unit MB, GB Zip disks, CD-ROM, DVD-ROM, tapes, hard drives

Basic architecture  We’ll return to this in chapter 2  For now, understand that the computer has to be able to store bits, that there are different kinds of memory, and different purposes for these different kinds of memory.  We’ll return to this in chapter 2  For now, understand that the computer has to be able to store bits, that there are different kinds of memory, and different purposes for these different kinds of memory.

Data representation  Translating data into bits  Characters and numbers  Large amount of data imply lots of bits.  Working with long strings of 0s and 1s quickly becomes cumbersome.  Translating data into bits  Characters and numbers  Large amount of data imply lots of bits.  Working with long strings of 0s and 1s quickly becomes cumbersome.

Dealing with long bit streams  Other (more concise) notation is useful  hexadecimal  base 16  need symbols for numbers (because = )  Other (more concise) notation is useful  hexadecimal  base 16  need symbols for numbers (because = )

Hexadecimal (0-7) base 2base 10base base 2base 10base

Hexadecimal (8-15) base 2base 10base A B C D E F base 2base 10base A B C D E F

binary hex conversion Think in groups of four bits (start from right) Pad with 0 on left if needed = = = = DB AF = = E7 = = Think in groups of four bits (start from right) Pad with 0 on left if needed = = = = DB AF = = E7 = =

practice problems A7D31C A7D31C