1 Computer Fundamental ITD1382 Coursework : 100% 1. Tests 2. Quizzes (Short) 3. Assignments Module Value : 3.0.

Slides:



Advertisements
Similar presentations
ECE 331 – Digital System Design
Advertisements

Number Bases Informatics INFO I101 February 9, 2004 John C. Paolillo, Instructor.
Company LOGO Edit your slogan here DKT 122/3 DIGITAL SYSTEM 1 WEEK #3 NUMBER SYSTEMS, OPERATION & CODES (PART 2)
CMP 101 Fundamentals of Computer and programming in C Rohit Khokher.
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
ECE 301 – Digital Electronics Course Introduction, Number Systems, Conversion between Bases, and Basic Binary Arithmetic (Lecture #1)
ECE 331 – Digital System Design
ECE 301 – Digital Electronics Number Systems and Conversion, Binary Arithmetic, and Representation of Negative Numbers (Lecture #10) The slides included.
1 CSE-221 Digital Logic Design (DLD) Lecture-1: Digital Systems & Number Systems.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Computer ArchitectureFall 2007 © August 29, 2007 Karem Sakallah CS 447 – Computer Architecture.
Introduction to Number Systems
Number Systems and Arithmetic
© Copyright 2000 Indiana University Board of Trustees Proficiency Quiz Study Guide Note: The following slides are provided courtesy of Dr. Bob Orr (Computer.
Information Representation and Number Systems BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
Data Representation in Computers. Data Representation in Computers/Session 3 / 2 of 33 Number systems  The additive approach – Number earlier consisted.
Digital Systems and Binary Numbers
COMT 222 Tools for a Digital World. Digital? What makes information Digital? If it helps:  When is information not analog? Answer:  A finite number.
Computer System Architecture Module Code: CMC1411 Duration: 10 weeks Assessment Scheme: Continuous Assessment: 50% Examination: 50% Lecturer: Amy Ching.
BINARY ARITHMETIC Binary arithmetic is essential in all digital computers and in many other types of digital systems.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 2 Number.
NUMBER SYSTEM AND COMPUTER CODES Chapter 2. Prelude Fingers, sticks, and other things for counting were not enough! Counting large numbers Count in groups.
Supplemental Chapter Number Bases
Ch. 10 – Fundamentals of Logic Circuits So far, the circuits we’ve discussed were analog circuits, meaning that circuit parameters such as voltage and.
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
Lecture 4 Last Lecture –Positional Numbering Systems –Converting Between Bases Today’s Topics –Signed Integer Representation Signed magnitude One’s complement.
CE1111 :Digital Logic Design lecture 01 Introduction Dr. Atef Ali Ibrahim.
1-1 Lecture 1 Class Overview and Appendix A -- Number Systems.
CONVERSION OF NUMBER SYSTEMS FAHEEM ANWAR MANAGER NETWORKS ACADEMY PTCL ACADEMY.
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
ECE 331 – Digital System Design
CIS 234: Numbering Systems Dr. Ralph D. Westfall April, 2010.
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Numbering System Base Conversion. Number systems Decimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary – 0, 1 Octal – 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal system.
Positional Number Systems
ECE2030 Introduction to Computer Engineering Lecture 2: Number System Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech.
Positional Notation 642 in base 10 positional notation is:
1 IT 231, CMPE 331 Digital Logic Design Week 2 Number systems and arithmetic.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
1 4. Computer Maths and Logic 4.1 Number Systems.
Module 2.  In Module 1, we have learned basic number representation which include binary, octal, hexadecimal and decimal.  In digital systems, numbers.
1 CS151 Introduction to Digital Design Chapter 1 Lecture 3.
NUMBER SYSTEMS.
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 1 Tom Kaminski & Charles R.
CPS120: Introduction to Computer Science Computer Math: Addition and Subtraction.
Number Systems and Binary Arithmetic Quantitative Analysis II Professor Bob Orr.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Prepared By: Norakmar Binti Mohd Nadzari CHAPTER 2 ARITHMETIC AND LOGIC UNIT.
Lecturer: Santokh Singh
Lecture 3 – Binary Arithmetic
Digital Systems and Number Systems
Number System Submitted by: Submitted to: Devashish Bhardwaj Miss.Hina
CSE 102 Introduction to Computer Engineering
IT 0213: INTRODUCTION TO COMPUTER ARCHITECTURE
Chapter 1 Number Systems & Conversions
SYEN 3330 Digital Systems Chapter 1 SYEN 3330 Digital Systems.
Number Systems and Binary Arithmetic
Overview Digital Systems and Computer Systems
Digital Logic Design (ECEg3141) 2. Number systems, operations & codes 1.
Digital Logic Design (CSNB163)
ECE 301 – Digital Electronics
Binary Addition (1 of 2) Two 1-bit values A B A + B 1
COE 202: Digital Logic Design Number Systems Part 2
Presentation transcript:

1 Computer Fundamental ITD1382 Coursework : 100% 1. Tests 2. Quizzes (Short) 3. Assignments Module Value : 3.0

2 Course Content Numbering System (Binary, Hexadecimal …) Logic Systems and Digital Circuits Computer Systems Architecture Hardware Components System Resources The Boot Process Assembling a Computer Hardware and OS Maintenance Operating System Fundamentals Windows Operating Systems (Windows 2003 Server / XP Professional) Linux Operating Systems (Red Hat / Fedora Core)

3 Teaching Materials Lecture Notes Tutorial Exercises / Solutions Tests & Quizzes / Solutions Lab Sheets Textbook - Cisco Networking Academy Program IT Essential I: PC Hardware and Software Companion Guide, Cisco Press Reference book – Cisco Networking Academy Program IT Essential II: Network Operating System Companion Guide, Cisco Press Note: Download from webct ( )

4 Lecture 1 Numbering System

5 Numbering Systems in Computer Binary (Base 2) e.g Octal (Base 8) e.g (Digit with value 0 -7) Hexadecimal (or Hex - Base 16) ABCDEF 16 (Digit with value 0 – F) How to convert between different base?

6 Conversion from decimal to binary Example: Convert 345 (in decimal) to binary 345 MOD 2= 1(345/2 = 172) 172 MOD 2= 0(172/2 = 86) 86 MOD 2= 0(86/2 = 43 ) 43 MOD 2= 1(43/2 = 21 ) 21 MOD 2= 1(21/2 = 10 ) 10 MOD 2= 0(10/2 = 5 ) 5 MOD 2= 1(5/2 = 2 ) 2 MOD 2= 0(2/2 = 1 ) 1 MOD 2= 1(1/2 = 0 ) Ans:

7 Conversion from Binary, Octal, Hexadecimal to Decimal - Power Series Example convert to decimal Decimal representation of = 1x x x x x x x x2 1 +1X2 0 = Example Convert (oct) to decimal Decimal representation of =5x x x8 0 =

8 Conversion from Binary to Octal Conversion from binary to oct => 531 (oct) By using MOD 8 and (MOD – find the remainder) Binary to Octal

9 Conversion from Binary to Hexadecimal Conversion from binary to hex => 159 (hex) By using MOD 16 (MOD – find the remainder) Binary to Hexidecimal A 1011B 1100C 1101D 1110E 1111F

10 Conversion from decimal to octal or hexadecimal Example Convert to octal representation 345 MOD 8= 1(345/8 = 43) 43MOD 8= 3(43/8 = 5 ) 5MOD 8= 5 Ans: Example Convert to hexadecimal representation 345MOD 16= 9(345/16 = 21) 21MOD 16= 5(21/16 = 1 ) 1MOD 16= 1 Ans:

Conversion from decimal to binary Example Convert to binary representation x 2= x 2= x 2= x 2= Ans: Convert to decimal rep.: Stop or: 1x x x x2 -4

12 Conversion from decimal to octal Example Convert to octal representation x 8= x 8= Ans: Stop

13 Arithmetic Operation (Binary) Addition BinaryDecimal Carries00011 Augend Addend Sum Augend+ Addend= Sum 19+11= = 11110

14 Arithmetic Operation (Binary) Subtraction e.g. BinaryDecimal Borrows11000 Minuend Subtrahend Difference If Subtrahend > Minuend? => NEGATIVE NUMBER

15 Arithmetic Operation (Binary) e.g. BinaryDecimal Borrows Minuend Subtrahend Difference?110100?? Negative number ? How negative number is represented in binary format?

16 Signed Number How to represent negative number (binary number) Use a sign bit i.e. 0 represent positive and 1 represent negative e.g. +10 => and -10 => Problem with two zero i.e or So, it may not be a good solution for representing binary number.