SlideShare a Scribd company logo
Click here to get Solution on ProgAnswer.com
Repetition Statements
In this assignment, you will design a program to perform the following task:
Calculate the sum, smallest value and largest value of a list of numbers entered by a user.
Before attempting this exercise, be sure you have completed all of chapters 4 & 5 and course
module readings, participated in the weekly conferences, and thoroughly understand the
examples throughout the chapter. There are 3 main components of your submission including
the problem analysis, program design and documentation, and sample test data.
Analysis
Provide your analysis for the following problem statement:
Write a program that will calculate the sum, smallest value and laregest value of an unknown
number of integer values entered by the user. Your program should print a menu prior to each
number submission:
What would you like to do?
1 – Enter a number
2 – End
If “1” is entered, the program should prompt the user for an integer value. Once the number is
entered, the current sum, maximum and minimum should be displayed.
If a “2” is entered, the program should exit.
Your analysis should be clearly written, demonstrating your thought process and steps used to
analyze the problem. Your analysis should address the following points:
<!--[if !supportLists]--> <!--[endif]-->Output required by the problem.
<!--[if !supportLists]--> <!--[endif]-->Necessary input and how you will obtain the required
output from the given input.
<!--[if !supportLists]--> <!--[endif]-->Variable names and definitions you will use to solve the
problem.
<!--[if !supportLists]--> <!--[endif]-->Necessary formulas and sample calculations that might be
needed.
<!--[if !supportLists]--> <!--[endif]-->Assumptions you are making about the problem.
Design
Provide your program design for the program you analyzed in step 1. Be sure to describe the
fundamental tasks (i.e., things your program must do) needed to solve the problem so you can
use a modular design.
Provide a hierarchy chart for the program (see figure 3.8 page 148).
Provide flow charts for the main module and each sub-module (see figure 5.3 page 225).
Provide pseudocode of your overall design that includes the Main module and the order of the
module calls (see page 148 for an example). List all of your pseudocode for each module. (See
pages148-150 as an example). Please use the base pseudocode described in the text and course
modules; third-party libraries should not be used.
Include header and step comments in your pseudocode, using a similar approach as the example
provided in section 2.3 (textbook page 86). See example 2.8 on pages 87-88).
Test
Prepare any input data (Test data) along with expected output for testing your program (Note:
Programs may not always have both input and output data. Your test data should thoroughly
exercise the functionality of your pseudocode.) Your test data can be presented in the form of a
table as was shown in Assignment 1.
Submission requirements
Your completed assignment should be saved as Word document and submitted to your
WebTycho assignment area no later than the due date listed in the syllabus. Your document
should be neat, well-written with minimal grammatical and spelling errors. Your name should be
clearly listed on the first page along with the class/section, professor and due date. Your
document should contain page numbers at the bottom of each page. Single or double space line
formatting is acceptable.
You should name the file yournamehw3.docx (or yournamehw3.doc). So if my name was Julie
Smith, I would name my document juliesmithhw3.docx.
An example HW3.doc template file containing the required sections is included in the Discussion
folder of the class conference board. You should use this document to start your writing and fill
in all of the details required.

More Related Content

DOC
Comp 122 lab 6 lab report and source code
PPTX
Testcase definition
PPT
Testcase
DOCX
Cmps 260, fall 2021 programming assignment #3 (125 points)
PDF
Cause effect graphing technique
PDF
Tutorial 5 how to draw the process model in stpa project
PPT
How To Improve Your Internet Marketing Using All 3 Types of ANOVA in Excel
PPT
Automation tips
Comp 122 lab 6 lab report and source code
Testcase definition
Testcase
Cmps 260, fall 2021 programming assignment #3 (125 points)
Cause effect graphing technique
Tutorial 5 how to draw the process model in stpa project
How To Improve Your Internet Marketing Using All 3 Types of ANOVA in Excel
Automation tips

What's hot (15)

