### Important exam oriented question of Digital Logic.

Binary systems 1. Differentiate between Analog and Digital system. What are the advantages of digital system. 2. What is digital computer? Explain working principle of digital computer with block diagram. 3. What do you mean by the Gray code? What are its application? 4. What is decimal code? Differentiate between BCD and excess-3 code. 5. Explain the error detection code with example. 6. Convert the following decimal numbers to the indicated bases. (a) 7562.45 to octal (b) 1938.257 to hexadecimal (c) 175.175 to binary 7.Convert the following hexadecimal number to decimal and octal numbers (a) 0 FFF (b) 3 FFF 8.Subtract (1010100 - 1000100) using 1’s complement. 9.Using 2’s complement, subtract (1000100-1010100). Boolean Algebra and Logic Gates 1. State and prove commutative laws, associative laws and distributive law using logic gate and truth table. 2. What do you mean by Universal gate? Show that both NAND gate and NOR gate are universal gates. 3. State and