Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

First operation, configure the ALU to perform the addition of the binary values

ID: 3884825 • Letter: F

Question

First operation, configure the ALU to perform the addition of the binary values A = (0011) 2 and B = (0010) 2 . Let the result of A plus B = C.

Enter the value of C from the ALU binary format below in the response window eg a string of 1s and 0s  ( MSB on the left down to LSB on the right )

Be sure to use no spaces between the 1s and 0s of your response as the auto grader is using a pattern match and spaces will cause it to score you input as incorrect.   

2nd question

To begin the second operation, configure the ALU to perform the operation ( (A + C)' of the binary values A = (0011) 2 and the binary value, C, just evaluated in problem 2.   

Enter the value of result of this operation from the ALU binary format below in the response window eg a string of 1s and 0s  ( MSB on the left down to LSB on the right )

Be sure to use no spaces between the 1s and 0s of your response as the auto grader is using a pattern match and spaces will cause it to score you input as incorrect.

S3..SO (function) CN+4/ B3, A3 F3 F2 . B2,A2 A-6 B1, A1 F1 FO B0, A0

Explanation / Answer

Q1: The ALU performs the addtion of 2 binary no.s i.e A = (0011) 2 and B = (0010) 2 . Let the result of A plus B = C.

Adding these binary values we get the answer as C = (0101)2 . So you need to write the answer in your portal as 0101

Q2: Now, we need to perform (A + C)'. So first we will calculate (A+C) which is equal to (1000)2 . Complement of 1000 will be 0111. So the answer is 0111