CSC 156 Fall 2023 - Homework 5 (100 pts. total)
Assigned Fri Oct 20, due Mon Oct 30


BEFORE STARTING THIS ASSIGNMENT:
Before starting the exercises given below for each section, please make sure to read each section and check your understanding (by doing the participation exercises and those additional exercises with answers provided).

FOR ALL QUESTIONS IN THIS ASSIGNMENT:
Answer each question. *Make sure to justify your answer for all questions. Do NOT just state the answer.*

THE ASSIGNMENT:
  • [10 pts.] Question 1: Calculate each of the following: 37 mod 5, 193 mod 37.
  • [30 pts.] Section 3.1 Additional Exercises #1b,2a,5b
  • [10 pts.] Question 2: Convert the binary number 101001 to decimal and to hex.
  • [10 pts.] Question 3: Convert the decimal number 179 to binary and to hex.
  • [10 pts.] Question 4: Express the sum of the binary numbers 10110011 and 1010110 as a binary number.
  • [ 5 pts. ] Question 5: The binary number 10111001 represents an unsigned integer. Convert this binary number to decimal format.
  • [ 5 pts. ] Question 6: The binary number 10111001 represents a signed integer. Convert this binary number to decimal format.
  • [20 pts.] Section 3.2 Additional Exercises #1d,2g,3c,4b



    Last Modified: 10/20/23