Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

11.6. EXERCISES

  1. Using Equations (11.2), (11.3), (11.4) and (11.5), give the BCD format codes 8421, 7536, 2421 and 5421, respectively for the following decimal numbers in Table 11.9, Verify your answers for each column.

    Table 11.9. 8421, 7536, 2421 and 5421 Codes for decimal numbers
    Decimal8421 Standard BCD753624215421
    9    
    12    
    6    


  2. Write 5043210 biquinary code for decimal digits 6, 9 and 12.

  3. Write Excess−3 (XS-3) codes for 3 and 7.

  4. The outputs from the sensors at the slots when a shaft moves in steps of 300 clock-wise are Gray codes 0000; 0001; 0011; 0010; – If the shaft moves from 00 towards anticlockwise in steps of 600 each, then what shall be the Gray code outputs during one rotation of the shaft.

    (Hint: Write Gray codes for 00, 3000, 2400, 1800, 1200, 600, 00).

  5. Using Boolean expressions to convert the binary code to Gray codes for 1001, 0010 and 1010. Implement a Gray code converter using decoder as building block.

  6. Convert 1001, 0010 and 1010 binary into Gray codes using the simple method of bit addition without carry considerations. Implement Gray code converter by using MUX.

  7. Design logic circuit and develop Boolean expressions after minimization using Karnaugh map approach for Gray code to binary code converter.

  8. Convert 1001, 0010 and 1010 Gray codes into binary 4-bit code using the simple method of bit addition without carry considerations.

  9. Give 8 sample rows of truth table of a 4-bit digital comparator (Table 11.10) for six sample bit combinations for binary numbers A and B.

    Table 11.10. A Four-bit digital comparator for sample bits for binary numbers A and B
    InputsOutputs
    Input A Input B ZFPSFMSF
    A3A2A1A0B3B2B1B0=><


  10. Formulate the problem and design logic circuit for implementing a 3-bit digital comparator.

  11. Implement the odd and even parity generator circuits to get eighth bit of 7-bit ASCII code implement by AND-OR arrays.

  12. Find bit wise OR of 11101011 and 01010101.

  13. Find bit wise AND of 11101011 and 01010101

  14. Find bit wise XOR of 10101010 and 10101010.

  15. Find bit wise NOT of 10101010 and then XOR the output and input bits..

  16. Design an Excess-3 (XS-3) codes adder.

  17. Design an 8421 standard BCD inputs adder/subtractor circuit.

  18. Write the ASCII codes for characters in your college or university name.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint