Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
2's complement
2's complement representation
Recent questions tagged number-representation
9
votes
1
answer
91
GO Classes Test Series 2024 | Programming | Test 1 | Question: 6
Consider the $k$ bit binary pattern on 2's complement system. $\text{T}_{\max}$ and $\text{T}_{\min}$ are maximum and minimum signed numbers we can represent using $k$ bits. $\text{U}_{\max}$ and $\text{U}_{\min}$ are maximum and minimum ... $\text{U}_{\min} = !(1>>31)$ $\text{U}_{\max} = \;\sim(1>>31)$
Consider the $k$ bit binary pattern on 2’s complement system.$\text{T}_{\max}$ and $\text{T}_{\min}$ are maximum and minimum signed numbers we can represent using $k$ b...
GO Classes
618
views
GO Classes
asked
Apr 18, 2022
Programming in C
goclasses2024-programming-1-weekly-quiz
goclasses
programming
number-representation
multiple-selects
1-mark
+
–
5
votes
1
answer
92
GO Classes 2023 | Weekly Quiz 4 | Question: 2
Which of the following expressions will evaluate to true? INT_MIN is the minimum signed integer in the system which is using 2's complement representation for signed integers and variables are defined as follows: int x = 5, i = -7; ((x >> 2) << 2) <= x ~ 1&& 1 INT_MIN == -INT_MIN -10 < i <-1
Which of the following expressions will evaluate to true?INT_MIN is the minimum signed integer in the system which is using 2's complement representation for signed integ...
GO Classes
808
views
GO Classes
asked
Mar 26, 2022
Programming in C
goclasses_wq4
goclasses
programming
programming-in-c
number-representation
multiple-selects
2-marks
+
–
10
votes
2
answers
93
GATE CSE 2022 | Question: 8
Let $\text{R1}$ and $\text{R2}$ be two $4 - \text{bit}$ registers that store numbers in $2\text{'s}$ complement form. For the operation $\text{R1 + R2},$ which one of the following values of $\text{R1}$ and $\text{R2}$ ... and $\text{R2 = 1010}$ $\text{R1 = 0011}$ and $\text{R2 = 0100}$ $\text{R1 = 1001}$ and $\text{R2 = 1111}$
Let $\text{R1}$ and $\text{R2}$ be two $4 – \text{bit}$ registers that store numbers in $2\text{’s}$ complement form. For the operation $\text{R1 + R2},$ which one of...
Arjun
8.9k
views
Arjun
asked
Feb 15, 2022
Digital Logic
gatecse-2022
digital-logic
number-system
number-representation
1-mark
+
–
7
votes
3
answers
94
GATE CSE 2022 | Question: 31
Consider three floating point numbers $\textit{A, B}$ and $\textit{C}$ stored in registers $\text{R}_{\text{A}}, \text{R}_{\text{B}}$ and $\text{R}_{\text{C}},$ respectively as per $\textsf{IEEE-754}$ single precision floating point format. The $\text{32-bit}$ content stored in ... $\textit{A + C} = 0$ $\textit{C = A + B}$ $\textit{B =3C}$ $\textit{(B - C)} > 0$
Consider three floating point numbers $\textit{A, B}$ and $\textit{C}$ stored in registers $\text{R}_{\text{A}}, \text{R}_{\text{B}}$ and $\text{R}_{\text{C}},$ respectiv...
Arjun
8.7k
views
Arjun
asked
Feb 15, 2022
Digital Logic
gatecse-2022
digital-logic
number-system
number-representation
2-marks
+
–
0
votes
1
answer
95
Topic - Number Systems (Digital Logic)
What is the difference between 2’s complement and 2’s complement representation of a number? Please can you do 2’s complement of (43) and (-43) and also represent 43 and (-43) in two’s complement form. Also, write binary of 43 and (-43).
What is the difference between 2’s complement and 2’s complement representation of a number? Please can you do 2’s complement of (43) and (-43) and also represent 4...
99Monish
4.1k
views
99Monish
asked
Dec 18, 2021
Digital Logic
number-representation
number-system
digital-logic
+
–
1
votes
1
answer
96
TIFR CSE 2021 | Part A | Question: 12
How many numbers in the range ${0, 1, \dots , 1365}$ have exactly four $1$'s in their binary representation? (Hint: $1365_{10}$ is $10101010101_{2}$, that is, $1365=2^{10} + 2^{8}+2^{6}+2^{4}+2^{2}+2^{0}.)$ ... $\binom{11}{4}+\binom{9}{3}+\binom{7}{2}+\binom{5}{1}$ $1024$
How many numbers in the range ${0, 1, \dots , 1365}$ have exactly four $1$’s in their binary representation? (Hint: $1365_{10}$ is $10101010101_{2}$, that is, $$1365=2^...
soujanyareddy13
575
views
soujanyareddy13
asked
Mar 25, 2021
Digital Logic
tifr2021
digital-logic
number-representation
binomial-theorem
+
–
21
votes
3
answers
97
GATE CSE 2021 Set 2 | Question: 4
The format of the single-precision floating point representation of a real number as per the $\text{IEEE 754}$ ... and mantissa $=0000000000000000000000001$ exponent $=00000001$ and mantissa $=0000000000000000000000000$ exponent $=00000001$ and mantissa $=0000000000000000000000001$
The format of the single-precision floating point representation of a real number as per the $\text{IEEE 754}$ standard is as follows:$$\begin{array}{|c|c|c|} \hline \tex...
Arjun
10.2k
views
Arjun
asked
Feb 18, 2021
Digital Logic
gatecse-2021-set2
digital-logic
number-representation
ieee-representation
1-mark
+
–
13
votes
3
answers
98
GATE CSE 2021 Set 2 | Question: 18
If $x$ and $y$ are two decimal digits and $(0.1101)_2 = (0.8xy5)_{10}$, the decimal value of $x+y$ is ___________
If $x$ and $y$ are two decimal digits and $(0.1101)_2 = (0.8xy5)_{10}$, the decimal value of $x+y$ is ___________
Arjun
4.9k
views
Arjun
asked
Feb 18, 2021
Digital Logic
gatecse-2021-set2
numerical-answers
digital-logic
number-representation
1-mark
+
–
29
votes
6
answers
99
GATE CSE 2021 Set 2 | Question: 44
If the numerical value of a $2$-byte unsigned integer on a little endian computer is $255$ more than that on a big endian computer, which of the following choices represent(s) the unsigned integer on a little endian computer? $0\text{x}6665$ $0\text{x} 0001$ $0\text{x} 4243$ $0\text{x} 0100$
If the numerical value of a $2$-byte unsigned integer on a little endian computer is $255$ more than that on a big endian computer, which of the following choices represe...
Arjun
14.5k
views
Arjun
asked
Feb 18, 2021
Digital Logic
gatecse-2021-set2
multiple-selects
digital-logic
number-representation
little-endian-big-endian
2-marks
+
–
8
votes
4
answers
100
GATE CSE 2021 Set 1 | Question: 6
Let the representation of a number in base $3$ be $210$. What is the hexadecimal representation of the number? $15$ $21$ $\text{D}2$ $528$
Let the representation of a number in base $3$ be $210$. What is the hexadecimal representation of the number?$15$$21$$\text{D}2$$528$
Arjun
9.0k
views
Arjun
asked
Feb 18, 2021
Digital Logic
gatecse-2021-set1
digital-logic
number-representation
normal
1-mark
+
–
9
votes
5
answers
101
GATE CSE 2021 Set 1 | Question: 24
Consider the following representation of a number in $\text{IEEE 754}$ single-precision floating point format with a bias of $127$.$S: 1\quad\quad E:\; 10000001\quad\quad F:\;11110000000000000000000$ Here $S, \;E$ and ... the floating point representation. The decimal value corresponding to the above representation (rounded to $2$ decimal places) is ____________.
Consider the following representation of a number in $\text{IEEE 754}$ single-precision floating point format with a bias of $127$.$$S: 1\quad\quad E:\; 10000001\quad\qu...
Arjun
8.1k
views
Arjun
asked
Feb 18, 2021
Digital Logic
gatecse-2021-set1
digital-logic
number-representation
ieee-representation
numerical-answers
1-mark
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
...
13
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register