Answer the following multiple choice questions by circling the correct answer. W
ID: 3787624 • Letter: A
Question
Answer the following multiple choice questions by circling the correct answer. Which statement is true about variable names in VB? The name can contain blanks. The name can begin with a digit, letter or underscore (_). The name can contain digits, letters, and/or the underscore (_). All statements a) - c) are true about variable names. Which line of code reads the name entered by the user in a text box named txtName and displays it in a label named IblPerson? Ibl Person = txtName txtName = IblPerson IblPerson.Text = txtName.Text txtName.Text = IblPerson.Text How should the fraction x + 2/3y be computed in VB? Assume all variables have been declared. z = x + 2/3y z = (x + 2)/3y z = (x + 2)/(3*y) Choices b) and c) are both correct. All choices a), b), and c) are correct. What is the result of the math expression: 2 + 10 * 9/3 What is the result of the math expression: 50/4 + 3 * 2 What value is in variable pay after the code executes? Dim pay As Double = 400 Dim rate As Double = 0.05 Dim sales as Double = 500.0 pay = pay + sales * rateExplanation / Answer
1)C
2) c
3) C
4) FIRST multiplication followed by devide last plus answer is 32.
5)16.25
6)425