Alice 3: Chapter 5 - Quiz (2)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

10 Terms

1
New cards

T/F: Just like in our everyday conversations, the word "this"" is dependent on the context in which it is used.

True

2
New cards

T/F: With Alice 3 you can press and hold the option/alt key on a macOS computer and use the cursor to drag and drop a copy of a statement.

True

3
New cards

A major advantage of writing custom procedures is code ______. Once a procedure has been written it can be called again and again in many places in the program. The goal of writing a custom procedure is write once, use many times.

A) Duplication

B) Blocking

C) Documentation

D) Reuse

D) Reuse

4
New cards

T/F: Many programming languages have count loops, often referred to as a for loop, because it repeats for a counted number of times.

True

5
New cards

A _____ code block is one code block totally enclosed within another code block.

A) Nested

B) Cropped

C) Embedded

D) Snapped

A) Nested

6
New cards

T/F: When a method (procedure or function) of the Scene class is selected, this refers to "this scene" When a method of a class other than Scene is declared, this refers to any object of that class.

True

7
New cards

A count loop is a control structure that creates a code block for ________.

A) Repetition

B) Processing

C) Execution

D) Reuse

A) Repetition

8
New cards

The ___________ control structure creates a code block and tells Alice to execute code statements within that block concurrently (simultaneously).

A) Do together

B) While loop

C) Do in order

D) Count loop

A) Do together

9
New cards

T/F: Alice 3 does not have a copy-and-paste keyboard shortcut for Windows users.

False

10
New cards

A custom procedure must be declared and defined as a ______ of a class.

A) Function

B) Procedure header

C) Design

D) Method

D) Method