Skip to content

9.1.7 Checkerboard V2 Codehs Site

import acm.graphics.*; import acm.program.*; import java.awt.*;

for row in range(8): for col in range(8): if (row + col) % 2 == 0: # Draw a white square else: # Draw a black square 9.1.7 Checkerboard V2 Codehs

The Checkerboard V2 project, as presented in CodeHS's 9.1.7 exercise, provides a comprehensive exploration of algorithmic patterns and grid-based design. By understanding the project requirements, algorithmic approach, and design considerations, students develop essential skills in programming, problem-solving, and visual design. The educational value of this project extends beyond the specific task, providing a foundation for more complex and creative projects in the future. import acm

Manages the horizontal movement (placing beepers across a single row). Manages the horizontal movement (placing beepers across a

Python is strict about spacing. Ensure your if statement is inside the second loop, and the second loop is inside the first.

But wait — V2 often wants you to , not row+col.

Helplines

Talk to someone

Worried about something you have seen online or concerned about your child? Childline and the National Parents Council Primary offer free advice and support service.

9.1.7 Checkerboard V2 Codehs

Childline is a support service for young people up to the age of 18.There is a 24hr telephone, online and mobile phone texting service.



Get started


9.1.7 Checkerboard V2 Codehs

The National Parents Council Primary enables and empowers parents to be effective partners in their children’s education.


Report

Report Illegal Content

Sometimes you might unwittingly stumble across illegal online content like child abuse imagery. Always remember: you can report it and get it removed using Hotline.ie.

More on illegal content

Make a report

9.1.7 Checkerboard V2 Codehs

Hotline.ie exists to combat the distribution and proliferation of illegal content, like child sexual
abuse content, in conjunction with police and Internet Industry