Find the 8-bit two's complement representation of each of the following
(your answer to #1 will help):
102 ________________________________________
-102 ________________________________________
Convert the base 10 number 508 to base 9 two different ways:
Using the subtraction method
Using the division method
Find the base 10 value of each of the following 8-bit two's complement
numbers:
11011101
01110100
Convert the base 8 number 32758 to
base 10
base 2 (using the special relationship between base 8 and base 2)
What is the largest positive base 10 integer (unsigned -- all places are
used for the number with no sign) that can be represented in four base
6 digits? Write both the 4-digit base 6 number and find its value in base 10.
The 8-bit two's complement representation of 107 is 01101011 and the
representation of 52 is 00110100.
Find the 8-bit sum (two's complement) of 107 and 52.
Suppose gpa is a variable containing the grade point
average of a student. Suppose the goal of the program is to let a
student know if he/she made the Dean's list (the gpa must
be 3.5 or above). Write an if... else... statement that
prints out the appropriate message (either "Congratulations -- you made the
Dean's List" or "Sorry you didn't make the Dean's List").