0% found this document useful (0 votes)
274 views

In Alice

This document contains a multiple choice quiz about programming concepts in Alice. It asks questions about functions, control statements, variables, events, and other programming topics. It provides the correct answer and feedback for each question referring students to sections in Alice lessons for incorrect answers to review the relevant concepts.

Uploaded by

Indri Febrianti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
274 views

In Alice

This document contains a multiple choice quiz about programming concepts in Alice. It asks questions about functions, control statements, variables, events, and other programming topics. It provides the correct answer and feedback for each question referring students to sections in Alice lessons for incorrect answers to review the relevant concepts.

Uploaded by

Indri Febrianti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 32

In Alice, when using the getDistanceTo function what menu option would you use to subtract a set value

from the distance? Mark for Review


(1) Points

Custom DecimalNumber

Math (*)

Random

Whole to decimal number

[Incorrect] Incorrect. Refer to Section 2 Lesson 7.

2. In Alice, functions are dragged into the control statement, not the procedure. True or
false? Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 7.

3. An animation gives the scenario a purpose. True or false? Mark for Review
(1) Points

True

False (*)
[Incorrect] Incorrect. Refer to Section 2 Lesson 5.

4. From your Alice lessons, which of the following is a tool to show the logic of an
animation? Mark for Review
(1) Points

Pie chart

Visual storyboard

Class chart

Scene editor

