John needs a variable to hold its value beyond its normal lifetime. What type of variable should he use?

Josie is writing a program and needs a variable that can be accessed from multiple event procedures. What scope of variable should she use?

Jayce wants to store the student name “Ellen” in a variable. Which data type should he use?

Using the statement below, what is the initial value of this variable? Dim intHours As Integer

Hugh declares a variable in the event procedure code for a button. What scope is this variable?

What value does the statement intWeight=Convert.toInt32(txtWeight.Text) return if the value keyed by the user was 47?

If you assign a number such as 3.768 to a double variable, what will be stored in the memory location?

Which data type is used to declare a variable that will store the value 0.113?

Which is written in Hungarian Notation?

The most appropriate data type for the word “Value” is:

Which method formats output as currency?

What is the correct code to create a message box from the following code? lblcost.Text= The cost of the product is: (deccost + dectax)

How do you declare a variable whose value cannot be changed after assignment?

The words “A Double data type should be always stored as a Double data type!” would be best stored in which data type?

Which data type is appropriate to store the number five (5)?

Susan declares a variable within an If statement. What is the scope of this variable?

What data type is returned from a text box control?

Kirk wants to declare a variable that holds its value beyond the normal lifetime. How should he declare it?

Variable names:

If you assign a number, such as 3.7, to an integer variable, what will be stored in the memory location?

Teachers: Create FREE classroom games with your questions Click for more info!
©2007-2024 Review Game Zone | About | Privacy | Contact | Terms | Site Map