Beruflich Dokumente
Kultur Dokumente
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 2
(Answer all questions in this section)
1.
2.
Accept user input and store them in the variables num1 and num2. (*)
Scan the next page in the scanner.
Examine a file and scan the next line.
None of the above.
3.
From your Alice lessons, which of the following are types of storyboards?
Actual
Textual (*)
Factual
Visual (*)
Fictional
4.
In Alice, which of the following is the most likely situation where procedural abstraction could be used?
Five dogs all need to bark and run at the same time. (*)
One fish needs to swim forward 1 meter.
Two fish say something to each other.
One person moves up 10 meters.
5.
In Alice, procedural abstraction is the concept of making code easier to understand and reuse. True or fals
True (*)
False
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 2
(Answer all questions in this section)
6.
7.
<
// (*)
>
=
8.
True (*)
False
Correct
9.
True (*)
False
True
False (*)
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 2
(Answer all questions in this section)
11.
x (*)
y (*)
z (*)
w
All of the above
12.
13.
Functions answer questions about an object, such as its height, width, depth and even distance to another
True (*)
False
Correct
14.
Image
Class
Procedure (*)
Direction (*)
Amount (*)
15.
What should you refer to for the animation's design specifications as you program your Alice animation?
Code
Scene editor
Storyboard (*)
Scenario
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 2
(Answer all questions in this section)
16.
From your Alice lessons, when testing your animation, you should test that comments were added below e
True
False (*)
17.
Which of the following IF control structures command the blue tang fish to roll and simultaneously move d
(*)
18.
Color
Decimal Number
Whole Number
Function (*)
19.
Which of the following programming instructions commands the fish to continuously move forward a rand
(*)
Correct
20.
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 2
(Answer all questions in this section)
21.
In Alice, which of the following programming statements moves the cat backward, half the distance to the
22.
Section 3
23.
24.
Using Greenfoot, how do we change the size and resolution of the World instance?
Correct
25.
In Greenfoot, an if-statement is used to alternate between displaying two images in an instance. True or fa
True
False (*)
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 3
(Answer all questions in this section)
26.
27.
From your Greenfoot lessons, to view the methods that a class inherits, open the code editor and select do
True (*)
False
28.
From your Greenfoot lessons, instances do not have any memory. True or false?
True
False (*)
29.
orientTo( );
turnAround( );
move ( );
turn( ); (*)
30.
From your Greenfoot lessons, a problem statement defines the purpose for your game. True or false?
True (*)
False
Correct
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 3
(Answer all questions in this section)
31.
Which of the following type of audience should you ask to play your Greenfoot game during the testing ph
Testing
Target (*)
Primary
Programmer
Correct
32.
Use you Greenfoot knowledge: What range of numbers does the following method return?
Greenfoot.getRandomNumber(30)
33.
From your Greenfoot lessons, which of the following is not a characteristic of a static method?
34.
When a Greenfoot code segment is executed in an if-statement, each line of code is executed in sequentia
True (*)
False
35.
From your Greenfoot lessons, a comparison operator returns what value when a number meets its requirem
0
VOID
1 (*)
NULL
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 3
(Answer all questions in this section)
36.
From your Greenfoot lessons, the keyDown method is located in which class?
Actor
Greenfoot (*)
GreenfootImage
World
Correct
37.
In Greenfoot, only 10 methods can be written for each class in the Code editor. True or false?
True
False (*)
38.
From your Greenfoot lessons, in an if-statement, the programming statements written in curly brackets are
True
False (*)
Correct
39.
True
False (*)
40.
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 3
(Answer all questions in this section)
41.
Correct
42.
From your Greenfoot lessons, which of the following are examples of Q/A test variations?
43.
Method
Conditional (*)
Variable Assignment
Class
44.
From your Greenfoot lessons, the reset button resets the scenario back to its initial position. True or false?
True (*)
False
Correct
45.
Which of the following Java syntax is used to correctly create a Duke subclass?
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Section 3
(Answer all questions in this section)
46.
Use your Greenfoot knowldege: Abstraction occurs in many different ways in programming. True or false?
True (*)
False
47.
From your Greenfoot lessons, which of the following logic operators represents "and"?
&
&& (*)
=
!
48.
The code will keep executing and will never stop. (*)
The code will execute once and then stop, due to controls in Greenfoot.
The code will prompt you to enter a loop counter.
The code will not execute.
Correct
49.
In the Greenfoot IDE, what symbols indicate that the variable is an array?
50.
In Greenfoot, which of the following statements could prevent an infinite loop from occurring?
I = 100 + i
i=1
i=i
i = i + 1 (*)
Page 10 of 10
Bottom of Form