PPTX
Software Evaluation
PDF
Initializing & Optimizing Machine Learning Models
PDF
Tutorial 4 how to edit the unsafe control actions of stpa project in xstampp
PPTX
Testcase definition
PDF
Using machine learning in anti money laundering part 2
PDF
Assignment # 3 computer system and Programming EC-105
PPTX
Vs c# lecture6
PDF
Using Machine Learning in Anti Money Laundering - Part 1
PPT
Gaur11428
PDF
Tutorial 3 how to draw control structure diagram of the STPA safety analysis ...
PDF
Tutorial 2 creating stpa safety analysis project in xstampp
PPTX
Importance of Numerical Methods in CSE.pptx
PDF
Tutorial 6 how to edit the causal factors in stpa project
ODP
Diagram cookbook
PPTX
Dmm 170900713008 2721314_bhavya
Software Evaluation
Initializing & Optimizing Machine Learning Models
Tutorial 4 how to edit the unsafe control actions of stpa project in xstampp
Testcase definition
Using machine learning in anti money laundering part 2
Assignment # 3 computer system and Programming EC-105
Vs c# lecture6
Using Machine Learning in Anti Money Laundering - Part 1
Gaur11428
Tutorial 3 how to draw control structure diagram of the STPA safety analysis ...
Tutorial 2 creating stpa safety analysis project in xstampp
Importance of Numerical Methods in CSE.pptx
Tutorial 6 how to edit the causal factors in stpa project
Diagram cookbook
Dmm 170900713008 2721314_bhavya
Ad

Viewers also liked (15)

PPTX
How to Submit Your Content to Reddit
PDF
8 Ways to Personalize Your App (in Under 30 Minutes)
PDF
Some2013 MTV #SocialTV: Pyhä kolminaisuus: Ihminen sisällöt ja vuorovaikutus
PPTX
Yira cantillo 2012
PDF
Pyhä kolminaisuus @theMartti #Resta2014-seminaari
DOCX
Kueisioner daftar isi
PDF
#MeMä 2014 - MTV #SocialTV Pyhä kolminaisuus
PPTX
DC Nonprofit Salesforce User Group Welcome 3-20-14
PDF
Mtv #TähdetTähdet #SocialTV 2014
PPTX
Tornado disaster late may 2013
PDF
Finnpanel tv-vuositilaisuus 2015 - themartti - #someTVmittari
PDF
#uusiMTV Lindholm - TV Is The New Digital: Potentiaalia ja kasvuvaraa kakkosr...
PDF
MTV MEDIA #SuomiAreena #SocialTV loppuraportti
PDF
Valve #Digitalist Marketing Forum - Ihminen: Unohdettu luonnonvara
PPTX
Updating your user profile in communities
How to Submit Your Content to Reddit
8 Ways to Personalize Your App (in Under 30 Minutes)
Some2013 MTV #SocialTV: Pyhä kolminaisuus: Ihminen sisällöt ja vuorovaikutus
Yira cantillo 2012
Pyhä kolminaisuus @theMartti #Resta2014-seminaari
Kueisioner daftar isi
#MeMä 2014 - MTV #SocialTV Pyhä kolminaisuus
DC Nonprofit Salesforce User Group Welcome 3-20-14
Mtv #TähdetTähdet #SocialTV 2014
Tornado disaster late may 2013
Finnpanel tv-vuositilaisuus 2015 - themartti - #someTVmittari
#uusiMTV Lindholm - TV Is The New Digital: Potentiaalia ja kasvuvaraa kakkosr...
MTV MEDIA #SuomiAreena #SocialTV loppuraportti
Valve #Digitalist Marketing Forum - Ihminen: Unohdettu luonnonvara
Updating your user profile in communities
Ad

Similar to 1126640 question (20)

DOCX
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
PDF
Assignment2 btkr1343 sem2_20122013
DOCX
COMP 122 Entire Course NEW
PDF
Problem solving using computers - Unit 1 - Study material
PPSX
Problem solving and design
DOC
Md university cmis 102 week 4 hands on lab new
DOC
Md university cmis 102 week 4 hands on lab new
PPT
Jeremiah Yancy - Objectives for Software design and testing
PDF
xii cs practicals
PPT
Prog Design
PDF
Zoho Interview Questions By Scholarhat.pdf
DOC
Md university cmis 102 week 4 hands on lab new
PDF
CMIS 102 FINAL PROJECT
PDF
pyton Notes9
DOCX
1 CS110 - Introduction to Computers and Applications .docx
PDF
L- 14. 0 Algorithm_Flowchart_Example.pdf
PDF
Week1 programming challenges
PDF
2021 icse reducedsylabiix-computer applications
DOC
Md university cmis 102 week 5 hands
DOCX
Cis 355 ilab 1 of 6
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
Assignment2 btkr1343 sem2_20122013
COMP 122 Entire Course NEW
Problem solving using computers - Unit 1 - Study material
Problem solving and design
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
Jeremiah Yancy - Objectives for Software design and testing
xii cs practicals
Prog Design
Zoho Interview Questions By Scholarhat.pdf
Md university cmis 102 week 4 hands on lab new
CMIS 102 FINAL PROJECT
pyton Notes9
1 CS110 - Introduction to Computers and Applications .docx
L- 14. 0 Algorithm_Flowchart_Example.pdf
Week1 programming challenges
2021 icse reducedsylabiix-computer applications
Md university cmis 102 week 5 hands
Cis 355 ilab 1 of 6

