# lec4 - COMP 273 Introduction to Computer Systems COMP 273...

This preview shows pages 1–7. Sign up to view the full content.

COMP 273 Introduction to Computer Systems COMP 273 Digital Logic (Part 2) Binary Mathematics and it's Physical Properties Prof. Joseph Vybihal

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 COMP 273 Introduction to Computer Systems Announcements Ass#1 out tonight on Web CT
COMP 273 Introduction to Computer Systems Part 1 Binary Representation & Mathematics

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4 COMP 273 Introduction to Computer Systems Data has. .. A logical description How it looks (integer, real, char), and How it behaves: Behaviour is defined by operations/operators Operations are algorithms A physical construction Based on the logical definition A circuit that implements the algorithms
5 COMP 273 Introduction to Computer Systems Basic Principles of Data First we need to imagine our data type: Size in bits Note: we have things to work with Built-in physical definitions: Bit, byte, addresses The legal operators we would like A philosophical abstraction of what is being recorded (e.g. Strings, i.e. does not really exist) Second we need to determine how we want to represent the information in binary. Question: How could we implement a fraction data type? (high-level to low)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
COMP 273 Introduction to Computer Systems For Example… If bit size is 4 and we want to store integers: 0000 0001 0010 0011 0100 0101 0110 0111 : What are the next values? Is there a limit? What should happen when we reach this limit? What property are we taking advantage of to produce this pattern? It might look like this What operations would we want and how could we implement them? Overflow? Negative?
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 11/05/2009 for the course COMP 273 taught by Professor Vybihal during the Spring '09 term at McGill.

### Page1 / 38

lec4 - COMP 273 Introduction to Computer Systems COMP 273...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online