CP- Review Lesson

Review

In this module, you modified and created programs by using functions, variables, and mathematical expressions. All programming languages have predefined functions that perform specific tasks. Functions can be void or return a value. In addition to predefined functions, users can create user defined functions to perform specific tasks. There are eight different primitive data types used to create variables. Each data type stores a specific type of data. Variables need to be declared and initialized before they are used in a program. The equal sign is the assignment operator used to assign data to variables. Mathematical expressions and operators are used to perform calculations and change the values stored in variables. Processing allows users to create active programs through the setup() and draw() function. When using the setup() and draw() function it is important to create global variables that can be seen anywhere in the program. Local variables are used inside functions. Review the material in the module and go through the self-assessment to review for the Creating Programs by Using Functions, Variables. and Expressions test.

Vocabulary Review

Click begin to check your vocabulary knowledge.


Vocabulary Review

Click begin to review the vocabulary for this module.


Creating Programs Review

Click begin to check your creating programs knowledge.

[CC BY 4.0] UNLESS OTHERWISE NOTED | IMAGES: LICENSED AND USED ACCORDING TO TERMS OF SUBSCRIPTION