JSS2: COMPUTER STUDIES - 1ST TERM
-
Computer Software | Week 14 Topics|1 Quiz
-
Operating System | Week 29 Topics|1 Quiz
-
Four Good Definitions of Computer Program
-
Operating System
-
Translators & Utility Programs
-
Advantages of Operating System
-
Functions of Operating System
-
Classification of Operating Systems
-
Examples and Uses of Operating Systems
-
Advantages of Windows Over Earlier Operating Systems
-
GUI And Command-Line (CLI) O/S
-
Four Good Definitions of Computer Program
-
Computer Memory: Primary And Secondary Memory | Week 35 Topics|1 Quiz
-
Computer Memory II: Secondary Memory (Backing Storage) | Week 42 Topics|1 Quiz
-
Number System I | Week 54 Topics|1 Quiz
-
Number System II | Week 63 Topics|1 Quiz
-
Units of Storage In Computer | Week 72 Topics|1 Quiz
-
Problem Solving Skills With Computer | Week 85 Topics|1 Quiz
-
Computer Programming Languages | Week 93 Topics|1 Quiz
Quizzes
Number Base Conversions
Topic Content:
- Conversion From Decimal To Binary
- 7 Worked Examples
- Evaluation Questions
Conversion From Decimal To Binary:
Note that the binary number 1010 may be specified as base two by writing it as 10102, i.e. base two (2). The decimal number 100 may be written as 10010, i.e. base ten (10). Don’t forget that binary numbers are the mother tongue of computers.
Rules to follow:
i. Divide the decimal number by 2
ii. Continue the division until zero is reached
iii. Read the remainder to get the answer starting from the bottom upward.
Worked Example 1:
Convert 18 in decimal to binary (base 2)
Solution
Answer: 1810 = 100102
Worked Example 2:
Convert 1010 to base 2
Answer: 1010 = 10102
Worked Example 3:
Convert 2210 to base 2
Answer: 2210 = 101102
Worked Example 4:
Convert 1610 to base 2
Answer: 1610 = 100002
Worked Example 5:
Convert 7 to binary
Answer: 710 = 1112
Worked Example 6:
Covert 30 to binary
Answer: 3010 = 111102
Worked Example 7:
Convert 132 to binary
Answer: 13210 = 100001002
Evaluation:
Now, do the following binary conversions:
Convert the following decimal numbers to their binary equivalents
100, 21, 15, 31, 421, 666, 314, 419, 24, 50, 200, 185.