Kaduna State University: Faculty of Sciences Department of Computer Science
Kaduna State University: Faculty of Sciences Department of Computer Science
FACULTY OF SCIENCES
DEPARTMENT OF COMPUTER SCIENCE
NAME OF STUDENT:
MUSA FRIDAY
MATRIC NO.
KASU/19/CSC/1031
COURSE:
CSC 203 (OPERATING SYSTEM)
TASK:
TAKE – HOME ASSIGNMENT
DUE DATE:
THURSDAY, 5TH OF AUGUST, 2021
QUESTION
1. What do you understand by encoding?
2. Classify the following;
a. Laptop
b. Mobile phones
c. Tablets
d. Briefcase computers
e. Notebook computers
into any of general purposed computers or special purposed computers.
[QUESTION 1]
ENCODING
Encoding is the process of putting a sequence of characters such as letters, numbers and
other special characters into a specialized format for efficient transmission. The opposite
of encoding is Decoding which is the process of converting an encoded format back into
the original sequence of characters. It is completely different from Encryption which we
usually misinterpret.
Encoding and decoding are used in data communications and storage. Encoding should
NOT be used for transporting sensitive information.
FORMS/KINDS OF ENCODING
URL Encoding
URLs can only be sent over the Internet using the ASCII character-set and there are
instances when URL contains special
characters apart from ASCII characters, it needs to be encoded. URLs do not contain
spaces and are replaced with a plus (+)
sign or with %20.
ASCII Encoding
The Browser (client side) will encode the input according to the character-set used in the
web-page and the default character set in HTML5 is UTF-8.
ADVANTAGES OF ENCODING
1. Speeding up data entry
2. Less storage space
3. Some codes are easy to understand e.g Mon, Teu, Wed etc.
4. Data validation
ADVANTAGES OF ENCODING
1. Difficult to track and correct errors
2. Limited number of codes
3. Coarsening of data.
4. Coding of value judgements.
5. Coding can obscure the meaning of data.
6. Time wastage in the encoding and decoding process.
[QUESTION 2]
The following computers are classified into general purposed and special purposed
computers as shown below.
General Purposed Computers Special Purposed computers
Notebook Mobile Phones
Tablets Briefcase Computer
Mobile phones
Laptop
REFERENCES
Security Testing - Encoding and Decoding (2019). Tutorialspoint
https://www.tutorialspoint.com/security_testing/encoding_and_decoding.htm
Retrieved 5th of August, 2020.