FileXD FileXD

Khan Academy Intro to CS Python Functions Free Download

Twelve Khan Academy videos on Python functions, scope, modules, unit testing and debugging.

Khan Academy Intro to CS Python Functions Free Download Screenshot

Overview

This playlist holds 12 Khan Academy videos on functions in Python, from the Intro to CS - Python course. It teaches how to organize code into reusable parts, test it and find mistakes. Videos included Games and modularity Functions Tracing function calls Local and global scope Nested function calls Program design: deck of cards Creating modules Program design: Nim game Unit testing Debugging with test cases Project preview: Timed typer Functions in Python (FULL UNIT) What the playlist covers The first videos explain why programs are split into functions and how to write and call one. Tracing videos show how Python moves through nested calls, which helps you predict output. A video on scope explains which variables can be seen inside and outside a function. Two program design videos, a deck of cards and a game of Nim, show how to plan code using functions. Further videos teach how to put functions in modules, write unit tests and use test cases to find bugs. A project preview shows a typing game, and the last item is the complete unit in one video. Who it suits Learners who already know variables, conditionals and loops and are ready to write larger programs. How to use it Type the examples and change them. Predict the result of each call before you run it. Study tips For every function you write, write one test that checks it. This habit pays off quickly in longer programs. Limits The playlist does not include the interactive exercises of the full course. Where it fits This is the stage where programs grow beyond a page. Practice by taking an older script of yours and splitting it into three or four functions, then add simple tests for each one. Practice plan Watch the first five videos in one sitting and write three functions of your own, one that takes no input, one with a single input and one that returns a value. In a second sitting, watch the program design videos and rebuild the card or Nim example from scratch. In a third sitting, cover modules and testing and write five test cases for your own functions. Common mistakes Beginners often forget to return a value, confuse printing with returning, or change a global variable by accident. Watch for these in the scope and tracing videos and write each one down in a notebook with the fix. Access and limits The main button opens the official Khan Academy playlist on YouTube. Watching is free. It is a set of published videos, not an enrolled class, so it offers no certificate, grading or credit. Source Source: Khan Academy on YouTube. All rights in the videos belong to their original owners, under the licenses they chose. FileXD is an independent directory and does not claim a partnership with Khan Academy. The videos are not rehosted.

Product Information

  • Version: Series
  • Platform: Video Courses
  • File Size: Online
  • Developer: Khan Academy
  • License: Officially Free Course

Frequently Asked Questions

Who develops Khan Academy Intro to CS Python Functions Free Download?
Khan Academy Intro to CS Python Functions Free Download is developed by Khan Academy. Official store and developer details are available at www.youtube.com.
Is Khan Academy Intro to CS Python Functions Free Download free or does it require a license?
Khan Academy Intro to CS Python Functions Free Download is distributed under a Officially Free Course license. Check the accompanying documentation for specific usage terms.
What is the latest supported version and platform for Khan Academy Intro to CS Python Functions Free Download?
Khan Academy Intro to CS Python Functions Free Download is currently available for Video Courses on version Series.
What is the primary function of Khan Academy Intro to CS Python Functions Free Download?
Twelve Khan Academy videos on Python functions, scope, modules, unit testing and debugging.

Watch Course (Online)

Related Software & Downloads