tanszek:oktatas:techcomm:encoding_techniques
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tanszek:oktatas:techcomm:encoding_techniques [2024/09/10 10:14] – [LZW] kissa | tanszek:oktatas:techcomm:encoding_techniques [2025/11/23 18:43] (current) – [Exercises] kissa | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Encoding Techniques ===== | + | ====== Encoding Techniques |
| **Encoding techniques** are methods used to convert data into a specific format for efficient storage, transmission, | **Encoding techniques** are methods used to convert data into a specific format for efficient storage, transmission, | ||
| - | In addition to encoding, **encryption** is a crucial technique used to secure data by converting it into a coded format that is only decipherable with the appropriate key, ensuring privacy and protection against unauthorized access. | ||
| - | ==== BCD ==== | ||
| - | **BCD** (//**Binary-Coded Decimal**// | + | /*In addition to encoding, |
| - | === Exercise | + | ===== BCD ===== |
| - | //In a communication system, we want to transmit | + | **BCD** (//**Binary-Coded Decimal**// |
| - | a) What will be the length of the encoded messages if each decimal digit is encoded with 4 bits in BCD encoding?// | + | ==== Lecture Notes ==== |
| - | <fc # | + | * [[tanszek: |
| + | * [[tanszek: | ||
| - | //b) Create a possible structure of the code table that assigns the binary representation of digits to the numbers, supplemented with a parity bit. What will be the code for the numbers 42, 87, 100, and 111 in the system?// | + | ==== Exercises ==== |
| - | <fc # | + | In a communication system, we want to transmit numbers from 40 to 119 using a fixed-length BCD code with parity checking (even parity). |
| - | //c) What will be the entropy and redundancy | + | a) What will be the length |
| - | <fc # | + | b) Create a possible structure of the code table that assigns the binary representation of digits to the numbers. What will be the code for the numbers 42, 87, 100, and 111 in the system? |
| - | //d) How many bits would the messages | + | c) What will be the entropy and redundancy of this code if the occurrence of numbers in the range 40 $\leq$ n $\leq$ 69 is four times more frequent than the occurrence of numbers in the range 70 $\leq$ n $\leq$ 119? |
| - | <fc # | + | d) How many bits would the messages be if we used pure fixed-length binary coding with parity checking? |
| - | ==== Huffman ==== | + | ===== Huffman |
| **Huffman** coding is a lossless data compression algorithm that assigns variable-length codes to input characters based on their frequencies: | **Huffman** coding is a lossless data compression algorithm that assigns variable-length codes to input characters based on their frequencies: | ||
| - | === Exercise | + | ==== Lecture Notes ==== |
| - | // | + | * [[tanszek: |
| - | <fc # | + | ==== Exercises ==== |
| - | ==== LZW ==== | + | |
| + | a) Explain Huffman encoding by encoding the message **COMPRESSION_IS_COOL**! | ||
| + | |||
| + | b) Explain Huffman encoding by encoding the message **HELLO_WORLD_HELLO_EVERYONE**! | ||
| + | |||
| + | ===== LZW ===== | ||
| **LZW** (// | **LZW** (// | ||
| - | === Exercise === | ||
| - | //Explain LZW encoding by encoding the message **ABABABAB**!// | + | ==== Lecture Notes and Videos ==== |
| + | |||
| + | * [[tanszek: | ||
| + | * [[https://www.youtube.com/ | ||
| + | * [[https:// | ||
| + | |||
| + | ==== Exercises ==== | ||
| + | |||
| + | a) Explain LZW encoding by encoding the message **ABABABAB**! | ||
| + | |||
| + | b) Decode the received message using only the initial dictionary! | ||
| + | |||
| + | |||
| + | c) Encode the message **ABRACADABRAABRACADABRA** with LZW coding! | ||
| + | |||
| + | d) Decode the received message using only the initial dictionary! | ||
| + | |||
| + | /* | ||
| + | |||
| + | ===== RSA ===== | ||
| + | **RSA** (Rivest-Shamir-Adleman) is a widely used asymmetric cryptographic algorithm that secures data through a pair of public and private keys, enabling secure encryption and decryption. Its strength lies in the difficulty of factoring large prime numbers, providing robust protection for sensitive information. RSA is commonly applied in secure communication protocols, such as SSL/TLS for internet security, digital signatures, and email encryption. | ||
| - | <fc # | + | ==== Lecture Notes ==== |
| - | //Decode the received message using only the initial dictionary!// | + | * [[tanszek: |
| - | <fc # | + | ==== Exercises ==== |
| - | ==== RSA ==== | + | In an RSA code, **p=11, q=31, e=7, d=103**. Encrypt the message |
| - | **RSA** (**// | + | |
| - | === Exercise === | + | In an RSA code, **p=11, q=29, e=3, d=187**. After encoding with the public key, we receive the message **81**. What was the original message? |
| - | <fc # | + | */ |
tanszek/oktatas/techcomm/encoding_techniques.1725963241.txt.gz · Last modified: 2024/09/10 10:14 by kissa
