TMA
2
Q1. Define the term two-state machine.
Q2. Draw the structure of the CPU.
In your drawing indicate the flow of data between each component?
Q3. How is data represented in a computer?
Q4. What is the range of the following:
a)
4 bits b) 6 bits
c) 8
bits d) 10 bits
e) 12 bits f) 16 bits
Q5. Define Text, as used in ASCII.
Q6. Given that the following binary number (
11111111) is = 255 decimal, how would you determine its range if it used
negative and positive numbers.
Q7. Convert the following numbers into binary:
a)
257 b) 117 c) 255
d) 1024 e) 516 f) 39
Q8 Convert the following binary into
numbers:
a)
101010 d) 11110000
b)
1111 e) 1000011
c)
10000001
Extension Question.
An
estate agent has created an on-line database of local properties for sale. Customers are able to browse through the
records and print out the records of individual properties.
a) Each image in the picture field measures 3 inches by 1.5
inches. The image is a grey scale
graphic with 256 levels of grey and a resolution of 1200 dots per inch (dpi).
i)
Calculate the storage requirements for one photograph.
(show your working out)
The
database currently holds details of 110 properties. Identify a suitable storage device for the
database file that the customers use.
Justify your answer.