0% found this document useful (0 votes)
29 views3 pages

Assignment 7- Coding (1)

The document outlines an activity involving coding and decoding messages using a specified encoding table. It includes tasks to complete tables for source and channel encoding, as well as decoding messages received. Additionally, it covers encoding messages using repetition codes and decoding messages affected by noise.

Uploaded by

Sherwin Tura
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views3 pages

Assignment 7- Coding (1)

The document outlines an activity involving coding and decoding messages using a specified encoding table. It includes tasks to complete tables for source and channel encoding, as well as decoding messages received. Additionally, it covers encoding messages using repetition codes and decoding messages affected by noise.

Uploaded by

Sherwin Tura
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Name: De Guzman, John Rick Score:

Section: BSMarE 2-YB-6 Instructor: Sir. Melanio Nipas Date:


05/17/23

ACTIVITY : CODING

Suppose the following messages are source encoded given by the table.

Encoded
Message
Bits

UP 00

DOWN 01

LEFT 10

RIGHT 11

I.Complete the given table by writing the source encoded message of the following set of directions.

Set of Directions Source Encoding

LEFT - UP - RIGHT - DOWN 1.) 10001101

UP - DOWN - UP - RIGHT 2.) 00010011

DOWN - DOWN - RIGHT - LEFT 3.) 01011110

UP - DOWN - LEFT - RIGHT 4.) 00011011

RIGHT - LEFT - RIGHT - UP 5.) 11101100

II.Decode the set of directions given by the message received.

Message Received Decoded Message

10010011 1.) LEFT-DOWN-UP-RIGHT

01010010 2.) DOWN-DOWN-UP-LEFT

11000110 3.) RIGHT-UP-DOWN-LEFT

01100111 4.) DOWN-LEFT-DOWN-RIGHT


00101111 5.) UP-LEFT-RIGHT-RIGHT

III. Complete the given table by writing the channel encoded message by using parity check of adding 1
bit in the message.

Source Channel
Message
Encoding Encoding

ALLY 000 1.) 0000

ENEMY 011 2.) 0111

ATTACK 100 3.) 1000

RETREAT 111 4.) 1111

SURRENDER 101 5.) 1011

IV. Encode the following messages using the given message and the value of r.

Source Encoding r Channel Encoding

101 2 1.) 101101101101101

100 3 2.) 100100100100100100100

001 2 3.) 001001001001001

011 2 4.) 011011011011011

110 3 5.) 110110110110110110110

V. Decode the following messages that encounter noises in the channel where the channel encoding
uses repetition code where k =3.

1.) 101101011100110 101

2.) 010010001010011 010

3.) 111110110010100 110


4.) 100100001010010 000

5.) 101111101111110 111

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy