You are on page 1of 8

Using Select Case Structure

Program Documentation
Submitted by: [replace this with your name]
Submitted to: [replace this with the name of your teacher]
Country Slogan
Problem Definition

Design a program that displays the slogan of specific


country.

Country Slogan

Philippines For God, People, Nature and Country

South Korea Benefit all mankind

Brunei Always in service with God’s guidance

Malaysia Unity is Strength


Unity amongst those uniting brings about
Thailand
success and prosperity
Vietnam Independence, Liberty and happiness

India Truth alone triumphs

Japan All the world under one roof

Program Description:
_________________________________________________________________
_________________________________________________________________
_________________________________________________________________
_____________________________________________________________
IPO Chart:

INPUT PROCESS OUTPUT


Condition/Case:

Case

Case

Case

Case

Case

Case

Case

Case

Algorithm: Pseudo code


Select Country
Case “_____________”:
_______________________________________________

Case ______________
_______________________________________________

Case ______________
_______________________________________________

Case ______________
_______________________________________________
Case ______________
_______________________________________________

Case ______________
_______________________________________________

Case ______________
_______________________________________________

Case _______________
________________________________________________

End Case
Display ____________

User Interface Design


1. Form Design Specification
IPO IPO Value Control Properties Value
Components
Form

Text

Input

Process

Output

2. Event Planning Document

Project Name Developer Object Date


Object Trigger Event Processing

Select Case ______________________


____________ SelectedIndexChanged
Case

Case

Case

Case

Case

Case

Case

Case

End Case

3. Use Case Definition


a. The Using Select Case Structure window opens and
displays a combo box labeled “_____________”, and a
textbox that will serve as the container for the
output.
b. The user selects a _________ from a list contained in a
combo box.
c. The program displays the corresponding _________ for
the selected _______________.
d. The user clicks on the Close button to terminate the
program.
Program Code
Public Class frmU4L2Example08
Private Sub cmb___________.SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
cmb____________.SelectedIndexChanged

Select Case
Test Data
The data that will be processed by the program are limited to
the given list. The figure below illustrates the sample
output:

You might also like