M204 - Data Representation

Slides:



Advertisements
Similar presentations
Review of HTML Ch. 1.
Advertisements

1 Chapter 2 The Digital World. 2 Digital Data Representation.
Review Ch.1,Ch.4,Ch.7. Review of tags covered various header tags Img tag Style, attributes and values alt.
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 12/08/03SW Abingdon and Witney College Binary Converting to and from decimal.
Chapter 2 System Unit Components Discovering Computers 2012: Chapter
Number Systems & Logic Gates Day 1
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Faculty: Anita Kanavalli Department of CSE M S Ramaiah Institute of Technology Bangalore E mail-
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
Bits & Bytes: How Computers Represent Data
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Transforming Data into Information.
Chapter 2 Computer Hardware
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
Computer Structure & Architecture 7c - Data Representation.
Your Interactive Guide to the Digital World Discovering Computers 2012 Edited by : Noor Alhareqi.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
 Bits & Bytes Bits & Bytes  Units of data Units of data  Storage devices Storage devices  Storage Types Storage Types  Secondary Storage Secondary.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Base 2 Numbering System Chapter 1.
Technology in Action Chapter 6 Behind the Scenes: A Closer Look at System Hardware.
1 Problem Solving using Computers “Data....Representation, and Storage.
The System Unit What is the system unit? p Fig. 4-1 Next  Case that contains electronic components of the computer used to process data  Sometimes.
ASCII AND EBCDIC CODES By : madam aisha.
Representing Characters in a Computer System Representation of Data in Computer Systems.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
A+ Computer Repair Lesson 3: Number System. Objectives Define binary, decimal, octal, and hexadecimal numbering systems. Define binary, decimal, octal,
Millions of electronic pulses move through your computer every second. Computers are capable of processing thousands of functions in the time it takes.
Understanding Computers
THE CODING SYSTEM FOR REPRESENTING DATA IN COMPUTER.
Chapter 4 Components of the System. Data Representation How do computers represent data?  Recognize only two discrete states: on or off  Use a binary.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
1.4 Representation of data in computer systems Character.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Binary Representation in Text
Binary Representation in Text
Understanding binary Understanding Computers.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
Chapter 3 - Binary Numbering System
Binary Numbers and ASCII and EDCDIC
INFS 211: Introduction to Information Technology
BINARY CODE.
BITS & BYTES.
Chapter 2 – Computer hardware
Phnom Penh International University (PPIU)
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Week 3 The Components of the System Unit
Lecture 3 ISE101: Computing Fundamentals
Data Representation Question: Characters
Computers & Programming Languages
BITS & BYTES.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
How Computers Store Data
Learning Intention I will learn how computers store text.
Chapter 4: Hardware for Educators
Information Technology Department
LO1 – Understand Computer Hardware
Transforming Data into Information
ASCII and Unicode.
Presentation transcript:

M204 - Data Representation

Binary Digit Computers recognise only two discrete states : on and off. These states can be represented by two digits, 0 and 1. A computer circuit represent the 0 or the 1 electronically by present or absence of the electronic charge. Each 0 or 1 is called a bit in binary system. The binary system has a base of 2 with the two digits (0 and 1). Combinations of 0s and 1s represent larger numbers.

Bit ‘what is a bit?’ A bit is the smallest unit of data that the computer can process. A bit is represented by the numbers 1 and 0. These numbers represent the binary system. They correspond to the states of On and Off, True and False or Yes and No. All digital data use the binary system to process the information. These information includes letter, digit or special character.

Byte Byte is a unit of information built from bits. One byte is equals to 8 bits. One byte represents a single character such as the number 3, letter b or a $ symbol. Bits and bytes are the basis for representing all meaningful information and programs on computers.

Character 8 bits group together as a unit are called a byte. A byte represents a single character such as a letter A, a digit 7 or a special character (+ , - ). For example, the capital letter F is represented by binary code 01000110 that can be understood by the computer system. Number 9 is represented by binary code 00111001.

Character Codes There are 3 character codes to represent characters which are ASCII, EBCDIC and Unicode. Each byte contains eight bits. A byte provides enough different combination of 0s and 1s to represent 256 characters. The combinations of 0s and 1s are defined by patterns. These patterns are called coding scheme.

The 256 character capability of ASCII and EBCDIC is too small to handle the characters that are used by other language such as Arabic, Japanese and Chinese. The Unicode coding scheme is designed to solve this problem. It uses two bytes (16 bits) to represent one character. Unicode will have more than 65,000 different characters. This can cover all the world’s languages.

M205 - Introduction to Binary Coding

Communication Codes In the early days, people use to communicate by sending and receiving codes that represent meaningful information over long distances. Smoke signals, morse code and semaphore are some of the examples of communication codes used. In the information digital era, people send information via electronic devices such as through the computers.

‘What are the code use by the computers to send and received information?’ Computers use binary codes to communicate. One of the widely used binary code is the American Standard Code for Information Interchange (ASCII).

In 1963, the American National Standards Institute (ANSI) introduces ASCII. ASCII was original known as American Standard Code for Information Interchange.

What is ASCII? ASCII pronounced as ‘ask-key’ stands for the American Standard Code for Information Interchange and was proposed by USA in 1963 and was finalised in 1968. ASCII is a standard of 7-bit code used to represent character, which include letters, numbers and punctuation marks.

Function of ASCII Standard such as ASCII was established to achieve compatibility between various types of data processing equipment making it possible for the components to communicate with each other successfully.

By following these standards, manufacturers can produce components that are assured to operate correctly in a computer. ASCII makes it possible for humans to interact with a computer. It also enables users to purchase components that are compatible with their computer configurations.

How ASCII works in a computer system ‘How is a character converted to ASCII binary code?’ When you press a key, for example the letter D on your keyboard, the electronic signal is sent to the CPU for the computer to process and stores in memory.

Every character is converted to its corresponding binary form Every character is converted to its corresponding binary form. In this example, the letter D is converted to 01000100. The computer then processes the letter as a byte, which actually is a series of on or off eletrical states. When the computer has finished processing the byte, the software installed in the system converts the byte back to the letter D, which is then displayed on a screen.

THE END M204 – M205