Data Usually computing systems are complex devices, dealing with a vast array of information categories.

Slides:



Advertisements
Similar presentations
Binary Expression Numbers & Text CS 105 Binary Representation At the fundamental hardware level, a modern computer can only distinguish between two values,
Advertisements

Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Number Systems & Logic Gates Day 1
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
ENEL 111 Digital Electronics Richard Nelson G.1.29
COMPUTER FUNDAMENTALS David Samuel Bhatti
ITEC 1011 Introduction to Information Technologies 2. Data Formats Chapt. 3.
Chapter 1 Number Systems and Codes 1. Outline 1. NUMBER SYSTEMS AND CODES 2. DIGITAL ELECTRONIC SIGNALS AND SWITCHES 3. BASIC LOGIC GATES 4. PROGRAMMABLE.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Data Handling Topic 1. Data Data is the raw material entered into a computer system. This raw material could be text, numbers, graphics, audio, animation.
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
Numbers and Number Systems
Bits & Bytes: How Computers Represent Data
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
IT-101 Section 001 Lecture #3 Introduction to Information Technology.
1 Digital Technology and Computer Fundamentals Chapter 1 Data Representation and Numbering Systems.
Computer Math CPS120: Data Representation. Representing Data The computer knows the type of data stored in a particular location from the context in which.
IT253: Computer Organization
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 2 Number.
Number Systems Spring Semester 2013Programming and Data Structure1.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
Chapter 03 Data Representation. 2 Chapter Goals Distinguish between analog and digital information Explain data compression and calculate compression.
Information Representation. Digital Hardware Systems Digital Systems Digital vs. Analog Waveforms Analog: values vary over a broad range continuously.
Logical Circuit Design Week 2,3: Fundamental Concepts in Computer Science, Binary Logic, Number Systems Mentor Hamiti, MSc Office: ,
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Chapter 1: Digital Computers and Information Illustration at beginning of each Chapter Base 10 Binary Base 2 Octal Base 8 Hex bas
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
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.
1 Data Representation Characters, Integers and Real Numbers Binary Number System Octal Number System Hexadecimal Number System Powered by DeSiaMore.
Introduction to Digital Media. What is it? Digital media is what computers use to; Store, transmit, receive and manipulate data Raw data are numbers,
Computer Hardware Basic Computer Concepts Data Representation and Digital Electronics  Data Representation  makes it possible to convert letters, sounds,
Data Representation Conversion 24/04/2017.
EEL 3801C EEL 3801 Part I Computing Basics. EEL 3801C Data Representation Digital computers are binary in nature. They operate only on 0’s and 1’s. Everything.
Data Representation, Number Systems and Base Conversions
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Data as the computer sees it 1.  Number systems Number systems  Data storage Data storage  Glossary Glossary 2.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Orange Coast College Business Division Computer Science Department CS 116- Computer Architecture Logic Design: Part 1.
Chapter 1 Number Systems Digital Electronics. Topics discussed in last lecture Digital systems Advantages of using digital signals over analog. Disadvantages.
CPEN Digital Logic Design Binary Systems Spring 2004 C. Gerousis © Digital Design 3 rd Ed., Mano Prentice Hall.
Data Representation. How is data stored on a computer? Registers, main memory, etc. consists of grids of transistors Transistors are in one of two states,
ABFC... Home page Introduction Binary number system Hexadecimal number system Binary coded decimal Objectives Octal number system Click.
2. Data Formats. Introduction Examples pp Real World Data Computer Data Input device Dear Mom: Keyboard … Digital camera …
CS151 Introduction to Digital Design Chapter 1: Digital Systems and Information Lecture 2 1Created by: Ms.Amany AlSaleh.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
CHAPTER 3 BINARY NUMBER SYSTEM. Computers are electronic machines which operate using binary logic. These devices use two different values to represent.
DATA Unit 2 Topic 2. Different Types of Data ASCII code: ASCII - The American Standard Code for Information Interchange is a standard seven-bit code that.
Binary Representation in Text
Programming and Data Structure
Number Systems and Codes
Number Representation
ENEL 111 Digital Electronics
CHAPTER 1 : INTRODUCTION
Bits & Bytes How Computers Represent Data
Digital Electronics Jess 2008.
Phnom Penh International University (PPIU)
CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS
Number Systems and Codes
Ch2: Data Representation
Numbering System TODAY AND TOMORROW 11th Edition
Data Representation Conversion 05/12/2018.
2. Data Formats Chapt. 3.
Chapter Four Data Representation in Computers By Bezawit E.
Computer Architecture CST 250
Chapter 3 - Binary Numbering System
ENEL 111 Digital Electronics
Presentation transcript:

Data Usually computing systems are complex devices, dealing with a vast array of information categories

Computing Systems Data Computing systems store, present, and help us modify: Text Audio Images and graphics Video

Digital vs. Analog Computing systems are finite machines. They store an limited amount of information, even if the limit is very big. The information can be represented in one or two ways: analog or digital.

Digital vs. Analog (1) Analog data is a continuous representation A mercury thermometer is an analog device Digital data is a discrete representation, breaking the information up into separate (discrete) elements Computers can’t work with analog information, so a need do digitize the analog information arise

