1) This is the function that is called when you click run. a) Start Function b) Callback Function c) Function Draw d) Function Circle 2) Documentation for the syntax and objects in Javascript that we use on CodeHS. a) Python Documentation b) JavaScript Documentation c) Documentation d) Event 3) The screen in which our graphics programs are drawn. a) Timer b) JavaScript Documentation c) Canvas d) Event 4) These are used to used perform repeated action in a program a) Timer b) Parameter c) Event d) Scope 5) Uses numbers as coordinates to place objects in a geometric space. a) Coordinate Plane b) Radius c) Parameter d) Coordinate system 6) Showing several still images one after another very quickly, to give the illusion of animated movement. a) Canvas b) Animation c) Scope d) Event 7) A function passed as a parameter to another function in order to be called later. a) Start Function b) Function Draw c) Callback Function d) Function Circle 8) Is a way to repeat code in your program. a) Scope b) Timer c) Canvas d) Loop 9) Are used to used perform repeated action in a program. a) Event b) Timer c) Scope d) Radius 10) To generate or select a random object. a) Randomize b) Canvas c) Scope d) Constant 11) JavaScript function that returns the width of the graphics canvas. a) getHeight() b) Event c) getWidth() d) Canvas 12) JavaScript function that returns the height of the graphics canvas. a) getWidth() b) Radius c) Scope d) getHeight() 13) A variable in a program that has a value that does not change. a) Constant b) Variable c) Scope d) Event 14) A number in your code that appears arbitrary. These should all be replaced with calculations or constants. a) Magic Event b) Scope c) Timer d) Magic Number 15) A variable passed in from outside the function. a) Parameter b) Function c) Scope d) Event 16) Don't repeat yourself: try to simplify your code and avoid repeating code unnecessarily. a) TRY Principle b) DYI Principle c) Event d) DRY Principle 17) Is a problem in your code that only occurs in extreme situations. a) Edge Case b) Event c) Timer d) Scope 18) A variable that can be used throughout a program, in every scope a) Local Variable b) Global Variable c) Scope d) Event 19) The length between the center and edge of a circle a) Diameter b) Event c) Circumference d) Radius 20) In what part of the program the variable exist. a) Event b) Scope c) Radius d) Timer 21) Is an action (such as clicking the mouse or pressing a key on the keyboard) that a program detects and uses as input. a) Event b) Scope c) Timer d) Top Down Design 22) Is a method for breaking our program down into smaller parts. a) Top Up Design b) Event Design c) Top Down Design d) Circle 23) A variable used to count the number of times an action has been performed. a) Timer b) Scope c) Event d) Counter 24) A variable that is restricted to use in a certain scope of a program. a) Global Variable b) Local Variable c) Scope d) Loop

JavaScript: Animation & Games Unit

Lyderių lentelė

Vizualinis stilius

Parinktys

Pakeisti šabloną

Atkurti automatiškai įrašytą: ?