CSE 1321L: Programming and Problem Solving I Lab
Order ID:89JHGSJE83839 Style:APA/MLA/Harvard/Chicago Pages:5-10 Instructions:
CSE 1321L: Programming and Problem Solving I Lab
Assignment 1 – 100 points
Pseudocode Algorithms
Note: Solutions for this assignment must be written in Pseudocode using the Pseudocode Template and following the Problem Solving Guide from Module 2 in D2L. See CCSE FYE Website for more information about Pseudocode.
Problem 1: Write a pseudocode algorithm that performs the following:
- a) Read in 5 separate numbers from the user.
- b) Calculate the average of the five numbers.
- c) Find the smallest (minimum) and largest (maximum) of the five entered numbers.
- d) Write out the results found from steps b and c with a message describing what the results were.
The algorithm output is as shown below.
Sample Output:
Average of all numbers = 56
Maximum number: 68
Minimum number: 23
Program 2: Write pseudocode that will add all the even numbers from 0 up to a user defined stopping point (inclusive if even). Output the stopping point, and the sum of all even numbers up to the stopping point (inclusive if even). The algorithm output is as shown below.
Sample Outputs:
Stopping point: 12
Sum of all evens = 42
Stopping point: 9
Sum of all evens = 20
Program 3: Write a pseudocode algorithm that asks someone how old they are today, and display their current age. Then perform the calculation and display how old they will be in 20 years. The algorithm output is as shown below.
Sample Outputs:
Your age today = 19
Your age in 20 years = 39
Your age today = 34
Your age in 20 years = 54
Program 4: Write a pseudocode algorithm that performs the following task: Ask a user to enter a number. If the number is between 0 and 10, exclusively, write the word “Blue”. If the number is between 10 and 20, exclusively, write the word “Red”. If the number is between 20 and 30, exclusively, write the word “Green”. If it is any other number, write the message “This is not a correct color option”. The algorithm output is as shown below.
Sample Outputs:
You entered: 15
Your color: Red
You entered: 41
Your color: This is not a correct color option.
Program 5: Write a pseudocode algorithm to add the prices of an order of fries, a burger, and a drink, calculate the tax (assume 10%), and tell the customer their total. Use the prices shown below for each menu item. The algorithm output is as shown below.
Sample Output:
Fries price: 3 dollars
Burger price: 6 dollars
Dink price: 1 dollar
Tax: 1 dollar
Total cost: 11 dollars
Submission:
- Review the assignment submission requirements and grading guidelines.
- Upload the pseudocode files (Word doc or PDF) to the assignment submission folder in Gradescope.
- The files must be uploaded to Gradescope by the due date.
PAGE
Page 2 of 2
RUBRIC
Excellent Quality
95-100%
Introduction 45-41 points
The background and significance of the problem and a clear statement of the research purpose is provided. The search history is mentioned.
Literature Support
91-84 points
The background and significance of the problem and a clear statement of the research purpose is provided. The search history is mentioned.
Methodology
58-53 points
Content is well-organized with headings for each slide and bulleted lists to group related material as needed. Use of font, color, graphics, effects, etc. to enhance readability and presentation content is excellent. Length requirements of 10 slides/pages or less is met.
Average Score
50-85%
40-38 points
More depth/detail for the background and significance is needed, or the research detail is not clear. No search history information is provided.
83-76 points
Review of relevant theoretical literature is evident, but there is little integration of studies into concepts related to problem. Review is partially focused and organized. Supporting and opposing research are included. Summary of information presented is included. Conclusion may not contain a biblical integration.
52-49 points
Content is somewhat organized, but no structure is apparent. The use of font, color, graphics, effects, etc. is occasionally detracting to the presentation content. Length requirements may not be met.
Poor Quality
0-45%
37-1 points
The background and/or significance are missing. No search history information is provided.
75-1 points
Review of relevant theoretical literature is evident, but there is no integration of studies into concepts related to problem. Review is partially focused and organized. Supporting and opposing research are not included in the summary of information presented. Conclusion does not contain a biblical integration.
48-1 points
There is no clear or logical organizational structure. No logical sequence is apparent. The use of font, color, graphics, effects etc. is often detracting to the presentation content. Length requirements may not be met
You Can Also Place the Order at www.collegepaper.us/orders/ordernow or www.crucialessay.com/orders/ordernow Programming and Problem Solving I Lab