EU 110 4. 5. Which of the following is an invalid name for a variable? a. db 18%Rate c. strName b. decCost d. None of the above The expression intNum * intNumintNum is equivalent to which of the following expressions? a. intNum 13 c. intNum ^2 * intNum b. intNum * 3 d. Both a and c. What is the result of the following expression: 3.512 + 30/5? a. 7.5 c. 13.5 b. 13 d. None of the above. Which of the following is a computer memory location whose value does not change during run time? a. literal c. static constant b. named constant d. variable 8. Which of the following statements declares a procedure-level variable that remains in the computer's memory until the application ends? a. Dim Static intScore As Integer b. Private Static intScore As Integer c. Static intScore As Integer d. Both band c. Which of the following can be used to clear the text contained in the lbl Tax control? a. 1b1Tax - String. Empty c. 1b Tax.Clear Text b. 1b1Tax.Text - String. Empty d . lblTax.Text.Clear 10 PRO 11. Which of the following statements declares a class-level variable? Class intNum As Integer b. Private intNum As Integer c. Private Class intNum As Integer d. Private Dim intNum As Integer Which of the following declares a procedure-level String variable? a. Dim String strCity c. Private strity As String b. Dim strci ty As String d. Both b and c. When entered in the txtName_Enter procedure, which of the following will select all of the text box's existing text? a. txtName.Selectanto c. SelectAllo.txtName b. txtName.SelectAllTexto d. None of the above. 12. 13. Option Strict is set to On, which of the following statements will assign the contents of the txtSales control to a Double variable named db Sales? a db 1Sales - txtSales.Text b db1Sales - txt sales.Text.Convert.ToDouble c Double.TryParse(txt Sales.Text. db1Sales) d. TryParse, Double(txtSales.Text, db1Sales) Which of the following declares a named constant having the Double data typu a. Const db RATE AS Double - 0.09 b. Const db RATE As Double c. Constant dbTRATE - 0.09 d. Both a and b. 15 Option Strict is set to On, which of the following statements assigns the sum of two Integer variables to the Text property of the lbl Total control? a. 161Total.Text (intNi + intN2).ToString b. 161Total. Text = TENI.ToString + intN2.ToString c1b1Total. TextintNl + intN2.ToString d. 1b1Total. Text - ToString(intNi . intN2) Which of the following statements prevents data loss due to implicit type conversions? a: Option Convert off ul. Option Implicit off b. Option Explicit On d. Option Strict on A static variable has the same cedure-level variable but the same class-level variable. a lifetime, scope b. scope, lifetime 16 Ir the decPay variable contains the number 1200.76, which of the following statements displays the number as 1,200.76? a. lblPay.Text = decPay.ToString("N2") Sb. 161Pay.Text = decPay.ToString("F2") c. lblPay Text - decPay.ToString("02") d 1b1Pay. Text - decPay.ToString("c2") 19. Which of the following statements declares a procedure-level variable that is removed from the computer's memory when the procedure ends? Const int Counter As Integer Local intCounter As Integer b. Din intCounter As Integer d. Static int Counter As Integer Most of the memory locations declared in an application should be class-level variables 2. True b. False 20. Fase