Q2.1 Java Fundamentals - Teacher - English

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

18/08/2016

JavaFundamentalsTeacherEnglish

Test:Section3Quiz2L6L10
Reviewyouranswers,feedback,andquestionscoresbelow.
Anasterisk(*)indicatesacorrectanswer.
Section3Quiz2L6L10
(Answerallquestionsinthissection)
1. IntheGreenfootIDE,anynew
methodsyoucreatearewrittenin
theclass'ssourcecode.Trueor
false?

MarkforReview
(1)Points

True(*)
False
Correct
2. InreferencetoGreenfoot,ifthe
followingmethodwasdefinedin
asuperclass,

MarkforReview
(1)Points

publicvoidturnAtEdge(){
...
}
allsubclassesofthesuperclass
willinheritthemethod.
Trueorfalse?
True(*)
False
Correct
3. Whichactormethodisusedto
detectasimplecollision?

MarkforReview
(1)Points

isTouching()(*)
hasTouched()
isInContactWith()
hasCollided()
isCollision()
Correct
4. InGreenfoot,thesoundfilemust
besavedinthescenarioand
writteninthesourcecodeforit
toplay.Trueorfalse?

MarkforReview
(1)Points

True(*)
False
Correct
5. InGreenfoot,whichmethod
wouldyouusetoobtaininput
fromtheuser?

MarkforReview
(1)Points

getInput()
input()
getText()
ask()(*)
Correct
Page1of3

Next

Summary

http://ilearning.oracle.com/ilearn/en/learner/jsp/player.jsp?rco_id=1691073437&classroom_id=1850068748&scorm_attempt=1471492138015&sessionId=29093

1/1

You might also like