Electrical Engineering (EE) Exam  >  Electrical Engineering (EE) Tests  >  Test: Signed Binary Numbers - Electrical Engineering (EE) MCQ

Test: Signed Binary Numbers - Electrical Engineering (EE) MCQ


Test Description

10 Questions MCQ Test - Test: Signed Binary Numbers

Test: Signed Binary Numbers for Electrical Engineering (EE) 2024 is part of Electrical Engineering (EE) preparation. The Test: Signed Binary Numbers questions and answers have been prepared according to the Electrical Engineering (EE) exam syllabus.The Test: Signed Binary Numbers MCQs are made for Electrical Engineering (EE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Signed Binary Numbers below.
Solutions of Test: Signed Binary Numbers questions in English are available as part of our course for Electrical Engineering (EE) & Test: Signed Binary Numbers solutions in Hindi for Electrical Engineering (EE) course. Download more important topics, notes, lectures and mock test series for Electrical Engineering (EE) Exam by signing up for free. Attempt Test: Signed Binary Numbers | 10 questions in 30 minutes | Mock test for Electrical Engineering (EE) preparation | Free important questions MCQ to study for Electrical Engineering (EE) Exam | Download free PDF with solutions
Test: Signed Binary Numbers - Question 1

A register contains a 2’s complement no 10100. Find the value of a register if it is divided by 2

Detailed Solution for Test: Signed Binary Numbers - Question 1

Given Number is 10100
The Right shift of the content in register is same as the content divided by 2 
Apply Right Shift ⇒ 11010              
Operation right shift is equivalent to divided by 2

Test: Signed Binary Numbers - Question 2

X = 01110 and Y = 11001 are two 5-bit binary numbers represented in two’s complement format. The sum of X and Y represented in two’s complement format using 6 bits is

Detailed Solution for Test: Signed Binary Numbers - Question 2

To represent a given 5-bit number using 6- bits in a 2's complement representation, we simply copy the MSB bit as it is till we get the required 6 bits, i.e.
X = 01110 = 001110 
Y = 11001 =111001
Ignoring the carry, we get the addition of the two in 2's complement number as:∴ x + y = 000111

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Signed Binary Numbers - Question 3

Perform the subtraction and represent your answer in 2’s complement form (10010)2 - (10111)2

Detailed Solution for Test: Signed Binary Numbers - Question 3

Concept:

  • If number is positive; MSB = 0
  • Then 2’s complement will be the same
  • If number is negative; MSB = 1
  • Then 2’s complement will be different from its obtained result

Calculation:
Given,


Test: Signed Binary Numbers - Question 4

X = 00110 and Y = 10011 are two binary numbers represented in 2's complement format. The sum of X and Y represented in 2's complement format using 5 bits is _____

Detailed Solution for Test: Signed Binary Numbers - Question 4

X = 00110
since, the MSB = 0
∴ it is a positive number.
Decimal equivalent: 0 + 1 x 22 + 1 x 21 + 0 x 20 = + 6
Y = 10011
since, the MSB = 1 
∴ it is a negative number,
We need to take the 2's complement of Y, that is.
1's complement (Y) + 1
01100 + 1
⇒ 01101
Decimal equivalent → 0 + 1 × 23 + 1 × 22 + 0 + 1 x 20 → -13
The sum of X and Y is
+6 - 13 = - 7
The 2's complement of - 7
→ 1's complement of 7 + 1
→ 1's complement of 00111 + 1
→ 11000 + 1 → 11001

Test: Signed Binary Numbers - Question 5

Which of the following is the smallest 4-bit negative number stored in its 2's complement representation?

Detailed Solution for Test: Signed Binary Numbers - Question 5

The smallest negative number is the largest binary value.

1111 is -1, 1110 is -2, 1101 is -3, etc down to 1000 which represents -8.

Test: Signed Binary Numbers - Question 6

In sign-magnitude numbers

Detailed Solution for Test: Signed Binary Numbers - Question 6

Signed magnitude representation uses the most significant bit (MSB) a sign bit.

  1. If the sign bit is ‘0’ then the number is positive.
  2. If the sign bit is ‘1’ then the number is negative.

The remaining bits represent the magnitude of the binary number.

Test: Signed Binary Numbers - Question 7

The difference in the dynamic range of 32-bit binary number(B) and floating-point number(F) is?
Standard Format for B and F as given below :

B=

F=

 

Detailed Solution for Test: Signed Binary Numbers - Question 7

The dynamic range in 
In fixed point, unsigned integer representation using N-bit, the range of Max to Min is 2N to 1

In fixed-point signed integer representation using N-bit, the range of Max to Min number is 2N-1 to 1

Calculation:
The dynamic range of a 32-bit binary number B is:


 

Exponent = e – 127 varies from –127 to 128,
e = 0 = all bits (b30 ---- b23) are zero.
Now, the dynamic range is determined by the size of the exponent, which is
1 × 2-127(min) to 2128 (max).
Dynamic range:

Difference in Dynamic Ranges = 6.03 (28 – 31)
So, Option (2) is correct.

Test: Signed Binary Numbers - Question 8

The number of 1’s in the 8-bit unsigned representation of 127 in its 2’s complement form is m and that in 1’s complement form is n. What is the value of m : n?

Detailed Solution for Test: Signed Binary Numbers - Question 8

Concept:

1’s complement representation of a binary number is obtained by toggling all the bits, i.e. replacing 1 with 0, and 0 with 1.
2’s complement representation of a binary number is obtained by adding 1 to the 1’s complement representation.

Application:

(127)10 = (01111111)2
1’s complement representation will be:
1’s complement = 10000000
Number of 1’s is the 1’s complement is, n = 1
Now, the two (2’s) complement representation will be:
2’s complement = 10000000 + 1 = 10000001
Number of 1’s in 2’s complement is, m = 2
∴ The required ratio is m : n = 2 : 1

Test: Signed Binary Numbers - Question 9

The I's complement of the binary number (101100)2 is:

Detailed Solution for Test: Signed Binary Numbers - Question 9

Concept: 
1's complement of Binary: 1's complement of a Binary number is defined by the value obtained by inverting all the bit, i.e, 0 as 1 and 1 as 0.

Calculation:
The 1's complement of the given binary digit will be:
(101100) → (010011)

*Answer can only contain numeric values
Test: Signed Binary Numbers - Question 10

No of bits required to represent -6410 in 2’s complement form:


Detailed Solution for Test: Signed Binary Numbers - Question 10

64 in binary form is represented as:
6410 = (1000000)2
Taking the 1's complement of the above, we get 0111111
Adding 1 to the 1's complement, we get the 2's complement representation of the number, i.e. 1000000.
Since there is a 1 in the LSB, the number is a negative number with value 64.
∴ The 2's complement of -6410 contains 7 bits.

Information about Test: Signed Binary Numbers Page
In this test you can find the Exam questions for Test: Signed Binary Numbers solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Signed Binary Numbers, EduRev gives you an ample number of Online tests for practice

Top Courses for Electrical Engineering (EE)

Download as PDF

Top Courses for Electrical Engineering (EE)