Khan Academy Computer Programming

  • How do I print my programs?

    We don’t have a “print” button, but you can: Take a screenshot of your program, following the instructions here: Open the image that you saved, and print that image.

    Last Updated: 12/23/2013 14:34:50
  • Is JavaScript the same as Java?

    We teach JavaScript on Khan Academy, not Java. Despite the similar names, they are very different programming languages. Java was invented before JavaScript, and was popular in the 90s, when JavaScript was just being born. When the advertising department was trying to come up with a name for the new programming language, they named it “Ja...

    Last Updated: 12/23/2013 14:38:11
  • What programming language do you teach?

    In our “Drawing & Animation” curriculum, we teach a programming language called JavaScript, and we teach all of the basics of the JavaScript language: variables, strings, arrays, functions, loops, objects. We also include an additional library in our programming environment called ProcessingJS, and that is where we get the drawing & ani...

    Last Updated: 12/23/2013 14:40:22
  • What parts of ProcessingJS does Khan Academy support?

    In our Drawing & Animation curriculum, we use the open source ProcessingJS library to do the drawing and animation. Here are the differences between the ProcessingJS reference and what we support: We do not support the Java-like syntax changes to JS, like void, class, extends, and super. We use degrees by default for all angle para...

    Last Updated: 12/24/2013 13:14:22
  • Question answering guidelines

    Thank you for helping your fellow learners by answering their questions about programming. Here are some tips: When possible, guide them to use the documentation. If their question could have been answered by consulting the documentation, then we want to make sure that's the first thing they try next time they have a question. For example, y...

    Last Updated: 01/22/2014 09:14:51
  • Code reviewing guidelines

    Thank you for helping your fellow learners improve their code by offering a code review. Here are some common areas for improvement that you can comment on: Readability: How descriptive of their variable names? Is the indentation weird or non-existent? You can link them to the Readable Code talk-through to to learn more. Comments: Could s...

    Last Updated: 01/22/2014 09:23:23