0% found this document useful (0 votes)
10 views6 pages

Understanding Binary and Decimal Systems

The document discusses the binary and decimal number systems and their importance in programming. It begins with an introduction asking whether binary and decimal systems are essential in programming. It then explores the two systems in more detail, comparing how decimal uses base-10 with digits 0-9 while binary uses base-2 with only 0s and 1s. It practices clarifying concepts about the systems and has an extension activity about decimal and binary digits.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views6 pages

Understanding Binary and Decimal Systems

The document discusses the binary and decimal number systems and their importance in programming. It begins with an introduction asking whether binary and decimal systems are essential in programming. It then explores the two systems in more detail, comparing how decimal uses base-10 with digits 0-9 while binary uses base-2 with only 0s and 1s. It practices clarifying concepts about the systems and has an extension activity about decimal and binary digits.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

The Binary Number

Takeaway System
E S P > Software Programming>
Level A1.1 Pre - Starter

Instructor: Date:

Learner: Regional Branch:

Program: Center:

CONTENT
• Let’s Start! • Let’s Explore! • Let’s Practice! • Extension Activity • Target Words • Learning Points

Let’s Start!

Are binary and decimal number systems really essential in programming?

1001001001000001
11101010101

Learning Outcome: Can Do Statements:

Exchange information about logic, its • I can say how to understand the
principles, and methods in simple decimal number system.
spoken and written situations. • I can say how to understand the
Describe the development and software binary number system.
programming in simple spoken and • I can answer some questions about
written situations. the binary number system in
programming.
Ask your partner:
• Why do you think the decimal and
binary number systems are important
in programming?
• In which contexts do you need to use
them? Why?

1
The Binary Number
Takeaway System
E S P > Software Programming>
Level A1.1 Pre - Starter

Let’s Explore!

Do you remember everything about binary and decimal number systems?

Instructions: Read the text below.


Teacher: Today, we continue with the binary number system. Can you tell me how to
understand it? What about the decimal number system? Do you know any
example?
Paula: Well, I remember some basic concepts I learned at school. I think that to
understand the binary system we can start with the decimal one, which works
with units of ten, or “Base 10”, as we know it. To represent numbers, this
system needs the digits from 0 to 9. I remember dividing a number into three
columns: column H for hundreds, T for tens and O for ones, so that, in that
order, the number 184 is 1-hundreds plus 8-tens, plus 4-ones.
Teacher: Good! How can you depict that number in the corresponding equation?
Paula: 184 is {(1*10^2) + (8*10^1)+(4*10^0)}, taking into account that the ones
column is 10^0, the tens column, 10^1 and the hundreds column, 10^2.
Teacher: Correct! Luis, what can you tell me about the binary number system?
Luis: It differs from the decimal system in some ways. First, we know it as “Base
2” because it only works with 2 digits. Each digit has two possible values: 0
or 1.
Paula: Is that what we call a "bit"?
Luis: Yes, “bit” is the short form of “Binary Digit”. Each bit has to be multiple of 2 if
we talk about a binary number system.

Teacher: Great! But, why do you think these topics are important in programming?
Paula: Well, you use the binary system to express data for computer programming!
With this system you can execute a lot of operations in computing as solving
software engineering problems, extracting information from bit fields and
reading raw data.

2
The Binary Number
Takeaway
Takeaway System
E S P > Software Programming>
Level A1.1 Pre - Starter

Let’s Practice!

Let’s clarify some concepts!


Instructions: Select the correct answer to complete each sentence.

1. We can start with the decimal system, 4. _____ tell me about the binary and
it works with units of ten is called decimal number systems?
_____. a. Can you what
a. “Base 10” b. What can you
b. “Base 1” c. What you can
c. “Base 2”
5. _____ from the decimal system in
2. To represent numbers, this system some ways.
needs the digits _____. a. Binary can differs
a. by 0 to 9. b. Binary can differ
b. from 0 to 9. c. Binary can differed
c. To 0 from 9.

3. _____ a number in three columns?


a. Can I dividing
b. Can we divide
c. Can they divided

Let’s Practice!

Can you tell me what the last class was about?


Instructions: Read the questions. Underline all the mistakes in the questions.

1. Can you mentioned an example of a decimal number system? Yes! The number 165 is
1-hundreds plus 6-tens, plus 5-ones.
2. Must you gave me an example of a binary number system? Yes! The number 10100
represents one “group” of 16, 0 groups of 8, 1 group of 4, 0 groups of 2 and the
value 0.
3. Can you telling my about the binary number system of “Binary Digit”? Yes, it is bit.

3
The Binary Number
Takeaway
Takeaway System
E S P > Software Programming>
Level A1.1 Pre - Starter

Extension Activity

Decimal and Binary Digits

Instructions: Complete the following steps. Fill in the Self-Assessment.

a) Look for information about the main


uses of representations of decimal Self-Assessment Yes No
and binary digits.

b) Write down a paragraph in which 1. I look for the main uses


you mention important aspects of of representations of
them. decimal and binary
digits.
c) Share the paragraph with your
instructor 2. I write down a
paragraph important
aspects.

3. I share the paragraph


with the instructor.

Target Words

• raw data (noun): primary data that • differ from (verb): to be different
comes from one source from something
e.g. You can execute a lot of e.g. Binary system differs from the
operations in computing as solving decimal system in some ways.
software engineering problems,
extracting information from bit fields • depict (verb): to represent
and reading raw data. e.g. How can you depict that number in
the corresponding equation?
• digit (noun): a number
e.g. Decimal system needs the digits • extract (verb): to remove, to collect
from 0 to 9. e.g. you can execute a lot of operations
in computing as solving software
• equation (noun): a mathematic engineering problems, extracting
symbolic representation. information from bit fields and reading
e.g. How can you depict that number raw data.
in the corresponding equation?

