Customer Milestone 2 Presentation Scenario - bounswe/bounswe2024group1 GitHub Wiki
User Registration and Authentication
- Sign up with incorrect credentials.
- name: Mehmet Efe
- surname: Akca
- username: mmtf1
- email: [email protected]
- password: password (FAIL: passwords have at least 8 characters, one lowercase letter, one uppercase letter, and one digit)
- country: Turkiye
- Experience Level: "Beginner"
- Sign up with correct credentials.
- name: Mehmet Efe
- surname: Akca
- username: mmtf1
- email: [email protected]
- password: Password1
- country: Turkiye
- Experience Level: "Beginner"
- Sign in to the newly created account.
User Profile (Self)
Search Page
- Mention the Search types, and we will cover them all.
- Search for Tags: "Recur"
- Move to the Tag Page of "Recursion"
Tag Page
- Mention different Tag types
- Showcase the listed Questions under the Tag. Notice how the "Easy" Questions are highlighted for the Beginner user.
- Add a Question.
- title: "Recursion in Hello World"
- description: "I have no idea what's going on"
- Difficulty Level: "Beginner"
- Tags: "Recursion" "Python"
- code snippet:
def hello():
print("Hello World")
hello()
hello()
- Mention we will see another question page in a minute.
- Navigate back to the Tag Page of "Python".
- Show the newly created question.
- Navigate to another question: "Factorial Calculator".
Question Page
- Upvote the Question.
- Showcase the Answers listed under the Question.
- Upvote an Answer.
- Downwote an Answer.
- Add an Answer to the Question:
def factorial(n):
def helper(n, acc):
if n == 0:
return acc
return helper(n - 1, acc * n) # Recursive case with accumulator
if n < 0:
return "Factorial is not defined for negative numbers"
return helper(n, 1)
number = 5
print(f"The factorial of {number} is {factorial(number)}")
- Navigate to the author's Profile Page
Profile Page (Others)##
- Mention the Reputation Points, Follower count, Following count, Question count, and Answer count.
- Follow the User.
- Unfollow the User.
Log Out & Log In##
- Log out from the current account.
- Log in to the account "emreozdemir".