Book 1 - Chapter 1.1 - Programming Flashcards
1
Q
What is a bit?
A
A binary digit which is either 0 or 1
2
Q
What is a bit pattern?
A
A sequence of bits, eg 01001000001101101.
Another word for a bit pattern is a datum.
3
Q
Describe 3 definitions of a data type
A
It is a method of interpreting a bit pattern.
It defines which operations can be carried out on which but patterns.
It specifies the number of bits allocated to each datum.