CIS 115 All iLabs Logic and Design Devry
CIS 115 All iLabs Logic and Design
Week 1
Week 1 iLab
- Lab #: CIS CIS 115-A1
- Lab 1 of 1 :
Fireworks Stand Checkout
- Lab Overview – Scenario / Summary:
TCO #4–Given a simple business problem that requires one or more decisions, create a solution algorithm that uses decisions with logical and relational expressions.
TCO #5–Given a simple business program that requires iteration, create a solution algorithm that employs loops.
TCO #9–Given a program with logic errors that is intended as a solution to a simple business problem, employ debugging diagnostics to remove and correct the errors.
Scenario:
Your algorithm will keep track of a customer’s purchases at the local fireworks stand. Customers will not know exactly how many items they will purchase, so using a FOR loop on this lab is not allowed. Let’s keep the rules simple.
Week 2
CIS 115 Week 2 Lab Total Meal Purchases (Devry)
Scenario/Summary
Your goal is to solve the following simple programming exercise. You have been contracted by a local antique store to design an algorithm determining the total purchases and sales tax. According to the store owner, the user will need to see the subtotal, the sales tax amount, and the total purchase amount. A customer is purchasing four items from the antique store. Design an algorithm where the user will enter the price of each of the four items. The algorithm will determine the subtotal, the sales tax, and the total purchase amount. Assume the sales tax is 7%.
Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing. Display all output using currency formatting (built-in Visual Logic function).
Advanced (optional): Use a constant for the 7% sales tax.
Deliverables Total Purchases IPO Model Total Purchases Pseudocode Total Purchases Flowchart Total Purchases Output Sample
Week 3
CIS 115 Week 3 Lab Decision Calendar (Devry)
i L A B O V E R V I E WScenario/Summary
Your goal is to solve the following programming lab activity. Write a program that prompts and accepts a number between 1 and 12. After getting the input, display the number with the appropriate month. (example: This is the 1st month…January, This is the 2nd month…February, This is the 12th month…December).
Be sure to THINK about the logic and design first (IPO chart and/or pseudocode), then code the Visual Logic command line processing.
Deliverables Decision Calendar IPO Model Decision Calendar Pseudocode Decision Calendar Flowchart Decision Calendar Output Sample `
Week 4
CIS 115 Week 4 Lab Grade Calendar (Devry)
You have been asked to design a program that will allow a teacher to calculate the percentage and the final grade for students in a class. The program will prompt the teacher to enter the student’s first and last name and the number of points the student received. The program shall only accept scores between 0 and 1,000 points (including 0 and 1,000), with 1,000 points being the maximum number of points. If the input value is within the valid range, the program will display a “good score” message; otherwise, the program will display an error message and then terminate the program. The program shall then calculate the score percentage, and then determine the grade based on the percentage using the following grade criteria:
The program will then display the student’s first name, last name, number of points, calculated percentage, and the final grade.
The program shall have an initial prompt informing the user of the program’s purpose, and a program termination message.
Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing.
Week 5
CIS 115 Week 5 Lab Fireworks Stand Checkout (Devry)
Your algorithm will keep track of a customer’s purchases at the local fireworks stand. Customers will not know exactly how many items they will purchase, so using a for-loop on this lab is not allowed. Let’s keep the rules simple.
Accept the dollar value of each item purchased from the user until the user is finished. When purchases are complete, enter a sentinel value of -1 (indicating the user has finished). If the item purchased is $50.00 or more, give your customer a 10% discount on the item purchased. Display all of the purchases to the customer with the original price and the discount price.
Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing.
Deliverables Firework Stand Checkout IPO Model Firework Stand Checkout Pseudocode Firework Stand Checkout Flowchart Firework Stand Checkout Output Sample
Week 6
CIS 115 Week 6 Lab Fireworks Stand Checkout (Devry)
Your algorithm will keep track of a customer’s purchases at the local fireworks stand. Customers will not know exactly how many items they will purchase, so using a for-loop on this lab is not allowed. Let’s keep the rules simple.
Accept the dollar value of each item purchased from the user until the user is finished. When purchases are complete, enter a sentinel value of -1 (Make certain you do not include the -1 sentinel value in your total). Keep track of the total dollar amount of all fireworks purchased. Keep a tally of the number of items purchased. If more than 20 items were purchased, give your customer a 10% discount on the total purchases. Once purchases are complete, display the total number of items purchased, the average price of the items, the total of all fireworks purchased, any discount if applicable, and the total of all fireworks purchased minus the discount.
Be sure to THINK about the logic and design first (IPO chart and/or pseudocode), then code the Visual Logic command line processing.
Deliverables Firework Stand Checkout IPO Model Firework Stand Checkout Pseudocode Firework Stand Checkout Flowchart Firework Stand Checkout Output Sample
Week 7
CIS 115 Week 7 Lab Fireworks Stand Checkout (Devry)
In this lab, you are going to extend the Fireworks Checkout Stand application in Week 6. This week, we will be more efficient by using files and modularizing the program. This week, we will also load our array of valid zip codes from a text file. In addition, we will modify the existing code to create a modularized design.
Load the array via a .txt file. Prompt to see if the user wants to search for a zip code. Prompt the user to enter a zip code and search against the array. If the zip code is found in the array, continue processing the sale. If the zip code is not found in the array, display a message stating, “State law prohibits selling fireworks for people living in the zip code”. Modularize your code.
Be sure to THINK about the logic and design first (IPO chart and/or pseudocode), then code the Visual Logic command line processing.
10 years ago
Purchase the answer to view it

- cis_115_all_ilabs.zip