Exam 2 handed back today
Questions
Evaluating Expressions
Display the next game from the array with the following javascript
var day = 4; //current day
var month = 11; //current month
var year = 2009; //current day
var games = new Array(
"Ohio State,Away,11,19,2009",
"California or Syracuse,Away,11,20,2009",
"Gardner-Webb,Home,11,23,2009",
"Nevada,Home,11,29,2009",
"Michigan State,Home,12,1,2009",
"Kentucky,Away,12,5,2009",
"Presbyterian,Home,12,12,2009",
"Texas,Away,12,19,2009",
"Marshall,Home,12,22,2009",
"Rutgers,Home,12,28,2009",
"Albany NY,Home,12,30,2009",
"College of Charleston,Away,1,4,2010",
"VA Tech,Home,1,10,2010",
"Clemson,Away,1,13,2010",
"GA Tech,Home,1,16,2010",
"Wake Forest,Home,1,20,2010",
"NC State,Away,1,26,2010",
"Virginia,Home,1,31,2010",
"VA Tech,Away,2,4,2010",
"Maryland,Away,2,7,2010",
"Duke,Home,2,10,2010",
"NC State,Home,2,13,2010",
"GA Tech,Away,2,16,2010",
"Boston College,Away,2,20,2010",
"Florida State,Home,2,24,2010",
"Wake Forest,Away,2,27,2010",
"Miami,Home,3,2,2010",
"Duke,Away,3,6,2010");
Java Assignment due today
Exam on Monday
Today is just for questions and review about these
Review Arrays
Review Scope
Java
Pop non-quiz: Build a java class
Questions about the upcoming assignments
Javascript
//What does the function do in English?
function method(a, b, c, ...){
// Parameters: What are a, b, c, etc?
// Returned value: What does the value that method returns correspond to?
// Restrictions: What can't the user do when running this function?
// Errors checked for: What errors did you check for and then fix?
Java
All homework assignments are available online for the rest of the semester
The next assignment is a search assignment due November 13th (a Friday)
Today we will:
Go over the exam
Any questions about the mortgage assignment?
Going over arrays
Questions about the assignment?
Break into groups to do the following
Plan for today
Same as last week:
Plan for today
Your first assignment is graded at the front of the room.
Pick up a handout for today from the front of the room or here
Students with last name A-K stay in room SN014.
Students with last name M-Z go to SN011.
What we will do today
Two Problems
Try to upload something into the AFS!