Deck 6: Methods, Functions, and More About Variables

ملء الشاشة (f)
exit full mode
سؤال
What is the term for a method that is written by programmers as needed?

A) Dummy
B) Custom
C) Designer
D) Variable
E) None of these
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The practice of writing a method to perform a single task and then calling that method whenever you need to perform that task is called:

A) Code reuse
B) Divide and conquer
C) Inheritance
D) Parameter
E) None of these
سؤال
Which of the following is used to create a variable in a class-level function?

A) Create new parameter button in the Method Editor
B) Create new variable button in the Method Editor
C) Create new variable button in the Details Panel
D) Create new method button in the Details Panel
E) None of these
سؤال
Additional properties can be added to an object by creating class-level variables.
سؤال
If a class does not provide a method that you need, you can write your own custom method for an object of that class.
سؤال
Which of the following are available from a class-level method?

A) Class-level function associated with the same class
B) Class-level method associated with a different class
C) Class-level variable associated with a different class
D) All of the above
E) None of these
سؤال
Which of the following properties is used to turn on the fog effect.

A) fogDensity
B) fogStyle
C) makeFog
D) fogOn
E) None of these
سؤال
Which of the following is used to keep two objects together so they move as one?

A) Billboard
B) Dummy
C) Pose
D) Vehicle property
E) None of these
سؤال
The strategy that is used to break a problem down into smaller pieces that can be more easily handled is called:

A) Code reuse
B) Divide and conquer
C) Inheritance
D) Parameter
E) None of these
سؤال
Which of the following are available from a world-level method?

A) Class-level function
B) Class-level method
C) World-level variable
D) All of the above
E) None of these
سؤال
Which of the following is used to create a variable in a class-level method?

A) Create new parameter button in the Method Editor
B) Create new variable button in the Method Editor
C) Create new variable button in the Details Panel
D) Create new method button in the Details Panel
E) None of these
سؤال
Which of the following is used to create a class-level variable?

A) Create new parameter button in the Method Editor
B) Create new variable button in the Method Editor
C) Create new variable button in the Details Panel
D) Create new method button in the Details Panel
E) None of these
سؤال
Which of the following can be created by a programmer?

A) Class-level function
B) World-level function
C) World-level method
D) All of the above
E) None of these
سؤال
What is the term used to specify that a class that is based on a prior class has access to the methods and properties of that other class?

A) Code reuse
B) Divide and conquer
C) Inheritance
D) Parameter
E) None of these
سؤال
Which of the following is used to return an object to a physical arrangement that was previously saved?

A) Billboard
B) Dummy
C) Pose
D) Vehicle
E) None of these
سؤال
Which of the following is used to insert images into a world?

A) Billboard
B) Dummy
C) Pose
D) Vehicle
E) None of these
سؤال
When you create a custom method for an object, it is automatically added to that object's class.
سؤال
The parameter of a custom method cannot be an object.
سؤال
Because properties are variables that belong to objects, they are referred to as:
a.
Property variables
b.
World-level variables
c.
Object variables
d.
Class-level variables
e.
None of these
سؤال
Which of the following is used to move the camera to different locations around the world?

A) Billboard
B) Dummy
C) Pose
D) Vehicle
E) None of these
سؤال
Inheritance allows programmers to reuse code.
سؤال
A method can accept ___________________, which allow data to be passed into the method when it is called.
سؤال
While custom class-level methods can be created, it is not possible to create a custom class-level function.
سؤال
A(n) ___________________ is used to insert images into a world.
سؤال
The ___________________button in the Method Editor is used to add a parameter to a custom method.
سؤال
The ___________________ strategy is used to break a problem down into smaller pieces that can be more easily handled.
سؤال
Writing a method to perform a single task and then calling that method whenever you need to perform that task is called ___________________.
سؤال
A(n) ___________________ is a special variable that holds the argument being passed into a method.
سؤال
The two world properties, fogStyle and fogDensity, are used to create a fog effect.
سؤال
World-level variables are available to all world-level methods.
سؤال
Class-level variables are available only in the method in which they were created.
سؤال
Class-level ___________________ are used to add additional properties to an object.
سؤال
The method, my first method, which is automatically created, is a(n) __________________-level method.
سؤال
Once you create a parameter in a method, an argument will be required anytime the method is called.
سؤال
There can only be one custom world-level method.
سؤال
The easiest way to keep two objects together so they move as one is to use the ___________________ property.
سؤال
A(n) ___________________ method is written by the programmer as needed.
سؤال
Class-level methods should not refer to objects in other classes.
سؤال
A method that performs a complex task should be broken down into several smaller methods.
سؤال
There is no easy way to make one object turn around another object.
سؤال
The ___________________ method is used to point the camera at an object.
سؤال
The ___________________ argument is used to have one object circle around another object.
سؤال
The camera will follow an object around if you set its ___________________ property to that object.
سؤال
A captured ___________________ is used to cause an object to return to a physical arrangement that was previously saved.
سؤال
___________________ objects are used to easily move the camera to different locations.
سؤال
To take an object as an argument you have to create a(n)___________________ parameter.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/46
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 6: Methods, Functions, and More About Variables
1
What is the term for a method that is written by programmers as needed?

