RAM and Binary Numbers RAM and Binary Numbers What is 0000000101? What is 52 in binary? What is a file? Preview Questions:

Slides:



Advertisements
Similar presentations
Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
Advertisements

ENGR2216 FORTRAN PROGRAMMING FOR ENGINEERS. Chapter 1 The computer CPU MEMORY INPUT/OUTPUT DEVICES DATA REPRESENTATION BINARY SYSTEM OCTAL & HEXADECIMAL.
Computer Architecture. Central Processing Unit (CPU)- micro processor The Personal Computer.
1 Lecture-2 CSIT-120 Spring 2001 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Category1 Computers Category2 CPU.
Figure 0.3: Jacquard’s loom. Figure 0.4: The Mark I computer.
1 Lecture-2 CS-120 Fall 2000 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 12/08/03SW Abingdon and Witney College Binary Converting to and from decimal.
Business Computer Information Systems 1A Computer Literacy, Videos, Windows, Microsoft Office XP Basics and Internet Test 1 - REVIEW.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Today’s Topics  Chapter 6: System Unit  Chapter 7: Input/Output and Storage.
Abstraction – Number Systems and Data Representation.
Lesson 3 — How a Computer Processes Data
Topics Introduction Hardware and Software How Computers Store Data
Georgia Institute of Technology Introduction to Programming Part 2 Barb Ericson Georgia Institute of Technology May 2006.
Technology in Focus: Under the Hood
How Computers Work Dr. John P. Abraham Professor UTPA.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Lesson 2 — How Does A Computer Process Data?
Chapter 2 Computer Hardware
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.
Personal Computer Adapted by Dr. Semmes from Mrs. Jungman’s Hardware Presentation and Mrs. Belisle’s Class Notes.
Computer Structure & Architecture 7c - Data Representation.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Hardware Data Storage.
Fill in the blanks: (1) _________ has only two possible values 0 and 1. (2) There are __________bits in a byte. (3) 1 kilobyte of memory space can store.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
The Central Processing Unit: What Goes on Inside the Computer
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
Development of Computers. Hardware 1. Original concept: Charles Babbage 1840’s 2. 4 basic components of a computer system: input store mill output (Now:
GCSE ICT Storing data - Internal memory, backing storage, and measuring memory.
Business Programming I Fall – 2000 By Jim Payne Lecture 05Jim Payne - University of Tulsa2 Alphanumeric Storage Numbers that are not numbers? Alphabetic.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
BY MANJU Lesson 21 Computer Hardware. System Components A computer system requires many components to do its job: Input: Device to input data so it can.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Computer Science 105 RAM and Binary Numbers What is ? What is 52 in binary? What is a file? Preview Questions:
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
1.4 Representation of data in computer systems Character.
Binary Representation in Text
Binary Representation in Text
Chapter 1: An Overview of Computers and Programming Languages
Introduction to Programming Part 2
Topics Introduction Hardware and Software How Computers Store Data
Storage Hardware This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Data Transfer ASCII FILES.
The Central Processing Unit
EPSII 59:006 Spring 2004.
Data Representation – Instructions
McGraw-Hill Technology Education
Figure 0.3: Jacquard’s loom
Topics Introduction Hardware and Software How Computers Store Data
Introduction to Programming Part 2
How Computers Store Data
Information Technology Department
Option: Data Representation
McGraw-Hill Technology Education
McGraw-Hill Technology Education
Option: Data Representation
Presentation transcript:

RAM and Binary Numbers RAM and Binary Numbers What is ? What is 52 in binary? What is a file? Preview Questions:

CS 105 Fall2009 # 2# 2 Random Access Memory (RAM) also called Main Memory or Primary Memory Stores program instructions and data needed for processing--the working memory (short-term memory) of a computer (like a human’s memory) The primary storage area for programs and data in active use - RAM It is volatile.

CS 105 Spring 2010 # 3# 3 Analogy for RAM Imagine you are sitting at a desk. The size of your work area determines how many projects you can handle at once. RAM is somewhat like the that surface – the number of applications that you can run is limited by the size of RAM. RAM is good—get lots of it!

CS 105 Spring 2010 # 4# 4 Microprocessor Brain of the computer Brain of the cell phone Brain of the PDA See Unit D in your textbook

CS 105 Spring 2010 # 5# 5 The Machine Cycle Main Memory Control Unit Arithmetic/Logic Unit Fetch Decode Execute Store RAM CPU Fetches, Sends back

CS 105 Spring 2010 # 6# 6 Main Memory (RAM) Is organized as a sequence of locations Each location can contain a sequence of bits, representing data or an instruction Locations are numbered with “addresses” from 0 to memory-size (can be huge, even gigabytes)

CS 105 Spring 2010 # 7# 7 Why use binary numbers? We can build computers that operate in base- 10, but they would be expensive. What is easier than having a switch be ON or OFF? We use electricity that way—low current or high current. High voltages indicate 1 and low voltages indicate 0

CS 105 Spring 2010 # 8# 8 Data Representation: Bits The bit is the smallest unit of data; it is 1 or 0, that is, on or off

CS 105 Spring 2010 # 9# 9 Base Ten Numbers In base 10, a decimal integer 587 means: 587 = 5 x x x x x x 10 2 =7 =80 =500 _______ 587

CS 105 Spring 2010 # 10 Base Two Likewise, in base 2, a binary integer 101 means: 101 = 1 x x x x x x 2 2 =1 =0 =

CS 105 Spring 2010 # 11 Convert the binary (base two) number to decimal (base ten). Answer= x 32x 16x 8x 4x 2x = 55

CS 105 Spring 2010 # 12 Convert the decimal (base ten) number 52 to binary (base two). Answer= x 32x 16x 8x 4x 2x

CS 105 Spring 2010 # 13 Characters, marks, and more Letters, numbers, line feeds, and non-printing characters ASCII-8. Pronounced “ass-key” ASCII stands for American Standard Code for Information Interchange, has 256 different symbols-all Operating Systems fully understand ASCII. UNICODE allows for up to 65,536 different characters. It is more complex and not implemented on many Operating Systems, but it is on Windows NT and Windows XP.

CS 105 Spring 2010 # 14 Different characters held in RAM = ???

CS 105 Spring 2010 # 15 Why are these lists in alphabetical order?

CS 105 Spring 2010 # 16 ASCIIASCII (link) ASCII-8 represents 256 characters -- the foreign language possibilities are below:

CS 105 Spring 2010 # 17 ASCII, Cont. 32 is the ASCII code for a space. So 32 = in binary, and when the computer gets that data, it causes a space to appear. Note: all the capital letters finish before the lower case letters appear B = 66 b = 98

CS 105 Spring 2010 # 18 Digital Cell Phones, converting sound Digital phones convert your voice into binary information (1s and 0s) and then compress it CDs also convert analog to digital: Sampling: /analog-digital3.htm Making a CD 5.htm

CS 105 Spring 2010 # 19 What is a file? See page 116 in your Concepts book!! A collection of data on a storage medium Filename conventions Filename extension.txt.txt.jpg.jpg.exe.exe.doc.doc

CS 105 Spring 2010 # 20 To Summarize: What is in decimal? What is 8 in binary? What is a file?