Arrange the following data units in ascending order of size (2mks)
BYTE, FILE, BIT, NIBBLE
BIT, NIBBLE, BYTE, FILE
(a) explain Binary Coded Decimal code of data representation (1mk)
(b) Write the number 45110 in BCD notation (1mk)
Explain why computers use binary numbers in data representation (2mks)
Describe two ways in which a computer can represent a positive number and a negative number.
(b) A particular computer stores numbers in a single 8-bit word. How would it represent 0.312510 ?
(c) What is the decimal equivalent of the number 1.01112?
(d) Perform the decimal subtraction 1410- 610 using
(i) regular binary;
(ii) one’s complement.
(a) Explain the term nibbles as used in data representation in computers
A nibble refers to a half a byte or 4 bits ( A byte is equivalent to 8 bits)
(b) Perform the following binary arithmetic giving the answers in decimal notation.
Write –1 in twos compliment notation in byte form (4mks)
110 = 12 in byte form it becomes 000000012
One’s complement is 111111102
Two’s complement is 11111112
Using six bits, find the two’s complement of -2310
State three data representation codes used in computers
American Standard Coded for information interchange
Binary coded Decimal
Extended Binary Coded Decimal interchange Code
Write the following abbreviations in full. (3mks)
(a) data and information.
Data can be defined as raw facts that do not have much meaning to the user while information is the processed data that is meaningful to the user.
(b) central processing unit (CPU) and system unit.
The central processing unit (CPU) is the central part of the computer where data processing is done while the system unit is the part that houses the CPU and other internal components.