FINALS-REVIEWER-MATM111
FINALS-REVIEWER-MATM111
MATM111
FINALS EXAM REVIEWER
Coding theory is the study of the properties of codes and their respective fitness for specific
applications. Codes are used for data compression, cryptographic coding, error detection and
correction, data transmission and data storage.
o Communication Channel – Is the physical medium through which information is
transmitted.
Example: telephone lines, internet cables, fiber-optic lines, and air. Some storage data
can be considered channels (CD-ROMS, hard drives).
o Noise - It alters the message in the channel that will cause disruption and error in the
messages.
Source code – original message that refers to data compression done at the receiver,
independently of any error control coding, in order to reduce transmission time or signal
bandwidth.
Bit (Binary Digit) - is the smallest unit of measurement used to quantify computer data. It
contains a single binary value of 0 or 1.
Byte - It refers to the number of bits used to represent a string of information. It is a unit of data
that is eight binary digits long. A byte is the unit most computers use to represent a character
such as a letter, number or typographic symbol.
o There is one byte per letter. 1 byte is 8 bits. Example: the word NEW has 3 bytes and 24
bits
Channel coding - defined as adding some form of redundancy to the source encoded message
so that the errors can be detected or even corrected.
o Parity Check - It is a single bit added to the message as redundancy bit. It detects,
changes and corrects a single bit error
o Repetition Code (Encoding) – is one of the most basic error-correcting codes.
A code will be given, suppose that the source encoding is already done and that the
encoded message is of fix length k. The channel encoding by repetition is performed by
taking the k bits then repeating it 2r + 1, where r is greater than or equal to 1 is a fixed
integer.
Given that K=2 and the transmitted message is repeated 21 times, identify the value of r
and state the total bits that will pass through the medium.
If R is missing, minus 1 divided by 2
o Repetition Code (Decoding) – you will find the source code. Count the frequency of 0s
and 1s, the most dominant number will be the code.
110011 111001 001101
0 = 1, 1, 1, 2, 2, 0
1 = 2, 2, 2, 1, 1, 3
111001
MODULAR ARITHMETIC - is a system of arithmetic for integers, which considers the
remainder.
o M means modulo or divisor
Note: If the final sum is divisible by 10, then the credit card is valid. If it is not divisible by 10, the
number is invalid or fake.
2.
MODULO OPERATOR -the sender of the code uses the key K to encrypt and to decrypt
the secret message. (ENCRYPT – ADD; DECRYPT – SUBTRACT), note: number the
alphabet 0-25
For 25 below, no computation. 26 and up, use mod 26. For 26 exact, 0. For negative
value, just subtract with 26.
Get the standard quota - the whole part of the quotient when the population of the sub
– group is divided by the standard divisor.
¿−group population n
Q= =
Standard Divisor D
Graph - a diagram that contains information and depicts connection and relationship
between the various parts of the diagram
Note: From example 3;
1. Edge e4 is known as Loop. Loop is an edge that connects a vertex to its self.
2. Edges e7 and e8 are called multiple edges or parallel edges. Parallel Edges – are edges that connect
the same vertices.
This is just a help. Do not depend everything on this reviewer. Some items on the exam only
need analysis. Try to figure it out.