CS101 Assignment 2 Solution and Discussion Spring2020

In CPU all the arithmetic operations are performed in binary numbers (0 and 1). Suppose you have a small CPU which is designed to perform all arithmetic operations using addition only. You will explain how the following operations will be solved out by the CPU.
i) Multiplication of 6 and 2
ii) Addition of 7 and 3
iii) Subtraction of 5 and 4

@DuaZahra said in CS101 Assignment 2 Solution and Discussion Spring2020:
plz send me full assaingnment cs101
@DuaZahra above posted assignment is full.😋😍😋

plz rply fast

plz send me full assaingnment cs101

@cyberian said in CS101 Assignment 2 Solution and Discussion Spring2020:
@ramla said in CS101 Assignment 2 Solution and Discussion Spring2020:
how did you perform inversion?
To perform inversion strengthening, start by placing a piece of resistance tubing around the soles of both feet. Sit, so that the feet hang off the edge of a table or edge. We will start with the right foot. Cross the left leg over the right leg.
الٹا تقویت بخش کارکردگی کا مظاہرہ کرنے کے لئے ، دونوں پیروں کے تلووں کے گرد مزاحمت کی نلیاں کا ٹکڑا رکھ کر شروع کریں۔ بیٹھو ، تاکہ پیر کسی میز یا کنارے کے کنارے بند ہوسکیں۔ ہم دائیں پیر سے شروع کریں گے۔ دائیں ٹانگ کے اوپر بائیں ٹانگ کو پار کریں۔

@ramla said in CS101 Assignment 2 Solution and Discussion Spring2020:
how did you perform inversion?
To perform inversion strengthening, start by placing a piece of resistance tubing around the soles of both feet. Sit, so that the feet hang off the edge of a table or edge. We will start with the right foot. Cross the left leg over the right leg.

@cyberian how did you perform inversion?

@AamirKhalid said in CS101 Assignment 2 Solution and Discussion Spring2020:
Inversion
You will invert the masked image using XOR logic operation.

@AamirKhalid said in CS101 Assignment 2 Solution and Discussion Spring2020:
Masking
You will apply an 8bit (10101011)2 mask using AND logic operation.