Difference between revisions of "Number Systems / Number Bases"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Revision Questions)
(Revision Questions)
Line 76: Line 76:
 
- Base 10
 
- Base 10
 
|| Base 10 is Denary  
 
|| Base 10 is Denary  
- Base 8
 
||
 
 
+ Base 2
 
+ Base 2
 
|| Base 2 is Binary  
 
|| Base 2 is Binary  

Revision as of 10:43, 20 September 2017

Number Systems

The number systems used in Computer Science are often referred to as Base 16, Base 10, Base 8, or Base 2.

The number base specifies how many digits are used (Including Zero) and how much each digit is multiplied by as it is moved from right to left.

Denary Number System

Also sometimes referred to as the Decimal number system, the Denary number system uses the digits 0-9 which means there are 10 possible digits.

If we go beyond the digit 9 in denary another column is used; i.e the ‘tens’ column or the ‘Hundreds’ Column.

This means the number 10 in denary would be 1 ‘ten’ plus 0 ‘units’

The first column, the one on the far right, s 10 to the power 0. For each subsequent column the power is increased by 1.

A68ec88b918976a97c85a9df1a08b912.jpg

Binary Number System

The Binary number system is an essential system as all digital content is stored using binary, Binary is the base 2 number system. Unlike other systems binary uses only two different digits 0 and 1 to represent any given number. 0 is represented as 0, and 1 is represented as 1 and just like the decimal system if the value exceeds 1 an additional column is needed. As binary is in base 2 it uses twos instead of tens which the decimal system uses. So for example 10 would translate to 8 plus 0 plus 2 plus 0 and would read 1010. The Zeros are present to show the columns 2² and 2° The first column on the far right is 2 to the power 0, for each subsequent column the power is increased by 1.

Value 128's 64's 32's 16's 8's 4's 2's 1's
Power
27 26 25 24 23 22 21 20

Hexadecimal Number System

Hexadecimal is base 16 meaning it has 16 different digits, 0 to 15. The numbers 0 to 9 are the same as denary, but the numbers 10 to 15 use the letters A to F. Dec hex bin.jpg

The first column on the far right is 16 to the power 0 for each subsequent column the power is increased by 1. Hexidecimal Powers.jpg

Revision Questions

1.

What is the base 16 number system called?
→ The name of the base 16 number system is Hexadecimal.

2.

What is the base 10 number system called?
→ The name of the base 10 number system is Decimal or Denary

3. What base system is binary?

Base 16
Base 16 is Hexadecimal
Base 10
Base 10 is Denary
Base 2
Base 2 is Binary

4. In Hexadecimal the numbers 10-15 are represented by the letters A-F

True
False

5. All digital content is stored using binary

True
False

Your score is 0 / 0