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

Policies
College
    Policies
Advice

Notes
Programs
Tutorials

CSCI 125
CSCI 255
MATH 341
Others

Admin

Homework 5

General Comments

  • Problem from the book are taken from the Chapter Review Problems sections.
  • For full credit, provide context for each problem, show all calculations, and explain your work/answers.
  • Numbers and/or algebra by themselves are not enough.
  • You will lose a significant amount of credit if you do not show enough work/context for your answers.
  • Homework assignments must be very neatly written or typeset (e.g. using Word or OpenOffice).

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?