Study+Questions

Week 2 Study Questions
 1. Define the term algorithm.  2. List the key features of an algorithm.  3. Define the term variable as it relates to ActionScript.  4. Describe the if...then, and if...then...else constructs.  5. Describe the repeat and while loop constructs.  6. List three different ways of stating algorithms.  7. Give some examples of variables in your everyday life.  8. What is a datatype?  9. Explain what is meant by variable naming conventions.  10. Describe a strategy for designing algorithms.  11. Write a step-form algorithm to solve the problem:  "Design a program which counts all the pages of a given book."

Week 3 Study Questions
 12. Describe what is meant by a program flow chart.  13. Sketch and label the symbols and constructs used in flow charts.  14. State the guidelines for drawing flow charts.  15. Design a program using a flow chart. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 16. Use subprocesses in flow charts. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 17. Use conditionals in flow charts. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 18. Use loops in flow charts. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 19. Define the Array and compare it to the concept of a variable. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 20. Write a simple ActionScript function which traces the phrase, “Hello World”. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 21. Define the custom Object and compare it to a standard Array.

Week 4 Study Questions
<span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 22. Define the term property as it relates to ActionScript objects. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 23. Define the term method as it relates to ActionScript objects. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 24. Define the term event listener as it relates to ActionScript objects. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 25. What ActionScript method is used to associate events with buttons? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 26. What events do we listen for when activating a button? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 27. When we use event listeners, we should also remove them when we are done using them. Why? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 28. What ActionScript object do we use to make code execute at predetermined moments? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 29. What ActionScript object manages the display of all items? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 30. What is the main difference between DisplayObjects and DisplayObject Containers? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 31. What ActionScript Command is used to place something on the stage? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 32. What ActionScript Command is used to remove something from the stage? <span style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 83.5pt; margin-right: 0in; margin-top: 0in; mso-list: none; tab-stops: 65.5pt 119.5pt 2.0in;">

Week 6 Study Questions
<span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 33. Write a function that simply moves a Sprite 10 pixel left. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 34. What are the benefits of using functions? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 35. Define the term parameter / argument. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 36. What two Math class methods are used in creating circular motion? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 37. What ActionScript Class is used to programmatically create animation? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 38. What Math method can be used to simulate organic chaos?

Week 7 Study Questions
<span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 39. Why are classes described as the “blueprint” for program objects? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 40. What is the difference between a class and an instance? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 41. What programming structures do classes contain? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 42. Why do programmers create classes? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 43. Describe the purpose of a constructor function. <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 44. Once you create a custom class, how do you use it? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 45. What is the classPath? <span style="margin-left: 29.5pt; mso-list: l1 level1 lfo4; tab-stops: 29.5pt list .5in left 65.5pt 1.25in; text-indent: -.25in;"> 46. Define the terms composition, polymorphism, and encapsulation.