What is the maximum decimal value that can be represented using an 8-bit unsigned binary integer?
Oxford AQA International A-level · Computer Science (9645)
The binary number system:練習問題
その場で採点される選択問題 5 問と、解説つきの記述問題 4 問。すべて「The binary number system」からの出題です。
An 8-bit register stores the unsigned binary integer \(10110001_2\). If the unsigned binary integer \(01101111_2\) is added to it, what will be the 8-bit result and the status of the overflow flag?
A floating point system uses an 8-bit mantissa and a 4-bit exponent, both in two's complement. The binary point in the mantissa is after the first bit.
Normalize the following un-normalized value: Mantissa: \(00011000\) Exponent: \(0101\).
What is the decimal equivalent of the 8-bit two's complement binary integer \(11110101_2\)?
The decimal value 8.0 is intended to be stored, but due to a system error, it is represented as 7.75. Calculate the relative error of this representation.
Calculate the maximum unsigned integer value that can be represented using \( 10 \) bits, and provide the formula used for this calculation.
まず自分で答えを書いてから、解説と照らし合わせましょう。
Determine the range of decimal integers (both minimum and maximum) that can be represented using an 8-bit signed integer in two's complement format.
まず自分で答えを書いてから、解説と照らし合わせましょう。
A computer system uses 8-bit two's complement binary to represent signed integers.
(a) Convert the decimal value \(-43_{10}\) into 8-bit two's complement binary. Show your working.
(b) Perform the following binary arithmetic operation: \(00110101_2 + 11010101_2\). Show your working and state the final result in decimal.
(c) Identify whether an overflow error has occurred in part (b) and justify your answer.
まず自分で答えを書いてから、解説と照らし合わせましょう。
A 12-bit floating point system is used where 8 bits are allocated for the mantissa and 4 bits for the exponent. Both parts are represented in two's complement.
(a) Represent the decimal value \(-9.5_{10}\) in this floating point format. You must ensure the mantissa is normalised.
(b) Calculate the relative error when the value \(0.1_{10}\) is represented in a system that can only store it as the binary fraction \(0.00011001_2\). Show your working.
(c) Describe the trade-off between the number of bits allocated to the mantissa and the number of bits allocated to the exponent in terms of precision and range.
まず自分で答えを書いてから、解説と照らし合わせましょう。
※ thinkaのコンテンツはAIにより生成されているため、内容が正確でない場合があります。補助教材としてご使用いただき、公式の教材と合わせてご確認ください。
模範解答は見ました。次はあなたの答案を採点します。
このページは良い答案の形を示せますが、あなたの答案に何が足りないかは教えられません。thinka は実際の採点基準に沿って記述答案を約 15 秒で採点します。
同じような問題をもっと解きたい?このトピックの新しい問題を、解きながら採点。
練習を始める