# 9. Loops II

60 %
40 %
Education

Published on February 24, 2014

Author: JosephHenryMurphy

Source: slideshare.net

From last time… for( int i = 0; i < 100; i++ ) { println(“loops!”) } ! loops! loops! loops! loops! loops! loops! …

Homework 1 CAP

Tips • People who drew pictures made fewer mistakes! • You can run the code to verify! • Remember: the width and height arguments are not from center; they are total width & height! • Review: weighted probabilities

Weighted Probabilities CAP

Variable Scope CAP

System Memory The Stack Global Variables Code 3b. “Pop” local variables 3a. “Push” local variables 2. Load global variables 1. Load the code into memory

Demo! Variable Scope

Demo! Asset Creation

Quiz Conditionals, & Loops 2! Variables, • Primitive Types (int, float, boolean)! • Variable Declaration and Initialization! • System Variables (width, height, mouseX, etc.)! • The random() and constrain() functions! • Conditional Statements (if, else-if, else)! • Relational Operators ( < • Logical Operators ( && • For Loops ( for( int i = 0; i < 15; i++) {} ) > || <= >= != == )! ! )!

For next time… • Read and respond to your proposal feedback!! • Read Shiffman, p. 101–107 (Functions I)! • Quiz 2 – Variables, Conditionals, & Loops

 User name: Comment:

## Related presentations

#### how to prepare NDA Exam 2019

November 30, 2018

#### churches in norman oklahoma

December 13, 2018

#### EXPERIENCE A DIFFERENT VISION OF LIFE THROUGH FORE...

December 13, 2018

#### Everything you need to know about GDPR Awareness C...

December 13, 2018

#### School Music Programs

December 13, 2018

#### Course overview of Excellence in SME Lending by CA...

December 13, 2018

## Related pages

### 9. Loops II - Education - documents.mx

9. Loops II; 9. Loops II Dec 05, 2014 Education joseph-murphy. of 10

### 9. Loops II - Education - docslide.us

9. Loops II. by joseph-murphy. on Dec 05, 2014. Report Category: Education

### SI204 Class 9: Loops II - usna.edu

SI204 Class 9: Loops II Homework Write a program that reads in two fractions from the user and prints out the sum of the two numbers in lowest terms.

### Lecture 9 Loop Transformations Part II - eecis.udel.edu

CISC 879 : Advanced Parallel Programming Loop Unswitching loop statements if test then then part else else part endif more statements endloop

### The Disintegration Loops - Wikipedia, the free encyclopedia

The Disintegration Loops is a series of four albums by ... The recording coincided with the 9/11 attacks and the album ... The Disintegration Loops II; No.

### Aleksander Wnuk - Loops II - Philippe Hurel - YouTube

aleksanderwnuk.wordpress.com Philippe Hurel - Loops II for vibraphone (2002) Aleksander Wnuk - vibraphone Franziska Wackerhagen - recording ...

### William Basinski - The Disintegration Loops II (Remast ...

Kaufe The Disintegration Loops II (Remast CD von William Basinski für 17,49 EUR versandkostenfrei. Mehr als 850.000 CDs und DVDs seit über 20 Jahren bei ...