Types of Number

From TRCCompSci - AQA Computer Science
Revision as of 09:18, 19 September 2017 by Admin (talk | contribs) (Revision)
Jump to: navigation, search

Natural Numbers

A positive whole number including zero. Represented as N = (0,1,2,3,4 ....)

Integer Numbers

Any positive or negative whole number including zero. Represented as Z = (...,-2,-1,0,1,2,...)

Rational Numbers

A number that can be expressed as a fraction or ratio. Represented as Q

Irrational Numbers

A number that cannot be represented as a fraction or ratio, the decimal form will contain infinite repeating values.

Real Numbers

Any positive or negative number with or without a fractional part.

Ordinal Numbers

A number used to identify the relative position of one number to another.

Cardinal Numbers

A number used to identify the size of something.

Revision

1. -1 is not included in which of the following

Natural Number
Natural numbers are only positive integers
Rational Number
All integers can be respresented as a ratio
Real Number
All integers are also real numbers
Integer
Integers are positive or negative

2. 12 is not included in which of the following

Natural Number
Natural numbers are only positive integers
Irrational Number
All integers can be respresented as a ratio
Real Number
All integers are also real numbers
Integer
Integers are positive or negative

3.

The denary number 31 can be represented in unsigned 8 bit binary as:
→ 31 divided by 2 = 15 r 1
→ 15 divided by 2 = 7 r 1
→ 7 divided by 2 = 3 r 1
→ 3 divided by 2 = 1 r 1
→ 1 divided by 2 = 0 r 1
→ Now read the remainders from the bottom up to get 11111
→ add the extra bits needed to make it upto 8 bits

Your score is 0 / 0