Question: 1 . Add the following two s complement binary numbers of 8 bits and also express the answer in decimal. Identify each case in which

1. Add the following twos complement binary numbers of 8 bits and also express the answer in decimal. Identify each case in which the answer is incorrect because of overflow.
a.00001111+10011001
b.11111000+11101111
2. Consider the following addition problems. Please first convert each decimal number into eight-bit twos complement notation, perform the addition in twos complement notation, then convert the results back to decimal numbers. Identify each case in which the answer is incorrect because of overflow.
a.32+54
b.-36-45(hint: you can interpret this as (-36)+(-45)
c.-123-45
d.125-124
3. Let X, Y, and Z, are three sets, prove that X(YZ)=(XY)(XZ).
4. Design a DFA that accepts strings starting with either '10' or '01'
5. Design a DFA that recognizes strings containing the substring '010'. For instance, strings like '010111','11011001101000111', etc., should be accepted.
6.Construct a Deterministic Finite Automaton (DFA) that recognizes strings with an odd number of symbols. For instance, '001','11001', and '1000110' are examples of strings accepted by the DFA.
1 . Add the following two s complement binary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!