>
Exams
>
Computer Science & Information Technology
>
Binary Operations
>
what is the 2 s complement of 1010
Question:
What is the 2's complement of 1010?
Show Hint
To find the 2's complement, first invert the bits and then add 1.
AP PGECET - 2024
AP PGECET
Updated On:
May 3, 2025
0110
1001
1011
0101
Hide Solution
Verified By Collegedunia
The Correct Option is
A
Solution and Explanation
To find the 2's complement of a binary number: 1. Invert the bits: \( 1010 \) becomes \( 0101 \). 2. Add 1 to the result: \( 0101 + 1 = 0110 \).
Thus, the 2's complement of \( 1010 \) is \( 0110 \).
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Binary Operations
If \( a b = a + b + ab \), then \( 3 4 - 2 3 \) is equal to
Bihar Board XII - 2025
Computer Science
Binary Operations
View Solution
Consider a state space where the start state is number 1. The successor function for the state numbered n returns two states numbered n+1 and n+2. Assume that the states in the unexpanded state list are expanded in the ascending order of numbers and the previously expanded states are not added to the unexpanded state list.
Which ONE of the following statements about breadth-first search (BFS) and depth-first search (DFS) is true, when reaching the goal state number 6 ?
GATE AR - 2024
Data Science and Artificial Intelligence
Binary Operations
View Solution
The number of 1's in the binary representation of $13 \times 16^3 + 11 \times 16^2 + 9 \times 16 + 3$?
AP PGECET - 2024
Computer Science & Information Technology
Binary Operations
View Solution
The fundamental operations in a double-ended queue D are :
insertFirst (e) - Insert a new element e at the beginning of D.
insertLast (e) - Insert a new element e at the end of D.
removeFirst () - Remove and return the first element of D.
removeLast () - Remove and return the last element of D.
In an empty double-ended queue, the following operations are performed :
insertFirst (10)
insertLast (32)
a ← removeFirst()
insertLast (28)
insertLast (17)
a ←removeFirst()
a ← removeLast ()
The value of a is _______.
GATE AR - 2024
Data Science and Artificial Intelligence
Binary Operations
View Solution
Let H, I, L, and N represent height, number of internal nodes, number of leaf nodes, and the total number of nodes respectively in a rooted binary tree.
Which of the following statements is/are always TRUE ?
GATE AR - 2024
Data Science and Artificial Intelligence
Binary Operations
View Solution
View More Questions
Questions Asked in AP PGECET exam
The absolute humidity of air at 101.325 kPa is measured to be 0.02 kg of water per kg of dry air. Then the partial pressure of water vapour in the air is:
AP PGECET - 2025
Thermodynamics
View Solution
If the vapour pressure at two temperatures of a solid phase in equilibrium with its liquid phase is known, then the latent heat of fusion can be calculated by the:
AP PGECET - 2025
Thermodynamics
View Solution
1 mole of Argon gas is heated at constant pressure from 200 K to 600 K.
If \( C_p = 4\ \text{cal} \cdot \text{deg}^{-1} \cdot \text{mol}^{-1} \), then the change in entropy will be:
(Given \( \ln 3 = 1.09 \))
AP PGECET - 2025
Thermodynamics
View Solution
The minimum amount of work required to operate a refrigerator which removes 1000 Cal heat at $0^\circ$C and rejects at $50^\circ$C will be:
AP PGECET - 2025
Thermodynamics
View Solution
The entropy of single crystalline Silicon at absolute zero will be:
AP PGECET - 2025
Thermodynamics
View Solution
View More Questions