Number Systems
Practice Questions
Marks 1
1

The number -6 can be represented as 1010 in 4-bit 2's complement representation. Which of the following is/are CORRECT 2's complement representation(s) of $-6$ ?

GATE CSE 2025 Set 1
2

The format of a single-precision floating-point number as per the IEEE 754 standard is:

Sign
(1 bit)
Exponent
(8 bits)
Mantissa
(23 bits)

Choose the largest floating-point number among the following options.

GATE CSE 2024 Set 2
3

Consider a system that uses 5 bits for representing signed integers in 2’s complement format. In this system, two integers A and B are represented as A=01010 and B=11010. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?

GATE CSE 2024 Set 1
4

A particular number is written as 132 in radix-4 representation. The same number in radix-5 representation is ____________.

GATE CSE 2023
5

Let R1 and R2 be two 4-bit registers that store numbers in 2's complement form. For the operation R1 + R2, which one of the following values of R1 and R2 gives an arithmetic overflow?

GATE CSE 2022
6
If x and y are two decimal digits and (0.1101)2 = (0.8xy5)10, the decimal value of x + y is ______
GATE CSE 2021 Set 2
7

The format of the single-precision floating-point representation of a real number as per the IEEE 754 standard is as follows:

sign

exponent

mantissa


Which one of the following choices is correct with respect to the smallest normalized positive number represented using the standard?
GATE CSE 2021 Set 2
8
Let the representation of a number in base 3 be 210. What is the hexadecimal representation of the number?
GATE CSE 2021 Set 1
9

Consider the following representation of a number in IEEE 754 single-precision floating point format with a bias of 127.

S: 1 E:   10000001    F : 11110000000000000000000

Here S, E and F denote the sign, exponent and fraction components of the floating point representation.

The decimal value corresponding to the above representation (rounded to 2 decimal places) is ______

GATE CSE 2021 Set 1
10
Consider Z = X - Y, where X, Y and Z are all in sign-magnitude form. X and Y are each represented in n bits. To avoid overflow, the representation of Z would require a minimum of :
GATE CSE 2019
11
In 16-bit 2's complement representation, the decimal number -28 is :
GATE CSE 2019
12

The $n$-bit fixed-point representation of an unsigned real number $X$ uses $f$ bits for the fraction part. Let $i=n-f$. The range of decimal values for $X$ in this representation is

GATE CSE 2017 Set 1
13
Let $$X$$ be the number of distinct $$16$$-bit integers in $$2’s$$ complement representation. Let $$Y$$ be the number of distinct $$16$$-bit integers in sign magnitude representation.
Then $$X −Y$$ is ____________.
GATE CSE 2016 Set 2
14
Consider an eight-bit ripple-carry adder for computing the sum of $$A$$ and $$B,$$ where $$A$$ and $$B$$ are integers represented in $$2’s$$ complement form. If the decimal value of $$A$$ is one, the decimal value of $$B$$ that leads to the longest latency for the sum to stabilize is __________ .
GATE CSE 2016 Set 2
15
The $$16$$-bit $$2’s$$ complement representation of an integer is $$1111$$ $$1111$$ $$1111$$ $$0101;$$ its decimal representation is ____________.
GATE CSE 2016 Set 1
16
Consider the equation $${\left( {123} \right)_5} = {\left( {x8} \right)_y}$$ with $$x$$ and $$y$$ as unknown. The number of possible solutions is _________.
GATE CSE 2014 Set 2
17
The base (or radix) of the number system such that the following equation holds is __________
$${{312} \over {20}} = 13.1$$
GATE CSE 2014 Set 1
18
The smallest integer that can be represented by an $$8$$-bit number in $$2's$$ complement form is
GATE CSE 2013
19
$$P$$ is a $$16$$-bit signed integer. The $$2's$$ complement representtation of $$P$$ is $${\left( {F87B} \right)_{16}}$$ . The $$2's$$ complement representation of $$8{}^ * \,P$$ is
GATE CSE 2010
20
$${\left( {1217} \right)_8}$$ is equivalent to
GATE CSE 2009
21
$${73_x}$$ (in base $$-$$ $$x$$ number system) is equal to $${54_y}$$ (in base $$-y$$ number system), the possible values of $$x$$ and $$y$$ are
GATE CSE 2004
22
Assuming all numbers are in $$2's$$ complement representation, which of the following numbers is divisible by $$11111011?$$
GATE CSE 2003
23
The decimal value $$0.25$$
GATE CSE 2002
24
Sign extension is the step in
GATE CSE 2002
25
The $$2's$$ compliment representation of the decimal value $$-15$$ is
GATE CSE 2002
26
The number $$43$$ in $$2's$$ complement representation is
GATE CSE 2000
Marks 2
1

