Lecture 3 ISE101: Computing Fundamentals

Slides:



Advertisements
Similar presentations
Vocabulary Electronic pulses Transistors Decimal numbers
Advertisements

Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
1 Chapter 2 The Digital World. 2 Digital Data Representation.
©1999 Addison Wesley Longman2.1 A Bit About Bits A bit (binary digit) –is the smallest unit of information –can have two values - 1 and 0. Binary digits,
Representing Data, Pictures, Time, and Size in Computer
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Processing Data.
Binary Expression Numbers & Text CS 105 Binary Representation At the fundamental hardware level, a modern computer can only distinguish between two values,
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Binary and Decimal Numbers
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
Number Systems & Logic Gates Day 1
Representing Information in Binary (Continued)
COMPUTER FUNDAMENTALS David Samuel Bhatti
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
/4 Binary Code & CPUs Digital Signals
Memory Terminology & Data Representation CSCI 1060 Fall 2006.
Bits & Bytes: How Computers Represent Data
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Data and Program Representation
CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.
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.
Data Representation A series of eight bits is called a byte. A byte can be used to represent a number or a character. As you’ll see in the following table,
 Explain the function of ASCII code  Describe the unit of data measurement: Bit, Bait, KB, MB, GB, TB  Describe the unit of clock speed Megahertz and.
What do computers know?  All they really know is on or off.  Kind of like a light switch  Computers aren’t nearly as smart as you are!
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
Representation of Characters
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Business Programming I Fall – 2000 By Jim Payne Lecture 05Jim Payne - University of Tulsa2 Alphanumeric Storage Numbers that are not numbers? Alphabetic.
ASCII AND EBCDIC CODES By : madam aisha.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
Understanding Computers
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
CC111 Lec#2 The System Unit The System Unit: Processing and Memory Lecture 2 Binary System.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
1.4 Representation of data in computer systems Character.
Introduction to computer science Lec2 cs111. Extended Binary Coded Decimal Interchange Code (EBCDIC) is an 8- bit character encoding used mainly on.
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
Understanding binary Understanding Computers.
Computer basics.
INFS 211: Introduction to Information Technology
3.1 Denary, Binary and Hexadecimal Number Systems
CSCI 198: Lecture 4: Data Representation
Numerical Representation
Memory Parts of a computer
CSCI 161: Lecture 4: Data Representation
Bits & Bytes How Computers Represent Data
Information Support and Services
What is Binary? Binary is a two-digit (Base-2) numerical system, which computers use to process and store data. The reason computers use the binary system.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Phnom Penh International University (PPIU)
Data Encoding Characters.
TOPICS Information Representation Characters and Images
How do computers work? Storage.
Numerical Representation
Computers & Programming Languages
Information Representation
Numerical Representation
Learning Intention I will learn how computers store text.
LO1 – Understand Computer Hardware
Numerical Representation
Presentation transcript:

Lecture 3 ISE101: Computing Fundamentals Lecture Slides Courtesy of Samin Khaliq, DOC, SEECS

Today’s Lecture • Data representation - Decimal Number System - Binary Number System

Binary

Decimal Numbering System • Normally, we count things in base 10. • The only reason that people have traditionally used base 10 is that they have 10 fingers, which have made handy counting tools. • 0123456789(Total10)

Decimal Numbering System • The number 532 in decimal (base 10) is = (5 * 102) + (3 * 101) + (2 * 100) = 500 + 30 + 2 = 532

Units of measurement for digital information • We count in base 10 by powers of 10 - 101 = 10 - 102 = 10*10 = 100 - 103 = 10*10*10 = 1,000 - 106 = 1,000,000 • Computers count by base 2 - 21 = 2 - 22 = 2*2 = 4 - 23 = 2*2*2 = 8 - 210 = 1,024 - 220 = 1,048,576

Binary

Binary Numbering System • The number 101 in binary (base 2) is = (1 * 22) + (0 * 21) + (1 * 20) = 4 + + 1 = 5 • Binary to decimal

Bits and bytes Binary digits - Bits ( 0 or 1) A byte comprises of 8 bits and represents 1 character

Units of measurement for digital information Equivalent •1 kilobyte (KB) 1,024 bytes 1,048,576 bytes 1,073,741,824 bytes •1 megabyte (MB) •1 gigabyte (GB) •1 terabyte (TB) 1,099,511,627,776 bytes •1 petabyte (PB) 1,125,899,906,842,624 bytes

Data Representation • Standard text code • Letters, numbers, punctuation marks and special symbols are represented within a computer by binary coding schemes 1. EBCIDIC (Extended Binary Coded Decimal Interchange Code) 2. ASCII (American Standard Code for Information Interchange) 3. Unicode (Unicode Worldwide Character Standard) • By standardizing the values used for these characters, text codes enable computers and computer programs to exchange information.

1. EBCIDIC • 8-bit code that defines 256 symbols • Used in IBM mainframe and midrange systems • Rarely encountered in personal computers

2. ASCII • Most commonly used in computers of all types • 7 bit code that specifies characters for values from 0 to 127 • Extended ASCII - 8-bit code that specifies the characters for values from 128 to 255 - First 40 symbols represent characters from foreign languages and graphic symbols

3. Unicode • 32 bits to represent each letter, number or symbol • Can represent more than 4 billion different characters and symbols - Vast Chinese, Korean and Japanese - Classical and historical texts - Maths and scientific symbols • Compatibility with ASCII codes - First 256 codes are identical to the 256 codes of ASCII and Extended ASCII systems

ASCII Table

Printable ASCII characters • The 95 printable ASCII characters, numbered from 32 to 126 (decimal)

Summary • Computers represent data in bits • Data coding - EBCDIC - ASCII - Unicode