0% found this document useful (0 votes)
38 views

Goldenville School of Montessori, Inc. Goldenville School of Montessori, Inc

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Goldenville School of Montessori, Inc. Goldenville School of Montessori, Inc

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Republic of the Philippines GOLDENVILLE SCHOOL OF MONTESSORI, INC.

Schools Division of Bulacan


Junior High School Department
GOLDENVILLE SCHOOL OF MONTESSORI, INC. Golden Village Phase II, Matimbubong, San Ildefonso, Bulacan
Junior High School Department
Golden Village Phase II, Matimbubong, San Ildefonso, Bulacan
ASSESSMENT IN PROGRAMMING
(VISUAL BASIC 2010 EXPRESS)
ASSESSMENT IN PROGRAMMING
(VISUAL BASIC 2010 EXPRESS)
Name: _______________________________________________ Score: ____________
Facilitator: Mr. Kenneth DC. Delos Santos, LPT Date: ________________________
Name: _______________________________________________ Score: ____________
Facilitator: Mr. Kenneth DC. Delos Santos, LPT Date: ________________________ General Instructions:
a. Use your preferred font style but use size 16 font size.
General Instructions: b. ALWAYS OBSERVE THE PROPER CODING OF THE PROGRAM.
a. Use your preferred font style but use size 16 font size. c. DO NOT FOLLOW the commands and suggestions of VB 2010 if it is not related to the codes given.
b. ALWAYS OBSERVE THE PROPER CODING OF THE PROGRAM. d. STRICTLY NO COPYING AND COACHING.
c. DO NOT FOLLOW the commands and suggestions of VB 2010 if it is not related to the codes given.
d. STRICTLY NO COPYING AND COACHING. Procedure:
1. Open Visual Basic 2010 Express and create a new form or VB Window.
Procedure: 2. Rename the form text as “My Simple Calculator”.
1. Open Visual Basic 2010 Express and create a new form or VB Window. 3. Change the size by “500, 450”
2. Rename the form text as “My Simple Calculator”. 4. Put your desired background image.
3. Change the size by “500, 450” 5. Insert a label on the bottom left of the form and write “All Rights Reserved | (your
4. Put your desired background image. first name) Copyright 2019”
5. Insert a label on the bottom left of the form and write “All Rights Reserved | (your 6. Put a label. (Text: First Number), (Font Style: (?), Font Size: 16)
first name) Copyright 2019” 7. Insert a textbox. (Font Size: 16), (Name: TextBoxNum1)
6. Put a label. (Text: First Number), (Font Style: (?), Font Size: 16) 8. Insert a label. (Name: LabelSign), (Font Size 16), (Text: +)
7. Insert a textbox. (Font Size: 16), (Name: TextBoxNum1) 9. Insert a label. (Text: Second Number), (Font Size: 16)
8. Insert a label. (Name: LabelSign), (Font Size 16), (Text: +) 10. Insert a text box. (Font Size: 16), (Name: TextBoxNum2)
9. Insert a label. (Text: Second Number), (Font Size: 16) 11. Insert a label. (Name: LabelAnswer), (Font Size: 16), (Text: Answer)
10. Insert a text box. (Font Size: 16), (Name: TextBoxNum2) 12. Insert 2 Buttons.
11. Insert a label. (Name: LabelAnswer), (Font Size: 16), (Text: Answer) a. Button 1: (Name: ButtonSubmit), (Text: Submit)
12. Insert 2 Buttons. b. Button 2: (Name: ButtonQuit), (Text: Quit)
a. Button 1: (Name: ButtonSubmit), (Text: Submit) 13. Use the codes provided at the back of the paper.
b. Button 2: (Name: ButtonQuit), (Text: Quit)
13. Use the codes provided at the back of the paper.

Republic of the Philippines


Schools Division of Bulacan MY SIMPLE CALCULATOR
CODES FOR VISUAL BASIC 2010 EXPRESS
“Per aspera ad astra” “Per aspera ad astra”
Law and Philosophy Law and Philosophy
Dim Num1 As Integer
Public Class Form1 Dim Num2 As Integer
Dim Num1 As Integer Dim Answer As Integer
Dim Num2 As Integer
Dim Answer As Integer Private Sub ButtonSubmit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1Submit.Click
Private Sub ButtonSubmit_Click(ByVal sender As System.Object, ByVal e As Num1 = TextBoxNum1.Text
System.EventArgs) Handles Button1Submit.Click Num2 = TextBoxNum2.Text
Num1 = TextBoxNum1.Text Answer = Num1 + Num2
Num2 = TextBoxNum2.Text LabelAnswer.Text = Answer
Answer = Num1 + Num2
LabelAnswer.Text = Answer End Sub

End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As Close()
System.EventArgs) Handles Button2.Click End Sub
Close()
End Sub End Class

End Class 14. Debug your new calculator software and see if it runs.
15. Create an installer of your software.
14. Debug your new calculator software and see if it runs. 16. Create a new software with the same topic but with a different operation. (Use
15. Create an installer of your software. Multiplication)
16. Create a new software with the same topic but with a different operation. (Use
Multiplication)

MY SIMPLE CALCULATOR
CODES FOR VISUAL BASIC 2010 EXPRESS

Public Class Form1

“Per aspera ad astra” “Per aspera ad astra”


Law and Philosophy Law and Philosophy

You might also like