INTRODUCTION TO COMPUTING LECTURE#04. TRANSFORMING DATA INTO INFORMATION Understands only two states either On or Off  Makes different patterns of 0s.

Slides:



Advertisements
Similar presentations
NUMBER SYSTEM. How to convert hexadecimal numbers to decimal numbers? 230 Working from right to left, MULTIPLY each position with 8 raised to the power.
Advertisements

Appendix 1 Number Systems Objectives: Review of number systems and radix conversion methods Review of binary, octal, hexadecimal and BCD unsigned codes.
Computer Science 101 Binary Systems. Humans Decimal Numbers (base 10) Decimal Numbers (base 10) Sign-Magnitude (-324) Sign-Magnitude (-324) Decimal Fractions.
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Introduction to Computer Engineering by Richard E. Haskell Number Systems Module M3.1 Sections
CS 151 Digital Systems Design Lecture 2 Number Systems Prof. Ahmed Sameh Room 239A.
ECE 301 – Digital Electronics Course Introduction, Number Systems, Conversion between Bases, and Basic Binary Arithmetic (Lecture #1)
ENGIN112 L2: Number Systems September 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 2 Number Systems Russell Tessier KEB 309 G.
BASICS OF COMPUTER APPLICATIONS ASB 102. UNIT 1 Introducing computer system  Number system  What is number system?  Types of number system  Their.
Computer Fluency Binary Systems. Humans Decimal Numbers (base 10) Decimal Numbers (base 10) Sign-Magnitude (-324) Sign-Magnitude (-324) Decimal Fractions.
Number Systems.
Data vs. Information OUTPUTOUTPUT Information Data PROCESSPROCESS INPUTINPUT There are 10 types of people in this world those who read binary and those.
1 Survey of Computer Science CSCI 110, Spring 2011 Lecture 16 Digital Circuits, binary Numbers.
CS105 INTRODUCTION TO COMPUTER CONCEPTS BINARY VALUES & NUMBER SYSTEMS Instructor: Cuong (Charlie) Pham.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
Numbering Systems. CSCE 1062 Outline What is a Numbering System Review of decimal numbering system Binary representation range Hexadecimal numbering system.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION.
NUMBER SYSTEM.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Business Programming I Fall – 2000 By Jim Payne Lecture 04Jim Payne - University of Tulsa2 Storage and Data.
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Chapter1: Number Systems
Converting From decimal to Binary & Hexadecimal to Binary
Number System sneha.
How Computer Represent Data
CSC 101 Introduction to Computing Lecture 8 Dr. Iftikhar Azim Niaz 1.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
1 Ethics of Computing MONT 113G, Spring 2012 Session 1 Digital Circuits, binary Numbers Course webpage:
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
NUMBER SYSTEM. Number System Number Base B => B symbols – Base 16(Hexa):0, 1,……9, A,…, E, F – Base 10 (Decimal): 0, 1, 2,……, 7, 8, 9 – Base 8(Octal):
Computer Number System
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 230 Information Representation: Positive Integers Dale Roberts,
Binary Arithmetic CPSC 101: Chp 2 John Lamertina.
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
Number Systems. ASCII – American Standard Code for Information Interchange – Standard encoding scheme used to represent characters in binary format on.
A+ Computer Repair Lesson 3: Number System. Objectives Define binary, decimal, octal, and hexadecimal numbering systems. Define binary, decimal, octal,
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
Lecture 4 Number Systems Lecturer: Sumaira Hussain.
EEE 301 : Digital ELECTRONICS Amina Hasan Abedin Senior lecturer, Dept of EEE, BRAC University.
Computer Science 210 Computer Organization
Introduction to Computing
Octal to Decimal Decimal Octal Binary Hexadecimal.
NUMBER SYSTEM Prepared by: Engr Zakria.
COMPUTER ORGANIZATION
Digital Electronics INTRODUCTION ANALOG VS DIGITAL NUMBER SYSTEMS.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Information Technology Introduction to Number System
COMPUTING FUNDAMENTALS
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
CSE 102 Introduction to Computer Engineering
Number Systems Lab session 1 Xuan Guo.
Introduction to IT By: Muhammed s. anwar.
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Computer Science 210 Computer Organization
Chapter 2: Number Systems
ECE 301 – Digital Electronics
Chapter Four Data Representation in Computers By Bezawit E.
Chapter 2 Number Systems.
Binary Addition (1 of 2) Two 1-bit values A B A + B 1
Lecture 4 Number Systems. von Neumann Model Every computer today is based on the von Neumann Model. It is based on 3 ideas: 1.Four subsystems 2.Stored.
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Information Representation
Chapter 2 Number Systems.
Number System.
Presentation transcript:

INTRODUCTION TO COMPUTING LECTURE#04

TRANSFORMING DATA INTO INFORMATION Understands only two states either On or Off  Makes different patterns of 0s and 1s Data vs Information How Computers Represent Data 2

HOW COMPUTER REPRESENT DATA Number system  Manner of Counting  Several different number systems exist To Computer everything is a number  Alphabets, numbers, punctuation marks, sound, pictures, computer instructions  For example  “Here are some words.” 3

DECIMAL NUMBERS Used by humans to count Latin word deci mean 10 Also called Base 10 Have 10 distinct digits  is a two-digit number Digits combine to make larger numbers 4

BINARY NUMBER SYSTEM Switch has two states  Off represents 0, On is 1 Latin bi means 2 Used by computers to count Two distinct digits, 0 and 1  0 and 1 combine to make numbers represent a quantity >1 it uses two (or more) digits Pattern repeats indefinitely 5

DATA REPRESENTATION A computer circuit represents the 0 or the 1 electronically by the presence or absence of an electrical charge 6

COMPARISON BASE 2 TO BASE 16 7

NUMBER CONVERSION Decimal to Binary and Binary to Decimal Decimal to Octal and Octal to Decimal Decimal to Hexadecimal and Hexadecimal to Decimal Binary to Hexadecimal Octal to Hexadecimal Hexadecimal to Binary and Octal 8

DECIMAL TO BINARY 1 9

(151) 10 = ( ) 2 10

DECIMAL TO BINARY (WITH FRACTIONS) (12.75) 10 = ( ) 2 11

BINARY TO DECIMAL 12

BINARY TO DECIMAL 13

BINARY TO DECIMAL =

BINARY TO DECIMAL = =

BINARY TO DECIMAL (WITH FRACTIONS) ( ) 2 = ( ) 10 16

EXERCISE DECIMAL TO BINARY 17

DECIMAL TO OCTAL =

DECIMAL TO OCTAL (FRACTIONS) =

OCTAL TO DECIMAL = =

EXERCISE DECIMAL TO OCTAL 21

EXERCISE OCTAL TO DECIMAL = = 22

DECIMAL TO HEXADECIMAL 23

DECIMAL TO HEXADECIMAL 24

HEXADECIMAL TO DECIMAL 25

HEXADECIMAL TO DECIMAL (ABC.123) 16 = ( ) 10 26

COMPARISON BASE 2 TO BASE 16 27

BINARY TO HEXADECIMAL 28

HEXADECIMAL TO BINARY AND OCTAL 29

OCTAL TO HEXADECIMAL 30

EXERCISE BINARY TO HEXADECIMAL ( ) 2 ( ) 2 31

EXERCISE OCTAL TO HEXADECIMAL (344) 8 (1422) 8 32

33 SUMMARY Number System Decimal Binary Octal Hexadecimal Number conversion

NUMBER SYSTEM - EXERCISE DecimalBinaryOctalHexadecimal (786) 10 ( ) 2 (1422) 8 (312) 16 (555) 10 ( ) 2 (1053) 8 (22B) 16 (228) 10 ( ) 2 (786) 8 (786) 16 (179) 10 ( ) 2 (786) 8 (786) 16 (483) 10 ( ) 2 (743) 8 (1E3) 16 (4012) 10 ( ) 2 (7643) 8 (FAC) 16 (4321) 10 ( ) 2 (10341) 8 (10E1) 16 (1853) 10 ( ) 2 (3475) 8 (73D) 16 (9526) 10 ( ) 2 (22466) 8 (2536) 16 (11605) 10 ( ) 2 (26525) 8 (2D55) 16 (48879) 10 ( ) 2 (137357) 8 (BEEF) 16 34