| |
| Homework 6 - Java GUI Programming (Solutions) |
| Homework 5 - Parsing, Grammars, Compilers |
Write a client program that reads two integer
arguments and host name and port number of the server
a) Unix domain sockets
b) Network Sockets
The server will fork a child to add the coming
two numbers and will return the result of the addition to the client over
| Homework 2 - SIC Assembler (Solutions)
(Due to Mar 24th& & 31st) |
Design and implement a SIC assembler simulator by following the software engineering and procedural / object-oriented design principles given in Chapter 8.
Part 1: Due to Mar 24th
Submit a document that includes a system specifications document object-oriented system design •module interfaces •system testing strategy.
Part 2: Due to Mar 31st
Implement your assembler in C++ using an object-oriented approach. Submit your full codes and a document that relates your actual work to the Part 1.
| Homework 1 - SIC
Assembly Programming (Solutions)
(Due to Feb 10th)
Download the SIC simulator (via anonymous ftp) (faculty/beck/SystemSoftware.tar) from rohan.sdsu.edu and install it on a system of your choice.
Do Chapter 1’s Exercises: 1, 3, 6, 8, 10, 12.
Do Chapter 2’s Exercises: S1: 1, 2, 8; S2:3, S3:2
Test your codes using the SIC simulator.
Get a screen dump of your runs and submit them along with your codes printed on paper (Be wise in using the paper and toner: use small fonts, draft/toner saving/multi-page output/full duplex modes if possible!) |
Warning:
Plagiarism is defined as the action of using or
copying someone else's idea or work and pretending that you thought of it, or
created it. In grading the homework assignments in this course, occurrences of
plagiarism will be seriously dealt with, leading to a zero grade for the
work concerned and upon repetition to a failure in the course, even to
punishment through disciplinary procedures as indicated in University
Catalog.
Late
Homeworks:
If for some reason you can't meet the due date,
your work will still be accepted up to 3 work days past the due date but with
some penalty:
|
10 points, out of 100, will be deducted from
the grade of an assignment for the first late day. |
|
Penalty will double for every day of late submission
thereafter. Weekends will count as one day. |
Because of the compressed time schedule, late
submissions are strongly discouraged. Make sure you arrange an appointment with your teaching
assistant/grader in advance to demonstrate your homework. If s/he is not
available the day you intend to do your demo, penalty mechanism will apply as
usual.
|