Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

C++ Hash Assignment

In this assignment, you will consider the problem of organizing a collection of computer user-ids and passwords. Each time a user logs in to the system by entering his or her user-id and a secret password, the system must check the validity of this user-id and password to verify that this is a legitimate user.

Because this validation must be done many times each day, it is necessary to structure this information in such a way that it can be searched rapidly. Moreover, this must be a dynamic structure because new users are regularly added to the system and some users deleted from the system.

Upon execution of your program, it should first read the user-ids and passwords from a file and create a hash using the user-id as a key (assume unique user-ids for convenience). Note: Initially it will be empty.

Once the hash has been built, it should display the following menu:

(1) Add new user

(2) Delete user

(3) Verify user

(4) Print users

(5) Quit

Option (1) and (2) simply add/delete new/existing users.

When option (3) is selected, the user is supposed to enter a user-id and a password.

Then, you should search the tree and a print message like "Valid User" or "Invalid User".

When option (4) is selected, the users and their passwords should be printed out in alphabetical order.

Finally, when option (5) is selected, the elements of hash should be stored to a file and execution should be terminated.

Test all options.

Print out File.

Write your conclusions.

Include code.

Screen prints of successful execution.

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M92305436
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Business Management

There are many different types of teamsgroups pick one type

There are many different types of teams/groups. Pick one type that you have been involved in and describe the team/group and your experience within it. Discuss the various dynamics based on the new knowledge you gained t ...

If you ask some managers about conducting job analyses you

If you ask some managers about conducting job analyses, you may get a very negative response. Why do you think some organizations choose to not perform job analyses given their benefits?

Define the consolidated clinical document architecture ccda

Define the consolidated clinical document architecture (CCDA) messaging framework and describe its benefits and challenges.

What is the various security architectures which provides

What is the various security architectures. Which provides the best balance between simplicity and security? Justify your answer.

Do you all see health care leadership being only as

Do you all see health care leadership being only as effective as the peripheral support offered to help maintain this elevated level of results? Do you all envision that top level management must be a bit "intrusive" int ...

Explain the purpose of each of the five parts in the ryan

Explain the purpose of each of the five Parts in The Ryan White Care Act. Explain other viewpoints or opposing viewpoints of the Act. Describe your stance on if there is a need for the Ryan White Care Act with the Afford ...

Who should be involved in the process for making hiring

Who should be involved in the process for making hiring decisions? Should it be the same for all positions within the organization? Why or why not?

Michael porter says that the essence of strategy is

Michael Porter says that" the essence of strategy is choosing what not to do." Using a company of your choice, illustrate Porter's statement.

1 ann owed 2500 to barry for services barry rendered to ann

1. Ann owed $2,500 to Barry for services Barry rendered to Ann. The debt was due June 30, 2011. In March 2012, the debt was still unpaid. Barry was in urgent need of ready cash and told Ann that if she would pay $1,500 o ...

What are some things that a union representative

What are some things that a union representative responsible for negotiating wages and benefits should want to see placed in a work agreement?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As