CSCI 112 Spring 2024
Exploring Computer Science
Archived Class
Charles Cusack
Computer Science
Hope College
Main
Schedule
Grading
Gradebook
Homework

Policies
Advice
College
    Policies

Notes
Programs
Tutorials

CSCI 125
CSCI 255
Others

Admin

Homework 1

Details

For each problem make sure you clearly and neatly show all of your work! Each problem is worth 5 points.

  1. Convert the decimal number 123 to unsigned 8-bit binary.
  2. Convert the decimal number 1234 to unsigned 16-bit binary.
  3. What is the fewest number of bits needed to store 1234 in unsigned binary? Explain your answer.
  4. What is the decimal representation of the unsigned binary number 11100100110001?
  5. Determine the ASCII representation of "8675309". Make sure you specify which encoding you are using (e.g. decimal, hexadecimal, or binary being the most likely).
  6. You are a private investigator that is spying on a friend of a client to see if the friend is stealing from your client. You able to read a small amount of data from the friend's computer. The data comes to you in bits. The bits are 11000001000110010001111100100011. What do these bits reveal about the friend? Are they useful in helping you determine anything about whether or not your client's friend is stealing from them? Explain.