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
0%
JavaScript: Animation & Games Unit
共用
共用
共用
由
Sfairfield
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
問答遊戲
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?