Exam 6: Methods, Functions, and More About Variables
Exam 1: Introduction to Alice and Objects52 Questions
Exam 2: Programming in Alice48 Questions
Exam 3: Variables, Functions, Math, and Strings46 Questions
Exam 4: Decision Structures30 Questions
Exam 5: Repetition Structures20 Questions
Exam 6: Methods, Functions, and More About Variables46 Questions
Exam 7: Events46 Questions
Exam 8: Lists and Arrays48 Questions
Exam 9: Recursion28 Questions
Select questions type
Inheritance allows programmers to reuse code.
Free
(True/False)
4.9/5
(43)
Correct Answer:
True
Class-level variables are available only in the method in which they were created.
Free
(True/False)
4.8/5
(39)
Correct Answer:
False
The parameter of a custom method cannot be an object.
Free
(True/False)
4.8/5
(44)
Correct Answer:
False
Which of the following is used to insert images into a world?
(Multiple Choice)
4.8/5
(41)
A captured ___________________ is used to cause an object to return to a physical arrangement that was previously saved.
(Short Answer)
4.7/5
(35)
The ___________________button in the Method Editor is used to add a parameter to a custom method.
(Short Answer)
4.9/5
(39)
Additional properties can be added to an object by creating class-level variables.
(True/False)
4.9/5
(33)
A method can accept ___________________, which allow data to be passed into the method when it is called.
(Short Answer)
4.8/5
(26)
When you create a custom method for an object, it is automatically added to that object's class.
(True/False)
4.7/5
(28)
Writing a method to perform a single task and then calling that method whenever you need to perform that task is called ___________________.
(Short Answer)
4.9/5
(34)
What is the term for a method that is written by programmers as needed?
(Multiple Choice)
4.7/5
(43)
Because properties are variables that belong to objects, they are referred to as:
(Multiple Choice)
4.9/5
(39)
To take an object as an argument you have to create a(n)___________________ parameter.
(Short Answer)
5.0/5
(36)
The camera will follow an object around if you set its ___________________ property to that object.
(Short Answer)
4.8/5
(36)
Which of the following are available from a class-level method?
(Multiple Choice)
5.0/5
(35)
Class-level ___________________ are used to add additional properties to an object.
(Short Answer)
4.8/5
(45)
The two world properties, fogStyle and fogDensity, are used to create a fog effect.
(True/False)
4.8/5
(30)
The strategy that is used to break a problem down into smaller pieces that can be more easily handled is called:
(Multiple Choice)
4.9/5
(37)
Once you create a parameter in a method, an argument will be required anytime the method is called.
(True/False)
4.8/5
(39)
Showing 1 - 20 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)