Você está na página 1de 6

Piya Morprasit 45320744 Wuttjipan Discharoern 453201015

Student Scholarship Online System Procedural Design USER 1.login 2.student scholarship form page 3.student scholarship registered form page ADMIN 1.login 2.admin main page 3.student profile 4.student ranking 5.student Scholarship registered form page

Procedural Abstraction (USER) 1. Login 1. Fill the username at username textbox. 2. Fill the password at password textbox. 3. Click at login button. 2. Student scholarship form page 1. Fill an application form. 2. Click at Submit button. 3. Student scholarship registered form page 1. Click at Save this form as Microsoft Words Document button. 2. Click at Print button. 3. Click at Close button. Procedural Abstraction (ADMIN) 1. Login 1. Click at webmaster in user login page. 2. Fill the username at username textbox. 3. Fill the password at password textbox. 4. Click at login button. 2. Admin main page 1. Click at Student profile button 2. Click at Student ranking button 3. Click at logout button 3. Student profile 1. Click at the name of student. 2. Click at Delete button. 3. Click at Back button. 4. Student ranking 1. Click at the name of student. 2. Click at Delete button. 3. Click at Back button. 5. Student Scholarship registered form page 4. Click at Save this form as Microsoft Words Document button. 5. Click at Print button. 6. Click at Close button.

Stepwise Refinement (USER) First, the application will look for the number of student that registered and search for username and password from Student Scholarship database. Below, this code limit at 60 registered students. if number of student that registered in the database <= 60, then { For (i=0;i<=lastuser;i++) { Login if username = username[i] , then { Fill the username at username textbox. if password = password[i] , then Fill the password at password textbox. goto Student scholarship form page ; Click at login button. else 1.1 message password is not correct.; end if; } end if; } message No username in this domain.; back to page login; } else message Sorry, this scholarship have got full registered.; If username and password are correct, it will go to Student scholarship form page. The student must fill all checkbox and textbox field. If student havent got the information (e.g. they havent got the mothers address because she was dead.) the student must fill - symbol in textbox field except grade and salary field.(Grade and salary must fill because the application take this field to calculate the scores.)

Student scholarship form page Fill an application form.

The application will check all require field and look for the empty field, if there is any empty field it will send error. if there is empty field, then 1.2 message Please fill all field. If you have any question or trouble, please contact us at 09-xxx-xxxx.; else 1.2 calculate the scores; save this form to Student Scholarship database; goto Student Scholarship registered form page;

Click at Submit button.

At 1.2 This will show a sample how the application is calculate the scores. int sum=0; // sum is summary of scores. if grade = 3.0 to 4.0, then sum = sum +10; else if grade = 2.0 to 2.99, then sum = sum + 8; else if grade < 2.0, then sum = sum + 5; else if father = dead, then sum = sum + 10; else if mother = dead, then sum = sum + 10; else if income <= 3000, then sum = sum + 10; else if income = 3000 to 4000, then sum = sum + 8; else if income > 4000, then sum = sum + 5; end if; send sum to Student Scholarship database; If there is registered student have father died, grade 2.5 and income are 3300 bath/month, this student will get 36 scores and the Student Scholarship registered form page application will send the scores to database. Below, these Click at Save as Microsoft Words Document button.are important field that the application will take to calculate the scores. Click at Print button. -Grade, Father and mother status, Income, Amount of brother Click at Close button. and sister, Fathers and mothers age.

//This form show the form that students wrote them information in the form. They can save as document file and print the page.

Save the form to the computer. Print the form. Close the Student Scholarship registerd form page.

Login Click at webmaster button. Fill the username at username textbox.

Click at login button.

Stepwise Refinement (ADMIN) Admin main page Click at Student profile button. Click at Student ranking button. Click at Logout button.

goto webmaster login page. The same as 1.1 but, it use admin database to find username and password and if the application found the correct username and password, it will goto admin main page;

Student profile Click at the name of student. Click at Delete button. Click at Back button.

goto Student profile page. Open Student ranking page. Logout and goto Login page.

//In this page, the list of student will rank by date. Each line show the student name (if you click, it will link to Student Scholarship registered page.), IDnumber, registered date, scores and delete checkbox.

goto Student Scholarship registered form page. Delete the student out of user database and the application will automatically rank a new list of student. Back to admin main page.

Student ranking Click at the name of student. Click at Delete. Click at Back.

rank by scores. Each line show the student name (if you click, it will link to Student Scholarship registered page.), IDnumber, registered date, scores and delete checkbox. Student Scholarship registered form page goto Student Scholarship registered form page.

Click at Save as Microsoft Words Document button.Delete the student out of user database and the Click at Print button. application will automatically rank a new list of Click at Close button. student. Back to admin main page. //This form show the form that students wrote them information in the form. They can save as document file and print the page.

Save the form to the computer. Print the form. Close the Student Scholarship registerd form page.

Você também pode gostar