1 Section 1.3 Binary Number Systems Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.

Slides:



Advertisements
Similar presentations
Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
Advertisements

Fundamentals of Java: AP Computer Science Essentials, 4th Edition
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, Java Version, Third Edition.
Connecting with Computer Science, 2e
Representing Information as Bit Patterns
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Fourth Edition.
Chapter 1 Background Fundamentals of Java.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
Bits and Bytes.
Connecting with Computer Science 2 Objectives Learn why numbering systems are important to understand Refresh your knowledge of powers of numbers Learn.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Fundamentals of Java: AP Computer Science Essentials, 4th Edition
Fundamentals of Java Text by: Lambert and Osborne.
©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,
Computers and Scientific Thinking David Reed, Creighton University Data Representation 1.
Chapter 2 Data and Number Representations
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Discovering Computers Fundamentals, 2010 Edition Living in a Digital World Chapter Three.
D ATA REPRESENTATION, BINARY SYSTEM, B IT, B YTE, ASCII C ODE Chapter 3 Mr.Mohammed Rahmath.
1 Foundations of Computer Science Chapter 2 Data Representation.
Chapter 03 Data Representation. 2 Chapter Goals Distinguish between analog and digital information Explain data compression and calculate compression.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 1: Data Storage.
Logical Circuit Design Week 2,3: Fundamental Concepts in Computer Science, Binary Logic, Number Systems Mentor Hamiti, MSc Office: ,
Quiz # 1 Chapters 1,2, & 3.
Chapter 2 Data Representation.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
CS 111 – Sept. 3 More data representation Review hex notation Text –ASCII and Unicode Sound and images Commitment: –For Wednesday: Please read pp
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
Digital Imaging Fundamentals Ms. Hema C.R. School of Mechatronic Engineering.
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.
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
CSCI-100 Introduction to Computing Hardware Part II.
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.
Computer Science I Storing data. Binary numbers. Classwork/homework: Catch up. Do analysis of image types.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
CPSC 171 Introduction to Computer Science Binary.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
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,
Chapter 3: Data Representation Chapter 3 Data Representation Page 17 Computers use bits to represent all types of data, including text, numerical values,
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Digital logic COMP214  Lecture 1 Dr. Sarah M.Eljack Chapter 1 1.
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Encoding J. Holvikivi 2012.
Computer Science: An Overview Eleventh Edition
Invitation to Computer Science, C++ Version, Fourth Edition
Everything is a number Everything in a computer memory and on storages is a number. Number  Number Characters  Number by ASCII code Sounds  Number.
EPSII 59:006 Spring 2004.
Representing Nonnumeric Data
Invitation to Computer Science, Java Version, Third Edition
Ch2: Data Representation
1. Explain how ASCII is used to represent text in a computer system
The Building Blocks: Binary Numbers, Boolean Logic, and Gates
Digital Representation
Chapter 2 Data Representation.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
How Computers Store Data
Data Representation Chapter 2 Computer HW (Von Neumann Model) Program
Option: Data Representation
Option: Data Representation
Presentation transcript:

1 Section 1.3 Binary Number Systems Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne

Chapter Binary Representation of Information and Computer Memory Computer memory stores patterns of electronic signals. The patterns are strings of binary digits or bits. Computers use binary (base 2) notation. – Two bases: On/Off – Computer scientists also use bases octal (8) and hexadecimal (16).

Chapter Binary Representation of Information and Computer Memory (continued) Floating-Point numbers – Fractions – Use mantissa/exponent notation Characters and Strings – ASCII, represents patterns as bytes Java uses Unicode – Patterns of 16 bits from to

Chapter Binary Representation of Information and Computer Memory (continued) Sound is analog data. – Analog information has a continuous range of infinite values. – Sampling reads the waveform at intervals. – Memory requirements for sound are higher than text. Images – Sampling measures color values as pixels in a two- dimensional grid. – Grayscale, black-and-white, RGB, true-color

Chapter Binary Representation of Information and Computer Memory (continued) Video – Video includes a soundtrack and a set of images called frames. – Data compression is difficult. Program instructions – A sequence of bits in RAM Computer Memory – A gigantic sequence of bytes, each with an address.

Chapter 1 6