csjava
Social
Runestone in social media:
Follow @iRunestone
Our Facebook Page
Help support us:
Search
Table of Contents
Book Index
User
Assignments
Practice
Peer Instruction (Instructor)
Peer Instruction (Student)
Change Course
Instructor's Page
Progress Page
Edit Profile
Change Password
Register
Login
Dark Mode
Scratch Activecode
Help
FAQ
Instructors Guide
About Runestone
Report A Problem
This Chapter
Mixed Up Code Practice
Code Practice with Arrays
Multiple-Choice Exercises
Assignment 3: Array Puzzles
Studio 3: Sieve of Eratosthenes
Array Creation and Access
Traversing Arrays with For Loops
Enhanced For-Loop (For-Each) for Arrays
2D Arrays
Nested Loops for 2D Arrays
Module 3 - Arrays
ΒΆ
Array Creation and Access
Declaring and Creating an Array
Initializer Lists
Access and Modify Array Values
Summary
Traversing Arrays with For Loops
Index Variables
For Loop to Traverse Arrays
Common Errors When Looping Through an Array
Summary
Enhanced For-Loop (For-Each) for Arrays
Foreach Loop Limitations
Summary
2D Arrays
Array Storage
How Java Stores 2D Arrays
Declaring 2D Arrays
Set Value(s) in a 2D Array
Initializer Lists for 2D Arrays
Get a Value from a 2D Array
Summary
Nested Loops for 2D Arrays
Getting the Number of Rows and Columns
Looping Through a 2D Array
Enhanced For-Each Loop for 2D Arrays
Summary
Mixed Up Code Practice
Code Practice with Arrays
Multiple-Choice Exercises
Easier Multiple Choice Questions
Medium Multiple Choice Questions
Hard Multiple Choice Questions
Studio 3: Sieve of Eratosthenes
Studio Setup and Procedure
Sieve of Eratosthenes
Making a Program Sieve for You
Review and Revise
Peer Comparisons
Demo
Assignment 3: Array Puzzles
Assignment Setup
Array Puzzles
Questions to ask if you get stuck
Bubble Sort
Frequency Table
Symmetrical Image
Submitting your work
You have attempted
of
activities on this page