Lecture 10: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 10 System Fundamentals James Harland

Slides:



Advertisements
Similar presentations
Lecture 9: Data Storage Devices Intro to IT COSC1078 Introduction to Information Technology Lecture 9 Data Storage Devices James Harland
Advertisements

James Harland COSC1078 Introduction to Information Technology Lecture 12 System Fundamentals James Harland
Lecture 12: Machine Processing Intro to IT COSC1078 Introduction to Information Technology Lecture 12 Machine Processing James Harland
The Binary Numbering Systems
Lecture 7: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 7 Video James Harland
ENGIN112 L4: Number Codes and Registers ENGIN 112 Intro to Electrical and Computer Engineering Lecture 4 Number Codes and Registers.
1 CSE1301 Computer Programming Lecture 29: Number Representation (Part 1)
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 2 Overview James Harland
Digital Fundamentals Floyd Chapter 2 Tenth Edition
Lecture 23: Future of IT Intro to IT COSC1078 Introduction to Information Technology Lecture 23 Future of IT James Harland
Lecture 14: Review Intro to IT COSC1078 Introduction to Information Technology Lecture 14 Revision and Review James Harland
Lecture 6: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 6 Audio James Harland
Representing Information as Bit Patterns
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 1 Introduction James Harland
Representing Information as Bit Patterns Lecture 4 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
CS 61C L02 Number Representation (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C.
Lecture 4: ImagesIntro to IT COSC1078 Introduction to Information Technology Lecture 4 Images James Harland
Lecture 3: ImagesIntro to IT COSC1078 Introduction to Information Technology Lecture 3 Images James Harland
Lecture 16: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Operating Systems James Harland
Lecture 7: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 7 Video James Harland
Lecture 5: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 5 Audio James Harland
Lecture 9: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 9 System Fundamentals James Harland
Lecture 24: Review Intro to IT COSC1078 Introduction to Information Technology Lecture 24 Review James Harland
Data Representation – Chapter 3 Sections 3-2, 3-3, 3-4.
1.6 Signed Binary Numbers.
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Simple Data Type Representation and conversion of numbers
Binary Numbers. Why Binary? Maximal distinction among values  minimal corruption from noise Imagine taking the same physical attribute of a circuit,
Lecture 24: Future of IT Intro to IT COSC1078 Introduction to Information Technology Lecture 24 Future of IT James Harland
Lecture 11: Machine Processing Intro to IT COSC1078 Introduction to Information Technology Lecture 11 Machine Processing James Harland
2-1 Chapter 2 - Data Representation Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Chapter Contents.
IT253: Computer Organization
Fundamental of Computer Architecture By Panyayot Chaikan November 01, 2003.
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
1 Digital Systems and Binary Numbers EE 208 – Logic Design Chapter 1 Sohaib Majzoub.
Data Representation.
Lecture 10: Binary Representation Intro to IT COSC1078 Introduction to Information Technology Lecture 10 Binary Representation James Harland
Digital Logic Design Lecture 3 Complements, Number Codes and Registers.
Lecture 7: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 7 Video James Harland
Computer Systems Organization CS 1428 Foundations of Computer Science.
Chapter 1: Data Storage.
How Computers Work … and how you can work them. Art 315 Lecture 03 Dr. J Parker Fall 2010.
Lecture 18: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 18 Operating Systems James Harland
Revision Lecture Intro to IT COSC1078 Introduction to Information Technology Extra Lecture Review James Harland
1 Representation of Data within the Computer Oct., 1999(Revised 2001 Oct)
Lecture 11: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 11 System Fundamentals James Harland
Lecture 10: Binary Representation Intro to IT COSC1078 Introduction to Information Technology Lecture 10 Binary Representation James Harland
Lecture 16: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Operating Systems James Harland
Monday, January 14 Homework #1 is posted on the website Homework #1 is posted on the website Due before class, Jan. 16 Due before class, Jan. 16.
Digital Fundamentals Tenth Edition Floyd Chapter 2 © 2008 Pearson Education.
Data Encoding COSC Computers and Data Computers store information as sequences of bits Computers store many types of data: numbers text audio images.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
Nguyen Le CS147.  2.4 Signed Integer Representation  – Signed Magnitude  – Complement Systems  – Unsigned Versus Signed Numbers.
CS 125 Lecture 3 Martin van Bommel. Overflow In 16-bit two’s complement, what happens if we add =
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
Software Design and Development Storing Data Computing Science.
Chapter 1: Data Storage.
Data Encoding COSC 1301.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Computer Science: An Overview Eleventh Edition
CSCI 198: Lecture 4: Data Representation
CSCI 161: Lecture 4: Data Representation
Data Representation – Chapter 3
Fundamentals of Data Representation
Storing Negative Integers
How Computers Store Data
Computer Architecture CST 250
Presentation transcript:

Lecture 10: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 10 System Fundamentals James Harland

Lecture 10: Computer FundamentalsIntro to IT Introduction to IT 1-4 Introduction, Images, Audio, Video 5 Computer Fundamentals Assignment 1, WebLearn Test 1 Tuesday March 30 th, Wednesday March 31 st (no classes Thursday 1 st April, Tuesday 6 th April, Wednesday 7 th April) 6 Computer Fundamentals Tuesday April 13 th, Wednesday April 14th 7 Computer Fundamentals /Review/Catch Up 8 Operating Systems WebLearn Test 1 9 Operating Systems Assignment 2 10 Internet 11 Internet Security WebLearn Test 3 12 Future of ITAssignment 3, Peer and Self Assessment

Lecture 10: Computer FundamentalsIntro to IT Overview  Questions?  WebLearn Test 1  Computer Fundamentals  Questions?

Lecture 10: Computer FundamentalsIntro to IT Web Test 1  Now Week 5 (this week)  All quizzes (practice tests) available now  Test available now  Content will be on weeks 2-4 Images Audio Video

Lecture 10: Computer FundamentalsIntro to IT Assignment 1  Due date is 9.00am on Monday 12 th April (1 st day of Week 6)  Can submit now if you wish …  Do submit something soon  Only PDFs for report SUBMIT IT! NOW!!

Lecture 10: Computer FundamentalsIntro to IT Introduction

Lecture 10: Computer FundamentalsIntro to IT Overview …

Lecture 10: Computer FundamentalsIntro to IT What do computers do?  Compute!  Input/Output  Processing  Memory

Lecture 10: Computer FundamentalsIntro to IT History ……  Babbage’s Difference Engine (1849)  Babbage’s Analytical Engine ( , never built)  Turing’s Universal Machine (1936, mathematical model)  Turing digital Boolean-logic multiplier (1937)  Colossus (1943, destroyed 1945)  ENIAC (1946)  Von Neumann architecture (c. 1945)  EDVAC (1949)  CSIRAC (1949)

Lecture 10: Computer FundamentalsIntro to IT Computer Memory Cells of 8 bits each (one byte) Most significant bit Least significant bit … … address

Lecture 10: Computer FundamentalsIntro to IT Binary Codes “Meet me at Fred’s”

Lecture 10: Computer FundamentalsIntro to IT ASCII  American Standard Code for Information Interchange  7-bit patterns to represent  letters (upper and lower case)  numbers ,., ; “ $ * & ! ? …  Total of 128 different characters

Lecture 10: Computer FundamentalsIntro to IT ASCII H e l o Hello! Unicode: uses 16 bits, can do Chinese, Japanese & Hebrew characters

Lecture 10: Computer FundamentalsIntro to IT Numbers Represented in binary notation 25 in ASCII is bits per digit seems too much! Can represent 256 different numbers in 8 bits … Don’t want to add, multiply etc. in ASCII … Remember that = 10 …

Lecture 10: Computer FundamentalsIntro to IT Two’s Complement How do you store negative numbers? Bit patternValue

Lecture 10: Computer FundamentalsIntro to IT Two’s Complement Bit patternValue first means +ve (sign bit) 1 first means –ve +ve: Count from 0 up to 01 n-1 -ve: Start from 1 n down to 10 n-1 3 is 011, -3 is is 010, -2 is is 001, -1 is 111

Lecture 10: Computer FundamentalsIntro to IT Two’s Complement Bit patternValue : add in obvious way 3 – 1: calculate as 3 + (-1) = 1010 Answer is 010, ie 2. Can add and subtract with the same circuits

Lecture 10: Computer FundamentalsIntro to IT Excess Notation Bit patternValue A different encoding of the numbers “naive” bit pattern encodes 4 more than actual value 100 (looks like 4) encodes (looks like 5) encodes (looks like 6) encodes 2

Lecture 10: Computer FundamentalsIntro to IT Floating Point sign bit Mantissa exponent 1 bit for sign 3 bits for exponent 4 bits for mantissa

Lecture 10: Computer FundamentalsIntro to IT Floating Point means +ve shifted 101 place =  Mantissa: digit sequence (1 st digit always 1)  Exponent: where to put the.  This is generally given in ‘excess’ notation  Binary form of x 10 4

Lecture 10: Computer FundamentalsIntro to IT Truncation Errors Beware adding small numbers to large ones! Finite length of encoding means that sometimes digits are lost Not often a problem, but can be …

Lecture 10: Computer FundamentalsIntro to IT Parity Bits  Add a ‘parity bit’ to each byte  Odd parity: make total of 1s in all 9 bits odd  Even parity: make total of 1s in all 9 bits even  If parity is wrong, then an error has occurred

Lecture 10: Computer FundamentalsIntro to IT Conclusion  Web Test this week (week 5)  Do online quizzes later this week  Keep reading! (book particularly)