Binary Flashcards
What type of numbers do computers process information with?
Binary numbers. The one and zero binary digits correspond to the one and off states of the computer circuitry.
How many bits are there in a nibble?
4 bits, which is the same as half a byte.
How many bytes are there in one kilobyte (kB)?
1024 bytes in a kB
How many unique binary values would be available in an 8-bit image?
256 unique binary values (2^8)
What is the smallest unit of data that can be represented inside the computer?
One bit
What is machine code?
Machine code triggers actions in the CPU. It can be written in hex, binary or assembly code mnemonics.
How many binary numbers would be avail be in a 4-bit system?
16 binary numbers
What is the equivalent denary number of the binary number 01001011?
75 (64+8+2+1)
What number does an even number end in when it is represented in binary?
It always ends in zero.
What is a signed integer?
A signed integer is an integer that can be either a negative or positive number.
What is a floating point number?
A floating point number is a number that has a decimal point.
Why does ipv6 allow more IP addresses than ipv4?
Ipv6 has more IP addresses than ipv4 because it is 128-bit and ipv4 is 32-bit.
What is -6 in binary converted using two’s complement?
1010
What is three in binary converted using two’s complement?
0011
What is the result of 9+8 in binary if processed in a system which only supports 4-bit numbers?
0001
How could the number -5 be represented using 8-bit binary sign and magnitude?
10000101
What is the result of this binary addition: 0110 + 0101?
1011
What is the largest unsigned base 10 integer value that 7 bits can be used to represent?
127 (2^7 - 1)
When does overflow happen?
Overflow happens when the pattern of bits is too large to be represented by the number of bits available in a register. This happens when two binary numbers are added together and the result requires more bits than are available.
What is the point of using hexadecimal instead of binary?
Hexadecimal is easier to use than binary as it summarises four binary numbers in one character.
What is 10111100 in hexadecimal?
BC
What is the hexadecimal value 2D equivalent in denary (base 10)?
45
How many bytes are used to represent a colour int eh 24-bit web colour model?
3 bytes
How many hexadecimal digits are needed to represent an 8-bit binary pattern?
Two