A 0 0 0 0 1 1 1 1
B 0 0 1 1 0 0 1 1
C 0 1 0 1 0 1 0 1
Find ( A u B ) n C
Submitted by: AdministratorTo find A-C, We will find 2's compliment of C and them add it with A,
That will give us (A-C)
2's compliment of C=1's compliment of C+1
=10101010+1=10101011
A-C=10101011+00001111
=10111010
Now (A-C) U B is .OR. logic operation on (A-C) and B
10111010.OR . 00110011
The answer is = 10111011,
Whose decimal equivalent is 187.
Submitted by: Administrator
That will give us (A-C)
2's compliment of C=1's compliment of C+1
=10101010+1=10101011
A-C=10101011+00001111
=10111010
Now (A-C) U B is .OR. logic operation on (A-C) and B
10111010.OR . 00110011
The answer is = 10111011,
Whose decimal equivalent is 187.
Submitted by: Administrator
Read Online Quantitative Aptitude Job Interview Questions And Answers
Top Quantitative Aptitude Questions
☺ | Two pipes A and B fill at A certain rate B is filled at 10,20,40,80,. If 1/16 of B if filled in 17 hours what time it will take to get completely filled? |
☺ | Find the fourth row, having the bit pattern as an integer in an 8-bit computer, and express the answer in its decimal value. |
☺ | One ship start his journey from a port and another ship start his journey from H at the same time, at which place they will meet? |
☺ | Which of the following set of numbers has the highest Standard deviation? |
Top Basic Job Categories
☺ | Targeted Selection Interview Questions. |
☺ | Business intelligence Interview Questions. |
☺ | Puzzles Interview Questions. |
☺ | Behavioral Interview Questions. |
☺ | Freshers Graduate Interview Questions. |