subject

FILL IN THE BLANK PLEASE) Parameter
Methods need __variable that tells them how far, high, long, etc…
A __parameter is the variable that holds the argument data () needed by the __code.
For example, degrees=90 or steps=10.
Argument
An argument is the that is to a method when it is called so that it knows what to do.
For example, an given to the rotate method could be 90o or 180o.
Degrees and steps are the .
The values assigned to the parameters — 90 and 10 — are the .

Variables
Variables are used to information (in the computer's ) that can be used in a program when detailed instructions.
A variable is assigned a descriptive that specifies the type of data it stores, such as "playerName.”
The program then refers to the variable instead of the actual data it holds.
In Math: x=2 (x= the variable)
then: x+4=6
For example:
If the playerName variable stores the “Michael,” then when the program instructs the computer to print playerName, the name Michael will be displayed on the screen.
If playerName changes to John, then the program simply the variable data to John (playerName = John). Every reference to the playerName variable will to the new data.
Declaring and Initializing
Declaring: telling the program that the variable and the data the variable will store
Initializing: assigning an original (initial)

Boolean Concepts
A Boolean (true or false) contains a and is often used in repetition and structures.
Example: If “light=red” is true, then “stop”, or else if false, then “go ahead”.
Conditional Booleans — check for a condition.
Comparative Booleans — compare .
Conditional
Conditional Boolean
The code looks for “peanuts”
If word exists, Condition is (=)
If word does ___ exist (Else), Condition is (=) False
Comparative
Comparative Boolean
If the code finds a “Yes”, then the code will make the .

Operators
A program can do “operations” on a
An example would be a Score variable that ___ up the points earned during a game
The must tell the computer how to perform the calculations.
The equal sign (=) is considered an operator in most programming languages.
Expressions
Expressions contain a of variables, values, functions and operators, which are evaluated and produce another value.
Similar to expressions: (2+8)*(2+1) evaluates to 30
Variables can hold different of data and are classified based on the type of data they hold.
Expressions are evaluated using the mathematical of :
1. Parentheses ( )
2. Exponentiation xy
3. Multiplication and * /
4. and subtraction + -

Event
An event is an that takes place while a program is , such as a mouse click or the pressing of a key.
It’s what you do that causes the to execute.
Event Handler
An event handler contains the to turn and move the object left when the left-arrow key is pressed
(what to do when the event occurs).
Event handlers are .
Functions
Functions are that a class can do; but, are ___ part of the class description.
They are named of code that perform a task or cause an action to take place.
A function is called upon or by a descriptive , such as "move forward" or "jump."
Each object created using the shares the same methods (functions) as all the other objects created from the same class.
That is, all objects in a class can do the things, such as bounce off walls or speed when thrown.
Methods and functions are ONLY applied to a .

Classes and Objects
A class is defined as (characteristics) that are associated with a certain .
A class is a definition or used to create a particular type of object.
A class provides a detailed description of the object's (such as that the object should include a size and a color), and it specifies what can be with the object (its functions).

Characters in a game are a of "Objects"
Instances
When a is used to build an object, the is called an instance of the class.
objects (or instances) can be created using the class.
Sprites are objects that can be cloned to create separate and varied instances of the sprite. The will inherit the scripts, costumes, sounds and properties of the parent sprite, but can be modified separately.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
What is the main benefit of minimizing the ribbon in word? more options will be accessible through customized keystrokes. more of the document will be viewable without needing to scroll. fewer controls will be accessible to the user by using the mouse. fewer editing options will be available without entering a password.
Answers: 1
question
Computers and Technology, 23.06.2019 05:00
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
You know the right answer?
FILL IN THE BLANK PLEASE) Parameter
Methods need __variable that tells them how far, high, lo...
Questions
question
History, 18.05.2021 20:50
question
Mathematics, 18.05.2021 20:50
question
Mathematics, 18.05.2021 20:50
question
Mathematics, 18.05.2021 20:50
question
Mathematics, 18.05.2021 20:50
question
Mathematics, 18.05.2021 20:50
Questions on the website: 13722360