Study Guide for Quiz 1 (24 Jun 2011) * There will be conversions of decimal numbers into binary, octal, and hexadecimal and vice versa. For example: Convert 57 into binary, octal, and hexadecimal. Convert 10011100 a number in binary into octal, decimal, and hexadecimal. Convert B29A a number in hex into binary and octal. Convert 712 an octal number into decimal and binary. * There will conversions of negative numbers into 8-bit 2's complement numbers. For example: Convert -29 into 8-bit 2's complement binary number. If 1100 1011 represents an 8-bit 2's complement binary number what number is that in decimal? * You should be able to outline the structure of a computer language. * You should be able to define variables according to the rules given in class and assign values to them. Give meaningful names to the variables. Define a variable that gives the number of wheels in a tricycle. Define a variable that gives the gpa of a student who has received all B's in his classes. * You should be able to perform simple arithmetic operations using the following operators: + (add), - (subtract), * (multiply), / (divide), and ** (exponentiation). * You will be asked to write a short program that will involve arithmetic operations and you will output the result using a print statement. Write a short program that prints out the area of a rectangle whose length is 8.5 and whose width is 2.9.