Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Search article...
DS SANJAYA
Life with colorful experience
Home Oracle Kunci Jawaban All Quiz Oracle Academy Java Fundamenta…
Mau Study ke L
Ikuti Tes Bahas
Online nya di W
Ad wallstreeten
Selengkapnya
TRENDING POST
1
Suka 0 Bagikan
2
3
1. The Alice If control structure requires the false statement
to be populated. True or false? Mark for Review
(1) Points
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 1/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
4
True
5
False (*)
[Incorrect] Incorrect. Refer to Section 2 Lesson 8.
2. A conditional loop is a loop that will continue forever.
True or false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 2 Lesson 8.
3. Identify an example of an Alice expression. Mark for
Review
(1) Points
"Hello World."
IF or WHILE
12 + 15 = 27 (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 2/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
False (*)
[Incorrect] Incorrect. Refer to Section 2 Lesson 10.
8. Which of the following programming instructions
commands the sh 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
Asterisks **
Square brackets [ ]
Parnetheses ( )
Curly brackets { } (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
4. A variable is also known as a ____________. Mark for
Review
(1) Points
Method
Field (*)
Instance
Class
Syntax
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 10/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Only one instance moves until the pause button is clicked.
The instance executes all of the programming statements in
their class's act method repeatedly until the scenario is
stopped.
The class executes all of the programming statements in
their instance's act method two times until the scenario is
stopped.
The instance executes all of the programming statements in
their class's act method once. (*)
The instance executes all of the programming statements in
their class's act method two times until the scenario is stopped.
[Incorrect] Incorrect. Refer to Section 3 Lesson 1.
8. From your Greenfoot lessons, the reset button resets
the scenario back to its initial position. True or false? Mark
for Review
(1) Points
True (*)
False
[Correct] Correct
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 12/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 5.
1. What type of parameter does the keyDown
method expect? Mark for Review
(1) Points
The name of the class that will use the key.
The name of the key to press on the keyboard. (*)
The password that will protect the class.
The name of the sound le to play when the key is pressed.
[Incorrect] Incorrect. Refer to Section 3 Lesson 7.
2. In Greenfoot, which class has methods that allow you
to get the status of the mouse? Mark for Review
(1) Points
Actor
World
Scenario
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 16/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Greenfoot (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 7.
3. You cannot record unique sounds in Greenfoot. You
can only use the sounds that are stored in the Greenfoot library.
True or false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 7.
4. In the Greenfoot IDE, any new methods you create are
written in the class's source code. True or false? Mark for
Review
(1) Points
True (*)
False
[Correct] Correct
5. Which one of the following can be used to detect
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 17/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
True (*)
False
[Correct] Correct
10. Writing more generic statements to handle the
creation and positioning of many objects is one Abstraction
technique? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
11. In Java what is casting? Mark for Review
(1) Points
When you remove an object instance.
Casting is not possible in Java.
When you reset an object instance.
When you take an Object of one particular type and turn it
into another Object type. (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 20/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
[Incorrect] Incorrect. Refer to Section 3 Lesson 9.
12. In Greenfoot modifying an actors constructor to
accept an initial speed is a form of abstraction? Mark for
Review
(1) Points
True (*)
False
[Correct] Correct
13. In Greenfoot, which of the following statements
could prevent an in nite loop from occurring? Mark for
Review
(1) Points
i = i
i = 100 + i
i=1
i = i + 1 (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 21/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
True
False (*)
[Incorrect] Incorrect. Refer to Section 2 Lesson 3.
6. The Alice move procedure contains which arguments?
Mark for Review
(1) Points
(Choose all correct answers)
Object
Direction (*)
Text
Amount (*)
[Incorrect] Incorrect. Refer to Section 2 Lesson 3.
7. Which Alice control statement executes a set of
procedures simultaneously? Mark for Review
(1) Points
While
Together
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 25/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Do together (*)
Do in order
[Incorrect] Incorrect. Refer to Section 2 Lesson 4.
8. Which of the following is an example of nesting in an
Alice program? Mark for Review
(1) Points
Text is nested inside of a comments tile.
Five Do Together statements are nested inside of a Do In
Order statement. (*)
A move procedure is nested inside of a turn procedure.
Distance, duration, and direction arguments are nested inside
of a procedure.
[Incorrect] Incorrect. Refer to Section 2 Lesson 4.
9. Which handle style would be used to rotate an object's
sub-part about the x, y, and z axes? Mark for Review
(1) Points
Default
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 26/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Rotation (*)
Resize
Translation
[Incorrect] Incorrect. Refer to Section 2 Lesson 2.
10. Rings will appear around a sub-part indicating how
you can reposition it. True or false? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
11. How do you view the results of procedures entered in the
Alice code editor? Mark for Review
(1) Points
View the procedures in the gallery.
Save the scene.
Select the Run button. (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 27/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Select the Play button.
[Incorrect] Incorrect. Refer to Section 2 Lesson 1.
12. In Alice, a walking motion for a bipedal object can be
achieved without the Do Together control statement. True or
false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 2 Lesson 6.
13. 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 instance of another
A class of another
An object of another
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 28/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Distance to and nesting.
[Incorrect] Incorrect. Refer to Section 2 Lesson 7.
1. In the Greenfoot IDE, an instance's position is on
the x and y coordinates. True or false? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
2. In Greenfoot, the body of the method is located in
between which of the following characters? Mark for Review
(1) Points
Asterisks **
Parnetheses ( )
Square brackets [ ]
Curly brackets { } (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 30/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
3. In Greenfoot, the instance has a source code editor.
True or false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
4. In Greenfoot, methods can be called in the act
method. When the Act button is clicked in the environment, the
methods in the method body of the act method are executed.
True or false? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
5. In Greenfoot, which of the following methods display
an object's orientation? Mark for Review
(1) Points
(Choose all correct answers)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 31/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Name the class.
Program the class to move forward. (*)
Right-click on a superclass.
Select an image for the class.
[Incorrect] Incorrect. Refer to Section 3 Lesson 1.
8. An object is an instance of a class. True or false?
Mark for Review
(1) Points
True (*)
False
[Correct] Correct
9. Which of the following demonstrates a Greenfoot
subclass/superclass relationship? Mark for Review
(1) Points
A dog is a subclass of the cat superclass.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 33/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
My program is complete when it runs and I've tested the
code. (*)
My program is complete when it compiles.
[Incorrect] Incorrect. Refer to Section 3 Lesson 4.
12. In Greenfoot, which keyword calls the World
superclass? Mark for Review
(1) Points
constructor
addObject
super (*)
new
world
[Incorrect] Incorrect. Refer to Section 3 Lesson 5.
13. From your Greenfoot lessons, which axes de ne an
object's position in a world? Mark for Review
(1) Points
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 35/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
World name
Objects
Class name
Method (*)
Integers
[Incorrect] Incorrect. Refer to Section 3 Lesson 10.
5. Which of the following is an example of string
concatenation? Mark for Review
(1) Points
Instead of entering ".png" after each image le name, add &&
".png" after the imageName value in the programming
statement.
Instead of entering ".png" after each image le name, add +
".png" after the imageName value in the programming
statement. (*)
Instead of entering ".png" after each image le name, add
".png" after the imageName value in the programming
statement.
Instead of entering ".png" after each image le name, add =
".png" after the imageName value in the programming
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 39/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
statement.
[Incorrect] Incorrect. Refer to Section 3 Lesson 10.
6. In Greenfoot, string concatenation reduces the number of
redundant characters or phrases you need to type into each
array. True or false? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
7. In Greenfoot what command would you use to detect
if a mouse has been clicked on an actor? Mark for Review
(1) Points
Greenfoot.mouseClicked(this) (*)
Greenfoot.pressed(this)
Actor.clicked(this)
Greenfoot.clicked(this)
[Correct] Correct
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 40/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
False
[Correct] Correct
11. What does the following programming
statement mean?
Edit the values in the class's act method.
Edit the values in the constructor. (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 8.
13. In Greenfoot, you will never have to cast as we only
ever use 2 classes - World and Actor. Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 9.
14. Use your Greenfoot knowldege: Abstraction occurs in
many different ways in programming. True or false? Mark for
Review
(1) Points
True (*)
False
[Correct] Correct
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 43/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
15. In Greenfoot you can only access the methods of the
current class? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 9.
1. In Greenfoot, which of the following methods display an
object's orientation? Mark for Review
(1) Points
(Choose all correct answers)
void move()
int getRotation() (*)
int getX() (*)
void turn()
[Incorrect] Incorrect. Refer to Section 3 Lesson 3.
2. In Greenfoot, only 10 methods can be written for each
class in the Code editor. True or false? Mark for Review
(1) Points
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 44/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
(1) Points
<
= =
> (*)
! =
[Incorrect] Incorrect. Refer to Section 3 Lesson 5.
5. Which of the following comparison symbols
represents equals? Mark for Review
(1) Points
= = (*)
! =
<
>
[Correct] Correct
6. In Greenfoot, you can use comparison operators
to compare a variable to a random number. True or false?
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 46/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
"is-by"
"is-a" (*)
"for-what"
[Incorrect] Incorrect. Refer to Section 3 Lesson 1.
13. In Greenfoot, after a subclass is created and
compiled, you cannot edit the subclass's source code. True or
false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 1.
14. From your Greenfoot lessons, the reset button resets
the scenario back to its initial position. True or false? Mark
for Review
(1) Points
True (*)
False
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 50/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
[Correct] Correct
2. In Greenfoot, what is the purpose of the variable type?
Mark for Review
(1) Points
De nes what kind of data to store in the variable. (*)
De nes which class the variable is associated with.
De nes the instance that the variable is associated with.
De nes the access speci er used with the variable.
[Correct] Correct
3. What does the following programming statement
mean?
The variable, image1, cannot use the image le, duke12.png.
Image les from 1-119 are associated with image1.
[Incorrect] Incorrect. Refer to Section 3 Lesson 8.
4. In Greenfoot, what types of values cannot be stored in
a local variable? Mark for Review
(1) Points
Method (*)
Class name
World name
Objects
Integers
[Correct] Correct
5. Which of the following is not a component of a while
loop? Mark for Review
(1) Points
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 53/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
while keyword
if statement (*)
Control operator
Loop variable
Local variable
[Incorrect] Incorrect. Refer to Section 3 Lesson 10.
6. From your Greenfoot lessons, what types of values cannot
be stored in a local variable? Mark for Review
(1) Points
(Choose all correct answers)
Integers
method (*)
Objects
Class name
World name
[Incorrect] Incorrect. Refer to Section 3 Lesson 10.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 54/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
7. From your Greenfoot lessons, how do you call a
de ned method? Mark for Review
(1) Points
Write the method in the instance.
Call the method from the act method. (*)
Write the method in the World superclass.
Write the method in the documentation.
Write the method in the Actor class.
[Incorrect] Incorrect. Refer to Section 3 Lesson 6.
8. Which one of the following can be used to detect
when 2 actors collide? Mark for Review
(1) Points
isTouching() (*)
hasCollided()
isCollision()
isContact()
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 55/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
[Correct] Correct
9. Use your Greenfoot knowledge to answer the
question. One reason to write a de ned method in a class is to
make it easier to read. True or false? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
10. What type of parameter does the Greenfoot
playSound method expect? Mark for Review
(1) Points
name of the class (as String)
name of an integer (as int)
name of a keyboard key (as String)
name of a sound le (as String) (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 7.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 56/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
(1) Points
addObject (new Fly(), 150, 150);
addObject (new Fly(2, 90), 150, 150);
addObject (new Fly(), 2, 150, 150);
addObject (new Fly(2), 150, 150); (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 9.
14. From your Greenfoot lessons, which one of the
following is an example of when an abstraction technique is
used? Mark for Review
(1) Points
Adding a property to a Class
Adding a property to an instance
Passing a paramater in a constructor to set an initial speed.
(*)
Initialising a variable
[Incorrect] Incorrect. Refer to Section 3 Lesson 9.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 58/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
A computer is a subclass of a video game superclass.
A dog is a subclass of the cat superclass.
A single person is a superclass of the human subclass.
[Correct] Correct
5. From your Greenfoot lessons, what are the ways that
you can view a class's methods? Mark for Review
(1) Points
(Choose all correct answers)
In the Greenfoot gallery
In the scenario
By right-clicking on an instance (*)
In the class's documentation (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 3.
6. The list below provides actions you can perform in the
Greenfoot code editor except one. Which one should be
removed? Mark for Review
(1) Points
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 61/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
False
[Correct] Correct
9. In Greenfoot, the body of the method is located in
between which of the following characters? Mark for Review
(1) Points
Asterisks **
Parnetheses ( )
Square brackets [ ]
Curly brackets { } (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
10. In Greenfoot, the instance has a source code editor.
True or false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 63/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
13. The list below displays characteristics of a Greenfoot
world constructor, except for one. Which one should be
removed? Mark for Review
(1) Points
Has no return type.
Has a void return type. (*)
De nes the instance's size and resolution.
Has the same name as the name of the class.
Executed automatically when a new instance of the class is
created.
[Incorrect] Incorrect. Refer to Section 3 Lesson 5.
14. In Greenfoot, a semicolon is not necessary at the end
of a method that uses dot notation. True or false? Mark for
Review
(1) Points
True
False (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 65/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
(1) Points
!= operator
== operator (*)
>= operator
= operator
[Incorrect] Incorrect. Refer to Section 3 Lesson 8.
3. From your Greenfoot lessons, what is the parameter of
the following constructor that creates a new image, and
designates it to the Actor class?
10. From your Greenfoot lessons, abstraction techniques
can only be used once in a class's source code. True or false?
Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 9.
11. Writing more generic statements to handle the creation
and positioning of many objects is one Abstraction technique?
Mark for Review
(1) Points
True (*)
False
[Correct] Correct
12. In Java what is casting? Mark for Review
(1) Points
Casting is when we remove an object from the world
Casting is when we want to tell the java compiler that a class
we are accessing is really another type of class (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 71/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Casting is when we reset the state of an instance.
Casting is when we change the coordinates of an actor
[Incorrect] Incorrect. Refer to Section 3 Lesson 9.
13. De ned methods are methods that are only created
by the Greenfoot development team? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 6.
14. In Greenfoot, which of the following statement is true
about De ned Methods? Mark for Review
(1) Points
A de ned method is automatically executed once created.
A de ned method is only relevant to the Greenfoot
Development team.
A de ned method must be called by your source code,
normally in the Act method. (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 72/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
A de ned method only relates to the World class.
[Incorrect] Incorrect. Refer to Section 3 Lesson 6.
15. In reference to Greenfoot, if the following method
was de ned in a superclass,
2. From your Greenfoot lessons, what are the ways that
you can view a class's methods? Mark for Review
(1) Points
(Choose all correct answers)
In the Greenfoot gallery
In the scenario
In the class's documentation (*)
By right-clicking on an instance (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 3.
3. From your Greenfoot lessons, where do you review a
class's inherited methods? Mark for Review
(1) Points
Act method
Documentation (*)
Inspector
If-statement
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 74/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
! =
[Incorrect] Incorrect. Refer to Section 3 Lesson 5.
6. Read the following method signature. Using your
Greenfoot experience, what does this method do?
Vector
World (*)
Actor
[Incorrect] Incorrect. Refer to Section 3 Lesson 5.
8. In Greenfoot, a subclass is created by right-clicking on
a superclass. True or false? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
9. Which of the following demonstrates a Greenfoot
subclass/superclass relationship? Mark for Review
(1) Points
A computer is a subclass of a video game superclass.
A dog is a subclass of the cat superclass.
A rose is a subclass of the ower superclass. (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 77/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
A single person is a superclass of the human subclass.
[Incorrect] Incorrect. Refer to Section 3 Lesson 1.
10. In Greenfoot, after a subclass is created and
compiled, you cannot edit the subclass's source code. True or
false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 1.
11. An object is an instance of a class. True or false? Mark
for Review
(1) Points
True (*)
False
[Correct] Correct
12. In Greenfoot, the move method expects what type of
information in its parameters? Mark for Review
(1) Points
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 78/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Integer of steps to move forward (*)
True or false response
Degrees to turn
String statement
[Correct] Correct
13. In the Greenfoot IDE, an instance's position is on the
x and y coordinates. True or false? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
14. A variable is also known as a ____________. Mark
for Review
(1) Points
Syntax
Field (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 79/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Class
Method
Instance
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
15. In Greenfoot, methods can be called in the act
method. When the Act button is clicked in the environment, the
methods in the method body of the act method are executed.
True or false? Mark for Review
(1) Points
True (*)
False
[Correct] Correct
1. In Greenfoot, you can cast an Actor class to a World class?
Mark for Review
(1) Points
True
False (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 80/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
getSound method
importSound method
ndSound method
[Correct] Correct
5. From your Greenfoot lessons, the isKeyDown method
is located in which class? Mark for Review
(1) Points
Greenfoot (*)
World
GreenfootImage
Actor
[Correct] Correct
6. In Greenfoot, what type of parameter does the isKeyDown
method expect? Mark for Review
(1) Points
Boolean
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 82/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
String (*)
Integer
Method
[Incorrect] Incorrect. Refer to Section 3 Lesson 7.
7. From your Greenfoot lessons, to save space in the act
method, you can write an entirely new method below it, called a
_____________. Mark for Review
(1) Points
Class method
Code method
World method
Instance method
De ned method (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 6.
8. In Greenfoot, a way to have all subclasses of a
superclass inherit a method is by adding the method to the
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 83/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Semicolon ;
Square brackets [ ] (*)
Curly brackets { }
[Incorrect] Incorrect. Refer to Section 3 Lesson 10.
11. Which of the following is not a component of a while
loop? Mark for Review
(1) Points
if statement (*)
Loop variable
Local variable
Control operator
while keyword
[Correct] Correct
12. In Greenfoot, what happens if the end to a while loop
isn't established? Mark for Review
(1) Points
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 85/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
The code will keep executing and will never stop. (*)
The code will prompt you to enter a loop counter.
The code will execute once and then stop, due to controls in
Greenfoot.
The code will not execute.
[Correct] Correct
13. From your Greenfoot lessons, what is the parameter
of the following constructor that creates a new image, and
designates it to the Actor class?
14. Which operator is used to test if values are equal?
Mark for Review
(1) Points
== (*)
!>
>
<
[Correct] Correct
15. In Greenfoot, we typically use the act method in the
class to automatically create the Actor instances when the
world is initialized. True or false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 8.
1. In a Greenfoot if-else statement, if the condition is true, the
if-statement is executed, and then the else-statement is
executed. True or false? Mark for Review
(1) Points
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 87/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
turn(2);
[Incorrect] Incorrect. Refer to Section 3 Lesson 4.
10. In Greenfoot, which of the following options are not
possible when associating an image le with an instance?
Mark for Review
(1) Points
Select an image from the Greenfoot library
Import an image
Add a video (*)
Draw an image
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
11. An instance variable can be saved and accessed later,
even if the instance no longer exists. True or false? Mark for
Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 92/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
12. A variable is also known as a ____________. Mark
for Review
(1) Points
Syntax
Class
Method
Field (*)
Instance
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
13. Using the Greenfoot IDE, only ve instances can be
added to a scenario. True or false? Mark for Review
(1) Points
True
False (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 2.
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 93/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
Greenfoot (*)
GreenfootImage
World
[Incorrect] Incorrect. Refer to Section 3 Lesson 7.
2. In Greenfoot you can interact with the scenario using a
mouse. Mark for Review
(1) Points
True (*)
False
[Correct] Correct
3. In Greenfoot, you can only interact with the scenario
using a keyboard. Mark for Review
(1) Points
True
False (*)
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 95/102
5/26/2018 Kunci Jawaban All Quiz Oracle Academy Java Fundamental 2017 Part 11 - DS Sanjaya
15. In Greenfoot, what happens if the end to a while loop
isn't established? Mark for Review
(1) Points
The code will prompt you to enter a loop counter.
The code will execute once and then stop, due to controls in
Greenfoot.
The code will not execute.
The code will keep executing and will never stop. (*)
[Incorrect] Incorrect. Refer to Section 3 Lesson 10.
GOOGLE FACEBOOK
Emoticon
https://dssanjaya.blogspot.co.id/2017/12/kunci-jawaban-all-quiz-oracle-academy_32.html 102/102