Description
JavaScript Loops,
Programming often involves running the same block of code multiple times. We use loops to do this.
The while loop runs until a specific condition is met.
For example, showing the same quiz question until the answer is correct.
The for loop runs a specific number of times.
In this module, students will work with both of these.
This hands-on activity has the student edit several files giving them the opportunity to see how a while loop works, as well as a for loop.
Arrays are introduced giving a practical example of the for loop in action.
The student will also apply the following skills:
- The equality and inequality operators (== and !=)
- The keyword break
- Math.random( ) and Math.floor( ) used to create random integers
- Practice using the built-in debug tools in Firefox and Google Chrome
- How to fix an infinite loop.
The interactive presentation includes five formats:
1) SCORM version that can be uploaded to your LMS such as Canvas and Moodle
2) HTML version that can be uploaded to your website or LMS.
3) PDF
4) Microsoft Word
5) Video with narration and closed-captioning - Hosted on EduVision, an educational-safe video platform without tracking or ads.
Here is a video showing how to publish your HTML and SCORM modules to Canvas and Moodle. https://www.teacherspayteachers.com/Product/Adding-Articulate-Storyline-Tutorials-into-your-Course-Distance-Learning-3862967
Highlights
Description
JavaScript Loops,
Programming often involves running the same block of code multiple times. We use loops to do this.
The while loop runs until a specific condition is met.
For example, showing the same quiz question until the answer is correct.
The for loop runs a specific number of times.
In this module, students will work with both of these.
This hands-on activity has the student edit several files giving them the opportunity to see how a while loop works, as well as a for loop.
Arrays are introduced giving a practical example of the for loop in action.
The student will also apply the following skills:
- The equality and inequality operators (== and !=)
- The keyword break
- Math.random( ) and Math.floor( ) used to create random integers
- Practice using the built-in debug tools in Firefox and Google Chrome
- How to fix an infinite loop.
The interactive presentation includes five formats:
1) SCORM version that can be uploaded to your LMS such as Canvas and Moodle
2) HTML version that can be uploaded to your website or LMS.
3) PDF
4) Microsoft Word
5) Video with narration and closed-captioning - Hosted on EduVision, an educational-safe video platform without tracking or ads.
Here is a video showing how to publish your HTML and SCORM modules to Canvas and Moodle. https://www.teacherspayteachers.com/Product/Adding-Articulate-Storyline-Tutorials-into-your-Course-Distance-Learning-3862967




