CS 61C (Fall 2007)

Quiz 6

Three questions, submit as "quiz6".  Due 2:45pm before lecture 9/12/2007.


To be very clear, you should submit one and only one file template.txt which contains your answers, by running submit quiz6.
Any files not named template.txt will be ignored, without exception!


1.

What are the maximum and minimum values representable using an int (on nova.cs.berkeley.edu).  Briefly explain your answer.

2.

Convert the unsigned binary value 10110010 to decimal.

3.

Convert the signed (twos complement) binary value 10110010 to decimal.