Networks & I/O Devices.

Slides:



Advertisements
Similar presentations
Representing Numbers: Integers
Advertisements

Comp 1001 Introduction to Information Technology & Computer Architecture Wednesday 12-1Dr. Joe Carthy
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
Click to edit Master title style Click to edit Master text styles –Second level Third level –Fourth level »Fifth level 1 Today’s Topics How information.
IT253: Computer Organization
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Computer Programming I. Today’s Lecture  Components of a computer  Program  Programming language  Binary representation.
Data Representation.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
Data Representation Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Introduction to Computer Science 1 With Examples in Visual Basic, C, C++, and Java 1 Mata-Toledo, Ramon A. & Cushman, Pauline K. McGraw-Hill,
CPU Internal memory I/O interface circuit System bus
Operators & Identifiers The Data Elements. Arithmetic Operators exponentiation multiplication division ( real ) division ( integer quotient ) division.
1 Data Representation Characters, Integers and Real Numbers Binary Number System Octal Number System Hexadecimal Number System Powered by DeSiaMore.
EEL 3801C EEL 3801 Part I Computing Basics. EEL 3801C Data Representation Digital computers are binary in nature. They operate only on 0’s and 1’s. Everything.
Data Representation, Number Systems and Base Conversions
Lecture 1: 8/27/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Data Representation Bits, Bytes, Binary, Hexadecimal.
 Lecture 2 Processor Organization  Control needs to have the  Ability to fetch instructions from memory  Logic and means to control instruction sequencing.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Machine Architecture and Number Systems
Operators & Identifiers The Data Elements. Arithmetic Operators exponentiation multiplication division ( real ) division ( integer quotient ) division.
MECH1500 Chapter 3.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
CHAPTER 1 COMPUTER SCIENCE II. HISTORY OF COMPUTERS (1.1) Eniac- one of the worlds first computers Used more electricity than an entire city block of.
1 Chapter 1: Basic Concepts Assembly Language for Intel-Based Computers, 4th edition Kip R. Irvine 9/6/2003.
Programmable Logic Controller
Unit 1 Introduction Number Systems and Conversion.
Some basic concepts underlying computer archi­tecture
Chapter 1 Digital Systems and Binary Numbers
Data Representation COE 308 Computer Architecture
Computer Architecture and Number Systems
Bits, Data Types, and Operations
Chapter 2 Bits, Data Types, and Operations
Number Systems and Codes
Computer Science II Chapter 1.
Data Representation ICS 233
Lec 3: Data Representation
Data Representation.
3.1 Denary, Binary and Hexadecimal Number Systems
Data Representation Binary Numbers Binary Addition
CSCI 198: Lecture 4: Data Representation
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Chapter 3 Data Storage.
CSCI 161: Lecture 4: Data Representation
IT 0213: INTRODUCTION TO COMPUTER ARCHITECTURE
2 Number Systems and Codes Edited by Jerry Bernardini.
Machine Architecture and Number Systems
BEE1244 Digital System and Electronics BEE1244 Digital System and Electronic Chapter 2 Number Systems.
Chapter 1 Data Storage.
Data Representation COE 301 Computer Organization
Chapter One: Introduction
Machine Architecture and Number Systems
Number Systems Lecture 2.
Chapter 2: Number Systems
How Computers Store Data
Machine Architecture and Number Systems
Machine Architecture and Number Systems
Machine Architecture and Number Systems
Chapter Four Data Representation in Computers By Bezawit E.
Data Representation ICS 233
UNIT – 3 & 4. Data Representation and Internal
Machine Architecture and Number Systems
Data Representation COE 308 Computer Architecture
Presentation transcript:

Networks & I/O Devices

Networks & I/O Devices Computer and communication systems are essential because of the way in which software and hardware process data into information and then transfer this data/information to other locations. Students will develop an understanding of Networks & I/O Devices concepts that underpin computer devices and how these concepts apply to networks.

Networks & I/O Devices Typical view of a Personal computer includes the central box, a display monitor, printer, keyboard and mouse. This is the user’s view. However we need to view the PC in regards to the functionality of its components. Every computer is composed of 5 major blocks: Central processor – does the actual computing Memory devices –storage of information Input devices – get info into the computer Output devices – get info out of computer Communication devices – allow computers to communicate with each other

Electrical view of inside a computer Input Devices Communications Output Devices Interconnecting wires Central Processor Memory Devices

Networks & I/O Devices Currently you have been using decimal numbers to represent values – we call this base 10 (0 – 9) However electronic circuits have just two states - on and off which are represented by base 2 or binary (0 – 1) A binary number is composed of a sequence of n bits There are 8bits in a byte A kilobyte or kb will have 1024bytes

Binary Numbers Proceeding from right to left the successive bits have weights of Ex. The number 13 (base 10) is represented by 1101 (base 2)

Binary Numbers We can convert a number from decimal to binary by repeatedly dividing it by two until the quotient is zero, keeping track of the remainder at each step. To convert 348 (base 10) to binary

101011100 Binary 348 Number (base 10) Divide by 2 Odd or Even 174 87 1 174 87 1 43 21 10 5 2 101011100

Binary Numbers As there are 8 bits in a byte we can represent numbers from 0 (0000 base 2) up to 255 (11111111 base 2) or 256 actual numbers or integers Larger numbers are coded as Word i.e. #400 would require 2 bytes or 16 bits - 110010000(base 2) Note the preceeding bits are left off as they are just zeros

Binary Numbers We need to represent negative numbers in base 2. We either use sign and magnitude or 2’s complement Sign and Magnitude Negative numbers in base 2 are represented by the left most bit being a 1 i.e. +10 and -10 in 8-bit are represented by 00001010 and 10001010 respectively

Binary Numbers As this becomes tedious and prone to errors, large binary numbers contain many digits and are hard to remember. For this reason binary numbers are often represented in hexadecimal (base 16) notation, often called hex. A number that requires 32 bits for its representation can be represented using only 8 hex digits.

Binary Numbers Hence only 16 symbols are required to represent a hex digit – numbers 0-9 and the letters A to F The number 3FC (base 16) represents the value

Natural Numbers We know that the set of numbers is infinite however a computer is forced to assume the set of numbers is finite, and therefore there is a largest number. i.e. using a byte or 8 bits we can represent any unsigned number between 0 and 255 Other data units used are Half word (0-65,535), Word (~4 billion) and Double word (0- 16,000,000,000,000,000,000)

ASCII Hex Code

Character Strings We store the length of a string in the first byte allocated to it followed by the sequence of characters Length/character representation of a string Length H e l o 05 48 65 6C 6F