Difference between revisions of "CSC231 Exercises Binary Hexadecimal"

From dftwiki3
Jump to: navigation, search
(New page: Exercises: Binary to hexadecimal and decimal # Convert the following numbers to their (unsigned) decimal and hexadecimal equivalent. For each one indicate the amount of storage req...)
 
Line 3: Line 3:
 
        
 
        
 
# Convert the following numbers to their (unsigned) decimal and hexadecimal equivalent. For each one indicate the amount of storage required to store them (nybble, byte, word, double-word):
 
# Convert the following numbers to their (unsigned) decimal and hexadecimal equivalent. For each one indicate the amount of storage required to store them (nybble, byte, word, double-word):
 
 
         0
 
         0
 
   
 
   
Line 9: Line 8:
 
   
 
   
 
         0000 1110 0001 1101 0000 0000
 
         0000 1110 0001 1101 0000 0000
       
 
 
 
# Hex to binary and decimal
 
# Hex to binary and decimal
 
:Same question for these numbers:
 
:Same question for these numbers:
 
 
         0
 
         0
 
   
 
   
Line 21: Line 17:
 
   
 
   
 
         ffff
 
         ffff
       
 
 
 
# Decimal to binary and hex
 
# Decimal to binary and hex
 
:Same question for these numbers:
 
:Same question for these numbers:

Revision as of 09:34, 8 September 2008

Exercises: Binary to hexadecimal and decimal


  1. Convert the following numbers to their (unsigned) decimal and hexadecimal equivalent. For each one indicate the amount of storage required to store them (nybble, byte, word, double-word):
        0

        1111

        0000 1110 0001 1101 0000 0000
  1. Hex to binary and decimal
Same question for these numbers:
        0

        1234

        1010

        ffff
  1. Decimal to binary and hex
Same question for these numbers:
         129

         15

         32767