Data Representation Characters & Floating Point Numbers

Slides:



Advertisements
Similar presentations
1 DATA ABSTRACTION: USER DEFINED TYPES AND THE CLASS.
Advertisements

Major Numeric Data Types Unsigned Integers Signed Integer Alphanumeric Data – ASCII & UNICODE Floating Point Numbers.
J. Michael Moore Computer Organization CSCE 110. J. Michael Moore High Level View Of A Computer ProcessorInputOutput Memory Storage.
Topic 6A – The char Data Type. CISC 105 – Topic 6A Characters are Numbers The char data type is really just a small (8 bit) number. As such, each symbol.
Expression. Arithmetic Operators +, -, *, /, ^, ( ) Evaluating an expression –Examples: – * 3 3 – 4 / 2 8 / 4 * 2 2 * 3 ^ 2 (2 * 3) + 2.
Data Representation Kieran Mathieson. Outline Digital constraints Data types Integer Real Character Boolean Memory address.
J. Michael Moore Object Oriented Programming: An Introduction CSCE 110.
Music Power Homepage Downloads Top charts Contact us About us Linked webs Video’s Games!
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
Binary Representation. Binary Representation for Numbers Assume 4-bit numbers 5 as an integer  as an integer  How? 5.0 as a real number  How?
Agenda Data Representation – Characters Encoding Schemes ASCII
Data Representation Prepared by Dr P Marais (Modified by D Burford)
It is pronounced ‘askee’
Working with text ASCII and UNICODE.   
Computer Math CPS120: Data Representation. Representing Data The computer knows the type of data stored in a particular location from the context in which.
Binary, Decimal and Hexadecimal Numbers Svetlin Nakov Telerik Corporation
Number Representations What all the numbers can mean.
More Binary How does a computer represent everything using just zeros and ones?
Data Files on Computers Text Files (ASCII) Files that can be created by typing on the keyboard while using a text editor such as notepad or TextEdit.
Text and Advanced HTML. Review - Basic data Numbers Characters (ASCII & UNICODE) Records (collection of named things) Arrays (collection of indexed things)
PROCESSING Types. Objectives Be able to convert between binary and decimal numbers. Be able to declare and initialize character variables and constants.
Representation of Characters
Syntax of the HTML HyperText Markup Language. HTML Syntax  What is it?  Helps computer know how to display  What goes into it?  U+FEFF BYTE ORDER.
Unit 2 Test: Tues 11/3. ASCII / Unicode –Each letter, symbol, etc has a # value –See ascii table (in folder) –To convert a char into its ascii value,
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,
Data Representation Automated data Processing Binary Data representation Mathematical operations Boolean Algebra Hexadecimal Notation.
1.4 Representation of data in computer systems Character.
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
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Topic: Binary Encoding – Part 1
Data Representation.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
Lesson Objectives Aims You should be able to:
How Computers Store Variables
Character coding schemes
CSCI 198: Lecture 4: Data Representation
into a Great discussion
Chapter 6: Data Types Lectures # 10.
How does a computer represent everything using just zeros and ones?
CSCI 161: Lecture 4: Data Representation
Data Representation Integers
EPSII 59:006 Spring 2004.
Binary, Decimal and Hexadecimal Numbers
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Data Representation Question: Characters
قانون المنافسة ومنع الاحتكار
CSCE 121- Spring 2016 J. Michael Moore
Data Representation Bits
Manipulators CSCE 121 J. Michael Moore
Selection CSCE 121 J. Michael Moore.
Data Representation Limitations
Copy Constructor CSCE 121 J. Michael Moore.
XML Problems and Solutions
Linked List Insert After
How Computers Store Data
Зан ба насанд хүрэх Character and adult
Computer Organization
Use the top blue area for audio directions, links to resources, or other information. Use the white space for charts, graphs, photographs, drawings, clipart,
Bingo Example: Design (Print Card Algorithm)
Linked List Configurations
Character Conflict types.
C021TV-I2-S2.
Bingo Example: Analysis
To Kill a Mockingbird ch. 2
FIGURE 1-1 Examples of Voltage Ranges and Waveforms for Binary Signals
Lecture 04: Data Representation (II)
Lecture 36 – Unit 6 – Under the Hood Binary Encoding – Part 2
Presentation transcript:

Data Representation Characters & Floating Point Numbers CSCE 121 J. Michael Moore

Characters ASCII Only 256 options??? http://www.rapidtables.com/code/text/ascii-table.htm Unicode http://www.utf8-chartable.de/unicode-utf8-table.pl?number=1024&utf8=bin C++ 11 supports wchar_t char16_t char32_t

Real (Floating point) numbers Participation Activity 4.6.2 https://learn.zybooks.com/zybook/TAMUCSCE121MooreSummer2017/ch apter/4/section/6 Note that floating point number are approximations! Note: link in video is different, but I didn’t feel like remaking the video. J. Michael Moore