ais150: business computer programming

6
LAB ASSIGNMENT AIS 150: BUSINESS COMPUTER PROGRAMMING TITLE : REGISTRATION FOR THE NEW CLUB MEMBERS. Group Members: 1. NURUL AIN BT. MAZNON............................................. .........2011263078 2. MUHAMMAD NUR IZWAN B. ABU BAKAR.........................2011680232 3. SITI NORFARIHA BT. MOHD NOOR.......................................2011204216 4. NUR SYAFARAH BINTI SAHRAY...........................................2011262978 Lecturer Name: MISS KAMALIAH BT. MAT AKIL Program/Group: AC120 2(B)

Upload: nurizwan-abu-bakar

Post on 19-May-2015

118 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: AIS150: BUSINESS COMPUTER PROGRAMMING

LAB

ASSIGNMENT

AIS 150: BUSINESS COMPUTER PROGRAMMING

TITLE : REGISTRATION FOR THE NEW CLUB MEMBERS.

Group Members:

1. NURUL AIN BT. MAZNON......................................................20112630782. MUHAMMAD NUR IZWAN B. ABU BAKAR.........................20116802323. SITI NORFARIHA BT. MOHD NOOR.......................................20112042164. NUR SYAFARAH BINTI SAHRAY...........................................2011262978

Lecturer Name:

MISS KAMALIAH BT. MAT AKIL

Program/Group:

AC120 2(B)

Page 2: AIS150: BUSINESS COMPUTER PROGRAMMING

ADIK-ADIK GROUP

INTRODUCTION

This program is created for the children. We set out this program to create an ad-free, virtual world where children could play games, have fun and interact. They need to sign up first to become our member and to play our game. We also provide a fantastic gift to our member. They can play as many as they want once they registered.

a) The algorithm of the program:1. Start the program 2. Receive input from user by write name, age, i/c number, choose gender,

address, phone number, and email.3. Then, click the command button (next)4. Choose the option button(either agree or not agree) after read the terms and

conditions.5. Click (submit) to conform the registration.6. Display result7. End of the program

Page 3: AIS150: BUSINESS COMPUTER PROGRAMMING

START

ADIK-ADIK GROUP

b) The Flow Chart:

Yes

No

INPUT(write name,age,i/c

number,gender,address,phone number,email)

Choose

Accept Agreeme

Display registration

Display thank you

END

Page 4: AIS150: BUSINESS COMPUTER PROGRAMMING

ADIK-ADIK GROUP

FORM 1 :Dim strname As StringDim age As StringDim idnum As StringDim address As StringDim telnum As StringDim email As String

Private Sub Command1_Click()If Text1.Text = "" Then

Text1.SetFocusMsgBox "please insert name"

ElseIf Text2.Text = "" Then

Text2.SetFocusMsgBox "please insert age"

ElseIf Text3.Text = "" Then

Text3.SetFocusMsgBox "please insert ic number"

ElseIf Text4.Text = "" Then

Text4.SetFocusMsgBox " please insert address"

ElseIf Text5.Text = "" Then

Text5.SetFocusMsgBox "please insert phone number"

ElseIf Text6.Text = "" Then

Text6.SetFocusMsgBox "please insert email"

ElseForm2.ShowEnd IfEnd IfEnd IfEnd If

Page 5: AIS150: BUSINESS COMPUTER PROGRAMMING

ADIK-ADIK GROUP

End IfEnd IfEnd Sub

Private Sub Command2_Click()EndEnd SubFORM 2 :Private Sub Command1_Click()'muhammad nur izwan'display the correct messageIf agree.Value = Checked ThenMsgBox "You're Registration Are Success"ElseMsgBox "Thank You very much, i love you"End IfEnd Sub

Private Sub Command2_Click()EndEnd Sub