Kelly Keetch, one of TestOut's Instructional and Assessment Designers reviews how to help your students with Programming (Chapter 8) of TestOut IT Fundamentals Pro.
Learning Activity - JavaScript Game
Explore a JavaScript game and identify as many core programming building blocks as possible.
Complete the following:
- Download the Flappy Bird game written in JavaScript and HTML5.
- Browse to: https://github.com/CodeExplainedRepo/FlappyBird-JavaScript
- Select the Code Button.
- Select Download ZIP and save the file to the Downloads folder.
- Extract the FlappyBird-JavaScript-master.zip file.
- Navigate to the FlappyBird-JavaScript-master folder.
- Double-click index.html to launch the game in a browser.
- Explore the game for a few minutes. The up arrow controls Flappy Birds movement.
- Close the browser tab to end the game.
- Review the files in the FlappyBird-JavaScript-master folder and look for index.html and flappyBird.js.
- Review the files under the images and sounds folders.
- Open the index.html in an IDE, such as Visual Studio Code or PyCharm Community Edition and review the HTML5 code.
- Open the floppyBird.js in an IDE and review the code.
- Identify the programming building blocks that were discussed in Section 8.3 of the course, such as variables, data types, functions, if statements, for loops, etc.
Learning Activity - OOP
Group Activity
Complete the following:
- Divide the class into group of 3 or 4 students.
- Present the OOP “house” analogy or one of your choosing.
- Display the “dog” slide on a projector and provide the students with handouts they can write their answers on.
- Ask the students to work as a group and brainstorm possible answers.
- Ask each of the groups to provide one answer.
- Provide feedback on any answers that work and why others may not work.
- Continue to ask the groups for answers until you have all the blanks filled in.
- You can use the next “dog” slide to compare with the ones they came up with.
Individual Activity
Complete the following:
- Display the “car” slide on a projector and provide the students with handouts they can write their answers on.
- Ask the students to work as individuals and brainstorm possible answers.
- Ask students to provide one answer.
- Provide feedback on any answers that work and why others may not work.
- Continue to ask for answers until you have all the blanks filled in.
Discuss any key answers they may be missing.