![]() In Greenfoot, which method is used to add a new instance to a scenario when the world is initialized? Mark for ReviewĤ0. Which of the following answers have the correct syntax for declaring a class variable in Greenfoot? Mark for Reviewģ9. What type of parameter does the Greenfoot playSound method expect? Mark for Reviewģ7. In Greenfoot, a way to have all subclasses of a superclass inherit a method is by adding the method to the superclass. Which one of the following can be used to detect when 2 actors collide? Mark for Reviewģ5. In object oriented programming, programmers analyze a problem and create objects to solve the problem. Which of the following type of audience should you ask to play your Greenfoot game during the testing phase? Mark for Reviewģ3. In Greenfoot, what types of values cannot be stored in a local variable? Mark for Reviewģ2. In Greenfoot, a local variable is declared at the beginning of a class. In Greenfoot, which of the following statements could prevent an infinite loop from occurring? Mark for Reviewģ0. (*)Ĭompares two boolean values and returns a boolean value which is true if either one of the operands is true.Ĭompares two boolean variables or expressions and returns a result that is true if either of its operands are true.Ģ9. In the Greenfoot IDE, what does the AND operator (&) do? Mark for ReviewĬompares two boolean values, and returns a boolean value which is true if and only if one of its operands are true.Ĭompares two boolean values, and returns a boolean value which is true if and only if both of its operands are true. In Greenfoot you can only access the methods of the current class? Mark for ReviewĢ8. From your Greenfoot lessons, in an if-statement, the programming statements written in curly brackets are executed simultaneously. In Greenfoot, which of the following methods return the world that the instance lives in? Mark for ReviewĢ6. Alice 3 will periodically remind you to save your project. The list below displays valid primitive types in Java, except which one? Mark for ReviewĢ4. All are correct except which one? Mark for ReviewĪ place in memory where data of a specific type can be stored for later retrieval and use.Ģ3. Procedural abstraction may need to be implemented if an object in Alice needs to perform an action, but there isn't an inherited procedure that accomplishes that action. In Alice, when a new procedure is declared, all subclasses of the superclass will inherit the procedure. In Alice, what are the forms of a scenario? Mark for ReviewĢ0. In Alice, a walking motion for a bipedal object can be achieved without the Do Together control statement. In Alice, the procedures' arguments allow the programmer to adjust the object, motion, distance amount, and time duration. In Alice, Do In Order and Do Together: Mark for Reviewġ7. When you disable a programming instruction, it is still executed when you run the Alice animation. In Alice, which function is used to move an object directly to the center point of another object? Mark for Reviewġ5. In Alice, which of the following programming statements moves the butterfly forward, double the distance to the tree? Mark for Review In Alice, which of the following arguments could be replaced with a random number? Mark for Reviewġ2. What type of Alice listener object is required to target a mouse-click on any object in the scene, allowing the user to drag that object around the scene when the animation is running? Mark for ReviewĪddDefaultModelManipulation procedure (*)ġ1. (*)Īll of the procedures display in alphabetical order in the Procedures tab.Įvent listeners trigger the correct responses. Which of the following are examples of elements you would test in your Alice animation? Mark for Review From your Alice lessons, where on an object do an object's axes intersect? Mark for Reviewĩ. In Alice, the use of conditional control structures allows what two types of loops? Mark for ReviewĨ. 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? Mark for ReviewĬlasses must be defined directly within a method definition. When you create a new cat, what is it called? Mark for ReviewĦ. A cat can meow, purr, catch mice, and so on. From your Alice lessons, variables are fixed and cannot be changed. In Alice, you can access the Java on the side option through which menu option? Mark for ReviewĤ. ![]() In Alice, what tab would you choose to start a new animation with a pre-populated world? Mark for Reviewģ. Which of the following is not a type of event listener in Alice? Mark for ReviewĢ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |