Python 2 Icw
.docx
keyboard_arrow_up
School
San Jose State University *
*We aren’t endorsed by this school
Course
110A
Subject
Computer Science
Date
Feb 20, 2024
Type
docx
Pages
2
Uploaded by ChiefReindeerPerson763
ICW: Programming Selection
Complete the following exercises by:
1.
Try each one by yourself, adding your answers directly to this document. For questions requiring code, you may provide pseudocode or executable code written in Google Colab.
2.
Discussing the questions with your team and agreeing on the best answer and editing your answer as needed.
3.
Submit your own completed assignment to its Canvas submission folder. 1. The following is the pseudocode for an if-statement. Identify the logical error
. Assume that each tax bracket is needed.
(Great test question, btw)
if income <=10000:
tax = .05
elif income <=20000:
tax = .10
elif income >=50000:
tax = .15
else:
tax = .20
.
2. From the Python Crash Course Book. Complete the following by either typing in pseudocode or using Colab and then copying your code or screen shot it and paste it in below.
Write the selection statement to choose a color for a video game alien:
• If the alien’s color is green, print a statement that the player just earned 5 points for shooting the alien.
• If the alien’s color isn’t green, print a statement that the player just earned 10 points.
Answer: the logical error is in line 5, the income messes up the ranging. It should be smaller than 50000.
colors = input
(
"Color;"
)
if colors == "green"
:
print (
"The player just earned 5 points for shooting the alien"
)
3. Complete the following by either typing in pseudocode or using Colab and then copying your code or screen
shot it and pasting it in below.
UserInput = 1
Then write the selection statement needed to accomplish the following:
If UserInput equals 1 then print “You will now be directed to the product page”
If UserInput equals 2 then print “You will now be directed to the customer page”
If UserInput equals 3 then print “You will now be directed to the registration page”
If any other value is entered, print “Please select 1, 2, or 3”.
4.
Think of a decision you made recently that required you to evaluate multiple options and then write a selection statement reflecting your decision process. This selection statement must include at least one
elif. Pseudocode or actual code are fine. When you’ve completed it ask at least one teammate to check
it for you for logic mistakes. I decided to purchase a Stanley cup from Amazon. There are four options of size with four different prices. Here is the code so that I can see the sizes and prices.
user_input = int (
input ())
if user_input ==
1
:
print (
"You will now be directed to the product page"
)
elif user_input == 2
:
print (
"You will now be directed to the customer page"
)
elif user_input == 3
:
print (
"You will now be directed to the registration page"
)
else
:
print (
"Please select 1, 2, or 3"
)
product_size = str (
input (
"There are four sizes: 18oz, 24oz, 32oz, 64oz? "
))
if product_size == '18'
:
print (
"Price: $20"
)
elif product_size == '24'
:
print (
"Price: $30"
)
elif product_size == '32'
:
print (
"Price: $40"
)
elif product_size == '64'
:
print (
"Price: $50"
)
else
:
print (
"Sorry! We do not carry this size. "
)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Form Validation for jscript.
This is the requirement.
Payment Information Validation
Validate the customer’s payment information as follows:
Card Type
Required that one is selected
Name on Card
Required field
Expiry Date (Month)
Required field
Expiry Date
Valid expiry date to ensure the card being used has not expired
Card Number
Required field, Valid Card Number
NOTE: regarding the expiry date, you MUST use the date object to ensure that your date check is dynamic.
Modulus Check Logic
For this project, we will be taking in 10 digit credit card numbers. Ensure the user entered only 10 numbers. If they pass this check, perform a modulus check to ensure that the user has submitted a valid credit card number.
Note that the checking factors below are the literal checking factors you will use in your solution.
Sample Credit Card Number
9434578423
Checking Factors
432765432
Multiply Checking Factors by Credit Card digits and…
arrow_forward
Submission Instructions
Follow the instructions for How to Submit Programming Assignments.
Assignment
First, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects).
Then create a new Java application called "PatternMaker" (without the quotation marks) according to the following guidelines.
The program prompts the user for five input values:
An integer value between 1 and 10 (inclusive) for the number of rows to be printed
A second integer value between 1 and 10 (inclusive) for the number of columns to be printed
A string value for the starting string of the pattern
A string value for the second string of the pattern
A string value that separates the first two strings
The program must use nested for loops to print a rectangular array of alternating first and second strings of the pattern, separated by the separator string and such that the first string in the first row uses the "first string" provided by the user, but…
arrow_forward
Using pictue below use the requirements to code and make the brick breaker game:
1. Score needs to visible and updated as the game plays.
2. Your rows of bricks need to be different colors.
3. Your game play (ball speed, scoring, paddle, etc.) needs to change as the game gets longer or the score gets higher
4. Once all bricks are gone, Game over
5. If ball goes past paddle, you lose
arrow_forward
Python question please include all steps and screenshot of code. Also please provide a docstring, and comments through the code, and test the given examples below. Thanks.
If there is a vote at a meeting, there are several possible outcomes based on the numberof yes and no votes (abstains are not counted). If all the votes are yes, then the proposalpasses "unanimously", if at least 2/3 of the votes are yes, then the proposal passes with"absolute majority", if at least 1/2 of the votes are yes, then the proposal passes by"simple majority", and otherwise it fails. Write function vote() that takes as input thenumber of yes votes and the number of no votes and then prints the outcome of the vote.>>> votes(9, 0)proposal passes unanimously>>> votes(6, 3)proposal passes with absolute majority>>> votes(5, 4)proposal passes with simple majority>>> votes(4, 5)
arrow_forward
consumers for residential housing. Your task is to create an application to be used by the loan officers of the company when presenting loan options to its customers. The application will be a mortgage calculator that determines a monthly payment for loans.
The company offers 10-, 15-, and 30-year fixed loans. The interest rates offered to customers are based on the customer’s credit score. Credit scores are classified into the following categories:
Table 1: Credit Score Categories
Rating Range
Excellent 720-850
Good 690-719
Fair 630-689
Bad 300-629
The program should initially prompt the user (the loan officer) for the principle of the loan (i.e. the amount that is being borrowed). It should then ask him or her to enter the customer’s credit score. Based on the customer’s credit score, the program will randomly generate an interest rate based on the following ranges:
Table 2: Interest Rate Assignments…
arrow_forward
18. This keyword will stop the execution of more code and case testing inside the block.
break
continue
None of the Choices
default
Give an explanation for the answer. Thank you
arrow_forward
Create the Lucky Number application, shown in the “Activity 15 Possible Implementation.” Your project can calculate Lucky Numbers any way you wish, but must include the following features:
Two forms, minimum. Each form should have a different title.
A programmatically populated control.
A control populated based on the selected item in another control.
An event that launches the second form.
A screenshot of your program running with successful output.
arrow_forward
Online form design truths * Many replies Participation will improve dialogue. Default if most users pick it. For speedy form reading, use brief, informative labels. Z-pattern form fields speed up form input.
arrow_forward
12. Do a feature subset selection for the following task: using the student's info to predict their grade.
You have the following features.
A. Student ID.
B. Their grade in their high school.
C. SAT (Scholastic Aptitude Test)
D. Personality test scores
arrow_forward
Most forms on websites will usually have some sort of test to confirm that the user is a human and
not a bot. Update the contact form that you created in Part 3. Add a field to the form that asks the
user for the answer to a simple maths problem. The form should only be submitted if the user
provides the successful answer to the maths problem. For example you may ask the user what 3 + 4
equals. The form will only be successfully submitted if the user provides 7 as the answer.
If the user provides the incorrect answer to the maths problem, you should display a bold red error
message to the user on the page by manipulating the DOM. The message should be diplayed in the
same location on the page as the form validation error message from Part 3. If the user provides the
correct answer to the maths problem, then the form should be submitted and the user should
receive the bold green success message from part 3. Once part 4 is complete the user should receive
an error message if: • The form…
arrow_forward
As stated in the last module, this week you will exchange your draft with a partner so they can review it with the rubric. The goal of this exchange is to help mold and rework your draft for submission by Saturday. Because this is a quick turnaround, please make sure you complete the review of your peer’s paper by Thursday so that they will have time to make any changes prior to submission. Additionally, posting your draft prior to Tuesday is strongly encouraged as this will allow additional time for your peer to review your draft.
Remember, in total, your research paper needs to be written and formatted using the APA style guide and should include 5-6 pages of text. Your page requirement does not include the cover page, abstract, or reference page. Your research paper should also include a minimum of 3-4 reputable sources.
Apa research paper on prymids
arrow_forward
In this lab, you are to create ONE project that contains TWO forms for this assignment. The form and all controls should be named using VB standards. Within the code, using meaningful variable names that meet the VB standards and appropriate data types. Comments are always encouraged. Form 1: Working with Loops - The first form will have two button click events: First Button Click Event: Using a Do Loop with a Sentinel value of−1ask the user to type in the list of courses they have completed (ex: CIS115). As they enter the courses, display the courses in a listbox. Second Button Click Event: Once the course listbox has been populated, the user will select a course from the listbox that will be converted into a new string using the guidelines given below. This event must validate that a course has been selected from the listbox before the process of generating the new string coded name can be done. (Hint: see page 274.) If a course has been selected, that name should be read into the…
arrow_forward
Form Validation for jscript.
This is the requirement. I just need the code and attached to my jscode.
Payment Information Validation
Validate the customer’s payment information as follows:
Expiry Date (Month)
Required field
Expiry Date
Valid expiry date to ensure the card being used has not expired
Card Number
Required field, Valid Card Number
NOTE: regarding the expiry date, you MUST use the date object to ensure that your date check is dynamic.
here is the given html code.
<li> <label for="month">Expiry Date</label> <select id="month" name="month"> <option>- Month -</option> <option value="1">January</option> <option value="2">February</option> <option…
arrow_forward
Slappy’s Software Sales AssignmentYou have been hired by Slappy’s Software Sales to write a program to figure thetotal cost to customers that order Slappy’s software packages.Discounts are given based on the number of units sold:Number of Units Sold Discount Amount1 – 9 None10 – 19 20%20 – 49 30%50 – 99 40%100 or more 50%Create a form similar to this:The three boxes are labels. Remember to use the Auto Size and Border Styleproperties.The program should read the number of units sold and figure a base cost. Theunits cost $99 each. A discount should then be figured and subtracted from thebase cost. The subtotal, discount amount and total cost should be displayed, ascurrency, in the appropriate labels.Here are some screen shots of the running program:Set the tab order and access keys.Put comments in your program as to what each section is doing.Use constants for the discount rates and base price.
arrow_forward
Please written by computer source
When logging into a website, you first enter your username and password, then the program checks to see whether the information you entered matches the information in your account and then the program either gives you an error message or logs you in. Describe the programming elements to be used in the correct order.
arrow_forward
Extra 6-1 Develop the Temperature Converter
In this exercise, you’ll use radio buttons to determine whether the conversion is from Fahrenheit to Celsius or vice versa. You’ll also modify the DOM so the labels change when a radio button is clicked, and the page displays an error message when the user enters invalid data.
1. Open the application in this folder:
exercises_extrach06convert_temps
2. Note that the JavaScript file has some starting JavaScript code, including the $() function, three helper functions, three event handler functions, and a DOMContentLoaded event handler that attaches the three event handlers.
3. Review how the toCelsius() and toFarhenheit() event handler functions call the toggleDisplay() helper function and pass it strings to display. Also note that the toggleDisplay() helper function and the convertTemp() event handler function are incomplete.
4. Code the toggleDisplay() function so it changes the text in the labels for the text boxes to the values in the…
arrow_forward
Create Use Case Diagram for the StoryArt application . Make sure to follow rules in creating Use Case Diagram.
arrow_forward
Create Use Case Diagram for the SoloLearn application . Make sure to follow rules in creating Use Case Diagram.
arrow_forward
Exercise 4
E Design Preview [SimpleFrame2]
Number
1
Increment
Decrement
1. Design the above frame
2. The number is initialized with the constructor of the frame to the first number in the
combo box.
3. Each time the combo box changes selection, the number changes to its current selection,
and the text area is cleared.
4. The text area is updated each time one of the two buttons is pressed. If the button
"Increment" is pressed, the number is incremented and appended to the text area. If the
button "Decrement" is pressed, the number is decremented and appended to the text
area.
CS Scanned with CamScanner
ロ
arrow_forward
Create the following form using C#
Create a form ,name this new form: Loops
Name all your objects clearly as in :i. txtLaptopCurrentPriceii. txtDesiredPriceiii. lstAnswerb. and likewise the corresponding variables that have the data type of the variableand matching the text box name as in:i. dblLaptopCurrentPrice = 0;ii. dblDesired Price = 0:iii. intCounter = 0;iv. dblTotal = 0;v. const dblYearlyDeduction = .10
7.The price of laptops is expected to go down by 10% per year. Use a while loop to display the year and price when the price will be under a specified target amount. Allow the user to specify the current price and the target price using TextBoxes .using a loop the number of years it will take for the Laptop to be less than or equal to your desired price.a. You should clear the list box as the first line of code (before while) in thecalculation area as in : lstAnswer.Items.Clear()b. Also set before the while statement dblTotal to be the current pricec. The formula (to help you…
arrow_forward
Please provide a pseudocode solution that utilizes the commands as specified in the image.
arrow_forward
Need help with this. I attached how it should look
Create an event listener for the click event occurring with the submitButton that runs an anonymous function.
Within the anonymous function add the following if else structure:
If the pwd field fails the pattern match, display the validation message “Your password must be at least 8 characters with at least one letter and one number”.
Else if the value of the pwd field does not equal the value of the pwd2 display the validation message “Your passwords must match”.
Otherwise, set the validation message to an empty text string.
Save your changes to the file and then open project06-01 in your web browser.
Verify that you cannot submit the form if your password is less than eight characters long and does not include at least one number and one letter.
Verify that you cannot submit the form if the two passwords do not match.
arrow_forward
Hands-On Project 6-1
In this project you will program the actions of a sign-up form in which users must supply a user name, email address, and password for a new account. Passwords must be at least eight characters long and contain at least one letter and one number. As a validation test, the password must be entered twice to confirm that the user did not inadvertently mistype the password. If the password does not match the required pattern or if the two passwords are not identical, the password field should be flagged as invalid. A preview of the form in which the passwords are mismatched is shown in Figure 6-38.
Figure 6-38
Completed Project 6-1
Do the following:
Use your code editor to open the project06-01_txt.html and project06-01_txt.js files from the js06 ► project01 folder. Enter your name and the date in the comment section of each file and save them as project06-01.html and project06-01.js, respectively.
Go to the project06-01.html file in your code editor and link the…
arrow_forward
Instructions: Pretend that I, your instructor, have been asked to host a TED Talk event. There will be 5 different speakers at the event, and our class has been tasked with creating the transitions that I will use to introduce each new speaker’s topic. Below the topics are listed. In the blanks between them craft a single sentence transition that I could use to move between the topics.
Fill in the Blanks:
Topic 1: Flamingos
Transition:
Topic 2: The OlympicsTransition: Topic 3: Macaroni and Cheese
Transition:
Topic 4: Cell Phones
Transition:
Topic 5: Time Travel
arrow_forward
Q1) Bestro is a satellite television provider. It offers three types of monthly subscription packages. Figure 1.1above shows a GUI created using Java which is used by Bestro to record walk-in customer’s subscriptionregistration. Based on the figure, write a simple complete Java coding (including import statements and classdeclaration) to create the above user interface. Use the appropriate layout and border formatting. FollowJava naming conventions.
arrow_forward
If you modify a dimension style, all
dimensions that use that style in the
drawing are automatically updated. right
wrong? *
AutoCAD
correct
Error
Other:
arrow_forward
For this milestone, you will be submitting a working draft of the code for a simplified version of the text-based game that you are developing for Project Two. You will focus on displaying how a room dictionary works with the “move” commands. This will include the if, else, and elif statements that move the adventurer from one room to another.
Before beginning this milestone, it is important to understand the required functionality for this simplified version of the game. The game should prompt the player to enter commands to either move between rooms or exit the game. IMPORTANT: The “Move Between Rooms” process in the Milestone Simplified Text Game Flowchart is intentionally vague. You designed a more detailed flowchart or pseudocode for this process as a part of your work on Project One. Think about how your design will fit into this larger flowchart.
In PyCharm, create a new code file titled “ModuleSixMilestone.py.” At the top of the file, include a comment with your name. As you…
arrow_forward
For this milestone, you will be submitting a working draft of the code for a simplified version of the text-based game that you are developing for Project Two. You will focus on displaying how a room dictionary works with the “move” commands. This will include the if, else, and elif statements that move the adventurer from one room to another.
Before beginning this milestone, it is important to understand the required functionality for this simplified version of the game. The game should prompt the player to enter commands to either move between rooms or exit the game.
IMPORTANT: The “Move Between Rooms” process in the Milestone Simplified Text Game Flowchart is intentionally vague. You designed a more detailed flowchart or pseudocode for this process as a part of your work on Project One. Think about how your design will fit into this larger flowchart. In PyCharm, create a new code file titled “ModuleSixMilestone.py.” At the top of the file, include a comment with your name. As…
arrow_forward
For this milestone, you will be submitting a working draft of the code for a simplified version of the text-based game that you are developing for Project Two. You will focus on displaying how a room dictionary works with the “move” commands. This will include the if, else, and elif statements that move the adventurer from one room to another.
Before beginning this milestone, it is important to understand the required functionality for this simplified version of the game. The game should prompt the player to enter commands to either move between rooms or exit the game. Review the Milestone Simplified Dragon Text Game Video and the Milestone Simplified Text Game Flowchart to see an example of the simplified version of the game. A video transcript is available: Transcript for Milestone Simplified Dragon Text Game Video. IMPORTANT: The “Move Between Rooms” process in the Milestone Simplified Text Game Flowchart is intentionally vague. You designed a more detailed flowchart or pseudocode…
arrow_forward
Exercises:
Q1/ Design a standard project has three forms with backcolors red, blue
and green.
Q2/ design a standard project that has one form change the name from
form1 to "students"
Q3/ Create a standard project with one form the name of the project
"market seals" and the name of the form "stock markets" and save project
on desktop with name marketing .exe
Q4/ Design a standard project with four forms when running project all
forms appear on screen Note :use this code in form1 (form1.show,
form2.show, form3.show, form4.show)
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Related Questions
- Form Validation for jscript. This is the requirement. Payment Information Validation Validate the customer’s payment information as follows: Card Type Required that one is selected Name on Card Required field Expiry Date (Month) Required field Expiry Date Valid expiry date to ensure the card being used has not expired Card Number Required field, Valid Card Number NOTE: regarding the expiry date, you MUST use the date object to ensure that your date check is dynamic. Modulus Check Logic For this project, we will be taking in 10 digit credit card numbers. Ensure the user entered only 10 numbers. If they pass this check, perform a modulus check to ensure that the user has submitted a valid credit card number. Note that the checking factors below are the literal checking factors you will use in your solution. Sample Credit Card Number 9434578423 Checking Factors 432765432 Multiply Checking Factors by Credit Card digits and…arrow_forwardSubmission Instructions Follow the instructions for How to Submit Programming Assignments. Assignment First, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects). Then create a new Java application called "PatternMaker" (without the quotation marks) according to the following guidelines. The program prompts the user for five input values: An integer value between 1 and 10 (inclusive) for the number of rows to be printed A second integer value between 1 and 10 (inclusive) for the number of columns to be printed A string value for the starting string of the pattern A string value for the second string of the pattern A string value that separates the first two strings The program must use nested for loops to print a rectangular array of alternating first and second strings of the pattern, separated by the separator string and such that the first string in the first row uses the "first string" provided by the user, but…arrow_forwardUsing pictue below use the requirements to code and make the brick breaker game: 1. Score needs to visible and updated as the game plays. 2. Your rows of bricks need to be different colors. 3. Your game play (ball speed, scoring, paddle, etc.) needs to change as the game gets longer or the score gets higher 4. Once all bricks are gone, Game over 5. If ball goes past paddle, you losearrow_forward
- Python question please include all steps and screenshot of code. Also please provide a docstring, and comments through the code, and test the given examples below. Thanks. If there is a vote at a meeting, there are several possible outcomes based on the numberof yes and no votes (abstains are not counted). If all the votes are yes, then the proposalpasses "unanimously", if at least 2/3 of the votes are yes, then the proposal passes with"absolute majority", if at least 1/2 of the votes are yes, then the proposal passes by"simple majority", and otherwise it fails. Write function vote() that takes as input thenumber of yes votes and the number of no votes and then prints the outcome of the vote.>>> votes(9, 0)proposal passes unanimously>>> votes(6, 3)proposal passes with absolute majority>>> votes(5, 4)proposal passes with simple majority>>> votes(4, 5)arrow_forwardconsumers for residential housing. Your task is to create an application to be used by the loan officers of the company when presenting loan options to its customers. The application will be a mortgage calculator that determines a monthly payment for loans. The company offers 10-, 15-, and 30-year fixed loans. The interest rates offered to customers are based on the customer’s credit score. Credit scores are classified into the following categories: Table 1: Credit Score Categories Rating Range Excellent 720-850 Good 690-719 Fair 630-689 Bad 300-629 The program should initially prompt the user (the loan officer) for the principle of the loan (i.e. the amount that is being borrowed). It should then ask him or her to enter the customer’s credit score. Based on the customer’s credit score, the program will randomly generate an interest rate based on the following ranges: Table 2: Interest Rate Assignments…arrow_forward18. This keyword will stop the execution of more code and case testing inside the block. break continue None of the Choices default Give an explanation for the answer. Thank youarrow_forward
- Create the Lucky Number application, shown in the “Activity 15 Possible Implementation.” Your project can calculate Lucky Numbers any way you wish, but must include the following features: Two forms, minimum. Each form should have a different title. A programmatically populated control. A control populated based on the selected item in another control. An event that launches the second form. A screenshot of your program running with successful output.arrow_forwardOnline form design truths * Many replies Participation will improve dialogue. Default if most users pick it. For speedy form reading, use brief, informative labels. Z-pattern form fields speed up form input.arrow_forward12. Do a feature subset selection for the following task: using the student's info to predict their grade. You have the following features. A. Student ID. B. Their grade in their high school. C. SAT (Scholastic Aptitude Test) D. Personality test scoresarrow_forward
- Most forms on websites will usually have some sort of test to confirm that the user is a human and not a bot. Update the contact form that you created in Part 3. Add a field to the form that asks the user for the answer to a simple maths problem. The form should only be submitted if the user provides the successful answer to the maths problem. For example you may ask the user what 3 + 4 equals. The form will only be successfully submitted if the user provides 7 as the answer. If the user provides the incorrect answer to the maths problem, you should display a bold red error message to the user on the page by manipulating the DOM. The message should be diplayed in the same location on the page as the form validation error message from Part 3. If the user provides the correct answer to the maths problem, then the form should be submitted and the user should receive the bold green success message from part 3. Once part 4 is complete the user should receive an error message if: • The form…arrow_forwardAs stated in the last module, this week you will exchange your draft with a partner so they can review it with the rubric. The goal of this exchange is to help mold and rework your draft for submission by Saturday. Because this is a quick turnaround, please make sure you complete the review of your peer’s paper by Thursday so that they will have time to make any changes prior to submission. Additionally, posting your draft prior to Tuesday is strongly encouraged as this will allow additional time for your peer to review your draft. Remember, in total, your research paper needs to be written and formatted using the APA style guide and should include 5-6 pages of text. Your page requirement does not include the cover page, abstract, or reference page. Your research paper should also include a minimum of 3-4 reputable sources. Apa research paper on prymidsarrow_forwardIn this lab, you are to create ONE project that contains TWO forms for this assignment. The form and all controls should be named using VB standards. Within the code, using meaningful variable names that meet the VB standards and appropriate data types. Comments are always encouraged. Form 1: Working with Loops - The first form will have two button click events: First Button Click Event: Using a Do Loop with a Sentinel value of−1ask the user to type in the list of courses they have completed (ex: CIS115). As they enter the courses, display the courses in a listbox. Second Button Click Event: Once the course listbox has been populated, the user will select a course from the listbox that will be converted into a new string using the guidelines given below. This event must validate that a course has been selected from the listbox before the process of generating the new string coded name can be done. (Hint: see page 274.) If a course has been selected, that name should be read into the…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education