# User:Anjuagrawal/Assignments II year/II Assignment

**II Assessment**

**Q1.**
Convert the following decimal number into binary, octal and hexadecimal number
732.275
99.675

**Q2.**
Convert the following binary number to Gray code 011011011010

**Q3.**
Convert the following Gray number to binary code

**Q4.**
Add the following numbers using the 2’s complement method (Use 8 bits)
+38 and -22

**Q5.**
What is a weighted code? Give an example

**Q6.**
Perform BCD addition of 703 + 479

**Q7.**
Show that positive logic NAND gate is a negative logic NOR gate and vice-versa

**Q8.**
Simplify the Boolean expression

AB′ + ABC + A(B + AB′)

**Q9.**
Express the function Y = AB + ACD in

**a)** Canonical SOP

**b)** Canonical POS form

**Q10**
Give a Boolean expression for the following statements

**a)**Y is a 1 only if A is a 1 and B is a 1 or if A is 0 and B is a 0

**b)**Y is a 1 only if A, B and C are all 1’s or if only one of the variables is 0.

**Q11.**
Simplify the following function in Sum of Products

F(A,B,C,D) = ∑(0,1,2,5,8,9,10)