Cis 170 Ilab 6 of 7

In: Computers and Technology

Submitted By alexmicane3
Words 367
Pages 2
HELPIDO.COM
-----------------------------------------------------------
Follow this link to get the tutorial

http://helpido.com/cis-170-ilab-6-of-7/
-----------------------------------------------------------

CIS 170 ILAB 6 OF 7
Part A: Password Program
Step 1: Requirements
Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal.

Sample Output:

I type in Bob in the password field and click Next.
I type in Bob in the second password field and click Continue.
Message displayed if the passwords match.
Message displayed if the passwords are different. Step 2: Processing Logic
Using the pseudocode below, write the code that will meet the requirements:
Next Button Event Handler Method
If the first password textbox is not blank
Make visible the second password textbox, the Done button, and the labels
Else
Put "You must enter a password" in the label
End-If

Done Button Event Handler Method
If the first password text box is not empty
If the first password text box equals the second password textbox
Display the message "Passwords are the same"
Else
Display the message "Passwords are different"
End-If
Else
Display the message "You must enter a password"
End-If
Step 3: Create a new project
Create a new project and name it LAB6A.

Write your code using the Processing Logic in Part A Step 2. Make sure you save your program.
Step 4: Compile and Execute
Compile your program. Eliminate all syntax errors.

Build your program and verify the results of the program. Make corrections to the program logic if necessary until the results of the program execution are what you expect. Step 5: Print…...

Similar Documents

Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS 170 ILAB 6 OF 7 CLICK HERE TO GET THE TUTORIAL !!!!!!!!!! Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step......

Words: 373 - Pages: 2

Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a new project and...

Words: 367 - Pages: 2

Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a new project and...

Words: 367 - Pages: 2

Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a new project and...

Words: 367 - Pages: 2

Cis 170 Ilab 7 of 7

...HELPIDO.COM ------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-7-of-7-bluebird-airlines-needs-a-program-to-assign-boarding-passes-on-its/ -------------------------------------------------- CIS 170 iLab 7 of 7 Step 1: Requirements - Airline Reservation System Bluebird Airlines needs a program to assign boarding passes on its only plane which has a seating capacity of 20. They want to use an alphanumeric seat number, and they want to be able to assign a passenger to a specific seat within either first or business class. The seats in the plane are numbered as follows: FIRST CLASS BUSINESS CLASS 1A, 1B, 2A, 2B 4A, 4B, 4C, 4D5A, 5B, 5C, 5D6A, 6B, 6C, 6D 7A, 7B, 7C, 7D The first 4 seats are first class and the remaining 16 are business class. Store the seating information in arrays. One array for the seat number and another array for the passenger’s name. You will need to hard code the seat number array and set every element of the passenger array to blanks. If a seat is empty, the corresponding array element is blank. If a seat is reserved, the corresponding array element has someone’s name in it. Display the Plane Manifest in a ListBox at the bottom of the window form. The program should prompt the user to enter the passenger’s name, select the class of the ticket (First or Business), and select the seat number. The windows form will have a text box to input the passenger’s name;...

Words: 1574 - Pages: 7

Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a new project and...

Words: 367 - Pages: 2

Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a new project and...

Words: 367 - Pages: 2

Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a new project and...

Words: 367 - Pages: 2

Cis170 Cis/170 Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS170 CIS/170 CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a......

Words: 370 - Pages: 2

Cis170 Cis/170 Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS170 CIS/170 CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a......

Words: 370 - Pages: 2

Cis 170 Ilab 7 of 7

...HELPIDO.COM ------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-7-of-7-bluebird-airlines-needs-a-program-to-assign-boarding-passes-on-its/ -------------------------------------------------- CIS 170 iLab 7 of 7 Step 1: Requirements - Airline Reservation System Bluebird Airlines needs a program to assign boarding passes on its only plane which has a seating capacity of 20. They want to use an alphanumeric seat number, and they want to be able to assign a passenger to a specific seat within either first or business class. The seats in the plane are numbered as follows: FIRST CLASS BUSINESS CLASS 1A, 1B, 2A, 2B 4A, 4B, 4C, 4D5A, 5B, 5C, 5D6A, 6B, 6C, 6D 7A, 7B, 7C, 7D The first 4 seats are first class and the remaining 16 are business class. Store the seating information in arrays. One array for the seat number and another array for the passenger’s name. You will need to hard code the seat number array and set every element of the passenger array to blanks. If a seat is empty, the corresponding array element is blank. If a seat is reserved, the corresponding array element has someone’s name in it. Display the Plane Manifest in a ListBox at the bottom of the window form. The program should prompt the user to enter the passenger’s name, select the class of the ticket (First or Business), and select the seat number. The windows form will have a text box to input the passenger’s name;...

Words: 1574 - Pages: 7

Cis170 Cis/170 Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS170 CIS/170 CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a......

Words: 370 - Pages: 2

Cis170 Cis/170 Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS170 CIS/170 CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a......

Words: 370 - Pages: 2

Cis170 Cis/170 Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS170 CIS/170 CIS 170 ILAB 6 OF 7 Part A: Password Program Step 1: Requirements Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either the passwords are equal or that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and click Continue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meet the requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button, and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second password textbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project Create a......

Words: 370 - Pages: 2

Cis170 Cis/170 Cis 170 Ilab 6 of 7

...HELPIDO.COM ----------------------------------------------------------- Followthis link to get the tutorial http://helpido.com/cis-170-ilab-6-of-7/ ----------------------------------------------------------- CIS170CIS/170 CIS 170 ILAB 6 OF 7 Part A: PasswordProgram Step 1: Requirements Write a Windows application that simulates entering apassword. The user enters a password andclicks Next. Then, the user types thepassword again and clicks Continue. Theprogram will display a Message Box that displays either the passwords are equalor that they are not equal. Sample Output: I type in Bob in the password field and click Next. I type in Bob in the second password field and clickContinue. Message displayed if the passwords match. Message displayed if the passwords are different. Step 2: Processing Logic Using the pseudocode below, write the code that will meetthe requirements: Next Button Event Handler Method If the first password textbox is not blank Make visible the second password textbox, the Done button,and the labels Else Put "You must enter a password" in the label End-If Done Button Event Handler Method If the first password text box is not empty If the first password text box equals the second passwordtextbox Display the message "Passwords are the same" Else Display the message "Passwords are different" End-If Else Display the message "You must enter a password" End-If Step 3: Create a new project ...

Words: 352 - Pages: 2