Exam 3: Using Variables and Constants

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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.7/5
(33)

The ControlChars.NewLine constant instructs the computer to ____.

(Multiple Choice)
4.8/5
(33)

A default button is identified by setting the form's ____ property.

(Multiple Choice)
4.7/5
(30)

A procedure in an application needs to store tax rate data.The county of residence and the tax rate need to be stored.Write the appropriate Dim statements to declare the variables.Write an assignment statement that assigns .08 to the tax rate variable.

(Essay)
4.7/5
(29)

Object and String variables are automatically initialized using ____.

(Multiple Choice)
4.8/5
(24)

A variable declared in the Declaration section of a form is called a procedure-level variable.

(True/False)
4.8/5
(32)

Which of the following statements formats the contents of the dblPay variable with a dollar sign and no decimal places? Which of the following statements formats the contents of the dblPay variable with a dollar sign and no decimal places?

(Not Answered)
This question doesn't have any answer yet
Ask our community

Spaces are allowed in variable names.

(True/False)
4.8/5
(29)

What is a static variable? How is it different from a class-level variable?

(Essay)
4.9/5
(40)

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.9/5
(45)

Data types and classes are not related to each other.

(True/False)
4.8/5
(30)

A local gym needs an application to apply a 10% discount for all new members who present a coupon during enrollment.Write the statements to declare a variable to record if a customer has a coupon,and to assign the discount rate.The discount rate will not change while the application is running.

(Essay)
4.8/5
(30)

The ____ clause in an event procedure's header indicates the object and event associated with the procedure.

(Multiple Choice)
4.8/5
(36)

Date variables are automatically set to which value when created?

(Multiple Choice)
4.8/5
(39)

A procedure in an application needs to store student data.The student first name,student last name,student GPA,and whether or not the student is registered all need to be stored.Write the appropriate Dim statements to declare the variables.Make sure to use appropriate naming conventions.

(Essay)
4.8/5
(41)

The decBalance variable contains the number 1368.52.Write the assignment statement to display the value with a dollar sign,a thousands separator,and two decimal places in the lblBalance control.

(Essay)
4.9/5
(40)

Which of the following can store a number containing a decimal place?

(Multiple Choice)
4.8/5
(37)

A procedure in an application needs to store data used to calculate the total price of purchasing tires.The price of the tires will contain a decimal place.The number of tires will always be a whole number.Write the appropriate Dim statements to declare the variables.Make sure to use appropriate naming conventions.

(Essay)
4.8/5
(34)

When a button is selected,the computer processes the code contained in the button's ____ event procedure.

(Multiple Choice)
4.8/5
(35)

Which of the following statements declares a class-level variable?

(Multiple Choice)
4.9/5
(32)
Showing 21 - 40 of 58
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)