BINARY CODE.

Slides:



Advertisements
Similar presentations
KFUPM COE 202: Digital Logic Design Number Systems Part 3 Courtesy of Dr. Ahmad Almulhem.
Advertisements

Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
Lecturer: Omid Jafarinezhad Sharif University of Technology Department of Computer Engineering 1 Fundamental of Programming (C) Lecture 2 Number Systems.
Binary & Decimal numbers = 3* * *10 + 5*1 = 3* * * *10 0 Decimal system: Ten digits: 0,1,2,3,…,9 Example:
Processing Data.
Logic Design Logic design deals with the basic concepts and tools used to design digital hardware consisting of logic circuits Digital devices: airbags,
Table 1. Software Hierarchy Levels.. Essential Tools An assembler is a program that converts source-code programs into a machine language (object file).
Representation of Data How is data (numbers, characters) represented so that it can be used in a Computer ?
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
 A binary number is a number that includes only ones and zeroes.  The number could be of any length  The following are all examples of binary numbers.
 Binary Binary  Binary Number System Binary Number System  Binary to Decimal Binary to Decimal  Decimal to Binary Decimal to Binary  Octal and Hexadecimal.
Binary Numbers.
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
Aloha Aloha What you see: What the computer sees: binary number columns binary number columns
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Number Systems Part 4 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Computer Programming I. Today’s Lecture  Components of a computer  Program  Programming language  Binary representation.
Information and Programs. Foundations of Computing Information –Binary numbers –Integers and Floating Point –Booleans (True, False) –Characters –Variables.
Binary Code.
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.
1 Pertemuan 2 Network Math. Discussion Topics Binary presentation of data Bits and bytes Base 10 number system Base 2 number system Converting decimal.
CS161 Computer Programming Instructor: Maria Sabir Fall 2009 Lecture #1.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Bits and Bytes. Decimal Numbers 6,357 has four digits -base-10 (6 * 1000) + (3 * 100) + (5 * 10) + (7 * 1) = = 6357 (6 * 10^3) + (3.
CISCO NETWORKING ACADEMY Chabot College ELEC Binary Introduction.
Lesson 4-7 Example Example 1 Find 4.32 × Multiply the factors, ignoring the decimal points for now. 432 × 6 = 2592.
Number Bases and Representation. Denary Number System (Base 10) Our number system uses 10 digits (0-9) As you move from right to left each number is worth.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
Binary A double zero educational presentation. Binary Basics Binary is the language computers use Only 1’s and 0’s can be found in Binary Very large numbers.
Springfield Technical Community College Center for Business and Technology.
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
OFF = 0 ON = 1 = 63 BINARY system
M204 - Data Representation
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
ASCII AND EBCDIC CODES By : madam aisha.
HNC COMPUTING - COMPUTER PLATFORMS 1 Micro Teach Binary.
CSC 3210 Computer Organization and Programming
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Lesson 6 Binary Understand what Binary Code means and apply this knowledge Understand how data is represented using bit systems and be able to change decimal.
Understanding Computers
Number Systems Decimal Can you write 12,045 in expanded form? Base? Allowable digits for each place?
Binary Numbers. Decimal vs Binary = 1001 = 101 = 10 1 = on = 0 = off = On and off.
 Human language : commonly used to express feeling and understand what other people expression.  Computer language : are a languages by which a user.
COMPUTER ORGANIZATION 4 TH LECTURE. ASCII Code  ASCII ( American Standard Code for Information Interchange).  Input and output devices that communicate.
1 Chapter 1: Basic Concepts Assembly Language for Intel-Based Computers, 4th edition Kip R. Irvine 9/6/2003.
Programmable Logic Controller
Binary & Decimal numbers
Binary and Hard Disk PEOPLE Program
Understanding binary Understanding Computers.
Number Systems and Codes
Binary Positional Notation
Multiplying 2 Digit Factors
Information Technology Introduction to Number System
Memory Parts of a computer
RFID - EN Encoding information Encoding information J.-D. Chatelain.
Binary Code  
Representing Data How does a computer represent data?
Number Systems and Codes
Computers & Programming Languages
Dr. Clincy Professor of CS
Number Systems Lecture 2.
How Computers Store Data
How to Represent Numbers on a Computer
Chapter Four Data Representation in Computers By Bezawit E.
Multiplying and Dividing Decimals by 10, 100, 1000
Section 6 Primitive Data Types
Dr. Clincy Professor of CS
Presentation transcript:

BINARY CODE

INTRODUCTION Computer Hardware Computer Software BITS vs. BYTES Physical Devices Computer Software Programs that give hardware useful functionality BITS vs. BYTES Bit: binary digit, smallest unit of information, consists of a single 0 or 1 Byte: eight adjacent bits

INTRODUCTION

WHAT IS BINARY CODE? Used in computers for encoding and translating data Numbering system of base 2 Allows for only two states: 1 and 0 Can be used to represent situations that are true and false, on and off Used with ASCII code to represent characters and strings

HOW DO I READ IT? Each digit represents a power of 2 reading from right to left Evaluate the powers and then multiply by the binary value (ultimately ignoring the zeros since that would result in zero......) Add together and VOILA! your decimal value.