Exam 7: Sub and Function Procedures
Exam 1: An Introduction to Visual Basic 201544 Questions
Exam 2: Designing Applications60 Questions
Exam 3: Using Variables and Constants60 Questions
Exam 4: The Selection Structure60 Questions
Exam 5: More on the Selection Structure58 Questions
Exam 6: The Repetition Structure60 Questions
Exam 7: Sub and Function Procedures60 Questions
Exam 8: String Manipulation60 Questions
Exam 9: Arrays60 Questions
Exam 10: Structures and Sequential Access Files60 Questions
Exam 11: Classes and Objects60 Questions
Exam 12: Web Applications60 Questions
Exam 13: Working With Access Databases and Linq60 Questions
Exam 14: Access Databases and SQL60 Questions
Select questions type
What is a combo box? List the three styles of combo boxes available in Visual Basic.
(Essay)
4.8/5
(32)
Which of the following statements will determine the number of items in the list portion of the Department combo box?
(Multiple Choice)
4.8/5
(28)
Which of the following is a valid header for a procedure that receives the address of a string variable and the address of an integer?
(Multiple Choice)
4.7/5
(30)
You pass a variable ____ when the receiving procedure needs to know the variable's contents,but the receiving procedure does not need to change the contents.
(Multiple Choice)
4.8/5
(36)
When you pass a variable ____,the computer passes only the contents of the variable to the receiving procedure.
(Multiple Choice)
4.8/5
(34)
What is the Math.Round function? Provide the function's syntax and define the arguments.
(Essay)
4.8/5
(38)
As you do with list boxes,you use the Items collection's ____ method to add an item to a combo box.
(Multiple Choice)
4.8/5
(35)
If the digits argument is omitted,the Math.Round function returns a(n)____.
(Multiple Choice)
5.0/5
(26)
An independent Sub procedure can contain one or more ____ in its procedure header that have procedure scope and store an item of data.
(Multiple Choice)
4.8/5
(25)
In most cases,the last statement within a function is the ____ expression.
(Multiple Choice)
4.7/5
(28)
An independent Sub procedure is a procedure that is independent of any object and event.
(True/False)
4.9/5
(42)
Write the code for a function named CalculateBonus.The function receives two decimal variables representing the salary and bonus rate.The function should calculate the bonus amount by multiplying the salary by the bonus rate,and then return the result.Then write the appropriate statement to invoke the function,passing it the decSalary and decRate variables.Assign the function's return value to the decBonus variable.
(Essay)
4.8/5
(40)
When will the TextChanged event occur for a combo box? Which style allows the user to edit the text of the combo box?
(Essay)
5.0/5
(40)
To sort the items in the list portion of a combo box,you use the combo box's ____ property.
(Multiple Choice)
4.8/5
(34)
You can determine whether a variable is being passed by value or by reference by looking at the Call statement.
(True/False)
4.9/5
(33)
Showing 21 - 40 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)