villafranchise.blogg.se

Greenfoot programming
Greenfoot programming








greenfoot programming

My program is complete when it runs and I've tested the code. My program is complete when I add music to it. My program is complete when I add images to it. From your Greenfoot lessons, Which of the following statements is most correct? Mark for Review A subclass has what kind of relationship to a superclass? Mark for Reviewġ1.

greenfoot programming

(*)Ī single person is a superclass of the human subclass.ġ0.

greenfoot programming

Which of the following demonstrates a Greenfoot subclass/superclass relationship? Mark for ReviewĪ dog is a subclass of the cat superclass.Ī computer is a subclass of a video game superclass.Ī rose is a subclass of the flower superclass. From your Greenfoot lessons, which of the following is not a step to creating a new subclass? Mark for Review From your Greenfoot lessons, where do you review a class's inherited methods? Mark for Reviewħ. In Greenfoot, which of the following methods display an object's orientation? Mark for Review When the Act button is clicked in the environment, the methods in the method body of the act method are executed. In Greenfoot, methods can be called in the act method.

#GREENFOOT PROGRAMMING CODE#

In Greenfoot, the instance has a source code editor. In Greenfoot, the body of the method is located in between which of the following characters? Mark for Review In the Greenfoot IDE, an instance's position is on the x and y coordinates. Proximity, size, spatial relation, and point of view. From your Alice lessons, built-in functions provide precise property details for the following areas: Mark for Review In Alice, when using the getDistanceTo function what menu option would you use to subtract a set value from the distance? Mark for Review In Alice, when two objects are synchronized and move together, this means that one object is: Mark for Reviewġ4. In Alice, a walking motion for a bipedal object can be achieved without the Do Together control statement. How do you view the results of procedures entered in the Alice code editor? Mark for Review Rings will appear around a sub-part indicating how you can reposition it. Which handle style would be used to rotate an object's sub-part about the x, y, and z axes? Mark for Review (*)Ī move procedure is nested inside of a turn procedure.ĭistance, duration, and direction arguments are nested inside of a procedure.ĩ. Text is nested inside of a comments tile.įive Do Together statements are nested inside of a Do In Order statement. Which of the following is an example of nesting in an Alice program? Mark for Review Which Alice control statement executes a set of procedures simultaneously? Mark for Review The Alice move procedure contains which arguments? Mark for Reviewħ. The say procedure in Alice plays an audio file. The code entered in the class's procedure in the procedures tab.

greenfoot programming

The code entered in myMethod in the Code editor. The code entered in myFirstMethod in the Code editor. The one-shot procedures selected in the Scene editor. In an Alice program, which code is executed when the Run button is clicked? Mark for Review In Alice, when a new procedure is declared, all subclasses of the superclass will inherit the procedure. The pajamaFish class, clownFish class, and Swimmer class In Alice, if a procedure is declared for a clownFish class, which classes can use the procedure? Mark for Review Defining the scenario, and the Alice animation to represent the scenario, is the first step to programming your animation. 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? Mark for Review Which of the following Greenfoot logic operators represents "not"? Mark for Reviewġ5. In Greenfoot, which of the following statements could prevent an infinite loop from occurring? Mark for Review In Greenfoot modifying an actors constructor to accept an initial speed is a form of abstraction? Mark for Reviewġ3. When you take an Object of one particular type and turn it into another Object type. Writing more generic statements to handle the creation and positioning of many objects is one Abstraction technique? Mark for Reviewġ1. In Greenfoot, constructors can be used to create new instances of objects. What is the result of the following code?ĩ. If a value has been assigned to (is stored in) a variable, that value will be overwritten when another value is assigned to the variable using the assignment "=" operator. In Alice, which of the following programming statements moves the cat forward the distance to the bird? Mark for Review Identify an example of an Alice expression. A conditional loop is a loop that will continue forever. The Alice If control structure requires the false statement to be populated.










Greenfoot programming