CS149D Elements of Computer Science

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

RAM (RANDOM ACCESS MEMORY)
Figure (a) 8 * 8 array (b) 16 * 8 array.
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
Data Storage – Part 1 CS 1 Introduction to Computers and Computer Technology Rick Graziani Fall 2013.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
1 Lecture 16B Memories. 2 Memories in General Computers have mostly RAM ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Overview Memory definitions Random Access Memory (RAM)
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 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Bits and Data Storage. Basic Hardware Units of a Computer.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
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.
Lecture on Electronic Memories. What Is Electronic Memory? Electronic device that stores digital information Types –Volatile v. non-volatile –Static v.
ITEC 352 Lecture 24 Memory. Review Questions? Reminder: HW due on Wed. Night Intel 8080 CPU.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
What is RAM? Nick Sims.
Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB.
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 1.
Chapter 1: Data Storage.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.2 Instructor: Lin Chen August 2013.
Memory and Storage Dr. Rebhi S. Baraka
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
CIM101 : Introduction to computer Lecture 3 Memory.
Islamic University Of Gaza, Nael Aburas Data Storage Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Copyright © 2007 – Curt Hill Primary Memory and Electronic Storage Implementations.
Computer Science 101 Computer Systems Organization.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Data Representation Bits, Bytes, Binary, Hexadecimal.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Storage of Data Instructions and data are held in main memory which is divided into millions of addressable storage.
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,
Memory Devices 1. Memory concepts 2. RAMs 3. ROMs 4. Memory expansion & address decoding applications 5. Magnetic and Optical Storage.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
Introduction to Computing Systems and Programming Digital Logic Structures.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
1 Computer Organization Wireless & Mobile Networks Lab Li-hua Dong
Chapter 1: Data Storage.
Memory and Programmable Logic
Computer Science: An Overview Eleventh Edition
ECE/CS 352 Digital Systems Fundamentals
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Internal Memory.
Electronics Technology
PRIMARY STORAGE.
Chapter 1 Data Storage.
CMSC 100 From the Bottom Up: It's All Just Bits
CS149D Elements of Computer Science
Memory Basics Chapter 8.
CMSC 100 From the Bottom Up: It's All Just Bits
MICROPROCESSOR MEMORY ORGANIZATION
Memory Basics Chapter 7.
CS149D Elements of Computer Science
Technology 3 Bits & Bytes.
Jazan University, Jazan KSA
Presentation transcript:

CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture 4: 9/5/2002 Lecture 4: 9/5/2002 CS149D Fall 2002

Should cover sections 1.1 and 1.2 of Brookshear Text Outline Storage of Bits Main Memory Should cover sections 1.1 and 1.2 of Brookshear Text Lecture 4: 9/5/2002 CS149D Fall 2002

Boolean Operations The NOT operation NOT 1 = 0 NOT 0 = 1 Manipulate True and False: Boolean Operations The NOT operation NOT 1 = 0 NOT 0 = 1 Exclusive OR Output of 1 when exclusively one of its inputs is TRUE Copyright © 2003 Pearson Education, Inc. Lecture 4: 9/5/2002 CS149D Fall 2002

Gates1/3 Device implementing Boolean operation Current technology implements gates as small electronic circuits Building blocks from which computers are constructed Copyright © 2003 Pearson Education, Inc. Lecture 4: 9/5/2002 CS149D Fall 2002

Gates2/3 Copyright © 2003 Pearson Education, Inc. Lecture 4: 9/5/2002 CS149D Fall 2002

Gates3/3 Which Input bit patterns will cause the following circuit to produce an output of 1? XOR Inputs AND Output Lecture 4: 9/5/2002 CS149D Fall 2002

Flip Flop Circuit (set of connected gates) which the output will flip or flop between two values under control of external stimuli If both inputs are 0, output will not change (A = 0, B = 0) Placing 1 on upper input forces output to be 1 (A = 1, B= 0) Placing 1 on lower input forces output to be 0 (B = 1, A = 0) Flip Flop can be used to store value of a bit A Try Sequence? A B 1 0 then 0 0 B Copyright © 2003 Pearson Education, Inc. Lecture 4: 9/5/2002 CS149D Fall 2002

Other Bit Storage Techniques 1960s: Rings of magnetic material (Cores) threaded on wires Electric current through wires  core magnetized in one of two directions Recently: Capacitor Metallic plates positioned // to each other with a small distance between them Connect voltage source and charge plates and then remove voltage source Capacitor is either charged or discharged. Two states (can represent 0 and 1) Technology can place millions of capacitors on a single chip Storage volatility Core: retain magnetic field after machine turned off Flip flop: looses data when power source turned off Charges on capacitors dissipate, and have to be replenished (need for refresh circuitry) Computer memory based on such technology called Dynamic Memory Lecture 4: 9/5/2002 CS149D Fall 2002

Main Memory Memory cells (words). Typical cell size is 1 byte Often measured in MB (megabyte 220), KB (Kilobyte 210), GB (Gigabyte 230) Each cell has an address (0, 1, ….) Operations: read, write Each cell can be accessed individually (random access memory RAM) Dynamic memory technology (DRAM) Bits arrangement within a cell Copyright © 2003 Pearson Education, Inc. Lecture 4: 9/5/2002 CS149D Fall 2002

Main Memory How many bits would be in the memory of a computer with 4KB memory? Lecture 4: 9/5/2002 CS149D Fall 2002