When representing character data, which statement best describes a reason for choosing Unicode (UTF-16) over standard ASCII?
Cambridge International A Level · Computer Science (9618)
Data Representation:练习题
5 道选择题即时批改,另有 5 道文字题附完整解题步骤,全部围绕「Data Representation」。
A floating-point representation uses a \(10\)-bit two's complement mantissa and a \(6\)-bit two's complement exponent. A number is stored with the following bit pattern:
Mantissa: \(0.101100000_2\)
Exponent: \(000101_2\)
What is the denary equivalent of this floating-point value?
A random-access file uses a hashing algorithm to determine the address of records. When a collision occurs, the system uses progressive overflow (linear probing). How does this method resolve the collision?
What is the correct value for one Kibibyte (KiB)?
Consider the addition of two 8-bit two's complement signed integers:
\( X = 01101011_{2} \)
\( Y = 00100101_{2} \)
Perform the addition and identify the result and whether an overflow has occurred.
Convert the denary number \( 156 \) into its hexadecimal equivalent, showing the intermediate steps used in the conversion process.
先自己写一遍答案,再对照解题步骤。
Explain the difference in the number of bytes between \( 1 \text{ Gibibyte (GiB)} \) and \( 1 \text{ Gigabyte (GB)} \), and identify which unit represents the larger amount of data.
先自己写一遍答案,再对照解题步骤。
Explain the specific conditions under which an arithmetic overflow occurs when adding two signed 8-bit integers in two's complement form.
先自己写一遍答案,再对照解题步骤。
Hexadecimal is frequently used in low-level computing for tasks such as specifying memory addresses or hardware identifiers.
(a) State two advantages of using hexadecimal over binary when representing data for a human programmer.
(b) A hardware device has the identifier C4-5D. Convert the hexadecimal value C4 into a denary integer and 5D into an 8-bit unsigned binary integer.
先自己写一遍答案,再对照解题步骤。
A company needs to store a large collection of high-resolution architectural drawings. The technical team must choose between bitmap and vector graphic formats.
(a) Explain why a vector graphic format would be more suitable than a bitmap format for a logo that needs to be scaled to fit on both a business card and a large billboard.
(b) Describe two items of data that would be stored in the file header of a bitmap image.
(c) A bitmap image has a resolution of \( 1024 \times 768 \) pixels and a colour depth of \( 8 \text{ bits} \). Calculate the minimum file size in MiB. Show your working.
先自己写一遍答案,再对照解题步骤。
* thinka提供的内容由AI生成,可能并非总是准确或最新。请将其用作辅助资源,并与官方材料进行核实。
想多做几道同类题目?立即开始练习这个课题,边做边批改。
立即练习