Binary and Number Systems Flashcards

1
Q

What are the 2 Binary Digits?

A

1 & 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the base of the decimal number system?

A

10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the base of the binary number system?

A

2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the decimal representation of the binary number 10000110?

A

134

The calculation is: 128 + 4 + 2 = 134.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the range of decimal values that an 8-bit integer can store?

A

0 to 255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the largest binary number that can be held in 8 bits?

A

11111111

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the binary representation of the number 1 using one byte?

A

00000001

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the largest number that can be held in two bytes?

A

65535

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In binary, what is the term for the least significant bit?

A

LSB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In binary, what is the term for the most significant bit?

A

MSB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the binary equivalent of the decimal fraction 0.5?

A

.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the binary equivalent of the decimal fraction 0.25?

A

.01

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the binary point represent?

A

The position separating the whole number from the fractional part.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you store mixed numbers in binary?

A

Allocate an agreed number of bits for each side of the binary point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the two’s complement method used for?

A

Storing negative numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the first step in converting a negative decimal number to binary using two’s complement?

A

Take the non-negative number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the binary representation of -66 using two’s complement?

A

10111010

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the result of adding the binary numbers 00011 and 00001?

A

000100

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

True or False: In binary subtraction, the second number is converted to two’s complement before adding.

20
Q

What is the result of binary multiplication 8 x 3?

21
Q

How do you convert a decimal number into a binary number using the repeated division-by-2 method?

A

Continually divide the decimal number by 2 and record the remainders.

22
Q

What is the binary equivalent of the decimal number 294?

23
Q

Complete the blank: The binary representation of the decimal number 8 is ______.

24
Q

What is the binary equivalent of the decimal number 89?

25
What is the process of converting a whole number to binary?
Divide by 2 repeatedly, noting the remainders from least significant bit (LSB) to most significant bit (MSB)
26
What is the range of numbers for the practical programming challenge in Python?
Between 1 and 15
27
What is the hexadecimal numbering system?
A Base-16 system using 16 different digits from 0 to 15
28
Why is hexadecimal preferred for representing long binary values?
It is compact and easier to understand compared to long binary strings
29
What are the four main number systems mentioned?
* Natural Numbers * Integer Numbers * Rational Numbers * Irrational Numbers
30
Define floating point numbers.
Numbers that contain floating decimal points, such as 5.5 or 0.001
31
What does an overflow condition in floating point numbers mean?
A result that is too large to store in the available storage space
32
What does an underflow condition in floating point numbers mean?
A result that is so close to zero that its closest representation is zero
33
What is the purpose of floating point numbers?
* Allow a wider range of values to be stored * Minimise rounding errors * Greater accuracy using a given number of bits
34
What are the two main parts of a floating point number?
* A significand containing the number's digits * An exponent indicating the position of the decimal point
35
Fill in the blank: Hexadecimal uses _______ different digits.
16
36
True or False: The hexadecimal system is a Base-10 system.
False
37
What is the value of Kibi in binary?
1,024
38
What is a significant aspect of normalisation in floating point representation?
Maximises precision and allows a unique representation of each number
39
List the symbols and values for the binary prefix Mebi.
* Symbol: Mi * Power: 2^20 * Value: 1,048,576
40
What is the set of real numbers denoted by?
41
Fill in the blank: An irrational number cannot be written as a _______.
fraction
42
What is the purpose of a floating point unit (FPU)?
To handle floating point calculations
43
What is the decimal floating-point number format often represented as?
Scientific notation
44
What is the binary equivalent of the hexadecimal number 3CF?
001111001111
45
Define rational numbers.
Numbers that can be written as fractions (ratios of integers)