number systems
使用闪卡高效复习COMPUTER-SCIENCE科目知识点
共计闪卡
91张
1 data representation
闪卡自测
Why does data have to be converted to binary to be processed by a computer?
所有闪卡
闪卡 1
问题
Why does data have to be converted to binary to be processed by a computer?
查看答案
答案
Data has to be converted to binary to be processed by a computer because computers are built using switches that can either be on or off, which fits the binary number system (1/0).
闪卡 2
问题
Define binary data.
查看答案
答案
Binary data is data represented using the binary number system, consisting of only two digits: 1 and 0.
闪卡 3
问题
Why do computers use binary?
查看答案
答案
Computers are built using circuits and transistors. The circuits only need to check for two states:
闪卡 4
问题
Define binary number system.
查看答案
答案
The binary number system is a base-2 number system that represents numbers using only two digits: 0 and 1.
闪卡 5
问题
What is an example of binary representation in secondary storage devices?
查看答案
答案
An example of binary representation in secondary storage devices is magnetic hard drives, where North and South polarity represent 1 and 0.
闪卡 6
问题
Define transistor.
查看答案
答案
A transistor is a semiconductor device used to amplify or switch electronic signals and electrical power.
闪卡 7
问题
What is the advantage of processing data in binary format for computers?
查看答案
答案
Processing data in binary format allows computers to perform complex calculations, store vast amounts of data efficiently, and operate at incredible speeds.
闪卡 8
问题
Define secondary storage.
查看答案
答案
Secondary storage refers to non-volatile storage devices that retain data even when the computer is turned off, such as hard drives and optical disks.
闪卡 9
问题
What is denary?
查看答案
答案
Denary is a base-10 number system made up of 10 digits (0-9), where each digit has a weight factor of 10 raised to a power.
闪卡 10
问题
Define binary number system.
查看答案
答案
The binary number system is a base-2 number system made up of two digits (1 and 0), where each digit has a weight factor of 2 raised to a power.
闪卡 11
问题
What is hexadecimal?
查看答案
答案
Hexadecimal is a base-16 number system made up of 16 digits, including 10 numbers (0-9) and 6 letters (A-F).
闪卡 12
问题
True or False? In denary, the rightmost digit represents the 1s place.
查看答案
答案
True. In denary, the rightmost digit represents the 1s place (10^0).
闪卡 13
问题
What is the weight factor of the second digit from the right in the binary system?
查看答案
答案
In the binary system, the second digit from the right has a weight factor of 2^1, which equals 2.
闪卡 14
问题
How many unique values can one hexadecimal digit represent?
查看答案
答案
One hexadecimal digit can represent 16 unique values (0-F).
闪卡 15
问题
What is a binary digit called?
查看答案
答案
A binary digit is called a bit.
闪卡 16
问题
True or False? ** Hexadecimal uses the letters A-G to represent values 10-16**.
查看答案
答案
False. ** Hexadecimal uses the letters A-F to represent values 10-15**.
闪卡 17
问题
What is the largest decimal number that can be represented by 8 bits in binary?
查看答案
答案
The largest decimal number that can be represented by 8 bits in binary is 255 (11111111 in binary).
闪卡 18
问题
How many bits does one hexadecimal digit represent?
查看答案
答案
One hexadecimal digit represents 4 bits (half a byte or one nibble).
闪卡 19
问题
What is denary?
查看答案
答案
Denary is a number system that is made up of 10 digits (0-9), also known as the Base-10 number system.
闪卡 20
问题
True or False? ** Humans use the binary system for counting and performing math calculations**.
查看答案
答案
False. Humans use the denary system for counting, measuring, and performing math calculations.
闪卡 21
问题
Define binary.
查看答案
答案
Binary is a number system that is made up of two digits (1 and 0), also known as the Base-2 number system.
闪卡 22
问题
Why do computers use binary?
查看答案
答案
Computers use binary numbers to represent data because they are built using transistors that can only be in a state of on or off, which fits the binary number system of 1s and 0s.
闪卡 23
问题
True or False? ** You may be asked to convert from/to binary up to and including 16 binary digits.**
查看答案
答案
False. You will only be asked to convert from/to binary up to and including 16 binary digits (2 bytes).
闪卡 24
问题
What is the denary range you will work with when converting to/from binary at GCSE level?
查看答案
答案
At GCSE level, you will work with a denary range of 0-65 536(00000000 00000000 - 11111111 11111111 in binary).
闪卡 25
问题
Convert the following binary number to denary.
查看答案
答案
128+0+32+0+8+4+0+0=172
闪卡 26
问题
Convert the following binary number to denary.
查看答案
答案
0+64+32+16+0+0+0+1=113
闪卡 27
问题
Convert the following binary number to denary.
查看答案
答案
128+0+0+16+0+0+0+0=144
闪卡 28
问题
Convert 76 to binary.
查看答案
答案
闪卡 29
问题
Convert 150 to binary.
查看答案
答案
闪卡 30
问题
Convert 94 to binary.
查看答案
答案
闪卡 31
问题
What is hexadecimal?
查看答案
答案
Hexadecimal is a number system with 16 digits.
闪卡 32
问题
True or False? Hexadecimal uses 16 digits.
查看答案
答案
True. Hexadecimal uses 16 digits.
闪卡 33
问题
What is the relationship between hexadecimal and a binary nibble?
查看答案
答案
One hexadecimal digit represents four bits of binary data.
闪卡 34
问题
Define nibble.
查看答案
答案
A nibble is four bits of binary data or half a byte.
闪卡 35
问题
What is the non-mathematical method for converting denary to hexadecimal?
查看答案
答案
Convert denary to binary, split into nibbles, then convert each nibble to hexadecimal.
闪卡 36
问题
What is the mathematical method for converting denary to hexadecimal?
查看答案
答案
Divide denary by 16 and record the whole times (hex digit 1) and remainder (hex digit 2). Example: Denary 160 to Hexadecimal = 160/16 = 10 (A) r 0 = A0
闪卡 37
问题
What is the non-mathematical method for converting hexadecimal to denary?
查看答案
答案
Convert each hexadecimal digit to 4-bit binary, join nibbles, then convert binary to denary.
闪卡 38
问题
What is the mathematical method for converting hexadecimal to denary?
查看答案
答案
Multiply the first digit by 16, then add the second digit. Example: Hexadecimal B4 to denary = B (11) x 16 = 176 + 4 = 180
闪卡 39
问题
Convert denary 45 to hexadecimal.
查看答案
答案
Convert 45 to binary Split in to 2 nibbles (4-bits) 0010 = 21101 = 13 (D)Answer = 2D
闪卡 40
问题
Convert hexadecimal E7 to denary.
查看答案
答案
Convert each digit to 4-bit binary (nibble) Combine to create an 8-bit value and convert to denary11100111 = 231
闪卡 41
问题
Define nibble.
查看答案
答案
A nibble is a group of four bits.
闪卡 42
问题
What is the definition of binary?
查看答案
答案
Binary is a base-2 number system that uses only 0 and 1 to represent all values.
闪卡 43
问题
True or False? Each digit in a hexadecimal number represents a binary nibble.
查看答案
答案
True. Each digit in a hexadecimal number represents a binary nibble.
闪卡 44
问题
Define denary.
查看答案
答案
Denary is the base-10 number system, which uses digits from 0 to 9.
闪卡 45
问题
What does hexadecimal mean?
查看答案
答案
Hexadecimal is a base-16 number system that uses 16 digits: 0-9 and A-F.
闪卡 46
问题
State the method in terms of X for converting binary to hexadecimal.
查看答案
答案
Method: Example: 11011001 = 1101 (13=D), 1001 (9) = D9
闪卡 47
问题
True or False? To convert hexadecimal to binary, you split the digits apart and convert each to a binary nibble.
查看答案
答案
True. To convert hexadecimal to binary, you split the digits apart and convert each to a binary nibble.
闪卡 48
问题
What is the definition of bit?
查看答案
答案
A bit is a basic unit of information in computing, representing either a 0 or 1.
闪卡 49
问题
Define byte.
查看答案
答案
A byte is a unit of digital information that consists of 8 bits.
闪卡 50
问题
Convert binary to hexadecimal.
查看答案
答案
Split in to 2 nibbles (4-bits) 1110 = 14 (E)1000 = 8Answer = E8
闪卡 51
问题
Convert hexadecimal 4B to binary.
查看答案
答案
Convert each digit to a 4-bit binary value Combine to create an 8-bit valueAnswer = 01001011
闪卡 52
问题
Why is hexadecimal preferred when working with large values in Computer Science?
查看答案
答案
Hexadecimal is preferred because it takes fewer digits to represent a given value than binary, making it easier to read and less prone to errors when copying.
闪卡 53
问题
What does one hexadecimal digit correspond to in binary?
查看答案
答案
One hexadecimal digit corresponds to 4 bits (one nibble) and can represent 16 unique values (0-F).
闪卡 54
问题
Define MAC address.
查看答案
答案
A unique identifier for network interfaces, typically consisting of 12 hexadecimal digits.
闪卡 55
问题
True or False? ** A typical MAC address consists of 12 hexadecimal digits**, equivalent to 48 digits in binary.
查看答案
答案
True. A typical MAC address consists of 12 hexadecimal digits, equivalent to 48 digits in binary.
闪卡 56
问题
True or False? Hexadecimal can be used for colour codes.
查看答案
答案
True. A six-digit hexadecimal number is used to represent colours in web design and digital graphics.
闪卡 57
问题
What is the format of a typical hexadecimal colour code?
查看答案
答案
A typical hexadecimal colour code consists of 6 hexadecimal digits, equivalent to 24 digits in binary. Each two-digit pair represents the colours red, green and blue
闪卡 58
问题
Define URL encoding.
查看答案
答案
The process of converting characters in a URL that are outside the standard set into hexadecimal codes.
闪卡 59
问题
True or False? URLs can contain all types of characters without any encoding.
查看答案
答案
False. URLs can only contain standard characters (a-z and A-Z), numbers (0-9), and some special symbols. Characters outside this set are converted into hexadecimal codes.
闪卡 60
问题
What are three common uses of hexadecimal in computing?
查看答案
答案
Three common uses of hexadecimal in computing are MAC addresses, colour codes, and URL encoding.
闪卡 61
问题
What is binary addition?
查看答案
答案
Binary addition is the process of adding together two binary integers (up to and including 8 bits).
闪卡 62
问题
True or False? Binary addition starts from the rightmost digit and moves left.
查看答案
答案
True. Binary addition starts from the rightmost digit and moves left.
闪卡 63
问题
What does "carrying over" mean in binary addition?
查看答案
答案
Carrying over occurs when the sum of a column is greater than 1, passing the excess to the next left column.
闪卡 64
问题
Define overflow error.
查看答案
答案
An overflow error is when the result of a binary addition exceeds the available bits.
闪卡 65
问题
What is 1 + 1 in binary addition?
查看答案
答案
1 + 1 = 10 (2 in denary)
闪卡 66
问题
True or False? The sum of 1001 and 0100 in binary is 1101.
查看答案
答案
True. The sum of 1001 and 0100 in binary is 1101.
闪卡 67
问题
What is the sum of 00011001 and 10000100 in binary?
查看答案
答案
The sum of 00011001 and 10000100 in binary is 10011101.
闪卡 68
问题
Define binary integer.
查看答案
答案
A binary integer is a number represented in the base 2 number system.
闪卡 69
问题
Perform the following binary addition
查看答案
答案
闪卡 70
问题
Perform the following binary addition
查看答案
答案
闪卡 71
问题
Perform the following binary addition
查看答案
答案
闪卡 72
问题
Define binary shift.
查看答案
答案
A binary shift is how a computer system performs basic multiplication and division by moving binary digits left or right a set number of times.
闪卡 73
问题
What does a left shift do?
查看答案
答案
A left shift multiplies a binary number by 2 (for every 1 place shift).
闪卡 74
问题
True or False? A right shift divides a binary number by 2.
查看答案
答案
True. A right shift divides a binary number by 2 (for every 1 place shift).
闪卡 75
问题
What is the definition of overflow error?
查看答案
答案
An overflow error occurs when a result is too large to be represented in the available storage space (needs more bits).
闪卡 76
问题
Define underflow error.
查看答案
答案
An underflow error occurs when a result is too small to be represented in the available storage space.
闪卡 77
问题
State the equation in terms of X for a left shift of 2 places.
查看答案
答案
X << 2 (X shifted left by 2 places) = X * 4
闪卡 78
问题
True or False? A left shift of 3 places multiplies the binary number by 8.
查看答案
答案
True. A left shift of 3 places multiplies the binary number by 8.
闪卡 79
问题
In binary shifts, what is the definition of precision?
查看答案
答案
In binary shifts, precision refers to the number of digits used to represent a value.
闪卡 80
问题
Define bit.
查看答案
答案
A bit is a basic unit of information in computing, representing either a 0 or 1.
闪卡 81
问题
What does binary multiplication mean?
查看答案
答案
Binary multiplication refers to the process of multiplying binary numbers using shifts and additions.
闪卡 82
问题
Define Two's complement.
查看答案
答案
A method of using signed binary values to represent negative numbers, where the leftmost bit is designated as the most significant bit (MSB).
闪卡 83
问题
How is a negative number represented in two's complement?
查看答案
答案
In two's complement, a negative number is represented by setting the most significant bit (MSB) to 1.
闪卡 84
问题
Define MSB.
查看答案
答案
The Most Significant Bit, which in two's complement represents the sign of the number (0 for positive, 1 for negative).
闪卡 85
问题
In 8-bit two's complement, what is the value of the leftmost column?
查看答案
答案
In 8-bit two's complement, the value of the leftmost column is -128.
闪卡 86
问题
What is the two's complement representation of -1 in 8 bits?
查看答案
答案
The two's complement representation of -1 in 8 bits is 11111111.
闪卡 87
问题
True or False? ** In two's complement, positive numbers are represented the same way as in unsigned binary**.
查看答案
答案
True. In two's complement, positive numbers are represented the same way as in unsigned binary.
闪卡 88
问题
What is a quick method to perform a two's complement conversion?
查看答案
答案
A method to convert a positive number to its negative two's complement representation by inverting all bits after the rightmost 1.
闪卡 89
问题
What is the first step in the quick two's complement conversion?
查看答案
答案
The first step in the quick two's complement conversion is to write out the positive version of the number in binary.
闪卡 90
问题
True or False? In the quick two's complement conversion, you invert all bits including and after the first 1 from the right.
查看答案
答案
False. In the quick two's complement conversion, you copy bits up to and including the first 1 from the right, then invert the remaining bits.
闪卡 91
问题
What is the two's complement representation of -76 in 8 bits?
查看答案
答案
The two's complement representation of -76 in 8 bits is 10110100.