Implement a simple login and password system

Assignment Help Assembly Language
Reference no: EM13705194

You are to implement a simple login and password system. Your system should allow for TEN (10) usernames and their associated passwords to be stored. When the user enters a username, your program should look through the list of usernames to find the index where that specific username is located, and then use this index to find the correct password.

If the password provided is correct, the user must be told ‘Access granted' and the program should terminate. If the password is not correct, the user must be told the password is incorrect and given another attempt to enter the correct password. If the second attempt fails, a third attempt must be provided.

If the password is entered incorrectly a third time, that specific username should be ‘locked out', so that future attempts to login are always met with failure. However, it should be possible to log in to other accounts.

If a user correctly logs in to an account, the number of failed attempts on that account should be reset.

Your program should include code for allowing accounts and usernames to be entered up to the limits of the system. It should also allow for accounts to be deleted. Your program will need to perform the following operations:

- Add username and password combinations, up to a limit of ten.
- Delete username and password combinations.
- Login to an existing account with a username and password combination.

- If no account in present with the indicated username, it should indicate so to the user.
- It should display ‘Access Granted' if the combination is correct.
- It should allow a second and third attempt to enter the password if the combination is not correct. After the third failed attempt, it should output

‘Access denied - account locked out.

- Lockout a single account once someone has failed to enter the correct password three times.

- Lockout all accounts once there have been ten login failures in a row.

Task 1:

The algorithms you produce to implement the above functionality.

Task 2:

Providing a program that works correctly according to the brief above.

Task 3:

The testing data selected.

Task 4:

The desk checks undertaken.

Reference no: EM13705194

Questions Cloud

Surface of mars where the gravitational acceleration : On Earth, an astronaut weighs 145 pounds. Compute a) this astronaut's weight (in SI units) on the surface of Mars where the gravitational acceleration is 12.2 ft/s^2, b) her mass on Mars in British units, c) her mass on Mars in SI units, d) her mass ..
Operating from sea level atmospheric inlet conditions : Ideal Otto and Brayton cycles are operating from sea level atmospheric inlet conditions and a pressure ratio 15:1. Find the thermodynamic efficiencies (nth) for these two cycles. There should be two answers
Describes cold water systems into buildings : Prepare a portfolio include a fully illustrated report that describes cold water systems into buildings, covering, as minimum, ALL the above topics.
What does he think the real constitutional issue is : What does he think the real constitutional issue is? Cite specific language from the decision to support your answer.
Implement a simple login and password system : You are to implement a simple login and password system. Your system should allow for TEN usernames and their associated passwords to be stored.
Implement a program for special atm machine : Association supplies the needy person with a pin number to be able to use the ATM machine - Implement a program for this machine. Your program must start by displaying a main menu.
How important the features is : Are brands important for you while looking to make a decision to buy an electronic product and how important the price is?
What toxicant they test for : What Toxicant they test for and how they test for the given toxicant -
Statistics list program : You will also modify your program to accept input from an input file and print a report to an output file. These files are to be named by the user at runtime.

Reviews

Write a Review

Assembly Language Questions & Answers

  Create a assembly language subroutine

Create a assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n words and array C containing n long words

  Write a function in linux assembly

Write a function in Linux assembly

  Analog measurements

Prepare an assembly program for the correctly measures the wind direction

  Design a simple digital clock

Design a simple digital clock

  Write an assembly program

Prepare an Assembly program that reads in a number of cents.

  Write an assembly language program

Write an assembly language program for encrypting alphabates of a string

  Greatest common divisor of integers-masm assembly language

Must be done in MASM assembly language: Greatest common divisor of two integers is largest integer which will evenly divide both integers. GCD algorithm involves integer division in a loop.

  Write assembly program-find right admission price to movie

Write the Assembly program to find correct admission price to movie. Price of admission to a movie is $7 for kids (under 12) and $9 for adults.

  Create simple 8-bit alu using add-subtract-shift functions

Create a simple 8-bit ALU. Requirements:The eight functions that you will implement are: add, subtract, and, or, shift left logical, less than, shift right logical.

  Write assembly program print binary representation-integers

Write the assembly program called hw6_ex1, stored in file hw6_ex1.asm. This program must prompt user to enter signed 32-bit integer. Program must print out binary representation of the integer.

  Allot op-codes and add microcode to microprogram

Allot op-codes and add microcode to microprogram of Mic-1 to implement following instructions which are then included with IJVM instruction set.

  Write mips assembly program to read two non-negative numbers

Write MIPS assembly program to repeatedly read two non-negative integers and print integer product and quotient without using multiplication and division instructions.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd