Site Search

CS 111: Lab 3 main content

Student Learning Objectives

Demonstrate the ability to

Lab 3 Assignment

Do Chapter 8, Programming Challenge 5: Password Verifier

Sample Session

Follow the sample sessions shown below:

Enter a password: aas2ss
Invalid password.

Session 2

Enter a password: aa5SSc
Valid password.

To Receive Credit

Programming Challenge

If you finish early, get yourself checked off first! As a programming challenge (not required but recommended):

Modify your program so that the

  1. The user needs to keep entering candidate passwords until they enter a valid one
  2. The user need to also enter a confirming password that must match the first candidate password