1/9/2024 0 Comments Greenfoot olympiaFrom your Greenfoot lessons, which type of constructor can be used to automate creation of Actor instances?Ģ8. Greenfoot lessons, instances do not have any memory. OrientTo( ) turnAround( ) move ( ) turn( ) (*) Correct From your 26. What type of Greenfoot method would be used to turn an object? In the computer network In the Greenfoot image gallery In the Scene editor In the documentation (*) Incorrect. From the Greenfoot IDE, where are inherited methods located? Methods Classes Integers (*) Scenarios CorrectĢ4. From your Greenfoot lessons, which of the following is an example of a type of data passed through a parameter? Section 3 (Answer all questions in this section) 23. This.Cat move Forward this.Cat getDistanceTo ee - 2.0 this.Cat move Forward this.Cat getDistanceTo ee / 2.0 this.Cat move Forward this.Cat getDistanceTo ee * 2.0 (*) this.Cat move forward this.Cat getDistanceTo ee + 2.0 Correct From your Alice lessons, which programming instruction represents the following movement: A cat moves forward double (or twice) the distance to the tree. The move procedure in Alice moves an object in how many different possible directions?ġ 4 3 6 (*) Correct 22. The following are examples of what in Java? boolean bite char short int long float double Types (*) Expressions Variables Which of the following does not describe variables?Ī place in memory where data of a specific type can be stored for later retrieval and use. In Alice, the setVehicle procedure will associate one object to another. In Alice, Do In Order and Do Together:Īre move statements Are control statements (*) Are complex statements None of the above Correct 18. (Choose all correct answers) A biped object walking. Which of the following actions would require a control statement to control animation timing? Defining the scenario, and the Alice animation to represent the scenario, is the first step to programming your animation. (Choose all correct answers) Actual Textual (*) Factual Visual (*) Fictional Incorrect. From your Alice lessons, which of the following are types of storyboards? In Alice, procedural abstraction is the concept of making code easier to understand and reuse. Java does not permit nesting one method definition within another method's definition. ![]() The order in which methods are listed within the class is not important. (*) Methods whose return type is not void are required to include a return statement specifying what to return. Which of the following statements about methods is false?Ĭlasses must be defined directly within a method definition. While loop if (*) array boolean Correct 12. When you want specific code to be executed only if certain conditions are met, what type of Java construct would you use? From your Alice lessons, animations should be tested by the programmer before they are considered complete. From your Alice lessons, functional decomposition is the process of taking a complex problem or process and growing it into larger parts that are easier to manage. (Choose all correct answers) x (*) y (*) z (*) w All of the above Correctĩ. All objects in Alice have three dimensional coordinates on which axes? The Alice IF control structure requires the false statement to be populated. Infinite loop Gallery Procedure (*) Scene Correct 7. ![]() From your Alice lessons, complete the following sentence: When coded, an event triggers a _. "I feel happy." If or Where 3x3=9 (*) None of the above Correct 6. Identify an example of an Alice expression. In Alice, which of the following programming statements moves the fish forward, the distance to the rock, minus the depth of the rock? A variable is a named location inside the computer's memory once there, the information can be retrieved and changed. Which of the following is not an Alice variable value type?Ĭolor Decimal Number Whole Number Function (*) Incorrect. From your Alice lessons, random numbers are numbers generated by the user with a pattern in their sequence. Section 2 (Answer all questions in this section) 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |