Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part A: Complete requirements specifications for the chatbot system ( the same system in assignment 2 , description at the end of this page )

Part A: Complete requirements specifications for the chatbot system (the same system in assignment 2, description at the end of this page)
Include the use case diagram and use case narrative that you have created in Assignments 2 after revision/update based on feedbacks.
Develop an Activity diagram based on the use cases narrative that you have created in Assignment 2.
Identify at least three nonfunctional requirements (NFRs) for the Chatbot system. The nonfunctional requirements have to be specific to the chatbot system. Do not just list the categories (e.g., performance, security, etc.), instead, give specific requirement of that category (e.g., the response speed of the chatbot should be less than 2ms.). The NFRs should be verifiable if possible. You may follow the examples in the ppt file posted in the resources section.
Part B: Develop a unit test for the following "deposit" function. (A similar unit test for "withdraw" function is provided in section 7.2.2. You can revise that unit test for the following deposit function). While the following code is in C++. you may use other programming languages to develop the unit test. You may use an IDE or just notepad to write the unit test code. The code does not need to be compiled.
The "deposit" is a function in the "Account" class (the code for the whole class is not shown). The expected behavior of this function is to increase the balance with deposited amount. If the deposited amount is a negative number, the system will display an error message.
***
void Account::deposit(double amount){
try {
if (amount >0)
balance += amount;
while (amount <0){
throw DepositException();
}
} catch (DepositException){
std::cout << "Negative deposit amount not allowed" << std::endl;
}
}
Submission Requirements:
Put part A and part B into ONE word file.
Create the diagrams using an UML tool. If you use Visio, make sure you use the UML templates.
Copy and paste (or export and insert) your diagram into ONE word file (the same file that contains the use case narrative). Do not submit multiple files.
A cover page with your name, assignment number, course name is required.
Name you file as: Your lastname_Assignment 3
A penalty of 10% of the total mark is deducted per day for the first 7 days after which the assignment is not accepted. The sites for assignments will be closed 7 days after the deadline. An extension is only given if the request is submitted at least 24 hours before the deadline.
***
Banking Chatbot
The chatbot is a computer program powered by AI designed to facilitate business interactions with customers through a chat interface. Assume you're working on a banking chatbot project aimed at providing customer service in the banking industry. Here are the functions of the chatbot:
Information Gathering:
Initiates conversation formalities, such as identifying the customer's account and verifying their authority through secret phrases.
Gathers preliminary information and verifies customer/accounts.
Providing Assistance:
Utilizes natural language processing (NLP) to understand customer inputs.
Provide response to customers (e.g., answer questions about fee for overdraft protection).
Handling Transactions:
Transferring money between accounts
Deposits
Peer-to-peer (p2p) payments
Feedback Collection:
Allows customers to leave feedback comprising a text message and a rating.
Provides system administrators with the capability to view and delete feedback entries.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions