Communicating Across Time Comparing ASCII and Morse Code 1
Communicating Across Time Comparing ASCII and Morse Code 1
Time
Comparing ASCII and
Morse Code
Objectives
Evaluate the principles Demonstrate the ability
Express an appreciation
and applications of to encode and decode
for the historical and
Morse Code and ASCII, messages in Morse Code,
cultural significance of
and distinguish their translate text using ASCII
Morse Code and ASCII in
roles in the progression values, and convert data
shaping global
of communication into binary through
communication.
technologies. interactive exercises.
What is Morse
Code?
What is Morse
Code?
Morse Code is a system of communication
that uses a series of dots (short signals) and
dashes (long signals) to represent letters,
numbers, and special characters. It was
invented in the 1830s by Samuel Morse and
Alfred Vail for use in telegraphy.
Function of Morse
Code
Morse code is used to send messages over
long distances through sound, light, or radio
signals. It’s especially useful in situations
where voice communication is impossible,
such as in emergencies, aviation, and
maritime signaling.
Morse Code
Morse Code is indirectly related to computer data as both
encode information into transmittable signals. It paved the
way for modern communication by influencing encoding
principles, such as ASCII and binary, used in computing today.
Morse
Code
Try to write your name using Morse
Code?
What is ASCII Code?
What is ASCII code?
ASCII Code (American Standard Code for
Information Interchange) is a system that
assigns numeric values to letters, numbers,
and symbols. For example, the letter "A" is
represented as 65 in ASCII.
Funtion of ASCII
code
ASCII is used in computers and electronic
devices to convert text into a format that
machines can process and store. It ensures
compatibility and standard communication
between devices.
How ASCII is Related to Morse?
ASCII and Morse Code both encode text for communication.
Morse Code uses dots and dashes for audio or visual
transmission, while ASCII uses numerical values for digital
systems. Both serve to standardize text encoding but in
different environments—analog for Morse and digital for
ASCII.
Using the ASCII Table, convert your
name into hexadecimal character.
Using the ASCII Table, convert your
name into hexadecimal character.
What is Binary
Binary is a number system using only 0s and 1. It is the
language computers use to process data, where each digit (bit)
represents a value in a power of 2. For example, the binary
number 101 equals 5 in decimal.
How it works?
101 = 5
How it works?
101 = 5
Bits = 4 2 1
How it works?
101 = 5
Bits = 4 2 1
Binary = 1 0 1
How it works?
101 = 5
Bits = 4 2 1
Binary = 1 0 1
How it works?
101 = 5
Bits = 4 2 1 = 5
Binary = 1 0 1
8 bits binary
Power of 2
128 64 36 16 8 4 2 1
8 bits binary
Power of 2
128 64 36 16 8 4 2 1
0 0 1 0 0 1 1 1
8 bits binary
Power of 2
128 64 36 16 8 4 2 1
0 0 1 0 0 1 1 1 = 43
8 bits binary
Power of 2
128 64 36 16 8 4 2 1
0 0 1 0 0 1 1 1 = 43
Convert this binary into decimal
00111000 =
00000111 =
10000000 =
10101010 =
Convert this decimal into binary
12 =
100 =
3 =
50 =
Convert your name into binary; use
the ASCII code to find the decimal
value of the letter of your name.
Bitwise Operation
Bitwise operations manipulate individual bits of binary
numbers. Common types include:
AND (&): Results in 1 only if both bits are 1.
OR (|): Results in 1 if at least one bit is 1.
XOR (^): Results in 1 if the bits are different.
AND
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
AND
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
0 0 0 1 0 0 1 0
AND
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
0 0 0 1 0 0 1 0
If both bits are 1, the corresponding result bit
is set to 1
OR
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
OR
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
0 1 1 1 1 1 1 1
OR
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
0 1 1 1 1 1 1 1
If at least one of the bits is 1, the corresponding result
bit is set to 1
XOR
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
XOR
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
0 1 1 0 1 0 0 1
XOR
0 1 0 1 1 1 1 0
0 0 1 1 0 0 1 1
0 1 1 0 1 1 0 1
If the bits are different (one is 0 and the other is 1), the corresponding
result bit is set to 1; if the bits are the same, the result bit is set to 0.
Activity:
Using bitwise operation solve the following decimal into binary.
13 1 30 61 15
67 23 20 78 11
Thank you and Godbless