aravali college of engineering and management, faridabad

17
NUMBER SYSTEM Program Name : BBA (FS&B) Semester : 1 st Sem Course Name: Computer & Information Systems Course Code : BBA/II/104

Upload: aasthakohli

Post on 20-Oct-2020

1 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Aravali college of Engineering and management, Faridabad

NUMBER SYSTEMProgram Name : BBA (FS&B)

Semester : 1st Sem Course Name: Computer &

Information Systems Course Code : BBA/II/104

Page 2: Aravali college of Engineering and management, Faridabad

What is Number System ?

•A system for representing number of certain type.•A number system defines a set of values used to represent quantity.• Example:–There are several systems for representing the counting numbers.–These include the usual base “10” or decimal system : 0,1,2,3,…..10,11,12,..99,100,…

Page 3: Aravali college of Engineering and management, Faridabad

Number System

•Decimal is the number system and is used in our day to day life•Binary is a number system that is used in computers•Octal is a number system that represents groups ofbinary numbers. It is used in digital displays.•Hexadecimal (Hex) is a number system that representsgroups of binary numbers. Hex is primarily used in computing.

Page 4: Aravali college of Engineering and management, Faridabad

Different Number System

•Decimal Number System-Base 10• Binary Number System- Base 2• Octal Number System

-Base 8• Hexadecimal Number Sys tem- Base 16

Page 5: Aravali college of Engineering and management, Faridabad

Common Number System

Decimal 10 0, 1, … 9 Yes NoBinary 2 0, 1 No YesOctal 8 0, 1, … 7 No NoHexa- 16 0, 1, … 9, No No

System Base SymbolsUsed by humans?

Used in computers?

decimal A, B, … F

Page 6: Aravali college of Engineering and management, Faridabad

Counting

Decimal Binary Octal8 1000 10 89 1001 11 910 1010 12 A11 1011 13 B12 1100 14 C13 1101 15 D14 1110 16 E15 1111 17 F

Hexa-decimal

Page 7: Aravali college of Engineering and management, Faridabad

Decimal Number System

• Decimal number system contains ten unique symbols 0,1,2,3,4,5,6,7,8 and 9.

• Since counting in decimal involves ten symbols, we can say that its base or radix is ten.

• In this system, any number (integer, fraction or mixed) of any magnitude canbe represented by the use of these ten symbols only

• Each symbols in the number is called a “Digit”

• Examples• 1214• 1897• 9875.54

Page 8: Aravali college of Engineering and management, Faridabad

Binary Number System

•Binary number system is a positional weighted system.• It contains two unique symbols 0 and 1.•Since counting in binary involves two symbols , we can say that its base or radix is two.•A binary digit is called a “Bit”•A binary number consists of a sequence of bits, each of which is either a 0 or a 1.•The binary point separates the integer and fraction parts.•Examples, 1110000010010101

Page 9: Aravali college of Engineering and management, Faridabad

Octal Number System

•Octal number system is a positional weighted system.• It contains eight unique symbols 0,1,2,3,4,5,6 and 7.•Since counting in octal involves eight symbols, we can say that its base or radix is eight.•The largest value of a digit in the octal system will be 7.•That means the octal number higher than 7 will not be 8, instead of that it will be 10

Page 10: Aravali college of Engineering and management, Faridabad

Hexadecimal Number System•Binary numbers are long. These numbers are fine for machines but are too lengthy to be handled by human beings. So there is a need to represent the binary numbers concisely.•One number system developed with this objective is the hexadecimal number system (or Hex)• It contains sixteen unique symbols•0,1,2,3,4,5,6,7,8,9,A,B,C,D,E and F.•Since counting in hex involves sixteen symbols, we can say that its base or radix is sixteen.

Page 11: Aravali college of Engineering and management, Faridabad

BCD or 8421 Numbers

•BCD means Binary Coded Decimal.•BCD is a system of weiting a numbers that a four-digit binary code to each digit 0 through 9 in decimal numbers.•The smallest BCD number is (0000) and the largest is (1001). The next number to 9 will be 10 which is expressed as (0001 0000) in BCD.•There are six illegal combinations 1010, 1011,1100, 1101, 1110 and 1111 in this code i.e. they are not part of the 8421 BCD code

Page 12: Aravali college of Engineering and management, Faridabad

Decimal to BCD conversion

1 2 0010

2 11 00010001

3 6 0110

4 213 001000010011

5 10 0001000

Sr.No.

Decimal Number BCD

Page 13: Aravali college of Engineering and management, Faridabad

First Conversion

Page 14: Aravali college of Engineering and management, Faridabad
Page 15: Aravali college of Engineering and management, Faridabad

Second conversion

Page 16: Aravali college of Engineering and management, Faridabad
Page 17: Aravali college of Engineering and management, Faridabad

05/23/202317

Aravali College of Engineering And ManagementJasana, Tigoan Road, Neharpar, Faridabad, Delhi NCR

Toll Free Number : 91- 8527538785Website : www.acem.edu.in