Week9 Mon 12:00 PM
NOTE ABOUT LATE DAYS AND HOMEWORK 7:
HW7 is unique in how late days are treated.
It is due on Wed June 1 at 6pm.
If you use 1 late day, its due date moves to Fri June 3 at 6pm.
If you use 2 late days, its due date moves to Sun June 5 at 7am.
This is less time than you would normally get for using a second late day.
But it is the latest we can possibly accept any late HW7 submissions because all students' grades are due early that week and we must have enough time to grade the submitted programs.
No programs will be accepted any later than Sun June 5 at 7am under any circumstances!
Week1 Wed 12:00 PM
"How do I run the assignment solution demos?"
Our assignments offer a solution 'demo' that you can run to see the program's expected behavior.
On many machines, all you have to do is download the .jar file, then double-click it to run it.
But on some Macs, it won't work; your operating system will say that it doesn't know how to launch the file.
If you have that issue, download the file, go to the Downloads folder in your Finder, right-click on the file, and click Open, and then press Confirm.
Some Mac users see a security error such as, "cs106b-hw1-life-demo.jar can't be opened because it is from an unidentified developer."
To fix this, go to System Preferences → Security & Privacy.
You will see a section about downloaded apps.
You should see a prompt asking if you would like to allow access to our solution JAR.
Follow the steps and then you should be able to open the demo.
If all else fails, you could run the demo JAR from a terminal.
Every operating system allows you to open a "terminal" or "console" window for typing raw system commands.
Open your operating system's terminal or console window (Google if you need to learn how to do this),
and then type:
cd DIRECTORY_WHERE_DEMO_JAR_IS_STORED
java -jar JAR_FILE_NAME
For example, on a Mac machine, if your user name is jsmith12 and you have saved a demo JAR named hw1.jar in your Documents/106a directory, you would type:
cd /users/jsmith12/Documents/106a
java -jar hw1.jar
Or on a Windows machine, if your user name is jsmith12 and you have saved a demo JAR named hw1.jar in your Documents/106a directory, you would type:
cd C:\users\jsmith12\Documents\106a
java -jar hw1.jar
"I need help with my homework!"
- There is probably someone in the , or maybe the instructor has office hours soon. If so, go see them.
- Check the message forum; your question may have been answered there.
- Go to the YEAH hours for this assignment.
- Read the relevant chapters and sections of the textbook
- Look at the in-class lecture examples.
- Look at this week's section handout problems and their solutions.
- Start early! We get swamped the day assignments are due.
- Don't panic. Every student has late days that can be used to submit an assignment after the due date.