adplus-dvertising
frame-decoration

Question

Declaring a variable tell the computer to allocate a memory space that can be accessed by the variable name. The size of the memory space depends on?

a.

Length of variable name

b.

Data type of the variable

c.

Location of variable in program

d.

Size of memory in computer

Posted under Visual Basic

Answer: (b).Data type of the variable

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Declaring a variable tell the computer to allocate a memory space that can be accessed by the variable name. The size of the memory space depends on?

Similar Questions

Discover Related MCQs

Q. ___________ data type can store any type of data.

Q. String data type can store from zero to ___________ Unicode characters.

Q. The range of Integer data type is ___________ to ___________

Q. The Char data type can store ___________

Q. The variable name is also termed as ___________

Q. An __________ statement is used to assign a value to an existing variable.

Q. A __________ is an item of data whose values do not change while the application is running.

Q. The data type of the value assigned should be same as __________

Q. The string literal are enclosed in __________

Q. While entering a numeric literal constant you need not enter a __________

Q. A __________ forces a literal constant to assume a data type other than the one its form indicates.

Q. A variable can store __________ value at a time.

Q. The __________ method converts a string to a number.

Q. If the tryparse method determines that the string cannot be converted to the data type, it assigns __________ to the variable.

Q. To covert a number from one data type to another, you use the __________

Q. A variable’s ____________ indicates where the variable can be used in an application code.

Q. A variable’s _______________ indicates how long the variable stays in the computer’s internal memory.

Q. Variables declared in a form’s declaration section have _____________ scope.

Q. Variable declared in a procedure have ______________ scope.

Q. Variables declared in a block have _____________ scope.