AP Notes, Outlines, Study Guides, Vocabulary, Practice Exams and more!

Assignment

AP classes

Subject: 
Rating: 
0
No votes yet

Notes: Computer Science A 10/26/13 For loops Run a set of commands a set number of time While loops Run a set of commands as many times as a given condition is true Do?while (Same as while except it always runs once) For(inti=0;i<10;i++) { Same.out.println(i); } -10 -9 -7 -6 -5 -4 -3 -2 -1 For(i=0;i<10;i--) -0 -2 -4 -6 -8 -10 For(int I;intList) { System.out.print(i); } Int i=0; While(I<10) { //code I++; } 10/17/13 Chapter 5 Notes (Java Essentials) EXAMPLE 1: If (condition) Statement 1; Condition has to be true = statement 1 executed EXAMPLE 2: If (Condition) Statement1; Else Statement 2; Condition =true, statement 1 executed; otherwise statement 2 is executed EXAMPLE 3: If (condition1) Statement1; Else if (condition2) Statement 2; Else Statement 3;
Subscribe to RSS - Assignment

Need Help?

We hope your visit has been a productive one. If you're having any problems, or would like to give some feedback, we'd love to hear from you.

For general help, questions, and suggestions, try our dedicated support forums.

If you need to contact the Course-Notes.Org web experience team, please use our contact form.

Need Notes?

While we strive to provide the most comprehensive notes for as many high school textbooks as possible, there are certainly going to be some that we miss. Drop us a note and let us know which textbooks you need. Be sure to include which edition of the textbook you are using! If we see enough demand, we'll do whatever we can to get those notes up on the site for you!