AP Computer Science - More Nested Loop Practice and Solutions
I used this as a bell work yesterday, maybe similar concepts on a quiz soon! Haha.
Analyze, by hand, what each loop below does:
Ex 1
Solution
Ex 2
Solution
This results in an infinite loop unfortunately! Haha. You have to run few it a few times to figure it out!
Ex 3
Solution
One More Thing...
Write a void method that takes two parameters (integers), a number of rows and columns, and prints a block of numbers with that size.
Solution
Output Example for 4 rows and 3 columns
All SteemitEducation Posts
Physics
Kinematics Video, Circular Motion Video, Forces in 1 & 2 Dimensions Videos, Kinematics Full Lesson, Circular Motion and Gravitation Full Lesson, Kinematics and Forces Quiz, Forces in 1-Dimension, Forces in 2-Dimensions, Basic Physics, Kinematics, and Forces Review, AP Physics Midterm Exam, AP Physics Midterm Exam Solutions
Computer Science
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
SAT
Asymptotes, Composite Functions, Contest 1 - Area, Contest 1 – Winners and Solution, PEMDAS, Systems of Equations, Functions, Exponents, Contest 2 - More Functions, Contest 2 – Winners and Solution, Percents, The Interest Equation, All About Division, Contest 3 - Factoring, Contest 3 – Winners and Solution, Fractional and Negative Exponents, Basic Trig, Contest 4 - Math Vocab, Contest - 5, Contest 5 – Winners and Solution, Contest 6, Contest 6 – Winners and Solution
General Math
Basics of Algebra, Trigonometry Video, Proof of Quadratic Formula, Factoring Video, Unions and Intersections, Surface Area of a Cylinder, Substitution Video, Combinatorics Basics
Graphing from Algebra to Calculus
Algebra 1, Algebra 2, Pre-Calculus, Calculus
Piloting Airplanes
Introduction, Preflight, Requirements, Instruments, Take-Offs and Landings, Why a Plane Can Fly, Reading the Runway, Maneuvers
Other
Engineering (Isometric) Drawing, Pressure & SCUBA Diving
Leave AP Computer Science - More Nested Loop Practice and Solutions to:
Read more #tutorials posts
Best Posts From Hansenator
We have not curated any of hansenator's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Hansenator
- Hansenator in New Orleans - Li'l Dizzy's Cafe & First Walk
- 1000 Followers, A New Logo, and The Crypto!
- AP Computer Science - Methods and Loops Quiz
- AP Physics with Hansenator - Momentum Lesson
- AP Computer Science - The Armstrong Numbers
- AP Physics with Hansenator - Another Kinematics and Energy Quiz
- AP Physics with Hansenator - Kinematics and Forces Quiz & Solutions
- AP Computer Science - Java Programming CH 7 Quiz and Solutions
- AP Computer Science - More Nested Loop Practice and Solutions
- Travel with Hansenator - New York and Vermont (5 - Grand Central Station & Staten Island Ferry)