The document discusses number systems and data processing. It covers common number systems like binary, decimal, octal and hexadecimal. Conversions between these number systems are explained through examples, such as converting decimal to binary. Computer operations are based on the binary number system. Bit, byte and word sizes are also defined.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
13 views
Ch04 Processing Data
The document discusses number systems and data processing. It covers common number systems like binary, decimal, octal and hexadecimal. Conversions between these number systems are explained through examples, such as converting decimal to binary. Computer operations are based on the binary number system. Bit, byte and word sizes are also defined.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 54
LECTURE 3
DATA PROCESSING AND STORING
Processing Data 27/02/2024 1
NUMBER SYSTEMS
Processing Data 27/02/2024 2
WHAT ARE NUMBER SYSTEMS?
• It is a system for representing numeric values or quantities
using different symbols (digits). • The technique to represent and work with numbers is called Number System.
Processing Data 27/02/2024 3
NUMBER SYSTEM:
Processing Data 27/02/2024 4
COMMON NUMBER SYSTEM:
Processing Data 27/02/2024 5
ON WHAT NUMBER SYSTEM COMPUTER OPERATES?
Computers work on the BINARY NUMBER SYSTEM
• Computers are made of a series of switches • Each switch has two states: ON or OFF • Each state can be represented by a number – 1 for “ON” and 0 for “OFF” Processing Data 27/02/2024 6 BIT, BYTES AND WORDS:
Processing Data 27/02/2024 7
CONVERSIONS AMONG BASES:
Processing Data 27/02/2024 8
QUICK EXAMPLE:
Processing Data 27/02/2024 9
DECIMAL NUMBER SYSTEM:
Processing Data 27/02/2024 10
BINARY NUMBER SYSTEM:
0 1
Processing Data 27/02/2024 11
• ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an ASCII code is the numerical representation of a character such as 'a' or '@' or an action of some sort. Processing Data 27/02/2024 12 BINARY TO DECIMAL:
Processing Data 27/02/2024 13
BINARY TO DECIMAL CONVERSION: Binary to Decimal:
Processing Data 27/02/2024 14
BINARY TO DECIMAL CONVERSION:
Processing Data 27/02/2024 15
EXAMPLE:
Processing Data 27/02/2024 16
OCTAL TO DECIMAL:
Processing Data 27/02/2024 17
OCTAL TO DECIMAL:
Processing Data 27/02/2024 18
EXAMPLE:
Processing Data 27/02/2024 19
HEXADECIMAL TO DECIMAL:
Processing Data 27/02/2024 20
HEXADECIMAL TO DECIMAL:
Processing Data 27/02/2024 21
EXAMPLE:
Processing Data 27/02/2024 22
DECIMAL TO BINARY:
Processing Data 27/02/2024 23
DECIMAL TO BINARY CONVERSIONS:
Processing Data 27/02/2024 24
EXAMPLE:
Processing Data 27/02/2024 25
OCTAL TO BINARY:
Processing Data 27/02/2024 26
OCTAL TO BINARY:
Processing Data 27/02/2024 27
EXAMPLE:
Processing Data 27/02/2024 28
HEXADECIMAL TO BINARY:
Processing Data 27/02/2024 29
HEXADECIMAL TO BINARY:
Processing Data 27/02/2024 30
EXAMPLE:
Processing Data 27/02/2024 31
DECIMAL TO OCTAL:
Processing Data 27/02/2024 32
DECIMAL TO OCTAL:
Processing Data 27/02/2024 33
EXAMPLE:
Processing Data 27/02/2024 34
DECIMAL TO HEXADECIMAL:
Processing Data 27/02/2024 35
DECIMAL TO HEXADECIMAL:
Processing Data 27/02/2024 36
EXAMPLE:
Processing Data 27/02/2024 37
BINARY TO OCTAL:
Processing Data 27/02/2024 38
BINARY TO OCTAL:
Processing Data 27/02/2024 39
EXAMPLE:
Processing Data 27/02/2024 40
BINARY TO HEXADECIMAL:
Processing Data 27/02/2024 41
BINARY TO HEXADECIMAL:
Processing Data 27/02/2024 42
EXAMPLE:
Processing Data 27/02/2024 43
OCTAL TO HEXADECIMAL:
Processing Data 27/02/2024 44
OCTAL TO HEXADECIMAL:
Processing Data 27/02/2024 45
EXAMPLE:
Processing Data 27/02/2024 46
HEXADECIMAL TO OCTAL:
Processing Data 27/02/2024 47
HEXADECIMAL TO OCTAL:
Processing Data 27/02/2024 48
EXAMPLE:
Processing Data 27/02/2024 49
EXERCISE CONVERT?
Processing Data 27/02/2024 50
EXERCISE CONVERT…
Processing Data 27/02/2024 51
COMMON POWERS (BASE 10)
Processing Data 27/02/2024 52
COMMON POWERS (BASE 2)
Processing Data 27/02/2024 53
QUIZ 1
1.Convert (879)10 into hexadecimal.
2.Convert (77) 8 into decimal. 3.Convert (67) 8 into binary. 4.Convert (7D9) 16 & (A1B) 16 into octal. 5.Convert (11010) 2 into Hexadecimal. Processing Data 27/02/2024 54