Answer the following statements true (T) or false (F)

1. The value returned by a Function procedure must be a number or a string.
2. When the button is clicked on, the output of the following program will be
```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim x, y, result As Double
x = 3
y = 4
result = CInt((Norm(x, y)))
txtBox.Text = CStr(result)
End Sub
Function Norm(x As Double, y As Double) As Double
Return Math.Sqrt(x^2 + y^2)
End Function
```
3. Both the input and output of a Function procedure can consist of several values.
4. The input to a user-defined function can consist of one or more values.
5. The header of a Function procedure must include parameters.


1. F
2. T
3. F
4. T
5. F

Computer Science & Information Technology

You might also like to view...

What does the conversion rate of a web site measure? Give an example of “taking action” on an e-commerce site. What would be an example of taking action on a college admissions web site? Many students who are seeking employment will post their rŽsumŽs on their personal web sites. What would be an example of taking action in this case?

What will be an ideal response?

Computer Science & Information Technology

____ is the tendency of projected images to appear more like trapezoids than true rectangles.

A. LCD B. Keystoning C. Screen-door effect D. DLP

Computer Science & Information Technology

During the ________ function of the information processing cycle, data is manipulated and converted to information

A) storage B) output C) input D) process

Computer Science & Information Technology

A(n) ________ defines the range of data from a worksheet to print

Fill in the blank(s) with correct word

Computer Science & Information Technology