CLAD Homework 2 Questions

background image

CLAD Homework 2 Questions

1. Which of the following statements is NOT valid:

a. You can make a Cluster of Clusters.
b. You can make an Array of Arrays.
c. You can make a Cluster of Arrays.

d.

You can make an Array of Clusters.

2. What is the output of the Initialize Array function after the following code has

executed?

a. 1-D Array of {3, 3, 3, 3}
b. 1-D Array of {4, 4, 4}
c. 1-D Array of {3, 4}
d. 1-D Array of {4, 3}

3. What is the result in subarray after the following code has executed?

a. 1-D Array of {8, 5, 7}
b. 1-D Array of {10, 8, 5}
c. 1-D Array of {10, 8, 5, 7}
d. 1-D Array of {7, 10, 8, 5}

background image

4. The data type of a Ring can be any of the allowable data types, whereas the

numerical representation of the data type of an Enum can only be of unsigned
data type.

a. True
b. False

5. In the figure below, the output of Array Size is

a. 1D Array of {2, 3}
b. 1D Array of {3, 2}
c. 2
d. None of the above

6. What value is displayed in Result when the code executes?


a. A 1-D Array of {-25, 25, 50}
b. A 1-D Array of {-25, 25}
c. A 2-D Array of {{-25, -50, -50} , {50, 25, 25}}
d. A 1-D Array of {75, -50, 25}



background image

7. The function of a Cluster is to:

a. Group mixed data types into logical structures.
b. Present data on the Front Panel using charts or graphs.
c. Provide a means of differentiating between data types on the Block

Diagram.

d. Separate data objects by data type on the Front Panel.

8. You customize a control, select

‘Control’ from the Type Def. Status pull-down

menu, and save the control as a .ctl file. You then use an instance of the custom
control on your front panel window. If you open the .ctl file and modify the control,
does the control on the front panel window change?

a. Yes
b. No

9. A VI is storing employee data including name, social security number, and date

of birth. What data structure should be used to store the data?

a. Scalar
b. Array
c. Cluster
d. LabVIEW Class

10. A circle contains a radius, x and y positions, all doubles. The color, an integer,

may become important later. Which control should be used?

a. A type definition containing a cluster
b. Three separate controls for the two positions and the radius
c. An array with three elements
d. A cluster containing all of the data


Wyszukiwarka

Podobne podstrony:
CLAD Homework 6 Questions
CLAD Homework 5 Questions
CLAD Homework 3 Questions
CLAD Homework 1 Questions
CLAD Homework 4 Questions
CLAD Homework 1 Solutions
CLAD Homework 4 Solutions
CLAD Homework 5 Solutions
CLAD Homework 3 Solutions
CLAD Homework 6 Solutions
CLAD Homework 2 Solutions

więcej podobnych podstron