Computer Science 202

Introduction to Programming

Fall 2013, The College of Saint Rose

Agenda

- Announcements
- Programming Project 1: Random Flower due Thursday

- Reminder about the Style Guide
- Lecture 10 assignment recap
- Practice exam questions out
- Binary basics
- Decimal-Binary-Hex conversions
- It's all binary!
- Lab 3: Mad Libs begins

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.

- 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 217 _{10}10010110 _{2}0010110001101110 _{2}A7 _{16}ACED _{16} - 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