## Cs101 Assignment 2 Idea SOLUTION Fall 2019

## Cs101 Assignment 2 Idea SOLUTION Fall 2019

**CS101 Assignment 2 Solution Fall 2019**

Question 1:

2 | 724 | |

2 | 362 | 0 |

2 | 181 | 0 |

2 | 90 | 1 |

2 | 45 | 0 |

2 | 22 | 1 |

2 | 11 | 0 |

2 | 5 | 1 |

2 | 2 | 1 |

1 |

Binary of 724 is (111010100)

**Question 2:**

**Complete the following truth table by using stated Boolean logical operation**

A | B | C | A+B | A.C | (A+B)©C |

0 | 0 | 0 | 0 | 0 | 0 |

0 | 0 | 1 | 0 | 0 | 1 |

0 | 1 | 0 | 1 | 0 | 1 |

0 | 1 | 1 | 1 | 0 | 0 |

1 | 0 | 0 | 1 | 0 | 1 |

1 | 0 | 1 | 1 | 1 | 0 |

1 | 1 | 0 | 1 | 0 | 1 |

1 | 1 | 1 | 1 | 1 | 0 |

Sir in A+B, answer will not be true of all are true?

and A.B will be true if anyone is true?

in case of A.B

result will be true only when both are true other wise false

in A+B if single term is true result will true