Computer Science 202

Introduction to Programming

Fall 2012, The College of Saint Rose

Agenda

- Announcements
- Prep for getting into flowcharting and Java programming next week:
- order your Visual Logic PIN
- if you plan to use your own laptop, follow setup instructions for both Visual Logic and Java/BlueJ in Blackboard before our next class meeting - do not hesitate to ask for help!
- if you plan to work on school computers, your best bet is to get Visual Logic set up on a flash drive (it's straightforward to do so)

- Where to turn things in with Blackboard

- Prep for getting into flowcharting and Java programming next week:
- Lecture assignment 1 recap
- Number conversions: binary-decimal-hexadecimal
- Representing other types of data
- Units
- Hardware components

Due at the start of class, Tuesday, September 4, 2012.

Please submit answers to these questions in Blackboard by the start of class. We will discuss these questions at the start of class, so no late submissions are accepted.

- 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). (5 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)

Examples

Links