Three floating point numbers $X, Y$, and $Z$ are stored in three registers $R_X, R_Y$, and $R_Z$, respectively in IEEE 754 single precision format as given below in hexadecimal:

$$R_X=0 \times C 1100000, R_Y=0 \times 40 C 00000, \text { and } R_Z=0 \times 41400000$$

Which of the following option(s) is/are CORRECT?

GATE CSE 2025 Set 2
2

Which of the following is/are EQUAL to 224 in radix-5 (i.e., base-5) notation?

GATE CSE 2024 Set 2
3

Consider the IEEE-754 single precision floating point numbers P=0xC1800000 and Q=0x3F5C2EF4.

Which one of the following corresponds to the product of these numbers (i.e., P $$\times$$ Q), represented in the IEEE-754 single precision format?

GATE CSE 2023
4

Consider three floating point numbers A, B and C stored in registers RA, RB and RC, respectively as per IEEE-754 single precision floating point format. The 32-bit content stored in these registers (in hexadecimal form) are as follows.

GATE CSE 2022 Digital Logic - Number Systems Question 9 English

Which one of the following is FALSE?

GATE CSE 2022
5
Consider three registers R1, R2 and R3 that store numbers in IEEE-754 single precision floating point format. Assume that R1 and R2 contain the values (in hexadecimal notation) 0x42200000 and 0xC1200000, respectively.
If R3 = $${{R1} \over {R2}}$$, what is the value stored in R3?
GATE CSE 2020
6
Consider the unsigned $$8$$-bit fixed point binary number representation below $$${b_7}\,\,{b_6}\,\,{b_5}\,\,{b_4}\,\,{b_3}\,\,.\,\,{b_2}\,\,{b_1}\,\,{b_0}$$$
where the position of the binary point is between $${b_3}$$ and $${b_2}$$. Assume $${b_7}$$ is the most significant bit. Some of the decimal numbers listed below cannot be represented exactly in the above representation:
$$\,\,\,\,\,\,\,\,\,\,\,\,\,$$ $$(i)$$ $$31.500$$ $$\,\,\,\,\,\,\,\,\,\,\,\,\,$$ $$(ii)$$ $$0.875$$ $$\,\,\,\,\,\,\,\,\,\,\,\,\,$$ $$(iii)$$ $$12.100$$ $$\,\,\,\,\,\,\,\,\,\,\,\,\,$$ (iv) $$3.001$$

Which one of the following statements is true?

GATE CSE 2018
7
Consider the equation $${\left( {43} \right)_x} = {\left( {y3} \right)_8}$$ where $$x$$ and $$y$$ are unknown. The number of possible solutions is ______________
GATE CSE 2015 Set 3
8
Let $$A=1111$$ $$1010$$ and $$B=0000$$ $$1010$$ be two $$8$$-bit $$2's$$ complement numbers. Their product in $$2's$$ complement is
GATE CSE 2004
9
The $$2's$$ complement representation of $${\left( { - 539} \right)_{10}}$$ in hexadecimal is
GATE CSE 2001
10
Zero has two representations in:
GATE CSE 1999
11
Given $$\sqrt {\left( {224} \right),} = {\left( {13} \right)_r},$$
The value of the radix' $$r$$ is:
GATE CSE 1997
12
Consider the number given by the decimal expression.
$${16^3} \times 9 + {16^2} \times 7 + 16 \times 5 + 3$$

The number of $$1's$$ in the unsigned binary representation of the number is _______.

GATE CSE 1990