Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a Little Man Computer program that allows a user to input a PIN code in order to deactivate an Electro - Magnetic Door Lock
Create a Little Man Computer program that allows a user to input a PIN code in order to deactivate an ElectroMagnetic Door Lock EM Lock Program Requirements: Users are allowed up to three attempts to enter the correct PIN code. The PIN code to deactivate the lock is set as Output Specifications: If the user inputs the correct PIN code, the program should output the value If the user inputs an incorrect PIN code, the program should output the value indicating that the user has another opportunity to enter the correct PIN code. If after three attempts, the PIN code entered is still incorrect, the program should output the value to signal that no further attempts are allowed and the alarm will be activated. Run your program using LMC simulator which can be downloaded online. After testing your program, compare and comment on the results to evaluate the functionality and user interaction of your PIN entry system.
Create a Little Man Computer program that allows a user to input a PIN code in order to
deactivate an ElectroMagnetic Door Lock EM Lock
Program Requirements:
Users are allowed up to three attempts to enter the correct PIN code.
The PIN code to deactivate the lock is set as
Output Specifications:
If the user inputs the correct PIN code, the program should output the value
If the user inputs an incorrect PIN code, the program should output the value
indicating that the user has another opportunity to enter the correct PIN
code.
If after three attempts, the PIN code entered is still incorrect, the program
should output the value to signal that no further attempts are allowed and
the alarm will be activated.
Run your program using LMC simulator which can be downloaded online.
After testing your program, compare and comment on the results to evaluate the
functionality and user interaction of your PIN entry system.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started