Character Encoding Essay

1475 Words6 Pages
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…show more content…
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: Please hand in your
Get Access