CSCI 112 Fall 2013
Exploring Computer Science
Archived Class
Charles Cusack
Computer Science
Hope College
Main
Schedule
Grading
Gradebook

Policies
Advice
College
    Policies

Notes
Programs
Tutorials

CSCI 385
MATH 160
Others

Admin

Homework 5

Details

Do the following exercises from pages 69-70 of your textbook and the other ones listed below.
ProblemPoints
32abcd8
#1 below8
#2 below8

  1. Show all of your calculations for the following, even if you can do them in your head. For each, give a brief description of your calculations so that someone reading your solution understands what you are doing.
    1. Convert the binary number 100110 to decimal.
    2. Convert the six-bit two's complement number 100110 to decimal.
    3. Convert the binary number 010111 to decimal.
    4. Convert the six-bit two's complement number 010111 to decimal.
  2. Show all of your calculations for the following, even if you can do them in your head. For each, give a brief description of your calculations so that someone reading your solution understands what you are doing.
    1. Convert the decimal number 13 to binary.
    2. Convert the decimal number 13 to six-bit two's complement.
    3. Convert the decimal number -23 to six-bit two's complement.
    4. Can you convert the decimal number -23 to binary? Why or why not?