Binary and Hard Disk PEOPLE Program

Slides:



Advertisements
Similar presentations
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Advertisements

Computer Architecture. Central Processing Unit (CPU)- micro processor The Personal Computer.
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.
Introduction to A+ Computer numbering Systems Prepared by: Hani Al-Mohair.
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.
Bits and Data Storage. Basic Hardware Units of a Computer.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Bits and Bytes.
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
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.
Binary Code.
Hardware Data Storage.
Advanced Diploma 1 Backing Storage. Advanced Diploma 2 Aims Understand how data is stored Be able to use the binary system to represent ASCII characters.
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.
Binary and Hard Disk Aslin Izmitli PEOPLE Program.
CISC1100: Binary Numbers Fall 2014, Dr. Zhang 1. Numeral System 2  A way for expressing numbers, using symbols in a consistent manner.  " 11 " can be.
 Bits & Bytes Bits & Bytes  Units of data Units of data  Storage devices Storage devices  Storage Types Storage Types  Secondary Storage Secondary.
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.
How We Measure Memory. Learning Goal Today we are going to learn how the computer stores information.
GCSE ICT Storing data - Internal memory, backing storage, and measuring memory.
Computers - The Journey Inside continues…
How We Measure Memory. At the Bottom of things A piece of digital information is always stored as a sequence of binary states. What’s that mean you ask???
M. Guymon Pleasant Grove High School Spring 2003 RAM vs. ROM RAM “Random Access Memory” The ability of a storage device to go directly to a specific storage.
Computer Components. ● Many people believe that knowing how to use a computer is one of the basic skills needed to succeed in the workplace. ● In order.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
Millions of electronic pulses move through your computer every second. Computers are capable of processing thousands of functions in the time it takes.
HNC COMPUTING - COMPUTER PLATFORMS 1 Computer Platforms Week 2 Backing Storage.
Understanding Computers
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
Computer Performance & Storage Devices Computer Technology #2.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Understanding binary Understanding Computers.
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Data Representation.
Exploring Computer Science – Lesson 2-5
Storage Hardware This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Numerical Representation
The Central Processing Unit
BITS & BYTES.
COMPUTER MEMORY & DATA STORAGE
Introduction to Computers
COMPUTER MEMORY & DATA STORAGE
Unit 3—Part A Computer Memory
Chapter 1 Data Storage.
How do computers work? Storage.
Unit 3—Part A Computer Memory
Bits, Bytes, and Storage.
Introduction to Computers
BITS & BYTES.
CS101 Storage Information.
C1 Number systems.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
How Computers Store Data
Computer Performance & Storage Devices
Light Diffraction and How CDs Work
Numerical Representation
Chapter Four Data Representation in Computers By Bezawit E.
Storage.
Binary System.
Information Technology Department
Computer Performance & Storage Devices
Presentation transcript:

Binary and Hard Disk PEOPLE Program Good afternoon everyone, welcome to the Binary section of PEOPLE program. 2 day event, today talk,

How do Computers Store Numbers Computers are constructed of digital electronics => two states: “on” “off” Binary number system consists of 0 and 1 only On-off patterns are used to encode numbers using binary number system Most computer electronics Voltage levels CD-ROM Microscopic dark spots on disk surface Hard disk Magnetism Computer memory Electric charges on capacitors As you may have learnt before Two states which can represent 0 and 1 resepectively

Binary numbers are great! Simple to work with No big addition and multiplication tables to learn Just do same things over and over very fast Just use two values of voltage, magnetism or other signal Hardware easier to design and more resistant For example, for decimal system, 45 rules; for binary, 4 rules Better robustness

Hard Drive Hard disks are used in all desktop computers, servers, super computers etc. They are also VCR type devices or video recorders that use hard drives instead of tape They store changing digital information in a relatively permanent form. They give computers the ability to remember things when the power goes out. Different from RAM, where info will be lost after turn off power.

How Does Binary Work? Decimal number system Expanded notation: … 1000 10 digits (0 to 9) Add a second column worth 10 times the value of the first column Expanded notation: 3 x 100 + 6 x 10 + 5 = 365 1 x 1000 + 0 x 100 + 3 x 10 + 2 = 1032 … 1000 100 10 1 Or 10 to the first, or 10 to the second

Binary Number System Only contains two digits: 0,1 Add a second column worth 2 times the value of the first column To convert a number from binary to decimal, use expanded notation: 101101 = 1x32 + 0x16 + 1x8 + 1x4 + 0x2 + 1x1 = 45   1 … 32 16 8 4 2 1

Binary  Decimal Any desired amount can be represented using 1 and 0. Examples 1 == 0001 3 == 0011 6 == 0110 1  a power of 2 0  zero Examples 0001  2^0 = 1 0010  2^1 = 2 0100  2^2 = 4 1000  2^3 = 8 0101 = 0 + 4 + 0 + 1 = 5 1010 = 8 + 0 + 2 + 0 = 10 0111 = 0 + 4 + 2 + 1 = 7

Larger Numbers Numbers from 1 to 15 0000 = 0 0100 = 4 1000 = 8 1100 = 12 0001 = 1 0101 = 5 1001 = 9 1101 = 13 0010 = 2 0110 = 6 1010 = 10 1110 = 14 0011 = 3 0111 = 7 1011 = 11 1111 = 15 Bigger whole numbers  more bits more places in binary number 10000101 = 128 + 0 + 0 + 0 + 0 + 4 + 0 + 1 = 133 This is 8 bits == 1 byte

Larger Numbers 10000101 = 128 + 0 + 0 + 0 + 0 + 4 + 1 = 133 This is 8 bits == 1 byte Kilobyte = 1024 bytes (1024 = 2^10) Megabyte = 1024 kilobytes ~ a million bytes Gigabyte = 1024 megabytes

Typical Sizes Typical Hard disks are 100 – 500 gigabyte 1 byte == 1 character  hard disk might hold 100 billion characters ~ 20 billion words of raw text Real numbers, fractions, very large numbers  floating point arithmetic

Binary Addition Decimal System Binary System Sum >= 10  add 1 to the column on the left Binary System Sum >= 2  add 1 to the column on the left Example: 1+1+1 = 11 1+1+1+1 = 100 110101 + 11110 -------------- 1010011

Binary Addition Second Way Convert the numbers to decimal Add the decimal numbers Convert the sum to binary

ASCII Table ASCII: American Standard Code for Information Interchange Alphanumeric characters are represented with 8 bits A  65 == 01000001 Write 3 letters in ASCII Table How to represent letters in computers? Pass ASCII Table to students