About 400 results
Open links in new tab
  1. Review: Variables (article) - Khan Academy

    To use a variable, we must both declare it—to let the program know about the variable—and then assign it—to let the program know what value we are storing in the variable.

  2. Programming with variables | AP CSP (article) | Khan Academy

    When we're first developing a program, we often display the value of variables to double-check the state of the program. Are the variables storing what we think they're storing, or did our …

  3. Intro to Variables | Variables | Intro to JS: Drawing & Animation ...

    Jessica explains how to use variables to hold on to a value to use later. Variables are an important part of programming, so pay close attention!

  4. Variables and assignment (video) | Variables | Khan Academy

    Learn how to use variables to keep track of information in your programs. Explore how computer memory updates when the computer executes an assignment statement.

  5. Using variables (practice) - Khan Academy

    Using variables Google Classroom Microsoft Teams In the following code, we define a variable and draw three shapes - a rectangle and two ellipses:

  6. Programming mathematical expressions | AP CSP (article) - Khan …

    Storing with variables We'll often want to store the results of mathematical expressions in variables, especially if we want to reuse the results of a calculation later.

  7. Teaching Variables: Analogies and Approaches - Khan Academy Blog

    Sep 10, 2013 · As we’re in the process of auditing and redoing our introductory talk-throughs, we find ourselves discussing the different approaches to teaching variables and debating which …

  8. Local and Global Variables | Functions - Khan Academy

    So try to keep this in mind when you're writing your functions and your variables. And think to yourself whether you want a local variable for just your function to use, or a global variable for …

  9. Intro to JS: Drawing & Animation | Khan Academy

    Have you ever wondered what it takes to make drawings come to life? Well, we have to speak to our computer in a special language. In this unit, we learn how to use the programming …

  10. Repetition in programming | AP CSP (article) | Khan Academy

    The most common loop you'll see in programming will start at 0, stop before a certain number, and increment by one each time. However, by varying the parts of the loop, we can create …