A) Dummy
B) Custom
C) Designer
D) Variable
E) None of these
B
2
The practice of writing a method to perform a single task and then calling that method whenever you need to perform that task is called:

A) Code reuse
B) Divide and conquer
C) Inheritance
D) Parameter
E) None of these
A
3
Which of the following is used to create a variable in a class-level function?

A) Create new parameter button in the Method Editor
B) Create new variable button in the Method Editor
C) Create new variable button in the Details Panel
D) Create new method button in the Details Panel
E) None of these
B
4
Additional properties can be added to an object by creating class-level variables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
5
If a class does not provide a method that you need, you can write your own custom method for an object of that class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which of the following are available from a class-level method?

A) Class-level function associated with the same class
B) Class-level method associated with a different class
C) Class-level variable associated with a different class
D) All of the above
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following properties is used to turn on the fog effect.

A) fogDensity
B) fogStyle
C) makeFog
D) fogOn
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following is used to keep two objects together so they move as one?

A) Billboard
B) Dummy
C) Pose
D) Vehicle property
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
9
The strategy that is used to break a problem down into smaller pieces that can be more easily handled is called:

A) Code reuse
B) Divide and conquer
C) Inheritance
D) Parameter
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which of the following are available from a world-level method?

A) Class-level function
B) Class-level method
C) World-level variable
D) All of the above
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following is used to create a variable in a class-level method?

A) Create new parameter button in the Method Editor
B) Create new variable button in the Method Editor
C) Create new variable button in the Details Panel
D) Create new method button in the Details Panel
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which of the following is used to create a class-level variable?

A) Create new parameter button in the Method Editor
B) Create new variable button in the Method Editor
C) Create new variable button in the Details Panel
D) Create new method button in the Details Panel
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the following can be created by a programmer?

A) Class-level function
B) World-level function
C) World-level method
D) All of the above
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
14
What is the term used to specify that a class that is based on a prior class has access to the methods and properties of that other class?

A) Code reuse
B) Divide and conquer
C) Inheritance
D) Parameter
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following is used to return an object to a physical arrangement that was previously saved?

A) Billboard
B) Dummy
C) Pose
D) Vehicle
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which of the following is used to insert images into a world?

A) Billboard
B) Dummy
C) Pose
D) Vehicle
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
17
When you create a custom method for an object, it is automatically added to that object's class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
18
The parameter of a custom method cannot be an object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
19
Because properties are variables that belong to objects, they are referred to as:
a.
Property variables
b.
World-level variables
c.
Object variables
d.
Class-level variables
e.
None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following is used to move the camera to different locations around the world?

A) Billboard
B) Dummy
C) Pose
D) Vehicle
E) None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
21
Inheritance allows programmers to reuse code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
22
A method can accept ___________________, which allow data to be passed into the method when it is called.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
23
While custom class-level methods can be created, it is not possible to create a custom class-level function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
24
A(n) ___________________ is used to insert images into a world.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
25
The ___________________button in the Method Editor is used to add a parameter to a custom method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
26
The ___________________ strategy is used to break a problem down into smaller pieces that can be more easily handled.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
27
Writing a method to perform a single task and then calling that method whenever you need to perform that task is called ___________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
28
A(n) ___________________ is a special variable that holds the argument being passed into a method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
29
The two world properties, fogStyle and fogDensity, are used to create a fog effect.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
30
World-level variables are available to all world-level methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
31
Class-level variables are available only in the method in which they were created.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
32
Class-level ___________________ are used to add additional properties to an object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
33
The method, my first method, which is automatically created, is a(n) __________________-level method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
34
Once you create a parameter in a method, an argument will be required anytime the method is called.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
35
There can only be one custom world-level method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
36
The easiest way to keep two objects together so they move as one is to use the ___________________ property.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
37
A(n) ___________________ method is written by the programmer as needed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
38
Class-level methods should not refer to objects in other classes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
39
A method that performs a complex task should be broken down into several smaller methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
40
There is no easy way to make one object turn around another object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
41
The ___________________ method is used to point the camera at an object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
42
The ___________________ argument is used to have one object circle around another object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
43
The camera will follow an object around if you set its ___________________ property to that object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
44
A captured ___________________ is used to cause an object to return to a physical arrangement that was previously saved.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
45
___________________ objects are used to easily move the camera to different locations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
46
To take an object as an argument you have to create a(n)___________________ parameter.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 46 في هذه المجموعة.