AQA A Level · Computer Science 7517

Binary number system:練習問題

その場で採点される選択問題 1 問と、解説つきの記述問題 5 問。すべて「Binary number system」からの出題です。

6 問22 無料・登録不要
問 1
1

A 12-bit floating-point system uses 8 bits for the mantissa and 4 bits for the exponent. Both the mantissa and the exponent are stored using two's complement. The mantissa is normalized with the binary point after the first bit (e.g., 0.1... or 1.0...).

What is the decimal representation of the normalized bit pattern 10110000 0011?

問 2
2

Using 8-bit two's complement representation, what is the decimal equivalent of the binary pattern 1111 1100?

まず自分で答えを書いてから、解説と照らし合わせましょう。

問 3
3

Convert the decimal value 0.375 into an unsigned 8-bit fixed-point binary representation with 4 bits for the integer part and 4 bits for the fractional part.

まず自分で答えを書いてから、解説と照らし合わせましょう。

問 4
5

Explain the difference between underflow and overflow in a floating-point system.

まず自分で答えを書いてから、解説と照らし合わせましょう。

問 5
5

A computer scientist is comparing fixed-point and floating-point representations for fractional numbers.

a) Represent the decimal value 6.375 in 8-bit fixed-point binary, where 5 bits are used for the integer part and 3 bits for the fractional part.
b) Identify one advantage of using floating-point over fixed-point for scientific calculations.
c) Explain why the decimal number 0.1 cannot be represented exactly in a binary fractional system.

まず自分で答えを書いてから、解説と照らし合わせましょう。

問 6
6

A normalized floating-point system uses a 10-bit mantissa and a 6-bit exponent, both in two's complement.

a) Normalize the following unnormalized binary number: \(0.001011_2 \times 2^4\).
b) Calculate the decimal value of the following normalized floating-point number:
Mantissa: \(0.1101000000\)
Exponent: \(000011\)
c) What occurs during a floating-point underflow error?

まず自分で答えを書いてから、解説と照らし合わせましょう。

※ thinkaのコンテンツはAIにより生成されているため、内容が正確でない場合があります。補助教材としてご使用いただき、公式の教材と合わせてご確認ください。

模範解答は見ました。次はあなたの答案を採点します。

このページは良い答案の形を示せますが、あなたの答案に何が足りないかは教えられません。thinka は実際の採点基準に沿って記述答案を約 15 秒で採点します。

同じような問題をもっと解きたい?このトピックの新しい問題を、解きながら採点。

練習を始める