0% found this document useful (0 votes)
87 views13 pages

Number Systems: By: Ms. Kalpani Manatunga

This document discusses different number systems used in computers including integer, real, fixed point, and floating point representations. It describes how floating point numbers use a mantissa, radix, and exponent. The IEEE 754 standard for 32-bit floating point representation is also mentioned. Data representation in computers is covered including BCD, ASCII, EBCDIC, and Unicode encodings. The basics of binary addition, subtraction, 1's complement, and 2's complement are defined.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views13 pages

Number Systems: By: Ms. Kalpani Manatunga

This document discusses different number systems used in computers including integer, real, fixed point, and floating point representations. It describes how floating point numbers use a mantissa, radix, and exponent. The IEEE 754 standard for 32-bit floating point representation is also mentioned. Data representation in computers is covered including BCD, ASCII, EBCDIC, and Unicode encodings. The basics of binary addition, subtraction, 1's complement, and 2's complement are defined.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 13

Number Systems

By : Ms. Kalpani Manatunga

GCE (A/L) ICT Training for Teachers

Representation of Numbers
Integer
o
o

+ & - whole numbers


4251 -582

Most significant bit


Real

Least significant bit

All numbers including everything between


integers
o 0.23, 0, 5, -2.3,
o

GCE (A/L) ICT Training for Teachers

Fixed Point Representation


o 12.548
Floating Point Representation
o Scientific Notation
12.054 1.2054 * 101

Computer Notation

12.65 0.1265*102

GCE (A/L) ICT Training for Teachers

Floating Point Numbers

Mantissa
15.23 * 10 4

Radix /base

Exponent

GCE (A/L) ICT Training for Teachers

IEEE 754 32bit Floating Point Representation

GCE (A/L) ICT Training for Teachers

Data Representation in Computers


BCD (Binary Coded Decimal)
4 bit code for numeric values only
9 1001

GCE (A/L) ICT Training for Teachers

ASCII (American Standard Code for


Information Interchange)
o 7 bit code for all 128 characters
A=1000001

EBCDIC (Extended BCD Interchange Code)


o 8 bit ASCII

GCE (A/L) ICT Training for Teachers

ASCII (American
Standard Code for
Information Interchange)
o

7 bit code for all 128


characters
A =1000001 65

GCE (A/L) ICT Training for Teachers

Unicode provides a unique number for every


character,
no matter what the platform,
no matter what the program,
no matter what the language.
Fundamentally, computers just deal with
numbers. They store letters and other characters
by assigning a number for each one.
8, 16 or 32 bits per character

GCE (A/L) ICT Training for Teachers

Binary Addition
Rules of Binary Addition
0+0=0
0+1=1
1+0=1
1 + 1 = 0, and carry 1 to the next more significant bit
Try out these additions:
o
o

00011010 + 00001100 = ?
00010011 + 00111110 = ?

GCE (A/L) ICT Training for Teachers

Binary Subtraction
Rules of Binary Subtraction
0-0=0
0 - 1 = 1, and borrow 1 from the next more significant bit
1-0=1
1-1=0
Try out these subtractions:
o
o

00100101 - 00010001 = ?
00110011 - 00010110 = ?

GCE (A/L) ICT Training for Teachers

1s & 2s Complements
Store the integer -70 in a byte using the
two's complement notation.

GCE (A/L) ICT Training for Teachers

GCE (A/L) ICT Training for Teachers

You might also like