Flowchart (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 5.

5. In Alice, when a new procedure is declared, all subclasses of the superclass will inherit the
procedure. True or false? Mark for Review
(1) Points

True (*)

False

[Correct] Correct
6. From your Alice lessons, random numbers are numbers generated by the user with a pattern in
their sequence. True or false? Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 4.

7. In Alice, control statements are dragged into the Code editor. True or false? Mark for Review
(1) Points

True (*)

False

[Correct] Correct

8. In Alice, where are objects added and positioned in the scene? Mark for Review
(1) Points

The Code editor

The Scene editor (*)

The gallery

The template
[Incorrect] Incorrect. Refer to Section 2 Lesson 1.

9. In Alice, the procedures' arguments allow the programmer to adjust the object, motion,
distance amount, and time duration. True or false? Mark for Review
(1) Points

True (*)

False

[Correct] Correct

10. In Alice, which of the following is not a control statement? Mark for Review
(1) Points

Move (*)

Count

Do In Order

While

[Correct] Correct
In Alice, where are objects added and positioned in the scene? Mark for Review
(1) Points

The template
The gallery

The Scene editor (*)

The Code editor

[Incorrect] Incorrect. Refer to Section 2 Lesson 2.

12. Saved Alice projects can be opened and edited. True or false? Mark for Review
(1) Points

True (*)

False

[Correct] Correct

13. After each execution of your Alice animation, what element or elements could be adjusted in
your code? Mark for Review
(1) Points

Control statements

Procedures

Arguments

All of the above (*)


[Incorrect] Incorrect. Refer to Section 2 Lesson 3.

14. The Alice move procedure contains which arguments? Mark for Review
(1) Points

(Choose all correct answers)

Object

Amount (*)

Direction (*)

Text

[Incorrect] Incorrect. Refer to Section 2 Lesson 3.

15. What is the first step to programming an object to turn left in Alice? Mark for Review
(1) Points

Drag the turn procedure into the Code editor.

Select the object to program from the instance menu. (*)

Select the distance to turn.

Select the duration for the object to turn.

[Incorrect] Incorrect. Refer to Section 2 Lesson 3.


1. In Alice, what function would you use to get a wholenumber from the user? Mark for Review
(1) Points

getIntegerFromUser (*)

getStringFromUser

getDoubleFromUser

getBooleanFromUser

[Correct] Correct

2. From your Alice lessons, which programming instruction represents the following movement: A
cat moves forward double (or twice) the distance to the tree. Mark for Review
(1) Points

this.Cat move forward this.Cat getDistanceTo this.tree + 2.0

this.Cat move Forward this.Cat getDistanceTo this.tree / 2.0

this.Cat move Forward this.Cat getDistanceTo this.tree - 2.0

this.Cat move Forward this.Cat getDistanceTo this.tree * 2.0 (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 7.

3. To access the Alice Code editor from the Scene editor, which button do you click? Mark for
Review
(1) Points
Code Editor

Code

Edit Code (*)

Access Code Editor

[Incorrect] Incorrect. Refer to Section 2 Lesson 3.

4. Which of the following is a reason why you might disable programming statements in your
Alice code? Mark for Review
(1) Points

To make an object move forward.

To make an object turn and move simultaneously.

To disable the entire program.

To help isolate portions of code during testing. (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 3.

5. Which of the following is not a reason for why comments are helpful in an Alice
program? Mark for Review
(1) Points
Comments can outline the programming instructions.

Comments change the functionality of the program. (*)

Comments help during debugging and testing so the tester knows how the programming statements
are supposed to work.

Comments describe the intention of the programming instructions.

[Incorrect] Incorrect. Refer to Section 2 Lesson 3.

6. In Alice, Do In Order and Do Together: Mark for Review


(1) Points

Are move statements

Are control statements (*)

Are complex statements

None of the above

[Incorrect] Incorrect. Refer to Section 2 Lesson 6.

7. In Alice, when two objects are synchronized and move together, this means that one object
is: Mark for Review
(1) Points

A vehicle of another (*)


An object of another

An instance of another

A class of another

[Correct] Correct

8. In Alice, once an instance is added to the scene, it cannot be deleted. True or false? Mark for
Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 1.

9. Which Alice control statement executes a set of procedures simultaneously? Mark for
Review
(1) Points

Do in order

Do together (*)

Together

While
[Incorrect] Incorrect. Refer to Section 2 Lesson 4.

10. From your Alice lessons, which control statement executes instructions
simultaneously? Mark for Review
(1) Points

Do in order

Do together (*)

Variable

Count

[Incorrect] Incorrect. Refer to Section 2 Lesson 4.


11. In Alice, there is a limit of 10 objects per scene. True or false? Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 2.

12. Alice objects move relative to the orientation of the person viewing the animation. True or
false? Mark for Review
(1) Points

True
False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 2.

13. In Alice, new procedures are declared in the Scene editor. True or false? Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 5.

14. Which Alice tool is used to demonstrate the process flow of an animation? Mark for Review
(1) Points

World

Visual storyboard

Flowchart (*)

Pie chart

Textual storyboard

[Incorrect] Incorrect. Refer to Section 2 Lesson 5.


15. In Alice, objects inherit the characteristics of their: Mark for Review
(1) Points

Program

Project

Code

Class (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 5.


1. Which one of the following event listener types is not available at the top-level of the addEvent
drop down list in Alice? Mark for Review
(1) Points

Collision (*)

Keyboard

Position/Orientation

Mouse

[Correct] Correct

2. You want an event to happen when an object collides with another object, which category of
event handler would you choose? Mark for Review
(1) Points
Scene Activation/time

Position/Orientation (*)

Mouse

Keyboard

[Incorrect] Incorrect. Refer to Section 2 Lesson 11.

3. The list below describes variables. All are correct except which one? Mark for Review
(1) Points

Has a unique name.

Has a type associated with it.

Arranged in rows and columns. (*)

A place in memory where data of a specific type can be stored for later retrieval and use.

[Incorrect] Incorrect. Refer to Section 2 Lesson 13.

4. If a value has been assigned to (is stored in) a variable, that value will be overwritten when
another value is assigned to the variable using the assignment "=" operator. True or false? Mark for
Review
(1) Points
True (*)

False

[Correct] Correct

5. Which of the following programming instructions commands the fish to continuously move
forward a random speed between 0.5 and 1.0 meters, minus 0.25 meters, until it collides with the
shark? Mark for Review
(1) Points

B(*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 10.


6. Which is an example of the Boolean variable type? Mark for Review
(1) Points

Hello World

An object

True or False (*)


[Incorrect] Incorrect. Refer to Section 2 Lesson 10.

7. In Alice, you must place the control structure in the code editor before adding any code that
will go within it. True or false? Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 8.

8. Which of the following IF control structures command the blue tang fish to roll and
simultaneously move down if it collides with a shark, or move forward if it does not collide with a
shark? Mark for Review
(1) Points

D(*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 8.

9. Identify an example of an Alice expression. Mark for Review


(1) Points

"Hello World."

IF or WHILE
12 + 15 = 27 (*)

None of the above

[Incorrect] Incorrect. Refer to Section 2 Lesson 9.

10. In Alice, which of the following programming statements moves the cat forward the distance
to the bird? Mark for Review
(1) Points

this.Cat move forward {this.Bird getDistanceTo this.Cat / 2}

this.Cat move forward {this.Cat getDistanceTo this.Bird} (*)

this.Cat move {this.Bird getDistanceTo this.Cat / 2}

this.Bird move forward {this.Bird getDistanceTo this.Cat}

[Incorrect] Incorrect. Refer to Section 2 Lesson 9.


11. From your Alice lessons, functional decomposition is the process of taking a complex problem or
process and growing it into larger parts that are easier to manage. True or false? Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 12.


12. In Alice, it is not possible to upload the animation directly to YouTube. Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 12.

13. What can be used as a guideline to ensure your Alice animation fulfills animation
principles? Mark for Review
(1) Points

A close friend

The Internet

Other programmers

An animation checklist (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 12.

14. What do lines 7, 10 and 13 do in the following code?

Mark for Review


(1) Points
Export files called A, B, and num3.

Create a single file containing A, B, and the value of num3.

Print "A", "B" and the value of num3 on the screen. (*)

None of the above.

[Incorrect] Incorrect. Refer to Section 2 Lesson 14.

15. Review the code below.

Select the result from the following statements about what happens when the loopVal >= 5 . Mark for
Review
(1) Points

The message "Printing Some Text" will be printed until loopVal is no longer less than 5.

The variable loopVal is initialized to 0.

The condition loopVal < 5 is tested before executing anything further in the program. (*)

The condition loopVal < 5 returns a boolean value.

None of the above.

[Incorrect] Incorrect. Refer to Section 2 Lesson 14.


1. Which Alice execution task corresponds with the following storyboard statement? <br><br>Cat
turns to face mouse. Mark for Review
(1) Points

mouse turnTo cat

cat TurnTo mouse

this.cat turnToFace this.mouse (*)

this.mouse turnToFace this.cat

[Incorrect] Incorrect. Refer to Section 2 Lesson 4.

2. From your Alice lessons, what is the purpose of nesting? Mark for Review
(1) Points

To add more procedures to your program.

To add text to your program that tells the viewer what the code does.

To add visual structure to your program. (*)

To add random movements to your program.

[Incorrect] Incorrect. Refer to Section 2 Lesson 4.

3. In Alice, new procedures are declared in the Scene editor. True or false? Mark for Review
(1) Points

True
False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 5.

4. From your Alice lessons, which of the following are types of storyboards? Mark for Review
(1) Points

(Choose all correct answers)

Actual

Visual (*)

Factual

Textual (*)

Fictional

[Incorrect] Incorrect. Refer to Section 2 Lesson 5.

5. Which Alice tool is used to demonstrate the process flow of an animation? Mark for Review
(1) Points

Flowchart (*)

Pie chart
World

Textual storyboard

Visual storyboard

[Correct] Correct

6. Only acting objects have one-shot procedures. True or false? Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 2.

7. In Alice, where are objects added and positioned in the scene? Mark for Review
(1) Points

The gallery

The Scene editor (*)

The Code editor

The template

[Incorrect] Incorrect. Refer to Section 2 Lesson 2.


8. How do you create a programming instruction in Alice? Mark for Review
(1) Points

Click and drag the desired programming instruction into the myFirstMethod tab. (*)

Click and drag the desired programming instruction into the Procedures tab.

Click and drag the desired programming instruction into the Scene editor.

Click and drag the desired programming instruction into the Functions tab.

[Correct] Correct

9. What is the first step to programming an object to turn left in Alice? Mark for Review
(1) Points

Select the object to program from the instance menu. (*)

Select the distance to turn.

Select the duration for the object to turn.

Drag the turn procedure into the Code editor.

[Correct] Correct

10. The say procedure in Alice plays an audio file. True or false? Mark for Review
(1) Points
True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 3.


11. In Alice, each class has a set of pre-defined procedures and functions. True or false? Mark for
Review
(1) Points

True (*)

False

[Correct] Correct

12. In Alice, the setVehicle procedure will associate one object to another. True or false? Mark
for Review
(1) Points

True (*)

False

[Correct] Correct

13. In Alice, different programming is not required for different objects, because all objects move
the same way. True or false? Mark for Review
(1) Points
True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 6.

14. In Alice, how would you get the length of a fish object? Mark for Review
(1) Points

getHeight

getDepth (*)

getLength

getWidth

[Incorrect] Incorrect. Refer to Section 2 Lesson 7.

15. Functions answer questions about an object, such as its height, width, depth and even
distance to another object. True or false? Mark for Review
(1) Points

True (*)

False

[Correct] Correct
1. In Alice, what tab would you choose to start a new animation with a pre-populated world? Mark
for Review
(1) Points

My Projects

Blank Slate

Starters (*)

Recent

[Incorrect] Incorrect. Refer to Section 2 Lesson 11.

2. An Alice event is considered what? Mark for Review


(1) Points

An object's orientation.

A keystroke or mouse click. (*)

A party with at least 20 people.

Error handling.

[Incorrect] Incorrect. Refer to Section 2 Lesson 11.

3. Variable values can be changed as often as you like. True or false? Mark for Review
(1) Points
True (*)

False

[Correct] Correct

4. A variable is a place in memory where data of a specific type can be stored for later retrieval
and use by your program Mark for Review
(1) Points

True (*)

False

[Correct] Correct

5. In Alice, as part of the recording process you can demonstrate the events that are programmed
within your animation. True or false? Mark for Review
(1) Points

True (*)

False

[Correct] Correct

6. In Alice, what are the forms of a scenario? Mark for Review


(1) Points

(Choose all correct answers)


A section of code to write.

A system to start.

A problem to solve. (*)

A task to perform. (*)

A person to help.

[Incorrect] Incorrect. Refer to Section 2 Lesson 12.

7. When presenting your Alice animation, it is not important to give the audience a reason to
listen to the presentation. True or false? Mark for Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 12.

8. In Alice, which of the following programming statements moves the butterfly forward, double
the distance to the tree? Mark for Review
(1) Points

this.Butterfly move backward {this.Butterfly getDistanceTo this.Tree * 2}


this.Butterfly move backward {this.Butterfly getDistanceTo this.Tree / 2}

this.Butterfly move forward {this.Butterfly getDistanceTo this.Tree * 2} (*)

this.Butterfly move forward {this.Butterfly getDistanceTo this.Tree / 2}

[Incorrect] Incorrect. Refer to Section 2 Lesson 9.

9. An example of an expression is: Mark for Review


(1) Points

If or Where

3*3=9 (*)

"I feel happy."

Move forward 1 meter

[Incorrect] Incorrect. Refer to Section 2 Lesson 9.

10. In Java, a function is a method that must return a value. True or false? Mark for Review
(1) Points

True

False (*)
[Incorrect] Incorrect. Refer to Section 2 Lesson 14.

11. Each parameter is listed with its name first, then its data type. True or false? Mark for
Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 14.

12. A data type defines the type of procedures a variable can store. True or false? Mark for
Review
(1) Points

True

False (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 13.

13. What is the result of the following code?

Mark for Review


(1) Points

x>y:1
x<y:0

x>y:0
x<y:1

x > y : false
x < y : true

x>y:x>y
x<y:x<y

x > y : true
x < y : false (*)

[Incorrect] Incorrect. Refer to Section 2 Lesson 13.

14. What tool can be used to diagram an IF conditional execution statement? Mark for Review
(1) Points

Cause and effect diagram

Process flow diagram (*)

Conditional flow diagram

[Incorrect] Incorrect. Refer to Section 2 Lesson 8.

15. From your Alice lessons, the IF control structure can process one true and one false response.
True or false? Mark for Review
(1) Points

True (*)
False

You might also like