9. Loops II

60 %
40 %
Information about 9. Loops II
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

Add a comment

Related presentations

Related pages

9. Loops II - Education - documents.mx

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

9. Loops II - Education - docslide.us

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

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.
Read more

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
Read more

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.
Read more

Aleksander Wnuk - Loops II - Philippe Hurel - YouTube

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

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 ...
Read more

Chicago's Classic Rock | 97.9 The Loop | WLUP-FM

Loop Luau will be September 2 at FirstMerit Bank Pavilion. The Loop Videos. Recently Played. Babe of the day. 97.9 The Loop Chicago's Classic Rock Station ...
Read more

Music production with Live and Push | Ableton

Loop Vorleben was man lehrt: Producer als Lehrer. News House Racks: Ein modernes Toolkit für klassische House-Tracks. Mehr zeigen. Wir machen Live, Push ...
Read more