A dispenser records the volume issued in each transaction using an unsigned integer code stored in 8 bits. The possible codes are 0 through 255. Code 255 means missing data; every other code represents a volume.
The dispenser uses fixed-point representation: each valid integer code is multiplied by a fixed scale to obtain the recorded quantity. Its current rule is
A new requirement is to record every volume from 0.0 L through 30.0 L in increments of 0.1 L exactly. A supplier proposes retaining 8 bits but changing the scale to 0.2 L per code, while keeping code 255 reserved for missing data.
Find the maximum valid volume under the current rule and under the supplier's proposal, each in litres to one decimal place. Then find the minimum number of bits needed to meet the new requirement while retaining the original scale of 0.1 L per code. For this enlarged format, reserve the largest available code for missing data. Finally, enter true or false to indicate whether the supplier's proposal represents every required volume exactly.
For any unsigned format with bbb bits, the available integer codes run from 000 through 2b−12^b-12b−1.
Unlock full course notes by signing up
Keeping product identifiers distinct
A distributor uses product identifiers of different lengths. The identifiers 0084 and 084 refer to different products, and neither identifier is used in arithmetic. Which import rule preserves the distinction?
Reconciling data-size units
A records team is standardizing the units in an export-size report. A bit is one binary digit, and a byte contains eight bits. Use the definitions 1 kB=1000 B1\ \text{kB}=1000\ \text{B}1 kB=1000 B and 1 KiB=1024 B1\ \text{KiB}=1024\ \text{B}1 KiB=1024 B, where B means bytes, kB means kilobytes and KiB means kibibytes.
Complete each conversion. Enter exact numbers without units; the required unit is supplied in each row.
Archiving originals and browsing previews
An insurer receives original digital inspection images and creates smaller, lossy previews for browsing. Its archive must allow exact recovery of each original file's bytes. The original files are still available. Which workflow satisfies this requirement?
Auditing a combined sales export
A retailer combines sales records from branches in Canada and Mexico. An audit establishes the following facts:
The export omits the original identifier text, branch identity, time-zone information, and currency. The organization has not yet checked whether the original source records remain available.
Evaluate the export: