Number system Numbers 1) natural number:

Slides:



Advertisements
Similar presentations
Binary & Decimal numbers = 3* * *10 + 5*1 = 3* * * *10 0 Decimal system: Ten digits: 0,1,2,3,…,9 Example:
Advertisements

Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
The Binary Number System
COE 202: Digital Logic Design Number Systems Part 1
BASICS OF COMPUTER APPLICATIONS ASB 102. UNIT 1 Introducing computer system  Number system  What is number system?  Types of number system  Their.
Chapter 1 1 Number Systems. 2 Objectives  Understand why computers use binary (Base-2) numbering.  Understand how to convert Base-2 numbers to Base-
Binary Number Systems.
Numeral Systems Subjects: Numeral System Positional systems Decimal
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Introduction to Computer Design CMPT 150 Section: D Ch. 1 Digital Computers and Information CMPT 150, Chapter 1, Tariq Nuruddin, Fall 06, SFU 1.
Engineering 1040: Mechanisms & Electric Circuits Spring 2014 Number Systems.
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,
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in other bases.
Number systems, Operations, and Codes
Number Representation. Representing numbers n Numbers are represented as successive powers of a base, or radix.
Digital Logic Lecture 2 Number Systems
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Positional Notation 642 in base 10 positional notation is:
Chapter 2 Number Systems: Decimal, Binary, and Hex.
Digital Systems and Binary Numbers
Number Representation Lecture Topics How are numeric data items actually stored in computer memory? How much space (memory locations) is.
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
Chapter 1 Number Systems Digital Electronics. Topics discussed in last lecture Digital systems Advantages of using digital signals over analog. Disadvantages.
ECE DIGITAL LOGIC LECTURE 2: DIGITAL COMPUTER AND NUMBER SYSTEMS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/14/2016.
CS151 Introduction to Digital Design Chapter 1: Digital Systems and Information Lecture 2 1Created by: Ms.Amany AlSaleh.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Dr. Nermin Hamza 1. Materials Book: Digital Design 4 th M. Morris Mano and Michael D. Ciletti 2.
Programmable Logic Controller
Binary Values and Number Systems
Data Representation COE 308 Computer Architecture
Data Representation ICS 233
Lec 3: Data Representation
Data Representation.
Chapter 02 Nell Dale & John Lewis.
Number Representation
Data Representation Binary Numbers Binary Addition
Digital Systems and Binary Numbers
CHAPTER 1 : INTRODUCTION
Digital Systems and Binary Numbers
COMPUTING FUNDAMENTALS
ITE102 – Computer Programming (C++)
Chapter 3 Data Representation
Number System conversions
IT 0213: INTRODUCTION TO COMPUTER ARCHITECTURE
PROGRAMME F1 ARITHMETIC.
Data Representation COE 301 Computer Organization
Introduction to IT By: Muhammed s. anwar.
MMNSS COLLEGE,KOTTIYAM DEPARTMENT OF PHYSICS
Numbering System TODAY AND TOMORROW 11th Edition
Digital Logic Design (ECEg3141) 2. Number systems, operations & codes 1.
Digital Systems and Binary Numbers
Chapter 2: Number Systems
Digital Logic Design (CSNB163)
COMS 161 Introduction to Computing
Binary Values and Number Systems
Chapter Four Data Representation in Computers By Bezawit E.
Chapter 2 Number Systems.
Binary Values and Number Systems
Numeral systems (radix)
CMSC250 Fall 2018 Circuits 1 1.
Data Representation ICS 233
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Chapter 2 Number System.
Binary Values and Number Systems
Chapter 2 Number Systems.
Data Representation COE 308 Computer Architecture
Presentation transcript:

Number system Numbers 1) natural number: zero and any number obtained by repeatedly adding one to it i.e 100,653 2) negative number: a value less then 1, with a – sign i.e -24,-1 3) integer: a natural number, a negative number, zero i.e 248,0,-23

Number system A set of values used to represent different quantities is called number system i.e 1) number of student in class 2) number viewers watching TV. There are four number system are as fellow: Binary number system Decimal number system Octal number system Hexadecimal number system

Decimal number system The decimal number consist of 10 digits from 0 to 9. These digits can be used to represent d/f any numeric value. The base of decimal nuber system is 10. It is most widely used number system. The value represented by each digit depend on position and weight of digit. The value of number is determined by multiplying the digits with the weight of their position and adding the result. This method is called expension method.

The right most digit of a number has the lowest weight The right most digit of a number has the lowest weight. This digit is called least significant digit. The left most digit of a number has the highest weight. This digit is called most significant digit. The decimal number system is also called base ten or occasionally denary. Example: 453 Position: 2 1 0 Weight: 102 101 100 Face value: 4 5 3 453 = 4*102+5*101+3*100 453 = 400+50+3 the actual number can be found by adding the values obtained by the digit.

Binary number system Binary : it consist of 2 digits 0 and 1called bit. Byte: collection of 8 bits called 1 byte. Word: word consist of group of bits which are pressed around together during computition. * The word length of the computer system or processor is how many bits are grouped together.

3) The base of binary number system is 2. 8 bit machine (i.e Nintendo Gameboy) 16 bit machine(sega genesis) 32 bit machine(sony playstation) Binary number system 1) Digital computer are made up of electronic circui, which have exactly 2 ststes:ON and OFF. 2) Computer used numbering system which has exactly 2 symbols, representating on and off. 3) The base of binary number system is 2. 4) Each digit or bit in binary number system is 0 or 1. 5) Binary number system are built by concatenating a string of bits together.

As a general form: dn*bn-1 + dn-1*bn-2+……………….+d1*b0 n: number of digits in number. b: base d: digit i.E: 1011 When written,binary number are often subscripted,prefixed or suffixed in order to indicate their base. The following notations are equivalent: 1011binary (explicit statement of fomat) 10111b (a suffix indicating binary format) 01101B (a suffix indicating binary format) 011012 (a subscript indicating base-2(binary))

Base / Radix: The total number of digits used in number system is called its base or radix.

Binary Numbers Internally, information in digital systems is of binary form groups of bits (i.e. binary numbers) all the processing (arithmetic, logical, etc) are performed on binary numbers. Example: In decimal, (100101)2 Convention: write only the coefficients. A = a1 a0 . a-1 a-2 a-3 where aj  {0, 1, …, 9} How do you calculate the value of A?

Using the analogy, binary system {0,1} Example: 25.625 Decimal system coefficients are from {0,1, …, 9} and coefficients are multiplied by powers of 10 base-10 or radix-10 number system Using the analogy, binary system {0,1} base(radix)-2 Example: 25.625 25.625 = decimal expansion 25.625 = binary expansion 25.625 = base-r (n, m) A = an-1 rn-1 +… + a1 r1 + a0 r0 + a-1 r-1 + a-2 r-2 + … +a-m r-m