Download Slides09_24 (Data Types)

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Recursion (computer science) wikipedia , lookup

Theoretical computer science wikipedia , lookup

Corecursion wikipedia , lookup

Transcript
TCSS 371A
Machine Organization
Getting Started
• Get acquainted (take pictures)
• Discuss purpose, scope, and expectations of the course
• Discuss personal expectations & strategy for doing well
• Review Web Page (http://faculty.washington.edu/lcrum)
• Review Syllabus, Textbook, and Simulator book
• Discuss Laboratory (CP 206D), Access, Etiquette, Equipment/supplies Usage
• Discuss Homework Format
• Laboratory Report Format
Let’s Begin
• Discuss the levels of abstraction involved in a computer solution to problem
• Discuss major Numeric Data Types
• Develop expertise in working with various numeric bases
especially base 10, base 2 (binary), and base 16 (hexidecimal)
• Become proficient converting numbers from one base to another
• Become proficient with 2’s complement arithmetic
• Understand round off error, sign extension, and overflow
• Understand representation of floating point numbers
Abstractions:
The levels of abstraction involved in a computer solution to problem:
• Problem
• Algorithm (Definite/Precise, Computable, Finite)
• Computer Program
• Machine Architecture
• Microarchitecture implementation
• Circuits
• Devices
• Electron or light flow
Digital vs Analog Computers ?
Develop expertise in working with various numeric bases
• Base 10
• Base 2 (binary)
• Base 16 (hexidecimal)
• Others ?
Be proficient converting numbers from one base to another
• Base 10 to binary
• Binary to Base 10
• Base 10 to Hexidecimal
• Hexidecimal to Base 10
• Binary to Hexidecimal
• Hexidecimal to Binary
• Others ?
Major Numeric Data Types
• Unsigned Integers
• Signed Integers
• Alphanumeric Data – ASCII & UNICODE
• Floating Point Numbers
Become proficient with binary number representation
• Unsigned binary Integers
• Signed Binary Integers (see Text Figure 2.1)
• 1’s Complement Binary Integers
• 2’s complement Binary Integers
• The binary point (what does it mean?)
Signed Binary Integers: