PROJECTS for CST 111

Project #1

Write a PEP-8 program (consisting of PEP-8 assembly-language instructions) to input two decimal numbers, then output the largest number.

Your program should prompt for each input, and output some text to say that the result is the largest number; however, you may want to get the code working first, then add the text later. Your program should also contain comments to state its putpose and your name, as well as a few comments to explain anything that is not obvious; insert these comments as you go, rather than waiting until later.

Use the PEP-8 simulator to check that your syntax is correct, then upload your source code (into your folder named "YourLastName") on a file named "p1-YourLastName.asm". A first draft of your PEP-8 code for this project is due (uploaded into your folder) by next Monday's class (on 11/20), where you can get help during "code review". However, you will have another week to finish it before it is graded.

Project #2 (Java in a Processing PDE)

Write a "Processing" program (consisting of Java statements in the Processing environment) to draw a (static) sketch containing the following:

Your program should also contain comments to state its putpose and your name, as well as a few comments to explain anything that is not obvious; insert these comments as you go, rather than waiting until later.

Use the openprocessing.org website to check your code, making sure that it compiles without error, and getting it to work properly. Upload your source code (into your folder named "YourLastName") on a file named "p2-YourLastName.java". A first draft of your Processing code for this project is due (uploaded into your folder) by next Monday's class (11/20), where you can get help during "code review". However, you will have another week to finish it before it is graded.


Exam:   There will be an exam in class on Wednesday 11/29.