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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:00, jcastronakaya
Apex q: what does a low employment rate indicate? a. not many people are earning high salaries b. not many people are going to college c. not many people are renting their homes d. not many people have jobs
Answers: 2
image
Computers and Technology, 23.06.2019 00:30, vane3152
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, naomi20044
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
image
Computers and Technology, 23.06.2019 21:10, jmolina57
Asample of 200 rom computer chips was selected on each of 30 consecutive days, and the number of nonconforming chips on each day was as follows: 8, 19, 27, 17, 38, 18, 4, 27, 9, 22, 30, 17, 14, 23, 15, 14, 12, 20, 13, 18, 14, 20, 9, 27, 30, 13, 10, 19, 12, 26. construct a p chart and examine it for any out-of-control points. (round your answers to four decimal places.)
Answers: 2
You know the right answer?
FILL IN THE BLANK PLEASE) Parameter
Methods need __variable that tells them how far, high, lo...

Questions in other subjects:

Konu
Mathematics, 11.01.2021 16:20