Why digital signals? Electronic signals (analog and digital) degrade as they propagate. The strength of the signal fluctuates due to environmental effects. Analog signals lose information. Since any voltage level within the range is valid, it is impossible to know that the original signal was even changed A digital signal can degrade quite a bit until the information is lost, because any value over a certain threshold is considered high value and below the threshold is considered a low value

Digital vs. Analog (3) You can still retrieve the information from a reasonably degraded digital signal Periodically a digital signal is reclocked to regain its original shape. As long as it is reclocked before too much degradation, no info is lost.

Count like a computer “There are 10 types of people – those who understand binary, and those who don’t.”

Digital Hardware Systems Digital Binary System Two discrete values: yes, on, non-zero volts, current flowing, "1" no, off, 0 volts, no current flowing, "0” Advantage of binary systems: rigorous mathematical foundation based on logic it’s easy to implement

Binary Representation (1) Why binary representation (as suppose to decimal or octal, etc..)? Because the devices that store and manage the digital data are far less expensive and complex for binary representation. They are also far more reliable when they have to represent one out of two possible values. Because the electronic signals are easier to maintain if they carry only binary data.

Binary Representation (2) One bit can be either 0 or 1. Therefore, one bit can represent only two things. To represent more than two things, we need multiple bits. Two bits can represent four things because there are four combinations of 0 and 1 that can be made from two bits: 00, 01, 10,11. In general, n bits can represent 2^n things because there are 2^n combinations of 0 and 1 that can be made from n bits. Note that every time we increase the number of bits by 1, we double the number of things we can represent.

Binary Bit and Group Definitions Bit - a single binary digit Nibble - a group of four bits Byte - a group of eight bits Word - depends on processor; 8, 16, 32, 64 or more bits LSB - Least Significant Bit (on the right) MSB - Most Significant Bit (on the left)

Binary Number System Just like decimal numbers except The only valid digits are 0 and 1 The base is 2 instead of 10 Binary to decimal conversion is just the explicit expression of the positional values, 1 0 1 1 x 20 = 1 0 x 21 = 0 1 x 22 = 4 Total = 5

Octal & Hexadecimal Number Systems Systems with different radix and digits Octal: Radix = 8 Digits = 0,1,2,3,4,5,6,7 Hexadecimal: Radix = 16 Digits = 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Primary advantage of both is it’s easy to convert to/from binary

Data Formats - How to Interpret Data Internal representation must be appropriate for type of processing taking place: i.e. Images & sound: have to be digitized Images – need detailed description of the data, how colour is represented at each data point Sound – need sampling rate Proprietary formats are unique to a product or company, e.g., PDF, FLA, H.264

Data Formats - How to Interpret Data

Why Standards? Standards evolve two ways: They exist because they are: Proprietary formats become de facto standards (e.g., Adobe PostScript, Apple Quick Time) Committee is struck to solve a problem (Motion Pictures Experts Group, MPEG) They exist because they are: Convenient – sometimes time to market is very important whenever trying to finish a product. Existing standards may be used to save time. Efficient – most of the standards are put together by committees of experienced engineers and designers

Why Standards? Flexible – often allow for extensions Appropriate – solve specific problem Interoperability of data Interoperability of hardware and software But sometimes standards are arbitrary and have some content derived from “accidents of history”

Standards Organizations ISO – International Standards Organization CSA – Canadian Standards Association ANSI – American National Standards Institute IEEE – Institute for Electrical and Electronics Engineers

Examples of Standards Type of Data Standards Alphanumeric ASCII, Unicode Image JPEG, PNG, PCX, TIFF, etc Motion picture MPEG-2, MPEG-4, etc Sound WAV, MP3, AAC, FLAC, etc.. Outline graphics/fonts PostScript, TrueType, PDF

Alphanumeric Data Three standards for representing letters (alpha) and numbers ASCII – American Standard Code for Information Interchange (old) EBCDIC – Extended Binary-Coded Decimal Interchange Code (very old - not used anymore, was used in IBM mainframes) Unicode

Codes and Characters The problem: Representing text strings, such as “Hello, world”, in a computer Each character is coded as a byte ( = 8 bits) Most common coding system was ASCII Defined in ANSI document X3.4-1977

“Hello, world” Example = Binary 01001000 01100101 01101100 01101111 00101100 00100000 01110111 01100111 01110010 01100100 Hexadecimal 48 65 6C 6F 2C 20 77 67 72 64 Decimal 101 108 111 44 32 119 103 114 100 H e l o , w r d Note: 12 characters – requires 12 bytes Each character requires 1 byte

Unicode (1) The extended version of the ASCII character set is not enough for international use. The Unicode character set uses 16 bits per character. Therefore, the Unicode character set can represent 2^16, or over 65 thousand, characters. Unicode was designed to be a superset of ASCII. That is, the first 256 characters in the Unicode character set correspond exactly to the extended ASCII character set.

Unicode (2) Version 2.1, 1998 Improves on version 2.0 Includes the Euro sign (U+20AC = “€” = “EURO SIGN”) From the standard: …contains 38,887 distinct coded characters derived from the supported scripts. These characters cover the principal written languages of the Americas, Europe, the Middle East, Africa, India, Asia, and Pacifica. The 2012 update of Unicode was 6.2 (see http://www.unicode.org for current version)