CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.

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

Information Representation
The Binary Numbering Systems
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
Binary Representation Introduction to Computer Science and Programming I Chris Schmidt.
Data Representation COE 205
Connecting with Computer Science, 2e
CSE 305 Introduction to Programming Languages
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
March 2006Taner Erig - EMU2-1 Metamorphosis of Information How is information represented and how do computers store information?
CSE 116 Introduction to Computer Science For Majors II Carl Alphonce 219 Bell Hall.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
Data Storage. SIGN AND MAGNITUDE Storing and representing numbers.
Connecting with Computer Science 2 Objectives Learn why numbering systems are important to understand Refresh your knowledge of powers of numbers Learn.
Digital Colour Theory. What is colour theory? It is the theory behind colour mixing and colour combination.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
Working with text ASCII and UNICODE.   
CMYK vs. RGB Design. Primary colors The colors that make up the base for every other color created. Depending on whether you are looking at it from science,
Logic Gates II Informatics INFO I101 February 5, 2003 John C. Paolillo, Instructor.
07: Color in Interactive Digital Media
Digital Terminology. Bitmap A representation consisting of rows and columns of dots of a graphic image stored in computer memory. To display a bitmap.
Too much information running through my brain.. We live in the information age. Knowledge comes from careful investigation of information. Information.
CSE115 / CSE503 Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall 1.
Information and Programs. Foundations of Computing Information –Binary numbers –Integers and Floating Point –Booleans (True, False) –Characters –Variables.
Lec 3: Data Representation Computer Organization & Assembly Language Programming.
What are the five colors in the legend? Enter the information below (5 points) 0000FF = = FFFFFF = 00FF00 = FF0000 = Color Theory Legend: income.
Color and Resolution Introduction to Digital Imaging.
Digital Media Lecture 4.1: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall
1 COMS 161 Introduction to Computing Title: The Digital Domain Date: September 6, 2004 Lecture Number: 6.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
Lecture 24: Color Announcements & Review Lab 7 Due Thursday 2 D arrays - embedding graphs in an array Computer Science Artifacts Abstraction Representations.
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
Computer Science and Software Engineering© 2014 Project Lead The Way, Inc. Bits and Bytes.
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,
Representing Sound and Image. Representing images One mean of representing an image it to interpret the image as a collection of dots, each is called.
Digital Media Lecture 4.2: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Information in Computers. Remember Computers Execute algorithms Need to be told what to do And to whom to do it.
Advanced Binary b. describe and use two’s complement and sign and magnitude to represent negative integers; c. perform integer binary arithmetic, that.
Images Data Representation.
Lec 3: Data Representation
Digital Media Lecture 4.1: Image Encoding Practice
EPSII 59:006 Spring 2004.
CSE 113 A January 12 – 16, 2009.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
Digital Encodings.
How Computers Store Data
Trees Addenda.
January 12 – 16, 2009 CSE 113 B.
Computer Systems Nat 4.5 Computing Science Data Representation
Basic Concepts of Digital Imaging
Presentation transcript:

CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1

Announcements If this is your first class, pick up a syllabus. Recitations begin next week Make your name signs Cell phones off! 2

Today’s lessons Information encoding/decoding Examples –digital photos –mp3s –morse code –binary numbers Bit strings 3

Images 4 Each pixel encodes the amount of RED, GREEN and BLUE (RGB). This is an additive color scheme. Printing uses CYAN, MAGENTA, YELLOW and BLACK (CMYK). This is a subtractive color scheme.

Morse Code Dots, dashes and spaces used to represent letters/digits /morse2mid.phphttp:// /morse2mid.php Two features: –variable length encodings –not a prefix code 5

6 Spaces of different lengths is needed to decode unambiguously. Without spaces, how many ways can six dots in a row be decoded?

7 5 five cinq

Counting Decimal (base 10) etc. Binary (base 2) etc. 8

Bit string A ‘0’ or ‘1’ is a binary digit, or a bit. A sequence of bits is called a bit string. For example: –1101 is a bit string 9

Number systems Decimal (base 10) Each position is weighted by a power of 10. E.g. 734 = –7* *10 + 4*1 –7* * *10 0 E.g = –1* * *10 + 1*1 –1* * * *10 0 Binary (base 2) Each position is weighted by a power of 2. E.g. 111 = –1*4 + 1*2 + 1*1 = “seven” –1* * *2 0 E.g = –1*8 + 1*4 + 0*2 + 1*1 = “thirteen” –1* * * *2 0 10

Interpretation QUESTION: –What does the bit string 1101 represent? 11

Interpretation QUESTION: –What does the bit string 1101 represent? ANSWER: –Whatever we want it to represent! 12

Representations Binary (non-negative numbers) Two’s complement (integers) IEEE 754 (approx. floating point numbers) ASCII / EBCDIC / Unicode (characters) etc. 13

Questions? 14