Henry E.

asked • 10/11/20

Programming SLQ

COMMA-SEPARATED VALUES 

Maximum of 3 members each group. Create a program that simulates a simple registration and login function. Your program should access, write, edit and update data in the credentials.csv file.

Note: Create your own credentials.csv file. Add one record having the following value:

           Juan Dela Cruz, January-1-1995, [email protected], Admin, 123456

STEP 1: At the start of the program execution, it should prompt the user of the following options:

  1. Register
  2. Login

STEP 2: If the user chose option #1, the program will prompt the user on the following fields:

  1. First Name
  2. Middle Name
  3. Last Name
  4. Date of birth
  5. Email address
  6. Username
  7. Password
  8. Confirm Password

 

STEP 2a: Password and Confirm Password should match, thus, incorrect inputs on those 2 fields should not be accepted.

STEP 2b: After filling up the fields correctly, the program will then display the following:

  1. Display Profile
  2. Reset Password
  3. Log-out

STEP 2c: Options #1 - Display Profile and #2 - Reset Password’s functions are optional. No need to code it for the meantime. Option #3 – Log out, once selected, should redirect the user to STEP 1’s display.

STEP 3: If the user chose option #2, the program will prompt the user on the following fields:

  1. Username
  2. Password

STEP 3a: The username and password should match with the records present in the credentials.csv, that means, the program should be able to validate the user’s input with the data in the file. Assuming the user incorrectly entered the wrong password, the program should return an error message corresponding to that action.

STEP 3b: If the user successfully logged in his/her account, it will show the same display as that of STEP 2b. Likewise, the only functioning option in that display is Option #3 – Log out, which when selected, will redirect the user to STEP 3’s display.

STEP 4: Save your program and the credentials.csv and add it in a compressed/zip file named Module5_<GroupName-SectionAndStrand>. 


1 Expert Answer

By:

Patrick B. answered • 10/11/20

Tutor
4.7 (31)

Math and computer tutor/teacher

Henry E.

Thank you kind sir but if its not asking too much can you elaborate it more using a program, Please
Report

10/12/20

Patrick B.

Sir, I would love to, but I am very sorry, I cannot here and now. First of all you did not specify the host programming language required for this assignment. Is it Visual Basic? is it java? Is it a windows application or a console application? Secondly, regardless of the answer to this question, there shall be MULTIPLE source code files involved, many of which we are not allowed to post in this forum. Wyzant is very strict about posting source code files even in the resources section. I am constantly having to tweak the filename extensions just to upload simple java script. Finally a project of this magnitude and complexity cannot be fully addressed here. it is going to take alot more time and space, depending on the answer to the first question. For the database software, I got Sqlite which will run simple queries. From there we can design 2-3 windows forms to capture the info required in your specs. For now, I have left you with the BARE essential queries you will need to get the job done outside the context of the hosting programming language. I look forward to working with you.
Report

10/19/20

Patrick B.

I also find it rather bizarre that your instructor is storing the data in a CSV file, yet requiring SQL. Either let the SQL go and just load the flat files into memory or just write the data to a database file, not a CSV. Moreover, in java, the toString() method that is overloaded will serialize to CSV for you. smh
Report

10/19/20

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.