Estraysha-221003142 / ICG-GROUP-55-PRO

0 stars 0 forks source link

Pseudocodes #3

Open Estraysha-221003142 opened 3 years ago

Estraysha-221003142 commented 3 years ago

Copy and paste pseudocodes when done.

Estraysha-221003142 commented 3 years ago

Pseudocodes For Customer

Start

  1. Enter personal details
  2. IF (all fields are complete) THEN
  3. Check that all personal details are correct
  4. Verify personal details
  5. Prompt for username
  6. Get username
  7. Prompt password
  8. Get password
  9. IF (password = 8>=password <=15 (string)) THEN
  10. Confirm password
  11. Prompt verification code
  12. Get verification code via email or text message
  13. Enter verification code
  14. Print “Account successfully created.” ELSE
  15. Print “Password is not strong. Make sure password is between 8 to 15 characters.”
  16. ENDIF
  17. Print “Please check if all fields are completed.” ELSE
  18. Print “You have to fill in all fields.”
  19. ENDIF
  20. Click “SAVE” button Stop

    Start

  21. Enter username or email address or cellphone number
  22. Enter password
  23. Click on “SEARCH” button
  24. Enter the product name
  25. Print product ID
  26. Print product image
  27. Print product name
  28. Print product status
  29. Print “Would you like to add this item to your cart?”
  30. IF (response= “Yes” button) THEN
  31. Display “Item has been added to the cart.” ELSE
  32. Display “Would you like to rate the product?”
  33. IF (response= “Yes” button) THEN
  34. Display five-star rating picture
  35. Display “Remind me later” button ELSE
  36. Display “Please leave a comment.” ENDIF ENDIF
  37. Display “Would you like to sign out?”
  38. IF (response= ‘Y’) THEN
  39. Display “SIGN OUT” button ENDIF Stop

Start

  1. Click “Help” button
  2. Click on SEARCH bar
  3. Enter question
  4. IF (question= has an answer) THEN
  5. Display question
  6. Display answer
  7. Display “Was this helpful?”
  8. IF (answer = ‘Y’) THEN
  9. Display question
  10. Display answer ENDIF ELSE
  11. Display previously asked questions
  12. Display previous answers. ENDIF Stop
Estraysha-221003142 commented 3 years ago

Pseudocodes for Human resources

Start

  1. Enter employee personal details
  2. IF (all fields are complete) THEN
  3. Check that all employee personal details are correct
  4. Verify employee personal details
  5. Prompt verification code
  6. Get verification code via email address or text message
  7. Enter verification code
  8. Display “Your employee ID is:”, employee ID (integer= random numbers (<=8))
  9. Display default username
  10. Display default password
  11. Display “Please change your password after you login to the system.” ENDIF Stop

Start

  1. Prompt default username
  2. Get default username
  3. Prompt default password
  4. Get default password
  5. Click SETTINGS ICON button
  6. Click “Change Password”
  7. Enter default password
  8. Enter new password
  9. Confirm new password
  10. Display “Password is successfully changed. Enter new password the next time you login” Stop

Start

  1. Prompt username
  2. Get username
  3. Prompt password
  4. Get password
  5. Click SETTINGS ICON button
  6. Click ADD BANKING DETAILS
  7. Enter banking details
  8. Verify banking details
  9. Prompt for verification code
  10. Get verification code via email address or text message
  11. Enter verification code
  12. Display “Banking details added.” Stop

Start

  1. Prompt for application number
  2. Get application number
  3. Prompt applicant details
  4. Get applicant details
  5. Verify applicant details
  6. Prompt verification code
  7. Get verification code via email address or text message
  8. Enter verification code
  9. Display list of vacancies that are available
  10. SELECT a vacancy
  11. Click ENTER button
  12. Display “You have successfully applied.”
  13. Display “You will be notified when you need to come in for an interview.” Stop

Start

  1. Prompt username
  2. Get username
  3. Prompt password
  4. Get password
  5. Display supervisor details on duty
  6. Click EMPLOYEE ENQUIRY
  7. Click PROGRESS REPORT
  8. Display PROGRESS REPORT Stop
Estraysha-221003142 commented 3 years ago

Pseudocodes For Finance Management

Start

  1. Click SEARCH button
  2. Enter product name or product ID
  3. Display product information
  4. Display product sale report
  5. Display product demand percentage Stop

Start

  1. Click SETTINGS ICON button
  2. SELECT Financial Status
  3. Click on Company expenses
  4. Display company expenses Stop

Start

  1. Click SETTINGS ICON button
  2. SELECT Financial Status
  3. Click on Financial report of company
  4. Display weekly financial report
  5. Display monthly financial report
  6. Display yearly financial report Stop

Start

  1. Total sale =0
  2. FOR COUNT= 0 to number of products DO
  3. Total sale= count +1 ENDFOR
  4. Display total sale Stop

Start

  1. Click SEARCH button
  2. Enter product name or ID
  3. Display product information
  4. Display product promotion Stop

Start

  1. Prompt product details
  2. Get product details
  3. Display product details
  4. IF (if restocking price= “PAID”) THEN
  5. Display “Restocking price is paid.”
    ELSE
  6. Display “Restocking price not paid. ”
  7. ENDIF
  8. Display restocking price Stop

Start

  1. Prompt product order details
  2. Get product order details
  3. Print quotation of product
  4. Print invoice of product Stop

Start

  1. Total cost=0
  2. FOR COUNT = 0 TO number of product DO
  3. Total cost = count + 1 ENDFOR
  4. Display Total cost Stop

Start

  1. warehouseValue = 0
  2. garageValue = 0
  3. storeValue = 0
  4. Print “Do you own any warehouses?”
  5. IF (response = ‘Y’) THEN
  6. warehouseValue = warehouseValue +1
  7. garageValue = garageValue + 1
  8. storeValue = storeValue + 1
  9. Display warehouseValue
  10. Display garageValue
  11. Display storeValue ELSE
  12. Display “Would you like to buy a warehouse and garage?” EDNIF
  13. numberAssests = warehouseValue + garageValue Stop

Start

  1. Prompt product details
  2. Get product details
  3. Prompt supplier details
  4. Get supplier details
  5. Print product details with supplier details Stop

Start

  1. Print “Are any of your assets insured?”
  2. IF (response = ‘N’) THEN
  3. Display “You can insure your assets with the following:”, list of insurance companies
  4. ENDIF Stop

Start

  1. Click SETTING ICON button
  2. SELECT company finances
  3. Click Budget button
  4. Display budget Stop

Start

  1. Click SETTING ICON button
  2. SELECT company finances
  3. Click Distributors details button
  4. Display distributors details Stop

Start

  1. Click SETTING ICON button
  2. SELECT company finances
  3. Click Raw materials costs button
  4. Display Raw materials costs Stop