Create two n-bit codes C1 and C2 (where n is the minimum number of bits) sufficient to uniquely encode each letter (in upper and lower case) of your full name (exclude spaces between...


Create two n-bit codes C1 and C2 (where n is the minimum number of bits) sufficient to uniquely encode each letter (in upper and lower case) of your full name (exclude spaces between first/second/third names). Each letter, even if it repeats in the name (as S repeats in COMSATS), should get only one unique code. No two codes in C1 and C2 should be the same. For example, to encode upper and lower case letters of COMSATS, the binary codes C1 and C2 are given in the Table 1. Sum all the bits of code C2 and produce a sum (S) and a carry (C) bit for each row of code C2 as shown in the table 1. Upper case letters of name Code C1 Lower case letters of name Code C2 SUMing bits of C2 Carry bit (C) Sum bit (S) C 0 0 0 0 c 0 1 1 0 1 0 O 0 0 0 1 o 0 1 1 1 1 1 M 0 0 1 0 m 1 0 0 0 0 1 S 0 0 1 1 s 1 0 0 1 1 0 A 0 1 0 0 a 1 0 1 0 1 0 T 0 1 0 1 t 1 0


Odd<br>Even<br>Upper case letters<br>of name<br>parity parity bit<br>bit of C2<br>Code<br>Lower case<br>Code<br>C1<br>letters of name<br>C2<br>of C2<br>(ОР)<br>(ЕP)<br>0 0 00<br>0 0 0 1<br>00 1 0<br>0 0 11<br>0 1 0 0<br>0 1 0 1<br>Table 1: Binary letter codes<br>C<br>c<br>0 110<br>1<br>0 1 1 1<br>1<br>M<br>1000<br>1<br>S<br>1001<br>1<br>A<br>a<br>1010<br>1<br>1011<br>1<br>

Extracted text: Odd Even Upper case letters of name parity parity bit bit of C2 Code Lower case Code C1 letters of name C2 of C2 (ОР) (ЕP) 0 0 00 0 0 0 1 00 1 0 0 0 11 0 1 0 0 0 1 0 1 Table 1: Binary letter codes C c 0 110 1 0 1 1 1 1 M 1000 1 S 1001 1 A a 1010 1 1011 1

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here