Exam 3: Using Variables and Constants
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
The ControlChars.NewLine constant instructs the computer to ____.
(Multiple Choice)
4.7/5
(28)
Which of the following statements formats the contents of the dblPay variable with a dollar sign and no decimal places?
(Multiple Choice)
4.8/5
(39)
Case 1 - PetPals
You have been hired by PetPals Veterinary Clinic to modify an application. The application is used to enter and save all patient (pet) information obtained during an office visit.
-The pet's temperature is recorded at every visit,and it may contain a decimal place.What data type is best for storing this data?
(Multiple Choice)
4.9/5
(34)
A variable that was not assigned a specific data type is assigned the ____ data type.
(Multiple Choice)
4.7/5
(41)
Which of the following statements declares a Double variable named dblAverage?
(Multiple Choice)
4.9/5
(31)
What is a static variable? How is it different from a class-level variable?
(Essay)
4.9/5
(39)
Case 1 - PetPals
You have been hired by PetPals Veterinary Clinic to modify an application. The application is used to enter and save all patient (pet) information obtained during an office visit.
-The data entered by the users is currently stored in properties of controls of the form.Your first task to improve the application is to ____.
(Multiple Choice)
4.8/5
(41)
Case 1 - PetPals
You have been hired by PetPals Veterinary Clinic to modify an application. The application is used to enter and save all patient (pet) information obtained during an office visit.
-To simplify the coding of the InputBox function,the prompt and the title for the InputBox can be declared as ____ because they will not change while the application runs.
(Multiple Choice)
4.7/5
(24)
Instead of storing data in the properties of various controls,programmers can create ____,which are memory locations inside the computer,to store data.
(Multiple Choice)
4.8/5
(36)
You can eliminate the problems that occur as a result of implicit type conversions by entering the Option Explicit On statement in the General Declarations section of the Code Editor window.
(True/False)
4.9/5
(34)
If Option Strict is set to On,which of the following statements will assign the contents of the txtLateFee control to a Decimal variable named decLateFee?
(Multiple Choice)
4.9/5
(38)
The decRate variable contains the number .03.Write the assignment statement to display the value as 3% in the lblRate control.
(Short Answer)
4.8/5
(33)
Specifying the number of decimal places and the special characters to display in a number is called ____.
(Multiple Choice)
4.8/5
(33)
The Decimal,Double,and Single variable data types can all store what type of numeric data? Explain the differences among these three data types and problems that can occur with their use.
(Essay)
4.8/5
(36)
Calculations involving Decimal variables are not subject to the small rounding errors that may occur when using Double or Single variables.
(True/False)
4.9/5
(33)
A form's CancelButton property specifies the button whose Click event procedure is processed when the user presses the ____ key.
(Multiple Choice)
4.8/5
(29)
Which of the following can store a number containing a decimal place?
(Multiple Choice)
4.9/5
(41)
Which of the following statements subtracts the contents of the intNum1 variable from the contents of the intNum2 variable,and then multiples the difference by 3? The result is assigned to the intResult variable.
(Multiple Choice)
4.8/5
(39)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)