Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  If x = 111101 and y = 000100 be two 8-bit 2s ... Start Learning for Free
If x = 111101 and y = 000100 be two 8-bit 2's complement numbers. Their product in 2's complement is: 
  • a)
    110011
  • b)
    001100
  • c)
    110100
  • d)
    110110
Correct answer is option 'C'. Can you explain this answer?
Most Upvoted Answer
If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their...
To find the product of two 8-bit 2s complement numbers, x = 111101 and y = 000100, we can follow these steps:

Step 1: Convert x and y to their decimal equivalent
- x = 111101 in 2s complement represents a negative number. To convert it to decimal, we take the 2s complement of the positive number it represents, which is 000011.
- y = 000100 in 2s complement represents a positive number. So, its decimal equivalent is 000100 itself.

Step 2: Multiply x and y using binary multiplication rules
- Multiply the binary representation of x (000011) and y (000100) using the standard binary multiplication rules.
- The result is 0000000100.

Step 3: Convert the result back to 2s complement representation
- Since the result of the multiplication is positive, we don't need to take the 2s complement.
- The result is 0000000100, which represents the decimal number 000100.

Step 4: Convert the decimal result back to 8-bit 2s complement representation
- The decimal result 000100 needs to be converted back to 8-bit 2s complement representation.
- Since the number is positive, the 2s complement representation is the same as the binary representation.
- The 8-bit 2s complement representation of the result is 000100.

Therefore, the product of x = 111101 and y = 000100 in 2s complement is 110100 (option C).
Free Test
Community Answer
If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their...
Given,
x = 111101
y = 000100
By converting 2's complement x = 111101 and y = 000100 into decimal:
x = 111101
The first bit is 1 so, the number is negative.
x = −3
The first bit is 0 so the number is positive.
y = 4
As we know,
Positive numbers have the same representation in simple binary and 2's complement.
x × y = −3 × 4 = −12
Now,
If decimal is negative:
STEP 1: Convert magnitude to binary.
STEP 2: Pad 0's to the desired bit-size.
STEP 3: Invert bits to achieve 1's-complement.
STEP 4: Add 1 to achieve 2's-complement.
By converting −12 to 2's complement which is 110100.
Hence, the correct option is (C).
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer?
Question Description
If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer?.
Solutions for If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer?, a detailed solution for If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer? has been provided alongside types of If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice If x = 111101 and y = 000100 be two 8-bit 2s complement numbers. Their product in 2s complement is:a)110011b)001100c)110100d)110110Correct answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev