What is a variable? Write a variable declaration for an Integer variable named i
ID: 3797083 • Letter: W
Question
What is a variable? Write a variable declaration for an Integer variable named intUnitsSold. Which of the following variable names are written with the convention used in this book? a. decintrestrate b. InterestRateDecimal c. decInterestRate Indicate whether each of the following is a legal variable name. If it is not, explain why. a. count b. rate Pay c. deposit amount d. down_payment What default value is assigned to each of the following variables? a. Integer b. Double c. Boolean d. Byte e. Date Write a Date literal for the following date and time: 5:35:00 PM on February 20, 2017. Find out which famous Microsoft programmer was launched into space in 2007. Was this programmer connected in any way to Visual Basic?Explanation / Answer
3.5 a variable is nothing but a name given to a storage area that the program can manipulate. Each variable in visual basic.Net has a specific type,which determines the size and layout of the variable's memory;the range of values that can be stored within that memory ; adn the set of operations that can be applied to the variable
3.6
Dim intUnitsSold As Integer
3.7
c.decInterestRate
3.8
a.valid
b.valid
c.not valid as "." can't be used
d. valid
3.9
a)Integer - 0
b) double - 0
c)Boolean - False
d)Byte - 0
e)Date - 12:00 AM of January 1 of the year 1 (01/01/0001 12:00:00 AM)
3.11
VB.NET was launched by MIcrosoft in November 2007. Yes, it is related to Visual Basic
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.