![]() When the end to the act method isn't established. When the end to the code isn't established. ![]() From your Greenfoot lessons, when do infinite loops occur? In Greenfoot modifying an actors constructor to accept an initial speed is a form of abstraction? (*) Adding a property to a Class Incorrect. 11.From your Greenfoot lessons, which one of the following is an example of when an abstraction technique is used?Īdding a property to an instance Initialising a variable Passing a paramater in a constructor to set an initial speed. In Greenfoot, you can cast an Actor class to a World class? In Greenfoot, which method is used to end a game?ĭuke.stop( ) Game.stop(1) Greenfoot.stop( ) (*) Class.stop( ) Correctġ0. The GreenfootImage class enables Greenfoot actors to maintain their visible image by holding an object of type GreenfootImage. In Greenfoot, the = operator is used to test if two values are equal. True (*) False Correct 5.In Greenfoot when you use the method to retrieve input from the user, the scenario will continue to run in the background?įalse (*) Correct 6.In Greenfoot, you can only interact with the scenario using a keyboard. True (*) False Correct 4.In Greenfoot, the sound file must be saved in the scenario and written in the source code for it to play. 3.In Greenfoot, a way to have all subclasses of a superclass inherit a method is by adding the method to the superclass. HasCollided() hasTouched() isCollision() isInContactWith() isTouching() (*) Incorrect. True (*) False Correct 2.Which actor method is used to detect a simple collision? ![]() ![]() Section 3 - Quiz 2 L6-L10 (Answer all questions in this section) 1.In Greenfoot a collision is when 2 actors touch? ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |