CIS 115 DEVRY Course Tutorial / cis115dotcom

CIS 115 Entire Course: Devry University: All iLabs and Exercises (Devry)

For more course tutorials visit

www.cis115.com

CIS 115 Entire Course: Devry University: All iLabs and Exercises

…………………………………………………………………………………………………………

CIS 115 Week 1 Exercise (Devry)

For more course tutorials visit

www.cis115.com

Assignment:

This activity will assist you in the understanding of how output should appear after statements are executed (results) and how to write proper pseudocode.

1. Show the result of each pseudocode program.

2. Also rewrite the pseudocode statements using Assignment statements.

Rubric:

When completed compile the following documents together neatly in 1 & 2 order:

1) This instruction sheet first

Point distribution for this activity:

Pseudocode Activity

Document:

Points possible:

Problem #1

6

Problem #2

6

Problem #3

8

Total Points

20

Problem #1:

The variable X starts with the value 0.

The variable Y starts with the value 5.

Add X and Y, and store the result in Y.

Display the value in Y on the screen.

Output #1:

Pseudocode #1:

Problem #2:

The variable J starts with the value 10.

The variable K starts with the value 2.

The variable L starts with the value 4.

Store the value of J times K in J.

Store the value of K times L in L.

Add J and L, and store the result in K.

Display the value in K on the screen.

Output #2:

Pseudocode #2:

Problem #3:

The variable A starts with the value 1.

The variable B starts with the value 10.

The variable C starts with the value 100.

The variable X starts with the value 0.

Store the value of C times 3 in X.

Add the value of B times 6 to the value already in X.

Add the value of A times 5 to the value already in X.

Display the value in X on the screen.

Output #3:

Pseudocode #3:

…………………………………………………………………………………………………………………………

CIS 115 Week 1 iLab 1 (Devry)

For more course tutorials visit

www.cis115.com

A. Lab #: CIS CIS 115-A1

B. Lab 1 of 1 :

Fireworks Stand Checkout

C. 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.

1) Accept the dollar value of each item purchased from the user until the user is finished.

2) When purchases are complete, enter a sentinel value of -1 (indicating the user has finished).

3) If more the item purchased is 50.00 or more, give your customer a 10% discount on their item purchased.

4) 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.

D. Deliverables:

Deliverable

Points

Fireworks IPO Model

10

Fireworks Pseudocode

20

Fireworks Flowchart

20

…………………………………………………………………………………………………………………………

CIS 115 Week 2 Exercise (Devry)

For more course tutorials visit

www.cis115.com

Given a simple business problem, design a solution algorithm that uses arithmetic expressions and built-in functions.

Assignment:

Your goal is to solve the following simple programming exercise. You have been contracted by a local restaurant to design an algorithm determining the total meal charges. The algorithm should ask the user for the total food purchase and the tip percent. Then, the algorithm will calculate the amount of a tip, a 7% sales tax, and the total meal charge (including tip). The food purchase, sales tax, tip amount, and total meal charge will need to be displayed to the customer.

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 constants for the 7% sales tax.

Rubric:

When completed staple the following documents together neatly in 1,2,3,4 order:

1) This instruction sheet first

2) The IPO Chart, second

3) The Pseudocode, third

4) The Flowchart and output example last.

…………………………………………………………………………………………………………………………

CIS 115 Week 2 Lab Total Meal Purchases (Devry)

For more course tutorials visit

www.cis115.com

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

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.