From 5bb0b0f8c54c3d96c1ebf476082f95e8fb9dfacd Mon Sep 17 00:00:00 2001 From: miguel Date: Fri, 15 Sep 2023 17:15:07 +0100 Subject: [PATCH 1/2] docs(atm-management): the questions needed some more explaining because of the option to use relational dbs --- .../atm-management-system/audit/README.md | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/subjects/atm-management-system/audit/README.md b/subjects/atm-management-system/audit/README.md index 49a6fdcc5a..7aef7a8752 100644 --- a/subjects/atm-management-system/audit/README.md +++ b/subjects/atm-management-system/audit/README.md @@ -1,14 +1,16 @@ #### Functional +> Note: Confirm the data storage method used in the project (e.g., text files or a relational database like SQLite). + ##### Open the application and register a new user with the name `"Marcus"` and the password `"q1w2e3r4t5y6"`. -###### Is this user saved in the file `"./data/users.txt"`, and if so, are all credentials correct (name and password)? +###### Is this user saved in the in the data storage (text file `"./data/users.txt"` or database), and if so, are all credentials correct (name and password)? ##### Open the application and re-register the user `"Alice"`. ###### Did it display an error message stating that this user already exist? -##### Open the file `"./data/users.txt"`. +##### Open the data storage (text file `"./data/users.txt"` or database). ###### Are all the user's names unique? (ex: no repetition on the name Alice) @@ -26,11 +28,11 @@ ##### Resorting to the user Alice, try and select the option `"Update information of account"` and select one of the accounts you created for Alice. Then update the phone number of that account. -###### Was the phone number of that account updated in the application and the file `"records.txt"`? +###### Was the phone number of that account updated in the application and the data storage (text file `"records.txt"` or database)? ##### Resorting to the user Alice, try and select the option `"Update information of account"` and select one of the accounts you created for Alice. Then update the country of that account. -###### Was the country of that account updated in the application and the file `"records.txt"`? +###### Was the country of that account updated in the application and the data storage (text file `"records.txt"` or database)? ##### Resorting to the user Alice, try to create a new account with: date `"10/10/2012"` account number `"834213"`, country `"UK"`, phone number `"291231392"`, deposit amount $`"1001.20"`, type of account `"saving"`. Then select `"Check accounts"` choose the account you just created. @@ -56,7 +58,7 @@ ###### Are you able to withdraw money? -###### And if so, was the withdrawal updated in the file `"records.txt"`? +###### And if so, was the withdrawal updated in the data storage (text file `"records.txt"` or database)? ###### Is it not possible to withdraw an amount superior to your available balance? @@ -64,11 +66,11 @@ ###### Were you able to deposit money into this account? -###### And if so did it update the file `"records.txt"`? +###### And if so did it update the data storage (text file `"records.txt"` or database)? ##### Resorting to the user Alice try to select the option `"Remove existing account"` and remove the accounts `"834213"`, `"320421"` and `"3214"`. -###### Can you confirm that those account were deleted, both in the application and file `"records.txt"`? +###### Can you confirm that those account were deleted, both in the application and data storage (text file `"records.txt"` or database)? ##### Resorting to the user Alice select the option `"Remove existing account"` and try to remove and non-existing account. @@ -76,7 +78,7 @@ ##### Create another user named `"Michel"`. Then by using Alice select the option `"transfer owner"` and try to transfer ownership of the account `"3212"` to Michel. -###### Were you able to transfer the ownership of this account to Michel? And if so did it update both application and file `"records.txt"`? +###### Were you able to transfer the ownership of this account to Michel? And if so did it update both application and data storage (text file `"records.txt"` or database)? #### Bonus @@ -86,7 +88,7 @@ ###### +Did the student update the terminal interface? -###### +Is the password saved in the file `"users.txt"` encrypted? +###### +Is the password saved in the data storage (text file `"users.txt"` or database) encrypted? ###### +Did the student create a relational database? • 6 @@ -94,4 +96,4 @@ ###### +Did the student add more features to the project? -###### +Did the student optimise the code already given? +###### +Did the student optimize the code already given? From a827bee5f13f885f04780440eeda78fbc0863d79 Mon Sep 17 00:00:00 2001 From: miguel Date: Mon, 18 Sep 2023 15:22:35 +0100 Subject: [PATCH 2/2] docs(atm-management): fix typos and sentences --- subjects/atm-management-system/audit/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/subjects/atm-management-system/audit/README.md b/subjects/atm-management-system/audit/README.md index 7aef7a8752..0d5009e0fc 100644 --- a/subjects/atm-management-system/audit/README.md +++ b/subjects/atm-management-system/audit/README.md @@ -4,21 +4,21 @@ ##### Open the application and register a new user with the name `"Marcus"` and the password `"q1w2e3r4t5y6"`. -###### Is this user saved in the in the data storage (text file `"./data/users.txt"` or database), and if so, are all credentials correct (name and password)? +###### Is this user saved in the data storage (text file `"./data/users.txt"` or database), and if so, are all credentials correct (name and password)? ##### Open the application and re-register the user `"Alice"`. -###### Did it display an error message stating that this user already exist? +###### Did the application display an error message stating that this user already exists? ##### Open the data storage (text file `"./data/users.txt"` or database). -###### Are all the user's names unique? (ex: no repetition on the name Alice) +###### Are all the user names unique? (ex: no repetition on the name Alice) ##### Try and login as `"Alice"`. ###### Was Alice able to enter the main menu? -##### Try to create two accounts using the user Alice, then select the option `"Update information of account"` and select an account number that does not exist for Alice. +##### Try to create two accounts with the user Alice, then select the option `"Update information of account"` and select an account number that does not exist for Alice. ###### Did the application display some kind of error message stating that this account does not exist? @@ -38,7 +38,7 @@ ###### Did the application display the account information and the gain of $5.84 of interest on day 10 of every month? -##### Resorting to the user Alice create again an account but with account number "320421" and type of account "fixed01" with the rest of the information as in the last account. Then select `"Check accounts"` and choose the account you just created. +##### Resorting to the user Alice create again an account but with account number `"320421"` and type of account `"fixed01"` with the rest of the information as in the last account. Then select `"Check accounts"` and choose the account you just created. ###### Did the application display the account information and the gain of $40.05 of interest on 10/10/2013? @@ -60,7 +60,7 @@ ###### And if so, was the withdrawal updated in the data storage (text file `"records.txt"` or database)? -###### Is it not possible to withdraw an amount superior to your available balance? +###### Does the system forbid to withdraw an amount superior to your available balance? ##### Try to deposit money into the account `"834213"`. @@ -72,7 +72,7 @@ ###### Can you confirm that those account were deleted, both in the application and data storage (text file `"records.txt"` or database)? -##### Resorting to the user Alice select the option `"Remove existing account"` and try to remove and non-existing account. +##### Resorting to the user Alice select the option `"Remove existing account"` and try to remove an account that does not exist. ###### Did the application prompt some type of error saying that the account does not exist?