Homework: Homework is
due typewritten
(include source code, but not exe files)
by class starting time on the due date.
Each assigned problem requires a solution
and an explanation (or work) detailing
how you arrived at your solution.
Cite any outside sources used to solve a problem.
When grading an assignment,
I may ask for additional information.
Note that a subset of the assigned problems
will be graded.
Zip your homework into a file named hmk.zip.
Email your work to CS166.section1.SJSU@gmail.com
or CS166.section2.SJSU@gmail.com
(depending on your section).
The subject line of your email must be of the form:
CS166HMK assignmentnumber yourlastname last4digitofyourstudentnumber
That is, the subject line must consist of four identifiers.
There is no space within an identifier and each identifier
is separated by a space.
- Assignment 1: Due Tuesday, January 31
Chapter 1, problems 1, 10, 11, 13, 15, 16, 17.
The problems for chapter 1 can be found
here.
- Assignment 2: Due Tuesday, February 7
Chapter 2, problems 2, 4, 5, 8, 10, 12, 15, 19, 22, 26.
Use your program from problem 12 to solve problem 10.
- Assignment 3: Due Tuesday, February 14
Chapter 3, problems 3, 4, 8, 9, 11, 14, 22, 27, 30, 31, 43. Note
that there is a typo in problem 30, part b, which should read
"Use the TEA cipher to encrypt Alice.jpg in CBC mode…".
For problem 30, part a, encrypt Alice.bmp using both ECB and CBC mode.
For problem 30, part b, encrypt Alice.jpg using both ECB and CBC mode.
- Assignment 4: Due Tuesday, February 21
Chapter 4, problems 1, 2, 6, 8, 10, 12, 22, 25, 29, 35.
- Assignment 5: Due Tuesday, February 28
Chapter 5, problems 5, 8, 13, 16, 17, 21, 22, 25, 26, 28, 33, 35, 42.
- Assignment 6: Due Tuesday, March 13
Chapter 7, problems 6, 9, 11, 13, 14, 21, 25, 29, 32, 37, 38.
- Assignment 7: Due Thursday, March 22
Chapter 8, problems 3, 7, 10, 11, 15, 20, 25, 26, 29, 32,
and send a spoofed email to stamp@cs.sjsu.edu.
- Assignment 8: Due Tuesday, April 10
Chapter 9, problems 6, 7, 9, 13, 16, 18, 19, 24, 27, 29, 32, 36.
- Assignment 9: Due Thursday April 26
Chapter 12, problems 1, 2, 7, 12, 14.
Also, decompile a Java class file of your choice
(using a tool such as Cafebabe) for which you have the corresponding
Java source file. Comment on the similarities and differences
between the decompiled file and the original source file.
- Assignment 10: Due Tuesday, May 8
Chapter 10, problems 1, 6, 10, 11, 13, 14, 15, 17, 21, 26, 27, 32, 34.
- Assignment 11: Due Tuesday, May 22
Chapter 11, problems 6, 13, 14, 15, 17, 18, 22, 28, 32, 35, 36, 43.
- Assignment 12: Due TBD
You are required to attend at least one of the masters defenses listed
here.
These will be scheduled during finals week, and the schedule should be finalized by the last week of class.