AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Contents · Computing

Number systems

Lessons 4 · 1 lessons · B. Boltayev, M. Mahkamov, A. Azamatov, S. Rahmonqulova. Informatics and Information Technologies, Grade 7. Revised and expanded third edition. “O‘zbekiston milliy ensiklopediyasi” State Scientific Publishing House, Tashkent, 2017
4

About number systems

Textbook: pp. 21–28
GoalExplains number system, digit, number and base, tells positional and non-positional systems apart, counts in systems of different bases and writes a number in compact and expanded form.
New words
number system: a set of digits together with rules for writing numbers · sanoq sistemasibase: the number of digits used in the system · sistema asosipositional system: the value of a digit depends on its place in the number · pozitsiyali sistemaexpanded form: a number written as a sum of its digits times powers of the base · yoyiq ko‘rinish
Explanation

A number system is a set of digits (signs) for writing numbers together with the rules for using them. The number of digits in the system is its base: in the decimal system the base is 10 (digits 0 to 9), in the binary system it is 2 (0 and 1). One-place signs are digits, many-place writings made of them are numbers: 5, 6, 8 are digits, 568 is a number. In the past various peoples used five-based, twelve-based, twenty-based (Maya) and sixty-based (Babylonian) systems; the 60 minutes of an hour and the 12 + 12 hours of a day remind us of this. In a positional system the value of a digit depends on its place (position) in the number: in 333 the three 3s mean 300, 30 and 3. The Roman system is not positional: in XXX each X always means 10. A system with base p has digits from 0 to p – 1; when the base is above 10, letters A, B, C, … are added (in base 16, A = 10, …, F = 15). The next number is made by “shifting” the last digit, while the largest digit turns into 0 and shifts its left neighbour. In every positional system its own base is written “10”, so the base is shown as a subscript: 101₂, 101₈. In expanded form a number is written as the sum of its digits times powers of the base: 4072 = 4 · 10³ + 0 · 10² + 7 · 10¹ + 2 · 10⁰. One of the scholars who spread today’s decimal positional system was Muhammad al-Khwarizmi (born in Khorezm, about 780–850): his treatise on Hindu arithmetic was translated into Latin, and its opening words “Dixit Algorizmi” gave rise to the word “algorithm”.

BaseDigits
20, 1
30, 1, 2
100 – 9
160 – 9, A – F (A = 10, … F = 15)
2⁷01282⁶0642⁵0322⁴0162³182²142¹022⁰11

00001101₂ = 8 + 4 + 1 = 13

The buttons flip the bits: 1 means the place value is added, 0 means it is not

💡 Where will I use this?
In real life

Pencils are packed 12 to a box. 30 pencils make 2 full boxes and 6 left over: 2 · 12 + 6. In this base-12 counting the number is written 26. In a positional system the place of a digit decides its value.

Who uses it

A storekeeper counts goods in boxes and pieces, a watchmaker works with hours, minutes and seconds, and a programmer writes numbers in different systems.

Try it today

Draw 20 dots and circle them in groups of 5. How many groups and how many are left over? Explain why in base 5 this number is written 40.

Worked examples
decimal (top) and base 3 (bottom)
0123456789
012101112202122100
Counting in base 3: 0, 1, 2, 10, 11, 12, 20, 21, 22, 100 … Here 2 is the largest digit, so after 2 comes 0 and the left digit shifts: after 22 comes 100.
1011₂ = 1·2³ + 0·2² + 1·2¹ + 1·2⁰
1011
2³2²2¹2⁰
The expanded form of 1011₂ is 1 · 2³ + 0 · 2² + 1 · 2¹ + 1 · 2⁰; dropping the zero term, we may write 1 · 2³ + 1 · 2¹ + 1 · 2⁰.
Class activity

“Finger system”: pupils use their fingers as a counting tool and “show” numbers in base 5 (one hand per place); a partner reads them.

Practice
1
Write the three numbers after 44 in base 5.
2
Write 4072 in expanded form and say what the digit 7 means in it.
3
Why can the digit 5 not appear in a base-5 number?
4
Why is the Roman system called non-positional?
Story of the Week · The Khwarizmi WayWhere are the earthworms?Close the week: all of this week’s subjects in one storyRead →