Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

PSEUDO CODE

STUDENT MODULE:
Student LogIn:

 READ LoginID & password


 CHECK against college database
 IF they are correct
- create pseudo-random session ID
- store session ID on database
- return session ID in cookie
- cookie lasts 1 hour
- session ID on database lasts 1 hour
-student selects ‘fee_payment’ option
-CALL pay_fees subprocedure with student id

ELSE user is not logged in, gets view privileges only

Fee_Payment:
 SELECT payment option in interface
 CALL ‘calculate_fee’ subprocedure with student ID from college module .
 VIEW fee details
 SELECT payfees tab
 CALL ‘deposit’ subprocedure in Bank module.
 VIEW transaction details.
 GET registration slip.

Subject Selection:

 SELECT subject details tab


 GET subject list
 Generate selected subject list by invoking admin module.
 GET approval order statement.
ADMINISTRATOR:

 ENTER login & password


 READ LoginID & password
 CHECK against college database
 IF they are correct
-GET Admin privileges
ELSE
PRINT error message
 EXECUTE ‘subject_update’ subprocedure to update subject details
 EXECUTE ‘assign_faculty’ subprocedure to assign faculty for diff course
 EXECUTE ‘verify_student’ subprocedure that accepts student ID & if true CALL
‘register_student ’ subprocedure.
 EXECUTE ‘register_student’ subprocedure that generates approval statement.

BANK:

 Initialise student_regno , student_acc_no , amount to zero.


 INPUT student_regno
 INPUT student_acc_no
 INPUT amount
 CALL ‘stud_validate’ subprocedure with student_reg_no.
 IF validation successful
CALL ‘deposit’ subprocedure with student_reg_no
CALL ‘transfer’ subprocedure with transaction_ID

You might also like