Home / Expert Answers / Computer Science / visual-basic-please-do-following-in-microsoft-visual-basic-studio-windows-desktop-form-1-evalu-pa613

(Solved): Visual Basic Please do following in Microsoft Visual Basic Studio, Windows, Desktop, Form 1. Evalu ...



Visual Basic

Please do following in Microsoft Visual Basic Studio, Windows, Desktop, Form

1. Evaluate the numeric expression without a computer, and then use Visual Basic to check your answer. Please include written calculations and screenshot of Visual Basic Studio for checking answer.

4. \( 3+(4 * 5) \)
5. \( (5-3) * 4 \)

2. Evaluate the expression (please write out calculations then include screenshots of Studio).

7. \( 7 \backslash 3 \)
8. \( 14 \operatorname{Mod} 4 \)

3. Determine whether the name is a valid variable name (please write out answer and then include screenshots).

13. sales. 2018
14. room\&Board
15. fOrM_1040
16. \( 1040 \mathrm{~B} \)

4. Complete the table by filling in the value of each variable after each line is executed.

31.
Private Sub btnEvaluate_Click (...) Handles
btnEvaluate. Click
Dim \( x, y \) As Double
\[
x=2
\]
\[
y=3 * x
\]
\[
x=y+5

lstresults. Items. Clear ()
lstresults. Items.Add \( (x+4) \)
\[
y=y+1
\]
End Sub

32.

bal \( += \) inter * bal
\[
\mathrm{bal}=\mathrm{bal}-\text { withDr }
\]
End Sub

5. Identify the errors (take screenshots of Studio if possible)

42. Dim a, b, c, d As Double
\( a=2 \)
\( b=3 \)
\( c=d=4 \)
lstoutput.Items.Add \( (5((a+b) /(c+d) \)
43. Dim balance, depos

4. 5. 7. 8. 13. sales. 2018 14. room\&Board 15. fOrM_1040 16. 31. Private Sub btnEvaluate_Click (...) Handles btnEvaluate. Click Dim As Double lstresults. Items. Clear () lstresults. Items.Add End Sub 32. bal inter * bal End Sub 42. Dim a, b, c, d As Double lstoutput.Items.Add 43. Dim balance, deposit As Decimal balance deposit lstoutput.Items. Add (balance + deposit)


We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe