Data and Program Representation

Slides:



Advertisements
Similar presentations
Data Representation. Units & Prefixes Review kilo, mega, and giga are different in binary! bit (b) – binary digit Byte (B) – 8 binary digits KiloByte.
Advertisements

Vocabulary Electronic pulses Transistors Decimal numbers
Chapter 4: Representation of data in computer systems
The System Unit: Processing and Memory Chapter 2.
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 CS105. Data Representation Types of data: – Numbers – Text – Audio – Images & Graphics – Video.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Number Systems & Logic Gates Day 1
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Computer Logic Distinction between analogue and discrete processes and quantities. Conversion of analogue quantities to digital form. Using sampling techniques.
/4 Binary Code & CPUs Digital Signals
Higher Computing Data Representation.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
Bits & Bytes: How Computers Represent Data
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Chapter 2 Computer Hardware
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,
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
 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.
Fill in the blanks: (1) _________ has only two possible values 0 and 1. (2) There are __________bits in a byte. (3) 1 kilobyte of memory space can store.
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!
The Central Processing Unit: What Goes on Inside the Computer
Digital Literacy Lesson 3. The Role of Memory A computer stores data in the memory when a task is performed. Data is stored in the form of 0s and 1s.
Numerical Representation Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg 1.
Lesson 8 – Binary Numbers Computer Programming 12.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
Do it now activity Can you work out what the missing symbols are and work out the order they should be in if the table shows smallest to largest KB kilobyte.
Data Representation The storage of Text Numbers Graphics.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
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.
2.1.4 Data Representation Units.
* Numeral Systems: A writing method for expressing numbers is called a “Numeral System". In the most common numeral system, we write numbers with combinations.
ASCII AND EBCDIC CODES By : madam aisha.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
CPU and Motherboard. Why are they called Digital Computers? Code systems - Morris code ? Data and Program Representation.
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
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.
Number systems. Binary system. Bits and bytes. Modern computers “speak” in a digital language composed of 2 digits. The machine language of modern computers.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Computer basics.
INFS 211: Introduction to Information Technology
Data Representation N4/N5.
Numerical Representation
Memory Parts of a computer
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.
Intermediate 2 Computing
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Denary to Binary Numbers & Binary to Denary
Lecture 3 ISE101: Computing Fundamentals
Data Representation Numbers
Numerical Representation
Computers & Programming Languages
Summer Term Year 10 Slides
Binary Data representation
Numerical Representation
Computer Systems Nat 4.5 Computing Science Data Representation
Binary System.
Numerical Representation
Presentation transcript:

Data and Program Representation In order to be understood by a computer, data and programs need to be represented appropriately Coding systems: Digital computers: Digital data representation:

Digital Data Representation Bit: Byte = Byte terminology used to express the size of documents and other files, programs, etc. Prefixes are often used to express larger quantities of bytes: _______ (KB), ________ (MB), ______ (GB), _________ (TB), etc.

The Binary Numbering System Numbering system: A way of representing numbers Decimal numbering system Binary numbering system . In both systems, the position of the digits determines the power to which the base number (such as 10 or 2) is raised

The Binary Numbering System

Coding Systems for Text-Based Data ASCII and EBCDIC ASCII: EBCDIC:

Coding Systems for Text-Based Data Unicode: newer code Replacing ______ as the primary text-coding system

Coding Systems for Other Types of Data Graphics (still images such as photos or drawings) Bitmapped images: A variety of bit depths are possible (4, 8, 24 bits) .

Coding Systems for Other Types of Data Audio data: Often compressed when sent over the Internet . Video data: Amount of data can be substantial, but can be compressed

Representing Programs: Machine Language Early programs were written in machine language. Today’s programs still need to be translated into machine language in order to be understood by the computer Most programs are written in other programming languages Language translators are used to translate the programs into machine language

1. Another way to say “one million bytes” is Quick Quiz 1. Another way to say “one million bytes” is a. one kilobyte one gigabyte one megabyte 2. True or False: MP3 files are stored using 0s and 1s.   3. The _____________ numbering system is used by computers to perform mathematical computations.