Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Encoding J. Holvikivi 2012.

Slides:



Advertisements
Similar presentations
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Advertisements

Text Representation within Computers CS208. The Binary Digit (Bit) One bit can encode a value set that contains two elements e.g. {black, white}, {up,
Processing Data.
Representing Information as Bit Patterns Lecture 4 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Overview Digital Systems and Computer Systems Number Systems [binary, octal and hexadecimal] Arithmetic Operations Base Conversion Decimal Codes [BCD (binary.
28-Jun-15 Number Systems. 2 Bits and bytes A bit is a single two-valued quantity: yes or no, true or false, on or off, high or low, good or bad One bit.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 12/08/03SW Abingdon and Witney College Binary Converting to and from decimal.
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
Number Systems & Logic Gates Day 1
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Information Technology in Perspective Introduction.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
Data vs. Information OUTPUTOUTPUT Information Data PROCESSPROCESS INPUTINPUT There are 10 types of people in this world those who read binary and those.
Data vs. Information OUTPUTOUTPUT Information Data PROCESSPROCESS INPUTINPUT There are 10 types of people in this world those who read binary and those.
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
Data Representation Prepared by Dr P Marais (Modified by D Burford)
CSCI 125 & 161 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.
Technology in Focus: Under the Hood
1 Inside the Computer Chapter 6 Copyright Prentice-Hall, Inc
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.
Binary Code.
1 Foundations of Computer Science Chapter 2 Data Representation.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
Number systems Jaana Holvikivi Metropolia. Result AND OR NOT Logical operations Boolean algebra Operations &&AND.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
L EARN TO C OUNT IN B INARY CALLED “M ACHINE L ANGUAGE ” T HE L ANGUAGE OF THE C OMPUTER …. Now you will become a real “bit head” or “computer nerd” 0’s.
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
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.
MECH1500 Chapter 3.
The Information School of the University of Washington 15-Oct-2004cse digital1 Digital Representation INFO/CSE 100, Spring 2005 Fluency in Information.
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,
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
CS 125 Lecture 3 Martin van Bommel. Overflow In 16-bit two’s complement, what happens if we add =
Number Systems. ASCII – American Standard Code for Information Interchange – Standard encoding scheme used to represent characters in binary format on.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
First Foray into Programming (the hard way). A reminder from last lesson: A machine code instruction has two parts:  Op-code  Operand An instruction.
THE CODING SYSTEM FOR REPRESENTING DATA IN COMPUTER.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
1 Section 1.3 Binary Number Systems Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Binary Representation in Text
Binary Representation in Text
Binary and Hard Disk PEOPLE Program
Chapter 3 - Binary Numbering System
Number Systems and Codes
Chapter 4 Inside the Computer
Binary Numbers and ASCII and EDCDIC
Information Support and Services
EPSII 59:006 Spring 2004.
Chapter 2 – Computer hardware
Representing Information as bit patterns
Data Encoding Characters.
Ch2: Data Representation
Digital Representation
Information Representation
Chapter 2 Data Representation.
How Computers Store Data
Learning Intention I will learn how computers store text.
FIGURE 1-1 Examples of Voltage Ranges and Waveforms for Binary Signals
Computer Architecture CST 250
ASCII and Unicode.
Presentation transcript:

Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Encoding J. Holvikivi 2012

Quit OUTPUTOUTPUT Information Data PROCESSPROCESS Data vs. Information INPUTINPUT

Quit 2.3 Electronic Signals Analog Digital

Quit 2.4 Binary Digits (Bits) Only 2 states possible On Off Fiber Optic Cable } Light Pulse No Light Pulse Permanently stored on CD-ROM } Pitted Not Pitted Inside the computer’s memory (RAM) } Electronic pulse present Electronic pulse absent Permanently stored on disks } Positive magnetic field Negative magnetic field } Human readable symbols On 1 Off 0

Quit Digital Digitizing Data Analog

Quit 2.6 Encoding Systems “A” is represented by this bit pattern 1 byte= 8 bits “A” is represented by this bit pattern 1 byte= 8 bits A A Encoding

Quit 2.7 ASCII Chart 7 bits Other Systems: ANSI (8 bit) Unicode (16 bit) Hexadecimal display A is 41

Quit 2.8 Encoding Systems  ASCII American Standard Code for Information Interchange  7 bit 2 7 = 128  8 bit 2 8 = 256, including control characters  ANSI, ISO Latin-1: 8 bit codes  Unicode (IBM, Microsoft, Sun)  16 bit encoding: 2 16 =   ISO four bytes   , main frame systems   keyboards, codepages

Hexadecimal notation 2 4 =16 BinaryOctalDecimalHexadecimal ABCDEF9ABCDEF

Quit 2.10 Use of hex and octal numbers  Unix access codes  Web color codes  Unicode code values  Memory addresses  Machine language

Result AND OR NOT Logical operations