4
The Binary Number
Takeaway
Takeaway System
E S P > Software Programming>
Level A1.1 Pre - Starter

Learning Points

Verb Can, and Simple Present Tense to Ask Questions on Programming

You formulate questions with can and the simple present tense to get information
about present facts; in this case, to collect information about programming.

Use the modal verb can to express permission, possibility or ability. To formulate
questions, have in mind the following structure:

Can + subject+ verb + compliment?


Can you use Boolean expressions in this context?

Use the simple present to ask questions about present facts. Don't forget the auxiliary
verb Do / Does when formulating the question:

Do/Does+ subject + verb+ compliment?


Do you know how to store a number 1 through 100?
Does she understand how the decimal system works?

Examples

• How can you represent that number in the corresponding equation?


• Do you know any example?
• Why do you think these topics are important in programming?

5
The Binary Number
Takeaway
Takeaway System
E S P > Software Programming>
Level A1.1 Pre - Starter

Learning Points

Representation of Decimal and Binary Digits

Binary and decimal systems are widely used in computing science. Some aspects of this
one requires the knowledge of these systems, which is why it is crucial to understand
how they work.

In the following chart, you'll see the representation of these two number systems:

Decimal Digits Binary Digits Representation


0 0 Value of 0
1 1 Value of 1

2 10 One “group” of 2 followed by the value 0

3 11 One “group” of 2 followed by the value 1

One “group” of 4 followed by 0 groups of 2


4 100
followed by the value 0
One “group” of 4 followed by 0 groups of 2
5 101
followed by the value 1

One “group” of 4 followed by 1 group of 2


6 110
followed by the value 0
One “group” of 4 followed by 1 group of 2
7 111
followed by the value 1
One “group” of 8, 0 groups of 4, 0 groups of
8 1000
2 and the value 0
… … …

One “group” of 16, 0 groups of 8, 1 group of


20 10100
4, 0 groups of 2 and the value 0

… … …
1 group of 64, 1 group of 32, 0 groups of
100 1100100 16, 0 groups of 8, 1 group of 4, 0 groups of
2 and 0
… … …
1 group of 64, 1 group of 32, 1 group of 16,
125 1111101 1 group of 8, 1 group of 4, 0 groups of 2 and
1

Common questions

Powered by AI

An instructor might emphasize the binary number system early in a programming course because it forms the foundational basis for computer operations. Early exposure ensures learners understand how data and instructions are inherently processed by computers, promotes comprehension of complex topics like data structures and networks, and prepares students for more advanced studies involving computer systems and architecture .

It is essential to convert between decimal and binary systems in programming because computers inherently process information in binary. Understanding conversions allows programmers to translate human-readable numbers into machine-compatible formats and vice versa, revealing how data is fundamentally represented and manipulated in digital devices. This conversion process is critical for tasks like debugging, optimizing code, and performing lower-level programming tasks .

Using both binary and decimal systems in software engineering problem-solving allows for seamless integration of human-comprehensible data and machine-executable instructions. The dual-system approach ensures precise algorithm development, efficient debugging, and data manipulation, facilitating innovation and operational efficiency in software solutions .

Examining the uses of decimal and binary digits in software programming highlights the vital role they play in data representation and manipulation. Decimal is primarily used for human-readable numerical input and output, while binary is used for system-level processes, reflecting how hardware processes data. This distinction emphasizes the importance of understanding both systems to effectively bridge human-computer interactions and optimize programming tasks .

Challenges in transitioning from the decimal system to the binary system include adjusting to a system with fewer digits and understanding the binary place value. Addressing these challenges involves extensive practice in converting between the systems, using visual aids like charts to see binary progression, and employing bit manipulation exercises to strengthen familiarity with binary operations .

The concept of 'bit' in the binary number system, representing a binary digit of either 0 or 1, is fundamental to efficient data processing because it allows for simple and rapid manipulation of digital information. Each bit contributes to forming larger data structures and commands through combinations, enabling binary arithmetic and logic operations required in processing tasks to be performed quickly and with minimal resource consumption .

In the decimal system, the number 184 is expressed as 1-hundred (10^2), 8-tens (10^1), and 4-ones (10^0). This can be depicted by the equation: 184 = (1*10^2) + (8*10^1) + (4*10^0). In binary, however, 184 is represented as the sequence 10111000, which translates to 1 group of 128 (2^7), 0 groups of 64 (2^6), 1 group of 32 (2^5), 1 group of 16 (2^4), 1 group of 8 (2^3), 0 groups of 4 (2^2), 0 groups of 2 (2^1), and 0 groups of 1 (2^0).

Binary digits facilitate operations like solving software engineering problems and reading raw data by enabling the direct representation of logical states and values used in computation. Bits are combined into larger data units, allowing for diverse operations such as arithmetic calculations, data encoding, and logical comparisons, crucial for executing computational methods and processing raw data efficiently .

Understanding the decimal system provides a basis for comprehending the binary system because it helps learners recognize the concept of place value, which is fundamental to both systems. In the decimal system, numbers are expressed using powers of 10, whereas in the binary system, numbers are expressed using powers of 2. This understanding of positional notation is crucial when transitioning to the simpler binary system, which involves only two digits: 0 and 1 .

The binary number system is fundamental in computer programming because computers operate using binary logic, which involves the use of two states represented by 0 and 1. This makes binary a natural fit for representing data and instructions in a digital format. Its main uses include executing operations in computing, solving software engineering problems, extracting information from bit fields, and reading raw data .

You might also like