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

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

View Full Document Right Arrow Icon
COMP 273 Introduction to Computer Systems COMP 273 Digital Logic (Part 2) Binary Mathematics and it's Physical Properties Prof. Joseph Vybihal
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 COMP 273 Introduction to Computer Systems Announcements Ass#1 out tonight on Web CT
Background image of page 2
COMP 273 Introduction to Computer Systems Part 1 Binary Representation & Mathematics
Background image of page 3

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

View Full DocumentRight Arrow Icon
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
Background image of page 4
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)
Background image of page 5

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

View Full DocumentRight Arrow Icon
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?
Background image of page 6
Image of page 7
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 Right Arrow Icon
Ask a homework question - tutors are online