Homework: Homework is
due typewritten (including source code)
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 CS265.section1.SJSU@gmail.com
or CS265.section2.SJSU@gmail.com
(depending on your section).
The subject line of your email must be of the form:
CS265HMK 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, 8, 10, 11, 13, 15, 16, 17.
The problems for chapter 1 can be found
here.
- Assignment 2: Due Tuesday, February 7
Chapter 2, problems 1, 5, 7, 8, 11, 12, 13, 16, 19, 22, 26.
Solve problems 12 and 13 before problem 11,
and use your program from 13 to solve 11.
- Assignment 3: Due Tuesday, February 14
Chapter 3, problems 2, 3, 4, 8, 9, 11, 14, 16, 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 2, 3, 6, 8, 10, 14, 20, 23, 25, 32, 35.
Before attempting problem 32, read item number 12 on the errata
list found
here.
- Assignment 5: Due Tuesday, February 28
Chapter 5, problems 2, 5, 8, 13, 16, 17, 21, 22, 25, 26, 28, 33, 35, 42, 43.
- Assignment 6: Due Tuesday, March 13
Chapter 7, problems 6, 9, 11, 13, 14, 21, 24, 25, 29, 32, 37, 38.
- Assignment 7: Due Thursday, March 22
Chapter 8, problems 2, 3, 7, 10, 11, 15, 20, 25, 26, 29, 33,
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, 20, 21, 24, 27, 31, 32, 36.
- Assignment 9: Due Thursday April 26
Chapter 12, problems 1, 2, 7, 8, 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, 5, 6, 10, 11, 13, 14, 15, 17, 18, 21, 26, 27, 32, 34.
- Assignment 11: Due Tuesday, May 22
Chapter 11, problems 6, 13, 14, 15, 17, 18, 22, 24, 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.