Tag Archives: Quiz

AS Quiz #8

Today’s quiz is not multiple choice. Instead, your task is to write a function that draws stairs that look like this:

Your function should have the following arguments:

drawStairs(graphics, stairNum);
// you may include additional arguments for size, depth etc..

Feel free to post your solution in the comments.

I’ll post my solution for this in the comments tomorrow. There is also another multiple choice quiz in the pipeline for tomorrow…

BONUS: Try to use as few Graphics class method calls as possible.

You can see my solutions here.

Posted in Graphics, Quiz | Also tagged , , | 19 Comments

AS Quiz #7

This quiz is about sound and gradients…

Number of Questions : 5
Difficulty : Medium
Topic : Sound and Gradients

If you want to visualize sound spectrum data, which of the following two classes would you most likely need?






Which property (or properties) of the SoundChannel class would you read to get the amplitude of a sound?





Which of the following classes would you use to a pan sound?





What does the ratios argument in the Graphics.beginGradientFill() method do?






Fill in the blank. In order to transform a gradient fill, you would most likely make use of the Matrix class and its _____________ method.







Posted in Quiz | Also tagged , , | 4 Comments

AS Quiz #6

Wrote this quiz on the fly today… I think it came out pretty hard. Tomorrow I’ll post an easier quiz.

Number of Questions : 5
Difficulty : Medium/Hard
Topic : Mixed (Math, BitmapData, Design Patterns, Tweening)

Please go to AS Quiz #6 to view the quiz
Posted in Quiz | Also tagged , , | 3 Comments

AS Quiz #5

Here is another quiz. The next quiz will be posted on Monday.


Number of Questions : 5
Difficulty : Medium
Topic : General

Please go to AS Quiz #5 to view the quiz
Posted in Quiz | Also tagged , , | 10 Comments