wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Ch_9 Introduction to ActionScript

Total questions: 15

Worksheet time: 4hrs 45mins

Name
Class
Date
1.

What class must an object be a part of in order to be on the display list?

a)

ShowObjects

b)

ObjectDisplay

c)

ObjectShow

d)

DisplayObjects

2.

Which of the following is not a data type listed in the text?

a)

Number

b)

String

c)

List

d)

Shape

3.

What is the syntax for creating a variable? (remember naming conventions)

a)

Variable:Data Type

b)

var variableName:DataType

c)

var Name:Data Type

d)

insert: variable:Name

4.

What does Flash use to recognize that an event has occurred?

a)

Event Listener

b)

Event Checker

c)

If / Then statements

d)

Listen Assist

5.

What is the term for a block of code that Flash executes in response to an event?

a)

List

b)

Stable

c)

Function

d)

Result

6.

Clicking the _____ button formats the code in accordance with ActionScript formatting conventions.

a)

Autoformat

b)

Format

c)

Check format

d)

Able format

7.

When using AS3 code, what is used to terminate an ActionScript statement?

a)

:

b)

;

c)

<

d)

>

8.

When writing AS3 code, what is used to group actions?

a)

{ }

b)

[ ]

c)

" "

d)

< >

9.

What is the proper term for predefined blocks of AS3 code that can be incorporated into your work?

a)

Templates

b)

Code templates

c)

Code snippets

d)

Code pieces

10.

As you write more and more code, it becomes useful to provide _____ to help clarify what is happening in a particular section of code.

a)

points

b)

comments

c)

drafting

d)

balloons

11.

What is the keyword used to create a variable in ActionScript?

a)

vari

b)

variable

c)

vary

d)

var

12.

To ensure your ActionScript will run correctly, do not include _____ in variable names.

a)

numbers

b)

spaces

c)

capital letters

d)

lower case

13.

It is good practice to always check _____ after typing code.

a)

variables

b)

compiled errors

c)

syntax

d)

structure

14.

Where can you find the Text tool?

a)

Tools panel

b)

History panel

c)

Selection panel

d)

Tools Selection panel

15.

__________ text fields are used to allow changes to text via code.

a)

Input

b)

Static

c)

Dynamic

d)

None of these are correct