Recently uploaded (20)

PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Cell Structure & Organelles in detailed.
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Business Ethics Teaching Materials for college
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
RMMM.pdf make it easy to upload and study
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Cell Types and Its function , kingdom of life
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Pre independence Education in Inndia.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Cell Structure & Organelles in detailed.
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPH.pptx obstetrics and gynecology in nursing
TR - Agricultural Crops Production NC III.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Business Ethics Teaching Materials for college
Pharmacology of Heart Failure /Pharmacotherapy of CHF
2.FourierTransform-ShortQuestionswithAnswers.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Anesthesia in Laparoscopic Surgery in India
Supply Chain Operations Speaking Notes -ICLT Program
RMMM.pdf make it easy to upload and study
VCE English Exam - Section C Student Revision Booklet
Microbial diseases, their pathogenesis and prophylaxis
Basic Mud Logging Guide for educational purpose
Cell Types and Its function , kingdom of life
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Pre independence Education in Inndia.pdf

1126640 question

  • 1. Click here to get Solution on ProgAnswer.com Repetition Statements In this assignment, you will design a program to perform the following task: Calculate the sum, smallest value and largest value of a list of numbers entered by a user. Before attempting this exercise, be sure you have completed all of chapters 4 & 5 and course module readings, participated in the weekly conferences, and thoroughly understand the examples throughout the chapter. There are 3 main components of your submission including the problem analysis, program design and documentation, and sample test data. Analysis Provide your analysis for the following problem statement: Write a program that will calculate the sum, smallest value and laregest value of an unknown number of integer values entered by the user. Your program should print a menu prior to each number submission: What would you like to do? 1 – Enter a number 2 – End If “1” is entered, the program should prompt the user for an integer value. Once the number is entered, the current sum, maximum and minimum should be displayed. If a “2” is entered, the program should exit. Your analysis should be clearly written, demonstrating your thought process and steps used to analyze the problem. Your analysis should address the following points: <!--[if !supportLists]--> <!--[endif]-->Output required by the problem.
  • 2. <!--[if !supportLists]--> <!--[endif]-->Necessary input and how you will obtain the required output from the given input. <!--[if !supportLists]--> <!--[endif]-->Variable names and definitions you will use to solve the problem. <!--[if !supportLists]--> <!--[endif]-->Necessary formulas and sample calculations that might be needed. <!--[if !supportLists]--> <!--[endif]-->Assumptions you are making about the problem. Design Provide your program design for the program you analyzed in step 1. Be sure to describe the fundamental tasks (i.e., things your program must do) needed to solve the problem so you can use a modular design. Provide a hierarchy chart for the program (see figure 3.8 page 148). Provide flow charts for the main module and each sub-module (see figure 5.3 page 225). Provide pseudocode of your overall design that includes the Main module and the order of the module calls (see page 148 for an example). List all of your pseudocode for each module. (See pages148-150 as an example). Please use the base pseudocode described in the text and course modules; third-party libraries should not be used. Include header and step comments in your pseudocode, using a similar approach as the example provided in section 2.3 (textbook page 86). See example 2.8 on pages 87-88). Test Prepare any input data (Test data) along with expected output for testing your program (Note: Programs may not always have both input and output data. Your test data should thoroughly exercise the functionality of your pseudocode.) Your test data can be presented in the form of a table as was shown in Assignment 1. Submission requirements
  • 3. Your completed assignment should be saved as Word document and submitted to your WebTycho assignment area no later than the due date listed in the syllabus. Your document should be neat, well-written with minimal grammatical and spelling errors. Your name should be clearly listed on the first page along with the class/section, professor and due date. Your document should contain page numbers at the bottom of each page. Single or double space line formatting is acceptable. You should name the file yournamehw3.docx (or yournamehw3.doc). So if my name was Julie Smith, I would name my document juliesmithhw3.docx. An example HW3.doc template file containing the required sections is included in the Discussion folder of the class conference board. You should use this document to start your writing and fill in all of the details required.