2023 CIS 115 All Exercises Logic and Design Week 1 Week 1 Exercise Assignment This | Assignment Collections

Computer Science 2023 CIS 115 All Exercises Logic And Design Devry

2023 CIS 115 All Exercises Logic and Design Week 1 Week 1 Exercise Assignment This | Assignment Collections

CIS 115 All Exercises Logic and Design


Week 1

Week 1 Exercise

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

2) Your answer sheet, second


Week 2

Week 2 Exercise

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


Week 3

Week 3 Exercise

Week 3 Activity – Calculate Overtime Pay 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 #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. Assignment: You will need to design an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed. It will then calculate their gross and net pay. If they work more than 40 hours, overtime is calculated at 1 ½ times the regular rate and displayed separately. If they are married, use a flat tax rate of 15%. If they are single, use 22%, if they are divorced, use 23%, and if they are widowed, use 13% (I realize that these are not very realistic). Here is a sample of what the program should do when run: (No overtime example) Enter hourly pay rate: 10.00 Enter hours worked: 35 Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: M Gross pay is $350.00 Net pay is $297.50 (Overtime example) Enter hourly pay rate: 10.00 Enter hours worked: 45 Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: S Regular pay is $400.00 Overtime pay is $75.00 Gross pay is $475.00 Net pay is $370.50 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. Point distribution for this application: Calculate Overtime Pay Document: Points possible: Points received IPO Chart 5 Pseudocode 5 Flowchart and output 10 Total Points 20 IPO Chart: Input Processing Output Pseudocode: Begin calculateOvertimePay End Flowchart: Example Output after execution:


Week 4

Week 4 Exercise

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

Assignment: You will need to design an application that will receive the weight of a parcel and calculate and display the cost per kg and the delivery charge for that parcel. Calculate the charges using the following data:

Parcel Weight (kg) Cost per kg ($)

< 2.5=”” kg=”” $3.50=”” per=”” kg=””>

2.5 to 5 kg $2.85 per kg

> 5kg $2.45 per kg

Make sure that the weight entered is a positive number, otherwise your program should display an error message and end. Test your algorithm with the following THREE sets of data:

Test case 1: package weight of 2 kg

Test case 2: package weight of 5 kg

Test case 3: package weight of 6 kg


Week 5 

Week 5 Exercise

Assignment (part A): Your goal is to solve the following simple programming exercise. Using a FOR loop, write an algorithm that displays the squares of the numbers 1 to 10 to console output. Thought provoking question: Do you need to accept input?

Assignment (part B): Using a pretest WHILE loop, write an algorithm that displays the squares of the numbers 1 to 10 to console output.

Assignment (part C): This is extra for those who desire a challenge. Accomplish the same output as above, but use a posttest WHILE loop this time.

Be sure to THINK about the logic and design first (IPO chart and or pseudocode), then code the Visual Logic command line processing.

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. 


Week 6 

Week 6 Exercise

Assignment: Arrays are incredible fun! Today we are going to work on a program to keep track of our homework scores for a math class. Write a program that accepts five homework scores as input values and stores them into a table (which is another name for an array). Once the scores are in the array, we can process them again and again.

First, load the scores in your array. Second, display the contents of the array in order. Third, display array in reverse order. Fourth, calculate the average of the five scores entered in the array. Finally, the algorithm should display all the homework scores in the array that are larger than the previously calculated average. Make sure you use some output statements to clarify all the details you are displaying, being cautious about spelling and communicating to your user.

Be sure to THINK about the logic and design first (IPO chart and or pseudocode), then code the Visual Logic command line processing.

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. 

 


Week 7 

Week 7 Exercise

Assignment: Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company. The algorithm should ask the user for the projected monthly sales for 12 months. Then, you need to determine the annual profit and display it to the user. The annual profit is 21% of the total sales.

Part A: Using Visual Logic, write the monthly sales amounts to a file, monthly_Sales.dat. (Hint: be sure to enter a sentinel value for end of file processing later.)

Part B: Using a separate algorithm, use the monthly_Sales.dat file as input to determine the company’s annual profit.

Be sure to THINK about the logic and design first (IPO chart and or pseudocode), then code the Visual Logic command line processing.

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. 

 

We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.

Place Order Now

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational