253 assignment: Worksheet

Print this page, hand in at beginning of class, neatly done, no calculators!! It's EASY to cheat, but...

Assignment 0 CIS 253 AnswerSheet NAME ______________________ 1. Express these binary as unsigned decimal: (a) 00110101 _________ (b) 11001100 _________ (c) 11111111 _________ (d) 10000000 _________ 2. Express these binary as signed decimal: (a) 00110101 _________ (b) 11001100 _________ (c) 11111111 _________ (d) 10000000 _________ 3. Express these binary as hex: (a) 00110101 _________ (b) 11001100 _________ (c) 11111111 _________ (d) 10000000 _________ 4. Biggest unsigned 8 bit number: (a) in decimal ________ (b) in binary ________ (c) in hex __________ (d) in octal _________ 5. Smallest signed 8 bit number: (a) in decimal _________ (b) in binary ________ (c) in hex _________ (d) in octal __________ 6. Biggest unsigned 16 bit number: (a) in decimal _________ (b) in binary ________ (c) in hex ___________ (d) in octal __________ 7. Biggest signed number decimal number: (a) in 6 bits _________ (b) in 10 bits ________ (c) in 12 bits __________ (d) in 20 bits __________ 8. How many different numbers can be represented (a) in 6 bits ___________ (b) in 10 bits ________ (c) in 12 bits __________ (d) in 20 bits __________ 9. A graphics device represents one pixel with 16 bits. How many different colors can this device display? How many bytes will an image that is 200 x 300 pixels use? 10. How many different numbers can be represented with 32 bits? Formula? 11. If you add 10h and 32h and print it, what prints? EXPLAIN! 12. What is the biggest unsigned number you can represent in 256 bits.