Lesson Planet
Search educational resources
  • Sign In Try It Free
  • AI Teacher Tools
    • Discover Resources Search reviewed educational resources by keyword, subject, grade, type, and more
    • Curriculum Manager (My Content) Manage saved and uploaded resources and folders To Access the Curriculum Manager Sign In or Join Now
    • Browse Resource Directory Browse educational resources by subject and topic
    • Curriculum Calendar Explore curriculum resources by date
    • Lesson Planning Articles Timely and inspiring teaching ideas that you can apply in your classroom
    • Our Story
    • Frequently Asked Questions
    • Testimonials
    • Contact Us
  • Pricing
  • School Access
    • Your school or district can sign up for Lesson Planet — with no cost to teachers
      Learn More
  • Sign In
  • Try It Free

Hi, what do you want to do?

Create a lesson plan
Create a lesson plan
Generate resources with 80+ AI teacher tools
Generate resources with 80+ AI teacher tools
Search 200,000 instructional videos
Search 200,000 instructional videos
Find a teaching resource
Find a teaching resource
Learn to Code: Arrays and Logic Statements Instructional VideoLearn to Code: Arrays and Logic Statements Instructional Video
Publisher
Lifehacker
Resource Details
Curator Rating
Educator Rating
Not yet Rated
Grade
9th - Higher Ed
Subjects
STEM
3 more...
Resource Type
Instructional Videos
Media Length
13:48
Audiences
For Teacher Use
1 more...
Duration
30 mins
Instructional Strategies
Demonstration
3 more...
Technology
Projection
Internet Access
Year
2011
Usage Permissions
Fine Print
Instructional Video

Learn to Code: Arrays and Logic Statements

Curated and Reviewed by Lesson Planet
This Learn to Code: Arrays and Logic Statements instructional video also includes:
  • Vocabulary
  • Join to access all included materials

Young programmers learn about the concepts of arrays and logic statements with the third video in this introductory series on JavaScript. Starting with a brief explanation of arrays, the resource goes on to provide clear and simple examples of how to create and execute for, if, and else statements.

11 Views 6 Downloads
CCSS: Adaptable

Concepts

Computer Programming, computer code, javascript, arrays, logic, computer science, vocational training, technology resources

Instructional Ideas

  • Use this video to supplement a computer programming or vocational training course on JavaScript
  • Allow students to follow along and create the code being modeled in the video, pausing to take questions and provided additional instruction
  • Provide students with a list of coding tasks to complete after watching this video to demonstrate their learning

Classroom Considerations

  • This video is hosted on YouTube

Pros

  • Presenter uses screen capture to visually demonstrate the programming concepts introduced in the video
  • Clear explanations are provided for the functions that each line of code performs

Cons

  • Content is a little dry, and may not engage all learners

Common Core

SL.9-10.2 SL.11-12.2

See similar resources:

Lesson Plan

Star Wars: Building a Galaxy with Code

Code.org
Welcome to the code side. The interactive lesson introduces coding in a game format with familiar characters. Young computer experts learn to develop code to control the interaction of the characters in the game. The activity ends with...
3 mins 6th - 12th STEM
Instructional Video

If Statements, Computer Programming

Khan Academy
This video continues the Khan Academy tutorials and activities on writing code in JavaScript. Here, we are introduced to the conditional if statement. The result is a cute program that produces a bouncing ball. Your young programmers...
4 mins 6th - Higher Ed STEM
Instructional Video

Learn to Code: Working with Variables

Lifehacker
Building on prior knowledge about defining variables, the second video in this series on coding explains how to perform simple operations with data in JavaScript. Introducing first the concept of statements, the video goes on...
6 mins 9th - Higher Ed STEM
CCSS: Adaptable
Instructional Video

Learn to Code: Understanding Functions and Making a Guessing Game

Lifehacker
Here's where it all comes together. Using the skills learned in the previous three videos, the final installment of this series on JavaScript explores how to create functions. By the end of the video, young programmers will be able...
8 mins 9th - Higher Ed STEM
CCSS: Adaptable
Instructional Video

Learn to Code: Variables and Basic Data Types

Lifehacker
Explore the fundamentals of coding in Javascript with the first video of this four-part series. After learning about the three basic data types — strings, numbers, and Boolean — young programmers are taught how to...
7 mins 9th - Higher Ed STEM
CCSS: Adaptable
Interactive

Challenge: Ice Cream Code

Khan Academy
Practice adding color to your simple JavaScript picture. Three layers of ice cream in a bowl with a cherry on top, gives your beginning coders a tasty challenge. 
6th - Higher Ed STEM
Instructional Video

How Exactly Does Binary Code Work?

TED-Ed
As far as languages go, binary is pretty easy to learn. Scholars watch an informative video on binary code. It explains the basics of how binary code works, and then shows how people encode colors and sound as binary code.
5 mins 9th - 12th STEM
Lesson Plan

Cracking the Code

Code.org
Scholars learn how to crack secret codes as they continue reading from the Blown to Bits and try to crack the random substitution cipher. They also begin learning about the Vigenere cipher. 
9th - 12th STEM
Interactive

Code for Equality

Google
It's my belief that all learners should have equal access to computer science projects! Young computer scientists learn about variables, encapsulation, sequences, and objects in block-based coding. They create a collage by first...
6th - 12th Math
Interactive

Challenge: Funky Frog

Khan Academy
You haven't seen any large-mouth frogs around have you? Hopefully, there will be lots of them as your young JavaScript coders complete this task to create a frog with a wide mouth and use variables in a way that connect the frog face...
5th - Higher Ed STEM
Try It Free
© 1999-2026 Learning Explorer, Inc.
Teacher Lesson Plans, Worksheets and Resources

Sign up for the Lesson Planet Monthly Newsletter

Open Educational Resources (OER)

  • Health
  • Language Arts
  • Languages
  • Math
  • Physical Education
  • Science
  • Social Studies
  • Special Education
  • Visual and Performing Arts
View All Lesson Plans

Discover Resources

  • Our Review Process
  • How it Works
  • How to Search
  • Create a Collection

Manage Curriculum

  • Edit a Collection
  • Assign to Students
  • Manage My Content
Contact Us Site Map Privacy Policy Terms of Use