0% found this document useful (0 votes)
27 views4 pages

Number Base JS 3 FIRST TERM LESSON NOTE

Uploaded by

merisonconcept
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views4 pages

Number Base JS 3 FIRST TERM LESSON NOTE

Uploaded by

merisonconcept
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Number Base - JS3 Lesson Note

Topic: Number Base

Objective: By the end of this lesson, students should be able to:

Understand the concept of number bases and their importance.

Convert numbers between different bases (e.g., binary, decimal, hexadecimal).

Perform basic operations (addition, subtraction) in different number bases.

1. Introduction to Number Bases

Definition: A number base (or radix) is the number of unique digits, including zero, used to represent numbers in
a positional numeral system. Common bases include decimal (base 10), binary (base 2), and hexadecimal (base 16).

Base 10 (Decimal): This is the most commonly used number system. It uses digits from 0 to 9.

Base 2 (Binary): Used in digital systems. It uses only two digits: 0 and 1.

Base 16 (Hexadecimal): Often used in computing and programming. It uses digits 0-9 and letters A-F (where A=10,
B=11, ..., F=15).

2. Understanding Place Value in Different Bases

Decimal System (Base 10):

Example: 3521035210

35210=3×102+5×101+2×100

35210=3×102+5×101+2×100

Binary System (Base 2):

Example: 1011210112

10112=1×23+0×22+1×21+1×20=8+0+2+1=1110

10112=1×23+0×22+1×21+1×20=8+0+2+1=1110

Hexadecimal System (Base 16):


Example: 2F162F16

2F16=2×161+15×160=32+15=4710

2F16=2×161+15×160=32+15=4710

3. Converting Numbers Between Bases

Decimal to Binary:

Divide the decimal number by 2 and record the remainder. Continue with the quotient until you reach 0. The
binary number is the remainders read from bottom to top.

Example: Convert 13101310 to Binary:

13÷2=6 remainder 1

13÷2=6 remainder 1

6÷2=3 remainder 0

6÷2=3 remainder 0

3÷2=1 remainder 1

3÷2=1 remainder 1

1÷2=0 remainder 1

1÷2=0 remainder 1

Reading remainders from bottom to top gives 1101211012.

Binary to Decimal:

Multiply each binary digit by 2 raised to the power of its position, and sum the results.

Example: Convert 1011210112 to Decimal:

1×23+0×22+1×21+1×20=8+0+2+1=1110

1×23+0×22+1×21+1×20=8+0+2+1=1110

Decimal to Hexadecimal:
Divide the decimal number by 16 and record the remainder. Continue with the quotient until you reach 0. The
hexadecimal number is the remainders read from bottom to top.

Example: Convert 2541025410 to Hexadecimal:

254÷16=15 remainder 14(E16)

254÷16=15 remainder 14(E16)

15÷16=0 remainder 15(F16)

15÷16=0 remainder 15(F16)

Reading remainders from bottom to top gives FE16FE16.

Hexadecimal to Decimal:

Multiply each hexadecimal digit by 16 raised to the power of its position, and sum the results.

Example: Convert 2F162F16 to Decimal:

2×161+15×160=32+15=4710

2×161+15×160=32+15=4710

4. Performing Basic Operations in Different Bases

Binary Addition:

Add binary numbers similar to decimal addition, carrying over when sums exceed 1.

Example: 10112+1101210112+11012

1011+110110000

+1110010100110

10112+11012=10000210112+11012=100002

Hexadecimal Addition:
Add hexadecimal numbers similar to decimal addition, carrying over when sums exceed 15.

Example: 1A16+2F161A16+2F16

1A16+2F16=4916

1A16+2F16=4916

5. Practice Questions

Convert the following numbers:

1010210102 to decimal.

45104510 to binary.

7B167B16 to decimal.

Perform the following operations:

11012+1010211012+10102

2A16−1F162A16−1F16

Convert 85108510 to binary and hexadecimal.

6. Summary

Number bases are systems for representing numbers. Understanding different bases helps in various fields,
especially in computing.

Converting between bases requires knowledge of place values and base-specific operations.

Basic operations in different bases involve understanding how to carry or borrow in binary or hexadecimal
systems.

7. Homework

Convert the following numbers to and from different bases:

56105610 to binary and hexadecimal.

10111021011102 to decimal and hexadecimal.

Write a brief explanation of why different number bases are useful in computing.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy