Please enable JavaScript to use CodeHS

Outline


1. Coding Gravity
1.1 The Gravitational Force
Video 1.1.1 What is Gravity?
Free Response 1.1.2 Gravity Brainstorm
Free Response 1.1.3 Gravity Research
1.2 Gravity Simulation
Free Response 1.2.1 Exploring Simulations
Video 1.2.2 JavaScript Gravity Simulation
Example 1.2.3 Our First Planet
Quiz 1.2.4 JavaScript Basics
Exercise 1.2.5 Solar System
Exercise 1.2.6 Turning On Gravity
Free Response 1.2.7 Gravity Observations
1.3 A Study in Gravity
Video 1.3.1 Testing Properties
Quiz 1.3.2 Testing Review
Example 1.3.3 Printing Planet Data
Exercise 1.3.4 Testing Radius
Exercise 1.3.5 Testing Distance
Exercise 1.3.6 Testing Mass
Free Response 1.3.7 Gravity Conclusions
2. Punnett Square Generator
2.1 Positioning Allele Values
Video 2.1.1 Positioning Allele Values
Quiz 2.1.2 Positioning Allele Values
Example 2.1.3 Top Allele Placements
Exercise 2.1.4 Allele Value Placement
2.2 Assigning Allele Values
Video 2.2.1 Assigning Allele Values
Quiz 2.2.2 Assigning Allele Values
Example 2.2.3 Collecting and Printing Allele Values
Exercise 2.2.4 Complete Allele Collection
2.3 Printing Genotypes
Video 2.3.1 Printing Genotypes
Quiz 2.3.2 Printing Genotpyes
Example 2.3.3 Using Parameters to Print Title
Exercise 2.3.4 determineGenotype Function
2.4 Determining Allele Order
Video 2.4.1 Determining Allele Order
Quiz 2.4.2 Determining Allele Order
Example 2.4.3 If/Else using .isupper()
Exercise 2.4.4 Dominant Allele First
2.5 Percent Genotype Dominance
Video 2.5.1 Percent Genotype Dominance
Quiz 2.5.2 Percent Genotype Dominance
Example 2.5.3 Using Booleans and Return Statements
Exercise 2.5.4 determineDominantPercentage Function
2.6 Print Total Genotype Dominance
Video 2.6.1 Print Total Genotype Dominance
Quiz 2.6.2 Print Total Genotype Dominance
Exercise 2.6.3 Finalize Punnett Square Generator
3. Exploring Collisions
3.1 Creating Circles
Video 3.1.1 Creating Circles
Quiz 3.1.2 Creating Circles
Example 3.1.3 Drawing a Circle
Exercise 3.1.4 Adding a Second Circle
3.2 Positioning Circles
Video 3.2.1 Positioning Circles
Quiz 3.2.2 Positioning Circles
Example 3.2.3 Positioning Circle One
Exercise 3.2.4 Positioning Circle Two
3.3 Adding Movement
Video 3.3.1 Adding Movement
Quiz 3.3.2 Adding Movement
Example 3.3.3 Moving One Circle
Exercise 3.3.4 Moving Two Circles
3.4 Changing Speeds on Collision
Video 3.4.1 Changing Speeds on Collision
Quiz 3.4.2 Changing Speeds on Collision
Example 3.4.3 Changing Speed to 0
Exercise 3.4.4 Changing Speed to Opposite
Exercise 3.4.5 Different Speeds
3.5 Inelastic Collisions
Video 3.5.1 Inelastic Collisions
Quiz 3.5.2 Inelastic Collisions
Exercise 3.5.3 Inelastic Collision Simulation
3.6 Elastic Collisions
Video 3.6.1 Elastic Collisions
Quiz 3.6.2 Elastic Collisions
Exercise 3.6.3 Elastic Collision Simulation
4. Bouncing Ball Simulation
4.1 Introduction to Graphics Programming
Video 4.1.1 Introduction to Graphics Programming
Example 4.1.2 Drawing a Ball
Exercise 4.1.3 Have a Ball!
4.2 Adding Gravity
Video 4.2.1 Adding Gravity
Example 4.2.2 Ball in Motion
Exercise 4.2.3 To the Moon
4.3 Time to Impact
Video 4.3.1 Time to Impact
Example 4.3.2 Make an Impact
Exercise 4.3.3 Sanity Check
4.4 Elastic Collisions
Video 4.4.1 Elastic Collisions
Example 4.4.2 Bounce the Ball
Exercise 4.4.3 Off the Wall!
Challenge 4.4.4 Keepin' it Real (Elastic)