December 13, 2013

Readfield schools get with the program during Hour of Code

Maranacook students study computer science in a national event to promote computer science education in public schools.

By Susan McMillan
Staff Writer

READFIELD — Forward. Forward. Turn left. Jump. Turn on light. Repeat.

click image to enlarge

Hour of CODE: acek Twarog, a sixth-grader from Fayette, claps as he plays a program that he coded in the Hopscotch app on an iPad on Friday at Maranacook Middle School in Readfield.

Staff photo by Joe Phelan

click image to enlarge

HOUR OF CODE: Jacek Twarog, a sixth-grader from Fayette, writes a program in the Hopscotch app on an iPad on Friday at Maranacook Middle School in Readfield.

Staff photo by Joe Phelan

On Ryan Worster’s iPad screen, an animated robot followed the commands he entered, traveling around a grid to light up certain squares.

After a little time using the Light Bot app, Worster, a Maranacook Community Middle School seventh grader from Mount Vernon, had passed the stage of trial and error and was beginning to think in entire strings of commands, plotting out loud before entering them on the screen. Worster had completed all the levels already and was running through them a second time to see if he could program more efficiently, using fewer commands to direct the robot’s movements.

“I think it’s cool to make something completely independent to do what you want to do,” Worster said. “What computer science is, is trying to create something to do what you want.”

Worster was one of a few dozen students at Maranacook and more than 14 million nationwide who tried their hand at computer programming this week as part of the Hour of Code, an initiative to promote computer science education in public schools. According to Project Login, more than 40 Maine schools participated in the Hour of Code this week.

Maranacook technology integration teacher Diane MacGregor invited any middle school student who wanted to bring their iPad to two classrooms on Thursday and Friday during tutorial, a period when students have some choice of what to do.

Those who chose to take part watched videos created by the nonprofit organization to promote the Hour of Code, featuring entertainers and athletes such as basketball player Chris Bosh as well as tech moguls like Microsoft founder Bill Gates and Facebook creator Mark Zuckerberg.

MacGregor talked with the students briefly about why it’s important to study programming.

“There’s a lot of jobs that make good money in computer programming, but they’re not getting filled because no one knows how to do it,” said Laura Ireland, a seventh grader from Wayne.

Ireland said she’d like to work in technology and hopes to design her own app someday. She said she’s attracted to the field both by the money to be made and the pride she could have in creating something people use and enjoy.

MacGregor said she’d been concerned that the students’ iPads, which the school chose through the Maine Learning Technology Initiative, weren’t up to the task of coding, but then she found Light Bot and Hopscotch, introductory programming apps suited to the iPads’ touchscreens.

In the apps, the students didn’t learn a typed programming language. Instead, they were presented with a menu of commands that they could drag and drop into sequences.

MacGregor said she thought that was enough for a brief activity, to make sure the students were engaged and teach them the basic principles and logic of writing a computer program.

“I think their gateway is this icon-driven approach that still takes you line by line by line through the things that you want to happen, and it teaches you order,” MacGregor said. “From there they can go into more sophisticated coding.”

Ireland demonstrated how Hopscotch could be used to create games or animations by choosing a character — she tapped the cupcake with a face — then telling it how to move around the screen.

She dragged a bar labeled “leave a trail” into the work pane so that the cupcake would draw a line behind it. Then she added another bar that said “move distance” and typed in 600 so that the cupcake would move to the right 600 units. Other commands can change the color or width of a line, rotate a character a specified number of degrees, return it to its starting spot or tell it to respond to a tilting of the iPad or a loud noise like a clap.

(Continued on page 2)

Were you interviewed for this story? If so, please fill out our accuracy form

Send question/comment to the editors

Further Discussion

Here at we value our readers and are committed to growing our community by encouraging you to add to the discussion. To ensure conscientious dialogue we have implemented a strict no-bullying policy. To participate, you must follow our Terms of Use.

Questions about the article? Add them below and we’ll try to answer them or do a follow-up post as soon as we can. Technical problems? Email them to us with an exact description of the problem. Make sure to include:
  • Type of computer or mobile device your are using
  • Exact operating system and browser you are viewing the site on (TIP: You can easily determine your operating system here.)