How Computer Represent Data

Slides:



Advertisements
Similar presentations
FIGURE 17-1 Binary-to-decimal conversion. Dale R. Patrick Electricity and Electronics: A Survey, 5e Copyright ©2002 by Pearson Education, Inc. Upper Saddle.
Advertisements

Appendix 1 Number Systems Objectives: Review of number systems and radix conversion methods Review of binary, octal, hexadecimal and BCD unsigned codes.
ECE 2373 Modern Digital System Design Exam 2. ECE 2372 Exam 2 Thursday March 5 You may use two 8 ½” x 11” pages of information, front and back, write.
Digital Electronics Dan Simon Cleveland State University ESC 120 Revised December 30, 2010.
University College Cork IRELAND Number Systems, Data Types, Codes Logic Gates: An Introduction.
Number Systems & Logic Gates Day 2. Octal Number System Base (Radix)8 Digits0, 1, 2, 3, 4, 5, 6, 7 e.g = =648 1 =88 0 =1 The digit.
Computer Fluency Binary Systems. Humans Decimal Numbers (base 10) Decimal Numbers (base 10) Sign-Magnitude (-324) Sign-Magnitude (-324) Decimal Fractions.
1 Survey of Computer Science CSCI 110, Spring 2011 Lecture 16 Digital Circuits, binary Numbers.
ES 244: Digital Logic Design Chapter 1 Chapter 1: Introduction Uchechukwu Ofoegbu Temple University.
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
CS101 Introduction to Computing Lecture 8 Binary Numbers & Logic Operations.
LOGIC GATES Logic generally has only 2 states, ON or OFF, represented by 1 or 0. Logic gates react to inputs in certain ways. Symbol for AND gate INPUT.
©zaher elsir Sudan Academy for Banking & Financial Sciences Decimal Number System Base (Radix)10 Digits0, 1, 2, 3, 4, 5, 6, 7, 8, 9 e.g The magnitude.
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
Fundamentals of IT UNIT-I OnlyforIPMCA. DIGITAL SIGNALS & LOGIC GATES Signals and data are classified as analog or digital. Analog refers to something.
Compsci Today’s topics l Binary Numbers  Brookshear l Slides from Prof. Marti Hearst of UC Berkeley SIMS l Upcoming  Networks Interactive.
NUMBER SYSTEM.
INTRODUCTION TO COMPUTING LECTURE#04. TRANSFORMING DATA INTO INFORMATION Understands only two states either On or Off  Makes different patterns of 0s.
1 DLD Lecture 18 Recap. 2 Recap °Number System/Inter-conversion, Complements °Boolean Algebra °More Logic Functions: NAND, NOR, XOR °Minimization with.
Binary Number System & Logic Operations. The focus of the last lecture was on the microprocessor During that lecture we learnt about the function of the.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Compsci Today’s topics l Binary Numbers  Brookshear l Slides from Prof. Marti Hearst of UC Berkeley SIMS l Upcoming  Networks Interactive.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
4. Electrons and electronics 4.5 Digital electronics.
Gates and Logic Dr John Cowell phones off (please)
التحليل والتصميم المنطقي DIGITAL DESIGN Instructor : Khalil Alsulbi Mobile : Room : 217.
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
Digital Logic & Design Dr. Waseem Ikram Lecture 01
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
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,
CMP 100 Introduction to Computing Lecture Binary Numbers & Logic Operations.
1 Ethics of Computing MONT 113G, Spring 2012 Session 1 Digital Circuits, binary Numbers Course webpage:
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Logic Design EE-2121 Manesh T. Digital Systems  Introduction  Binary Quantities and Variables  Logic Gates  Boolean Algebra  Combinational Logic.
1 Ethics of Computing MONT 113G, Spring 2012 Session 4 Binary Addition.
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.
Lecture No. 2 Computer Logic Design. Binary Digits The two state number system is called binary. Its two digits are 0 and 1 A binary digit is called a.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
1 Digital Logic Design (41-135) Chapter 5 Number Representation & Arithmetic Circuits Younglok Kim Dept. of Electrical Engineering Sogang University Spring.
Some basic concepts underlying computer archi­tecture
DAT10403 CHAPTER 4 COMPUTER ARITHMETIC By Noordiana Kassim
Chapter 3 - Binary Numbering System
Transistors and Logic Circuits
EKT 124 / 3 DIGITAL ELEKTRONIC 1
COMPUTER ORGANIZATION
DIGITAL LOGIC CIRCUITS
Introduction Molecules: made up of atoms of individual elements.
CSE 102 Introduction to Computer Engineering
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Basic Digital Logic Basic Gates
Fundamentals & Ethics of Information Systems IS 201
University of Gujrat Department of Computer Science
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
Schematics 201 Lecture Topic: Electrical Symbols
Number Systems Decimal (base 10) { }
Digital Logic & Design Lecture 05
For OCR GCSE Computing Unit 1 - Theory
Waveforms & Timing Diagrams
Logic Gates.
JC Technology Logic Gates.
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
Logic Gates.
Basic Logic Operations
Number System.
Presentation transcript:

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.”

Decimal Numbers Used by humans to count Latin word deci mean 10 Also called Base 10 Have 10 distinct digits 0 1 2 3 4 5 6 7 8 9 10 is a two-digit number Digits combine to make larger numbers

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

Data Representation A computer circuit represents the 0 or the 1 electronically by the presence or absence of an electrical charge

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

Decimal To Binary 1

Decimal To Binary (151)10 = (10010111)2 (113)10 = 11100012

Binary to Decimal

Binary to Decimal

Binary to Decimal 111001111012 = 185310 110110102 = 21810

Exercise Decimal to Binary

Decimal to Octal 432110 = 103418

Octal to Decimal

Octal to Decimal

Exercise Decimal to Octal

Octal to Decimal/Decimal to Octal 7438 = 48310 265258 = 1160510 185310 = 34758

Binary to Hexadecimal

Hexadecimal to Binary

Hexadecimal to Decimal

Decimal to Hexadecimal

Decimal to Hexadecimal

Binary to Hexadecimal

Hexadecimal to Binary and Octal

Octal to Hexadecimal

Binary to Hexadecimal (10110101010101)2 (1100010010)2

Octal to Hexadecimal (344)8 (1422)8

Complement of a Number

Complement of a Decimal Number

Complement of a Octal Number

Complement of a Binary Number

Logic Gates

AND Gate: Block Diagram and Truth Table

OR Gate: Block Diagram and Truth Table

NOT Gate: Block Diagram and Truth Table

NAND Gate: Block Diagram and Truth Table

NOR Gate: Block Diagram and Truth Table

XOR Gate: Block Diagram and Truth Table

Number System - Assignment Decimal Binary Octal Hexadecimal (786)10 (555)10 (228)10 (10110011)2 (111100011)2 (111110101100)2 (10341)8 (3475)8 (22466)8 (2D55)16 (BEEF)16