DOC PREVIEW
TRINITY CSCI 1311 - Lecture Notes
Pages 7

This preview shows page 1-2 out of 7 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Show Your Code9/14/2009Opening Discussion●The CityScape ideas were very interesting and diverse.–Add more stuff. Have person do something other than walk.–Walk to house wherever it is.–Have people building buildings. Possibly changing the image.–Centipede style game.–Monsters to destroy buildings.Other Comments●How much math should you remember?●Why didn't we have to declare values for x and y in walkToward()? Parameter passing.●What does return do?●How should you prepare for quizzes?●Will quizzes require math?●Feeling lost?●Let's quickly finish off the code that made the person walk back and forth.Interclass Problems●Now it is time to go through the interclass problems. If I call you, bring up your solution on your computer.Conditional Execution●Methods execute by having the statements happen in order.●Right now, all the statements in a method will happen any time that method is invoked.●We need the ability to make it so that some things only happen some of the time. This is called conditional execution.●The simplest conditional is the if statement.Syntax of if●We will normally write an if statement with the following syntax.–if(condition) {●statements–}●The statements only execute if the condition is true.Minute Essay●How did you feel that this first round of interclass problems went?●The first quiz will be on


View Full Document

TRINITY CSCI 1311 - Lecture Notes

Course: Csci 1311-
Pages: 7
Documents in this Course
Arrays

Arrays

12 pages

Arrays

Arrays

10 pages

Applets

Applets

5 pages

Arrays

Arrays

8 pages

Methods

Methods

12 pages

Drawing

Drawing

8 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?