At the end of this specific task, students should be able to: . Create classes, methods, and other OOP programming const

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

At the end of this specific task, students should be able to: . Create classes, methods, and other OOP programming const

Post by answerhappygod »

At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 1
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 1 (62.65 KiB) Viewed 41 times
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 2
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 2 (87.42 KiB) Viewed 41 times
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 3
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 3 (94.73 KiB) Viewed 41 times
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 4
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 4 (82.02 KiB) Viewed 41 times
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 5
At The End Of This Specific Task Students Should Be Able To Create Classes Methods And Other Oop Programming Const 5 (64.38 KiB) Viewed 41 times
At the end of this specific task, students should be able to: . Create classes, methods, and other OOP programming constructs. Use decisions Produce an application that accepts input and returns output Your very first task is to create a registration and login feature. This feature needs to allow users to (Read through the entire task before you start any work): 1. Create an account by entering username, password, first name and last name. The system needs to check that the following conditions are met, and reply with the a. appropriate output message:

Conditions Messages True False Username contains an underscore and is no "Username "Username is not more than 5 characters long correctly formatted, successfully captured" please ensure that your username contains an underscore and is no more than 5 characters in length." Password meets the following password "Password "Password is not complexity rules, the password must be: correctly formatted, successfully captured" please ensure that At least 8 characters long . Contain a capital letter Contain a number the password contains at least 8 characters, a capital letter, a number and a special character." Contain a special character 2. Login to the account using the same username and password. The system should provide the following messages to verify the user's authentication a state: Conditions Messages True False The entered username and password are "Welcome <user first "Username or correct, and the user is able to log in. name>, <user last password incorrect, please try again" name> it is great to see you again. 3. You will need to implement a Login class with the following methods to ensure that your application meets good coding standards and that the code you write is testable.

Method Name Method Functionality Boolean: checkUserNamel) This method ensures that any username contains an under score) and is no more than This method ensures that passwords meet the following password complexity rules, the password must be: Boolean: checkPassword Complexity() . At least eight characters long. Contain a capital letter . Contain a number . String registerUser() Contain a special character This method returns the necessary registration messaging indicating if: The username is incorrectly formatted The password does not meet the complexity requirements. . . The two above conditions have been met and the user Boolean login User() has been registered successfully. This method verifies that the login details entered matches the login details stored when the user registers. This method returns the necessary messaging for: A successful login String returnLoginStatus . A failed login 4. It is good practice to never push code that has not been tested, you will need to create the following unit tests to verify that your methods are executing as expected: Test: (assertEquals) Test Data and expected system responses. Test Data: "kyl_1" Username is correctly formatted: The username contains an underscore and is no more than 5 characters long The system returns: "Welcome <user first name>,<user last name> it is great to see you." Username incorrectly formatted: Test Data: "kyle!!!!!!!"

The system returns: The username does not contain an underscore and is no more than 5 characters long "Username is not correctly formatted, please ensure that your username contains an underscore and is no more than 5 characters in length." The password meets the complexity Test Data: "Ch&&sec@ke99!" requirements The system returns: "Password successfully captured" Test Data: "password" The password does not meet the complexity requirements The system returns: "Password is not correctly formatted, please ensure that the password contains at least 8 characters, a capital letter, a number and a special character." Test (assertTrue/False) Login Successful The system returns: True Login Failed The system returns: False Username correctly formatted The system returns: True Username incorrectly formatted The system returns: False Password meets complexity requirements The system returns: True The system returns: Password does not meet complexity requirements False 5. Watch the following video to help you create the necessary unit tests in NetBeans: (22 February 20221 ** Make sure to use the test data detailed in the table for assertEquals as this will be used to mark your task.

6. Finally, developers make use of Continuous Integration and Continuous Deployment (CI/CD) pipelines to iteratively build systems and to test not only the functionality but also the quality of their code. It is good practice to start working with at least Cl in mind. We will be implementing GitHub actions to: a. Automate the tests we have written to run whenever we updated our code. i. Make sure you have signed up for the GitHub student developer pack ii. Follow the steps detailed below to automate your tests using GitHub Actions: (22 February 2022].
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply