click below
click below
Normal Size Small Size show me how
Tech game making
word definitions
| Question | |
|---|---|
| What is an algorithm? | A finite set of instructions that accomplish a specific task / a set of rules and instructions |
| What are the three types of programming constructs used in algorithm implementations? | Sequencing, selection, iteration |
| What is sequencing? | The application of each step of an algorithm in the order in which the code statements are given. |
| What is selection? | Determines which part of an algorithm are executed based on a condition being true or false. |
| What is iteration? | A repeating portion of an algorithm |
| What is an event in coding? | An occurrence associated with an action and supplies input data to a program. / a time, place, object that causes an action |
| What is a variable? | A piece of storage inside a program that can hold a value. |
| List the types of variables in MakeCode | Sprites, projectiles, integers, strings, Booleans. |
| What are conditional statements? | Affect the sequential flow of control by executing different statements based on the value of a Boolean expression. / exceptions in code (IF, THEN, ELSE) |
| In MakeCode, what is the difference between a sprite and a projectile? | Projectile is a type of sprit Projectile moves from the location created (side of screen or another sprite). Projectiles destroy themselves when they go off the visible screen |