Preview

Character Encoding

Satisfactory Essays
Open Document
Open Document
1485 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Character Encoding
COMP323 FOUNDATION OF CHINESE COMPUTING

Lecture 2: Concept of Character Set, Code Set and Encoding

Monday, 24 September, 2012

Student Name: _________________ Student ID: _________________

NOTE: Please hand in your answers before the end of class.

Exercise 1:
(a) How many characters can be encoded with the 3-bit codes? (b) To encode 100 characters, at least how many bits are required? (c) For a character set with n number of characters, what is the minimum number of bits required so that all characters can be given different values?

Exercise 2:
Assume six Chinese characters are placed in a 6×6 table and in particular in the 6 positions specified below, what binary values can be assigned to these 6 characters according to the given two-dimensional code space?








COMP323 FOUNDATION OF CHINESE COMPUTING

Lecture 2: Concept of Character Set, Code Set and Encoding

Monday, 24 September, 2012

Student Name: _________________ Student ID: _________________

NOTE: Please hand in your answers before the end of class.

Exercise 1:
(a) How many characters can be encoded with the 3-bit codes? (b) To encode 100 characters, at least how many bits are required? (c) For a character set with n number of characters, what is the minimum number of bits required so that all characters can be given different values?

Exercise 2:
Assume six Chinese characters are placed in a 6×6 table and in particular in the 6 positions specified below, what binary values can be assigned to these 6 characters according to the given two-dimensional code space?








COMP323 FOUNDATION OF CHINESE COMPUTING

Lecture 2: Concept of Character Set, Code Set and Encoding

Monday, 24 September, 2012

Student Name: _________________ Student ID: _________________

NOTE:

You May Also Find These Documents Helpful

Related Topics