Canvas - A canvas is a two-dimensional, touch-sensitive, rectangular panel that the user can draw on and the sprite can move on., Label components - A piece of text displayed on the user interface. You are going to use two labels to report values for where the sprite is and where it should be going., Variable - The smallest unit of data storage that a program can use. A variable contains known or unknown information referred to as a “value.” Two types of variables are global and local., Arguments - The values that a program provides to a function or subroutine. Sometimes coding professionals use the terms “argument” and “parameter” interchangeably. In this course, argument is a better choice because Python does not use the term parameter., Integer - A whole number that does not have a decimal or any digits after the decimal. Example is 2, Float - A type of number that provides very precise information by including all the numbers after the decimal. Example is 6.8345, Strings - Text or characters displayed by a program. In MIT App Inventor Blocks view, the text string block lets you manage how text, also known as strings, are seen by the user of an app. Example is “hello”, Boolean - A data type that only has two values, usually denoted as true or false. Example is “true”, Concatenation - A joining together of separate items—without changing them—into one place. For example, the concatenation of two strings such as “Hello” and “world!” would return “Hello world!”, Arithmetic Operators - A symbol in code that tells a computer to perform a specific math operation, such as addition, subtraction, multiplication, or division., Logical Operators - A representation of a logical statement that is used to examine the relationship between two values and determine whether the statement is true or false (Boolean conditionals). Examples of logical operators are AND, OR, and NOT., Relational Operators - < (less than), > (greater than), = (equals),

Activity 1.1.2 Algorithms and Coding Fundamentals: Happy Accelerometer

Leaderboard

Visual style

Options

Switch template

Continue editing: ?