CSC 156 Spring 2026 - Homework 7 (100 pts. total)
Assigned Mon Mar 30, due Mon Apr 6
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:
Complete the following exercises from the ZyBook and submit only the Additional Exercises through
the HW7 link on Moodle. [Remember from the Syllabus that "you must include justification for each answer", so for each and every
question, do NOT just state the
answer. Also, please note that copying the question does NOT count as justification for your answer, and you are NOT required to copy the question.]
I. Section 3.4 Exercises
[22 pts. ] All Participation Activities ( Activities 1 to 5 )
[20 pts.] Question 1: a) Find the 8-bit binary expression for 27 and for -27 (using the two's complement notation).
b) Use binary addition to show that the sum of the binary numbers for 27 and -27 (found in part a) is the binary number 00000000. When justifying your work, be sure to clearly indicate where the digit '1' was carried.
[10 pts.] Question 2: If the binary number 11001011 represents a signed integer in two's complement notation, what is that integer in decimal format?
II. Section 3.5 Exercises
[18 pts.] Participation Activities 1, 2, 3, 5, and 6 (NOT 4 or 7)
[15 pts.] Question 3: Express the hexadecimal number 2B3 in binary and in decimal.
[10 pts.] Question 4: Express the decimal number 361 in hexadecimal.
[ 5 pts. ] Question 5: Convert the binary number 101011 into hexadecimal.
Last Modified: 3/25/26