NEW
Font size
S
M
L
XL
WorksheetsVEX Global Variables and Channels 2
Total questions: 10
Worksheet time: 8mins
Name
Class
Date
1.
What is a channel in VEX?
a)
A global variable
b)
A reference to a parameter
c)
A function
d)
A rendering attribute
2.
How do you create an integer custom parameter in VEX?
a)
Using ch()
b)
Using chi()
c)
Using chf()
d)
Using chp()
3.
Which global variable provides the total number of primitives?
a)
P
b)
@primnum
c)
numprim
d)
@numprim
4.
What is the correct syntax to create a slider parameter in VEX?
a)
Using the slider() function
b)
Creating a channel reference in ch()
c)
Defining a custom UI
d)
Linking a global variable
5.
What is the difference between a custom parameter and a global variable?
a)
Custom parameters are predefined
b)
Global variables are user-defined
c)
Custom parameters are user-defined, global variables are predefined
d)
Both are the same
6.
How do you modify the value of a custom parameter in VEX?
a)
By redefining it
b)
By using the ch() function
c)
By using a Python script
d)
By accessing it in a SOP
7.
Which of these is a global variable for velocity?
a)
@P
b)
@Cd
c)
@v
d)
@N
8.
Can global variables be overwritten in VEX?
a)
Yes, directly
b)
No, they are read-only
c)
Only in specific contexts
d)
By using custom parameters
9.
What does the chramp() function do in VEX?
a)
Creates a ramp parameter
b)
Accesses global variables
c)
Defines a channel
d)
Modifies point attributes
10.
How do you access a custom parameter for an integer array in VEX?
a)
chi()
b)
ch() with an array parameter
c)
chiv()
d)
chiarray()
Reset
