Matm Midterm Transes
Matm Midterm Transes
Matm Midterm Transes
STEP 6: INTERPRET
Rs = -0.80
Interpretation: There is an inverse and high correlation between
students’ grade in mathematics and English
STEP 3: ISALPAK SA FORMULA CODING THEORY
- is the study of the properties of codes and their respective
fitness for specific applications
- bit (short for "binary digit") is the smallest unit of
measurement used to quantify computer data, it contains a
single binary value of 0 or 1
TWO PROCESSES IN CODING
ENCODING/DATA COMPRESSION
- is defined as converting the message from the sender into bits
suitable to the communication channel
DECODING
STEP 4: INTERPRET - is the opposite of encoding. It is the process of converting bits
R = 0.95 back to the original message
Interpretation = there is a direct, very high correlation between the COMMUNICATION CHANNEL
temperature and sales of fruit shakes - is the physical medium through which information is
SPEARMAN RANK CORRELATION transmitted
The table below shows the grades of 5 students in English and - Ex: telephone lines, internet cables, fiber-optic lines, and air.
in Mathematics Some storage data can be considered channels (CD-ROMS,
hard drives)
NOISES
- it alters the message in the channel that will cause disruption
and error in the messages
CHANNEL ENCODING
COMMUNICATION SYSTEM
- composed of sender (or message source), communication
channel, and the receiver
EXAMPLE 2:
- Suppose that the source encoded message is 01
where k=2. If you choose r=3, what will be the
With this problem at hand, additional process of encoding is
required known as Channel Coding repeated code?
CHANEL CODING
- is defined as adding bit size to the source encoded message so Titignan mo yung dominant sa kada digit
that the errors can be detected or even corrected
PARITY CHECK
- Only encoding
- Parity check is also called as “Vertical Redundancy Check
(VRC)” EXAMPLE 2:
- a process that ensures accurate data transmission by adding - Decode 101100011100110 if the original message uses k=3
bits to the original encoded message
Even parity if there is an even number of 1s
(0,2,4,6,8,10,12, …)
Odd parity if there is an odd number of 1s (1,3,5,7,9,11,
…)
o NOTE: The goal in doing Parity Check is to end up with an MODULAR ARITHMETHIC
EVEN PARITY - If a and b are integers and m is a natural number, in symbols
EXAMPLE#1
- Perform the channel encoding by adding a redundancy bit of
size 3 EXAMPLES 1: DETRMINE WHETHER THE GIVEN
Bibilangin kung ilan yung 1 then doon mag babase kung CONGRUENCE IS TRUE OR FALSE
even ba or odd
Kung ano yung huling number ayun yung idadagdag
If hindi even yung number ng mga 1 papalitan yung dulo
ng 1, then if sobra naman sa 1 papalitan yung dulo ng 0
FORMULA:
EXAMPLE #1
CRYPTOGRAPHY
- Originated from two Greek words, “krypto” which means
hidden and “graphene” which means writing
- it is the making or breaking of secret codes, it uses two
EXAMPLE #2
processes mainly:
1. ENCRYPTION
- The process of transforming plain text into code form using a
certain algorithm
EXAMPLE:
MATH IS FUN (plain text) – original message
PDWK LV IXQ (coded form) – cipher text
2. DECRYPTION
- The process of converting back the coded message into plain
2. INTERNATIONAL STANDARD BOOK NUMBER text
(ISBN) o KEY – refers to the strings of information that is used to
- Is used on books which is usually found at the last page of the reveal the encrypted message into readable form
book. ISBN can be ISBN-10 or ISBN-13 where they used 10 METHODS OF CRYPTOGRAPHY
or 13 digits with the last digit as the check digit SHIFT CYPHER
EXAMPLE 1: USING THE KEY OF SHIFT OF 3 TO THE
RIGHT, ENCRYPT THE WORD CRYPTOGRAPHY
Ang lagging start ng bilang is doon sa susunod na letter, then
EXAMPLE#1 pag nasa dulo na balik ulit sa umpisa ng alphabet
3. UNITED STATES POSTAL SERVICES (USPS) EXAMPLE 1: ENCRYPT THE MESSAGE MMW IS FUN LET
- Is an independent agency of the executive branch of the K=5
United States federal government responsible for providing First step: ilagay sa baba kung pang ilang letter siya sa
postal services in US alphabet
- It consists of 11 digits
Third step: Tignan mo na ulit yung corresponding letter STEP 5: GAWIN NA YUNG PINAKA FORMULA
doon sa nakuha mong sagot, then kapag sobra yung number
balik lang ulit sa umpisa yung bilang
Where:
X = independent variable
Y = dependent variable
B = slope
A = intercept
EXAMPLE 1
- A teacher desires to know wether the typing speed of a comsci
students (in words per minute) is related to the time (in hours).
Given the speed of a students (x) and the corresponding time it
will take for him to learn the word processing program, predict
the time it will take the average student who has a typing
speed of 72 words per minute to learn the word-processing
program.