Spring 2000

Computer Science 3410 - Solutions

Binary Systems

  1. Perform subtraction with the following insigned decimal numbers by taking the 10's complement of the subtrahend.
    a) 5250 - 1321
        
    b) 1753 - 8640
      
  2. Perform the arithmetic operations in binary using the signed-2's-complement representation for negative numbers.
    a) (+42) + (-13)  b) (-42) - (-13)
      
      
  3. Assign a binary code in some orderly manner to the a deck of cards (52 cards in a deck). Use the minimum number of bits.
  4. List the ten BCD digits with an even parity in the leftmost position (total of five bits per digit). Repeat with an odd parity.



  5. Write your full name in ASCII using an eight-bit code with the leftmost bit always 0. Include a space between names and a period after a middle initial.

Digital Logic 3410 Home Email: cs3410@hotmail.com Class Information Tutorials Lab Information Homework & Grades Class Updates and Notes the Message Pit Home