Objectives Students will demonstrate how to create • Flow Charts • Hierarchy Charts • Write technical documentation to accompany programs Directions Create a Flow Chart, Hierarchy Chart and Header block documentation for the following program. The program is a simple database program with the following functions, in pseudo code mainFunction() prompt user for username, using the prompt () function prompt user for password, using the prompt() function Login with username/password from above, using the login() function if the login fails try again up to 3 times, exit on the 3rd fail with 'Error Logging In' and return 1 if the login succeeds load the users data based on their username using function getData() Display the data: First Name, Last Name, Age, Number of units taken and major Then wait for data using the prompt() function if the user types q then exit the application and return 0 if the user types add x then add the number of units and update using the putUnits() function if the user types anything else wait for data using the prompt() function The function declaration look like this in c like pseudo code : int mainFunction(); string prompt(string prompt); boolean login(string username, string password); dataClass getData(string username); boolean putUnits(int units, string username); You will turn in: 1. Flow Chart depicting the flow of execution of the program 2. Hierarchy chart depicting the interaction between functions 3. For each function create a header in the format: // functionName // // Description: // Parameters: // Preconditions: // Postconditions: // Return value: // The charts may be images of hand drawn charts, and can have eraser marks, but must be legible in the final image sent for grading. What to submit: Submit to the canvas system by the deadline screenshots, documents or images of hand drawn work as listed in the directions.
Objectives Students will demonstrate how to create • Flow Charts • Hierarchy Charts • Write technical documentation to accompany programs Directions Create a Flow Chart, Hierarchy Chart and Header block documentation for the following program. The program is a simple database program with the following functions, in pseudo code mainFunction() prompt user for username, using the prompt () function prompt user for password, using the prompt() function Login with username/password from above, using the login() function if the login fails try again up to 3 times, exit on the 3rd fail with 'Error Logging In' and return 1 if the login succeeds load the users data based on their username using function getData() Display the data: First Name, Last Name, Age, Number of units taken and major Then wait for data using the prompt() function if the user types q then exit the application and return 0 if the user types add x then add the number of units and update using the putUnits() function if the user types anything else wait for data using the prompt() function The function declaration look like this in c like pseudo code : int mainFunction(); string prompt(string prompt); boolean login(string username, string password); dataClass getData(string username); boolean putUnits(int units, string username); You will turn in: 1. Flow Chart depicting the flow of execution of the program 2. Hierarchy chart depicting the interaction between functions 3. For each function create a header in the format: // functionName // // Description: // Parameters: // Preconditions: // Postconditions: // Return value: // The charts may be images of hand drawn charts, and can have eraser marks, but must be legible in the final image sent for grading. What to submit: Submit to the canvas system by the deadline screenshots, documents or images of hand drawn work as listed in the directions.
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter10: Pointers
Section10.1: Addresses And Pointers
Problem 4E
Related questions
Question
This is for my Computer Organization & Assembly Language Class
![Objectives
Students will demonstrate how to create
• Flow Charts
•
Hierarchy Charts
• Write technical documentation to accompany programs
Directions
Create a Flow Chart, Hierarchy Chart and Header block documentation for the following program.
The program is a simple database program
with the following functions, in pseudo code
mainFunction()
prompt user for username, using the prompt () function
prompt user for password, using the prompt() function
Login with username/password from above, using the login() function
if the login fails try again up to 3 times, exit on the 3rd fail with 'Error Logging In' and return 1
if the login succeeds load the users data based on their username using function getData()
Display the data: First Name, Last Name, Age, Number of units taken and major
Then wait for data using the prompt() function
if the user types q then exit the application and return 0
if the user types add x then add the number of units and update using the putUnits() function
if the user types anything else wait for data using the prompt() function
The function declaration look like this in c like pseudo code :
int mainFunction();
string prompt(string prompt);
boolean login(string username, string password);
dataClass getData(string username);
boolean putUnits(int units, string username);
You will turn in:
1. Flow Chart depicting the flow of execution of the program
2. Hierarchy chart depicting the interaction between functions
3. For each function create a header in the format:
// functionName
//
// Description:
// Parameters:
// Preconditions:
// Postconditions:
// Return value:
//
The charts may be images of hand drawn charts, and can have eraser marks, but must be legible in the final
image sent for grading.
What to submit:
Submit to the canvas system by the deadline screenshots, documents or images of hand drawn work as listed
in the directions.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1bfda259-7429-4717-b69c-7067c249bba0%2Fb4a839ab-2dd4-4b51-a6bb-d7447c33f44b%2Fvhzyue_processed.png&w=3840&q=75)
Transcribed Image Text:Objectives
Students will demonstrate how to create
• Flow Charts
•
Hierarchy Charts
• Write technical documentation to accompany programs
Directions
Create a Flow Chart, Hierarchy Chart and Header block documentation for the following program.
The program is a simple database program
with the following functions, in pseudo code
mainFunction()
prompt user for username, using the prompt () function
prompt user for password, using the prompt() function
Login with username/password from above, using the login() function
if the login fails try again up to 3 times, exit on the 3rd fail with 'Error Logging In' and return 1
if the login succeeds load the users data based on their username using function getData()
Display the data: First Name, Last Name, Age, Number of units taken and major
Then wait for data using the prompt() function
if the user types q then exit the application and return 0
if the user types add x then add the number of units and update using the putUnits() function
if the user types anything else wait for data using the prompt() function
The function declaration look like this in c like pseudo code :
int mainFunction();
string prompt(string prompt);
boolean login(string username, string password);
dataClass getData(string username);
boolean putUnits(int units, string username);
You will turn in:
1. Flow Chart depicting the flow of execution of the program
2. Hierarchy chart depicting the interaction between functions
3. For each function create a header in the format:
// functionName
//
// Description:
// Parameters:
// Preconditions:
// Postconditions:
// Return value:
//
The charts may be images of hand drawn charts, and can have eraser marks, but must be legible in the final
image sent for grading.
What to submit:
Submit to the canvas system by the deadline screenshots, documents or images of hand drawn work as listed
in the directions.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![New Perspectives on HTML5, CSS3, and JavaScript](https://www.bartleby.com/isbn_cover_images/9781305503922/9781305503922_smallCoverImage.gif)
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![New Perspectives on HTML5, CSS3, and JavaScript](https://www.bartleby.com/isbn_cover_images/9781305503922/9781305503922_smallCoverImage.gif)
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning