Computer Science 202
Introduction to Programming

Fall 2013, The College of Saint Rose

Lecture 11: Binary and Hexadecimal Numbers
Date: Tuesday, October 1, 2013


Agenda

Lecture 11 Assignment

Due at the start of class, Thursday, October 3.

Please submit answers to these questions in Submission Box under "LA11" by the start of our next class. We will discuss these questions at the start of class, so no late submissions are accepted. Please be sure that your name is clearly indicated in all submissions.

  1. Please fill in the missing entries in the following table, or state that a given entry is impossible (i.e., the number does not fit in the number of digits specified). (8 points total)

    Decimal

    8-bit Binary          16-bit Binary          2-digit Hex 4-digit Hex
    21710
    100101102
    00101100011011102
    A716
    ACED16

  2. What is the largest number that can be represented in 10 decimal digits? 10 binary digits? 10 hexadecimal digits? Please give all answers in the specified base as well as decimal. (3 points)

Links