In VB, A . . . . . . . . returns a value and a Sub Procedure does not return a value.

function procedure
sub procedure
mdi
sdi

The correct answer is A. Function Procedure.

A function procedure is a type of procedure that returns a value. It is defined using the Function keyword, followed by the name of the function, the data type of the value that it returns, and a list of parameters. The body of the function is enclosed in curly braces.

A sub procedure is a type of procedure that does not return a value. It is defined using the Sub keyword, followed by the name of the sub procedure and a list of parameters. The body of the sub procedure is enclosed in curly braces.

MDI and SDI are not types of procedures. MDI stands for Multiple Document Interface, and SDI stands for Single Document Interface. They are two different ways of organizing windows in a Windows application.

Here is an example of a function procedure:

Function Add(x As Integer, y As Integer) As Integer
Add = x + y
End Function

This function takes two integers as input and returns their sum.

Here is an example of a sub procedure:

Sub DisplayMessage()
MsgBox "Hello, world!"
End Sub

This sub procedure displays the message “Hello, world!” in a message box.