CSE 111 Information Representation in the Digital World.

Slides:



Advertisements
Similar presentations
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
Advertisements

Number Systems and Codes
© 2004, Robert K. Moniot Binary and Hex How to count like a computer.
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Processing Data.
Digital Circuit Why Digital Circuit? – Digital signals ( 0 and 1) are very easy to handle with electronic circuits only 2 states needed: Switch ON or OFF,
Digital Circuit Why Digital Circuit? – Digital signals ( 0 and 1) are very easy to handle with electronic circuits only 2 states needed: Switch ON or OFF,
DIGITAL ELECTRONICS CIRCUIT P.K.NAYAK P.K.NAYAK ASST. PROFESSOR SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 12/08/03SW Abingdon and Witney College Binary Converting to and from decimal.
Teaching Computing at KS3 Session 2 Sue Sentance and Sophie Baker
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Analog & Digital Signals Analog to Digital Conversion (ADC)
CSC212 – Computer Organization and Design
Chapter 2 Computer Hardware
Foundations of Computer Science Computing …it is all about Data Representation, Storage, Processing, and Communication of Data 10/4/20151CS 112 – Foundations.
Personal Computer Adapted by Dr. Semmes from Mrs. Jungman’s Hardware Presentation and Mrs. Belisle’s Class Notes.
Binary Code.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
Information Representation. Digital Hardware Systems Digital Systems Digital vs. Analog Waveforms Analog: values vary over a broad range continuously.
1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Number Systems and Codes
Chapter 1: Digital Computers and Information Illustration at beginning of each Chapter Base 10 Binary Base 2 Octal Base 8 Hex bas
Storing and Organizing Data. Why Do I Need to Understand How Data Is Represented? In order to install, program,maintain, and troubleshoot today’s PLCs,
Representing Information Digitally (Number systems) Nell Dale & John Lewis (adapted by Erin Chambers, Michael Goldwasser, Andrew Harrington)
©Contrinex JDC PPT_XF_BinHexDecASCII Encoding information J.-D. Chatelain.
Bits & Bytes A bit is the smallest amount of memory used to store information. A bit is represented by either a “0” or a “1”. “Bit” is a contraction of.
4. Electrons and electronics 4.5 Digital electronics.
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.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
Computer Hardware Basic Computer Concepts Data Representation and Digital Electronics  Data Representation  makes it possible to convert letters, sounds,
Digital Systems and Binary Numbers
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.
Technology in Action Chapter 6 Behind the Scenes: A Closer Look at System Hardware.
Introduction to Number Representation A451 GCSE Computing.
{ Binary “There are 10 types of people in the world: Those who understand binary, and those who don't.”
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.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Number Systems. ASCII – American Standard Code for Information Interchange – Standard encoding scheme used to represent characters in binary format on.
Data Representation Lesson 2 Binary KS3 COMPUTING KS3 Computing
Number Systems and Codes
ME 142 Engineering Computation I
Digital Electronics INTRODUCTION ANALOG VS DIGITAL NUMBER SYSTEMS.
Digital Systems and Binary Numbers
BINARY CODE.
Digital Systems and Binary Numbers
Representation of data in computer systems
Chapter 2 – Computer hardware
RFID - EN Encoding information Encoding information J.-D. Chatelain.
Fundamentals & Ethics of Information Systems IS 201
Digital Systems: Introductory Concepts
Number Systems and Codes
Analogue to Digital Conversion
Some Information Instructor Details Main Book. Some Information Instructor Details Main Book.
Binary Lesson 3 Hexadecimal
Binary Numbers? Foley SED 514 Section /2/2019.
Introduction to Basic Digital Logic
Binary Lesson 2 Bytes.
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Data Binary Conversion.
Binary Lesson 2 Bytes.
Binary “There are 10 types of people in the world: Those who understand binary, and those who don't.”
Binary Lesson 3 Hexadecimal
Data Representation and Organization
Chapter Four Data Representation in Computers By Bezawit E.
The basics of any electronic device means either electricity is flowing or it is not i.e. a switch is either on or off Computers are electronic devices.
Binary Lesson 4 Hexadecimal and Binary Practice
Number System.
Presentation transcript:

CSE 111 Information Representation in the Digital World

Analog vs. Digital Faucet Example  Consider a faucet  Digital  Water can be flowing or NOT flowing from the faucet Two States  On  Off  Analog  How much water is flowing from the faucet? How many different answers can there be to this question?

Analog vs. Digital Faucet Example  Advantages of Digital  Replication Analog  Try replicating the exact flow from a faucet Digital  Try replicating ON or OFF

Analog vs. Digital Advantages of Digital Circuits  Replication  Error Correction/Detection Small errors don’t propagate  Miniturization of Circuits  Programmability Digital computers are programmable

The Digital System Two discrete values are used in digital systems. How are discrete elements represented?  Signals are the physical quantities used to represent discrete elements of information in a digital system.  Electric signals used:  Voltage  Current

The Digital System Representation of Binary Values

The Digital System Representation of Binary Values  Why are there voltage ranges instead of exact voltages?  Variations in circuit behavior & noise

The Binary System Why use binary?  Natural Choice  A switch can be ‘on’ or ‘off’  Two states Binary has two symbols, 1 and 0  A transistor is an automated, electrically controlled switch

The Bit The smallest unit that can represent information Binary Digit Two possible values  1, 0  On, Off  True, False  High, Low  Heads, Tails  Black, White

How many bits does it take?  One bit can represent two numbers (0, 1)  2 1 = 2  Two bits can represent four numbers (00, 01, 10, 11)  2 2 = 4  Three bits can represent eight numbers (000, 001, 010, 011, 100, 101, 110, 111)  2 3 = 8  Four bits can represent how many numbers?  2 4 = 16  Ten bits can represent how many numbers?  2 10 =1,024  64 bits can represent how many numbers?  2 64 =18,446,744,073,709,551,616  Note the importance of the math!  You’re NOT going to enumerate all possible combinations and count them to answer this question!

Bits & Bytes Nibble  4 bits  Older term, not widely used today Byte  8 bits Word  The number of bits a microprocessor can process at a single time  Most of today’s processor have a 32-bit word size  64-bit is quickly becoming the norm

Data Representation Bits are grouped to represent both data and instructions in a digital system Coding Techniques  Defines how bits are grouped together to represent information  Types  Numeric  Character  Error Detection/Correction

References Donald D. Givone, Digital Principles and Design, McGraw-Hill, 2003