SlideShare una empresa de Scribd logo
1 de 3
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.

Más contenido relacionado

La actualidad más candente

Testcase definition
Testcase definitionTestcase definition
Testcase definition
Oana Feidi
 

La actualidad más candente (15)

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

Destacado

Kueisioner daftar isi
Kueisioner daftar isiKueisioner daftar isi
Kueisioner daftar isi
Andi Manurung
 

Destacado (15)

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

Similar a 1126640 question

Software development slides
Software development slidesSoftware development slides
Software development slides
iarthur
 
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docxCase Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
wendolynhalbert
 
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
sleeperharwell
 

Similar a 1126640 question (20)

Question 1 briefly respond to all the following questions. make
Question 1 briefly respond to all the following questions. make Question 1 briefly respond to all the following questions. make
Question 1 briefly respond to all the following questions. make
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 
DISE - Programming Concepts
DISE - Programming ConceptsDISE - Programming Concepts
DISE - Programming Concepts
 
Data structures & problem solving unit 1 ppt
Data structures & problem solving unit 1 pptData structures & problem solving unit 1 ppt
Data structures & problem solving unit 1 ppt
 
Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com  Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com
 
CIS 406 Inspiring Innovation/tutorialrank.com
 CIS 406 Inspiring Innovation/tutorialrank.com CIS 406 Inspiring Innovation/tutorialrank.com
CIS 406 Inspiring Innovation/tutorialrank.com
 
Hw5
Hw5Hw5
Hw5
 
CIS 406 Imagine Your Future/newtonhelp.com   
CIS 406 Imagine Your Future/newtonhelp.com   CIS 406 Imagine Your Future/newtonhelp.com   
CIS 406 Imagine Your Future/newtonhelp.com   
 
CIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.comCIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.com
 
CIS 406 Life of the Mind/newtonhelp.com   
CIS 406 Life of the Mind/newtonhelp.com   CIS 406 Life of the Mind/newtonhelp.com   
CIS 406 Life of the Mind/newtonhelp.com   
 
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docxCase Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.com
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.com
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
 
CIS 406 Entire Course NEW
CIS 406 Entire Course NEWCIS 406 Entire Course NEW
CIS 406 Entire Course NEW
 
CMIS 102 FINAL PROJECT
CMIS 102 FINAL PROJECTCMIS 102 FINAL PROJECT
CMIS 102 FINAL PROJECT
 
Create software that can encrypt and decrypt using S-DES- Test data- u.docx
Create software that can encrypt and decrypt using S-DES- Test data- u.docxCreate software that can encrypt and decrypt using S-DES- Test data- u.docx
Create software that can encrypt and decrypt using S-DES- Test data- u.docx
 
Visual Logic Project - 1
Visual Logic Project - 1Visual Logic Project - 1
Visual Logic Project - 1
 
CIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comCIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.com
 
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
 

Último

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

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.