Вы находитесь на странице: 1из 5

1.

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 (*)

[Correct] Correct

2. The Alice IF control structure requires the false statement to be


populated. True or false? Mark for Review
(1) Points

True

False (*)

[Correct] Correct

3. 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.Cat getDistanceTo this.Bird} (*)

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

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

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

[Correct] Correct

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


(1) Points

If or Where

3*3=9 (*)
Move forward 1 meter

"I feel happy."

[Correct] Correct

5. From your Alice lessons, variables are fixed and cannot be


changed. True or false? Mark for Review
(1) Points

True

False (*)

[Correct] Correct

6. In Java code the { } brackets are used to represent what statements? Mark
for Review
(1) Points

(Choose all correct answers)

begin (*)

while

end (*)

for

[Correct] Correct

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

My Projects

Recent
Blank Slate

Starters (*)

[Correct] Correct

8. When you import a class from another file you have to import the
entire class. True or false? Mark for Review
(1) Points

True

False (*)

[Correct] Correct

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

True

False (*)

[Correct] Correct

10. You have a Class representing Cat. Each Cat can meow, purr, catch
mice, and so on. When you create a new cat, what is it called? Mark for Review
(1) Points

An instance (*)

A variable class

A submethod

A subprogram

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

11. From your Alice lessons, the "Checklist for Animation Completion" does not
ask questions about the scenario and storyboards, because these are not valid parts
of the animation creation process. True or false? Mark for Review
(1) Points

True

False (*)

[Correct] Correct

12. The animation checklist helps you confirm that all elements of
the Alice animation are operating as expected. True or false? Mark for Review
(1) Points

True (*)

False

[Correct] Correct

13. 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

14. 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.

15. Which of the following is not a valid primitive type in Java?


Mark for Review
(1) Points

boolean

double

int

String (*)

long

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

Вам также может понравиться