Lesson Pascal If Statement
Lesson Pascal If Statement
I. OBJECTIVES
III. PROCEDURE:
Motivation: How are dialog boxes like the Save As box in different window applications are
made?
1. Create a sample program and email it to the students. Let them re-create the program. Make
sure the program is in picture-format so as to avoid Copy-Pasting works.
2. Assist the students in debugging the program.
3. Discuss how a messagebox is made and how many formats can be created using different
arguments.
Generalization: The MsgBox function is a Visual Basic function the main use of which is to display
information to the user. It creates a message box, a window-based text displayed on the screen
allowing the user to understand the nature and flow of the program.
IV. EVALUATION:
1. Test the students for their debugging skills using the emailed activity.
2. Create a program that contain 5 commandbuttons. The 4 buttons, when clicked will show 4
messageboxes containing different arguments and buttons. The 5th button will be for exit.
3. Create a program that will create an addition calculator. It will showcase a messagebox that
will appear once the form is closed.
Programs created on these activities will also tackle skills previously learned in the preceding lessons.