SlideShare a Scribd company logo
1 of 3
MD University CMIS 102 Week 5 Hands-On Lab
NEW
Check this A+ tutorial guideline at
http://www.uopassignments.com/cmis-102-
md-university-/cmis-102-week-5-hands-on-
lab-recent
For more classes visit
http://www.uopassignments.com/
Overview
This hands-on lab allows you to follow and
experiment with the critical steps of developing a
program including the program description,
analysis, test plan, design (using pseudocode), and
implementation with C code. The example
provided uses sequential, selection and repetition
statements.
Program Description
This program will calculate the average of 10
positive integers. The program will ask the user to
10 integers. If any of the values entered is
negative, a message will be displayed asking the
user to enter a value greater than 0. The program
will use a loop to input the data.
Analysis
I will use sequential, selection and repetition
programming statements. I will define two integer
numbers: count, value and sum. count will store
how many times values are entered. value will
store the input. Sum will store the sum of all 10
integers. I will define one double number: avg. avg
will store the average of the ten positive integers
input.
The sum will be calculated by this formula:
Learning Exercises for you to complete
1. Change the code to average 20 integers as
opposed to 10. Support your experimentation with
screen captures of executing the new code.
2. Prepare a new test table with at least 3 distinct
test cases listing input and expected output for the
code you created after step 1.
3. What happens if you entered a value other than
an integer? (For example a float or even a string).
Support your experimentation with screen
captures of executing the code.
4. Modify the code to allow the user to enter an
unspecified number of positive integers and
calculate the average. In other words, the user
could enter number of positive integers. (Hint: You
can prompt the user for how many they want to
enter. Or; you could use a sentinel value to trigger
when the user has completed entering values). You
may need to conduct some research on your own
to solve this problem. Prepare a new test table
with at least 3 distinct test cases listing input and
expected output for the code you created. Support
your experimentation with screen captures of
executing the new code

More Related Content

What's hot

10 ipt python exam breakdown
10 ipt python exam breakdown10 ipt python exam breakdown
10 ipt python exam breakdownhccit
 
Tutorial 04 (revised) (1)
Tutorial 04 (revised) (1)Tutorial 04 (revised) (1)
Tutorial 04 (revised) (1)IIUM
 
Python - Control Structures
Python - Control StructuresPython - Control Structures
Python - Control StructuresLasithNiro
 

What's hot (6)

Debugging
DebuggingDebugging
Debugging
 
10 ipt python exam breakdown
10 ipt python exam breakdown10 ipt python exam breakdown
10 ipt python exam breakdown
 
Tutorial 04 (revised) (1)
Tutorial 04 (revised) (1)Tutorial 04 (revised) (1)
Tutorial 04 (revised) (1)
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
Python - Control Structures
Python - Control StructuresPython - Control Structures
Python - Control Structures
 
Pseudocode
PseudocodePseudocode
Pseudocode
 

Similar to Md university cmis 102 week 5 hands

Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newLast7693
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newscottbrownnn
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab neweyavagal
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.comHarrisGeorg12
 
OverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxOverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxgerardkortney
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comStephenson22
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comWilliamsTaylorza48
 
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...acijjournal
 
SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)Amr E. Mohamed
 
Advanced Computer Programming..pptx
Advanced Computer Programming..pptxAdvanced Computer Programming..pptx
Advanced Computer Programming..pptxKrishanthaRanaweera1
 
How to complement TDD with static analysis
How to complement TDD with static analysisHow to complement TDD with static analysis
How to complement TDD with static analysisPVS-Studio
 
COMP 122 Entire Course NEW
COMP 122 Entire Course NEWCOMP 122 Entire Course NEW
COMP 122 Entire Course NEWshyamuopeight
 
Comp 122 lab 4 lab report and source code
Comp 122 lab 4 lab report and source codeComp 122 lab 4 lab report and source code
Comp 122 lab 4 lab report and source codepradesigali1
 
Testers Desk Presentation
Testers Desk PresentationTesters Desk Presentation
Testers Desk PresentationQuality Testing
 
Oop lab assignment 01
Oop lab assignment 01Oop lab assignment 01
Oop lab assignment 01Drjilesh
 
Md university cmis 102 week 3 hands
Md university cmis 102 week 3 handsMd university cmis 102 week 3 hands
Md university cmis 102 week 3 handseyavagal
 
5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.pptSyedAhmad732853
 
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxBottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxAASTHA76
 
SE2_Lec 21_ TDD and Junit
SE2_Lec 21_ TDD and JunitSE2_Lec 21_ TDD and Junit
SE2_Lec 21_ TDD and JunitAmr E. Mohamed
 
CMIS 102 HANDS-ON LAB WEEK 6 OVERVIEW THIS HANDS-ON LAB ALLOWS YOU TO FOLLOW ...
CMIS 102 HANDS-ON LAB WEEK 6 OVERVIEW THIS HANDS-ON LAB ALLOWS YOU TO FOLLOW ...CMIS 102 HANDS-ON LAB WEEK 6 OVERVIEW THIS HANDS-ON LAB ALLOWS YOU TO FOLLOW ...
CMIS 102 HANDS-ON LAB WEEK 6 OVERVIEW THIS HANDS-ON LAB ALLOWS YOU TO FOLLOW ...JanuMorandy
 

Similar to Md university cmis 102 week 5 hands (20)

Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.com
 
OverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxOverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docx
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.com
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.com
 
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
 
SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)
 
Advanced Computer Programming..pptx
Advanced Computer Programming..pptxAdvanced Computer Programming..pptx
Advanced Computer Programming..pptx
 
How to complement TDD with static analysis
How to complement TDD with static analysisHow to complement TDD with static analysis
How to complement TDD with static analysis
 
COMP 122 Entire Course NEW
COMP 122 Entire Course NEWCOMP 122 Entire Course NEW
COMP 122 Entire Course NEW
 
Comp 122 lab 4 lab report and source code
Comp 122 lab 4 lab report and source codeComp 122 lab 4 lab report and source code
Comp 122 lab 4 lab report and source code
 
Testers Desk Presentation
Testers Desk PresentationTesters Desk Presentation
Testers Desk Presentation
 
Oop lab assignment 01
Oop lab assignment 01Oop lab assignment 01
Oop lab assignment 01
 
Md university cmis 102 week 3 hands
Md university cmis 102 week 3 handsMd university cmis 102 week 3 hands
Md university cmis 102 week 3 hands
 
5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt
 
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxBottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
 
SE2_Lec 21_ TDD and Junit
SE2_Lec 21_ TDD and JunitSE2_Lec 21_ TDD and Junit
SE2_Lec 21_ TDD and Junit
 
CMIS 102 HANDS-ON LAB WEEK 6 OVERVIEW THIS HANDS-ON LAB ALLOWS YOU TO FOLLOW ...
CMIS 102 HANDS-ON LAB WEEK 6 OVERVIEW THIS HANDS-ON LAB ALLOWS YOU TO FOLLOW ...CMIS 102 HANDS-ON LAB WEEK 6 OVERVIEW THIS HANDS-ON LAB ALLOWS YOU TO FOLLOW ...
CMIS 102 HANDS-ON LAB WEEK 6 OVERVIEW THIS HANDS-ON LAB ALLOWS YOU TO FOLLOW ...
 

More from eyavagal

Hcr 230 week 3 check point working with medicaid
Hcr 230 week 3 check point working with medicaidHcr 230 week 3 check point working with medicaid
Hcr 230 week 3 check point working with medicaideyavagal
 
Hcr 230 complete class
Hcr 230 complete classHcr 230 complete class
Hcr 230 complete classeyavagal
 
Hcr 220 complete class
Hcr 220 complete classHcr 220 complete class
Hcr 220 complete classeyavagal
 
Uop mpa 573 week 5 city council advisement part iii recent
Uop mpa 573 week 5 city council advisement part iii recentUop mpa 573 week 5 city council advisement part iii recent
Uop mpa 573 week 5 city council advisement part iii recenteyavagal
 
Uop mpa 573 week 2 policy presentation (forecasting) recent
Uop mpa 573 week 2 policy presentation (forecasting) recentUop mpa 573 week 2 policy presentation (forecasting) recent
Uop mpa 573 week 2 policy presentation (forecasting) recenteyavagal
 
Mktg 522 week 8 final exam guide
Mktg 522 week 8 final exam guideMktg 522 week 8 final exam guide
Mktg 522 week 8 final exam guideeyavagal
 
Strayer mis 535 week 6 course project proposal paper
Strayer mis 535 week 6 course project proposal paperStrayer mis 535 week 6 course project proposal paper
Strayer mis 535 week 6 course project proposal papereyavagal
 
Strayer mis 535 week 6 course project proposal
Strayer mis 535 week 6 course project proposalStrayer mis 535 week 6 course project proposal
Strayer mis 535 week 6 course project proposaleyavagal
 
Strayer mis 535 week 6 course project proposal paper (certify for employees)
Strayer mis 535 week 6 course project proposal paper (certify for employees)Strayer mis 535 week 6 course project proposal paper (certify for employees)
Strayer mis 535 week 6 course project proposal paper (certify for employees)eyavagal
 
Ash ece 405 week 3 assignment 1 e
Ash ece 405 week 3 assignment 1 eAsh ece 405 week 3 assignment 1 e
Ash ece 405 week 3 assignment 1 eeyavagal
 
Ash ece 353 week 5 discussions 1 cognitive development and learning new
Ash ece 353 week 5 discussions 1 cognitive development and learning newAsh ece 353 week 5 discussions 1 cognitive development and learning new
Ash ece 353 week 5 discussions 1 cognitive development and learning neweyavagal
 
Ash ece 353 week 4 discussions 2 relationships between cognitive
Ash ece 353 week 4 discussions 2 relationships between cognitiveAsh ece 353 week 4 discussions 2 relationships between cognitive
Ash ece 353 week 4 discussions 2 relationships between cognitiveeyavagal
 
Msu ece 345 week 5 final paper new
Msu ece 345 week 5 final paper newMsu ece 345 week 5 final paper new
Msu ece 345 week 5 final paper neweyavagal
 
Ese 633 week 5 dq 1 discussion on co teaching
Ese 633 week 5 dq 1 discussion on co teachingEse 633 week 5 dq 1 discussion on co teaching
Ese 633 week 5 dq 1 discussion on co teachingeyavagal
 
Ese 633 week 5 assignment collaborative problem solving
Ese 633 week 5 assignment collaborative problem solvingEse 633 week 5 assignment collaborative problem solving
Ese 633 week 5 assignment collaborative problem solvingeyavagal
 
Ese 633 week 4 dq 1 transition planning
Ese 633 week 4 dq 1 transition planningEse 633 week 4 dq 1 transition planning
Ese 633 week 4 dq 1 transition planningeyavagal
 
Ese 633 week 4 assignment helping parents promote independence
Ese 633 week 4 assignment helping parents promote independenceEse 633 week 4 assignment helping parents promote independence
Ese 633 week 4 assignment helping parents promote independenceeyavagal
 
Ese 633 week 3 dq 2 collaborative consultation model
Ese 633 week 3 dq 2 collaborative consultation modelEse 633 week 3 dq 2 collaborative consultation model
Ese 633 week 3 dq 2 collaborative consultation modeleyavagal
 
Ese 633 week 2 assignment developing curriculum design
Ese 633 week 2 assignment developing curriculum designEse 633 week 2 assignment developing curriculum design
Ese 633 week 2 assignment developing curriculum designeyavagal
 
Ese 633 week 1 assignment assessing conflict styles
Ese 633 week 1 assignment assessing conflict stylesEse 633 week 1 assignment assessing conflict styles
Ese 633 week 1 assignment assessing conflict styleseyavagal
 

More from eyavagal (20)

Hcr 230 week 3 check point working with medicaid
Hcr 230 week 3 check point working with medicaidHcr 230 week 3 check point working with medicaid
Hcr 230 week 3 check point working with medicaid
 
Hcr 230 complete class
Hcr 230 complete classHcr 230 complete class
Hcr 230 complete class
 
Hcr 220 complete class
Hcr 220 complete classHcr 220 complete class
Hcr 220 complete class
 
Uop mpa 573 week 5 city council advisement part iii recent
Uop mpa 573 week 5 city council advisement part iii recentUop mpa 573 week 5 city council advisement part iii recent
Uop mpa 573 week 5 city council advisement part iii recent
 
Uop mpa 573 week 2 policy presentation (forecasting) recent
Uop mpa 573 week 2 policy presentation (forecasting) recentUop mpa 573 week 2 policy presentation (forecasting) recent
Uop mpa 573 week 2 policy presentation (forecasting) recent
 
Mktg 522 week 8 final exam guide
Mktg 522 week 8 final exam guideMktg 522 week 8 final exam guide
Mktg 522 week 8 final exam guide
 
Strayer mis 535 week 6 course project proposal paper
Strayer mis 535 week 6 course project proposal paperStrayer mis 535 week 6 course project proposal paper
Strayer mis 535 week 6 course project proposal paper
 
Strayer mis 535 week 6 course project proposal
Strayer mis 535 week 6 course project proposalStrayer mis 535 week 6 course project proposal
Strayer mis 535 week 6 course project proposal
 
Strayer mis 535 week 6 course project proposal paper (certify for employees)
Strayer mis 535 week 6 course project proposal paper (certify for employees)Strayer mis 535 week 6 course project proposal paper (certify for employees)
Strayer mis 535 week 6 course project proposal paper (certify for employees)
 
Ash ece 405 week 3 assignment 1 e
Ash ece 405 week 3 assignment 1 eAsh ece 405 week 3 assignment 1 e
Ash ece 405 week 3 assignment 1 e
 
Ash ece 353 week 5 discussions 1 cognitive development and learning new
Ash ece 353 week 5 discussions 1 cognitive development and learning newAsh ece 353 week 5 discussions 1 cognitive development and learning new
Ash ece 353 week 5 discussions 1 cognitive development and learning new
 
Ash ece 353 week 4 discussions 2 relationships between cognitive
Ash ece 353 week 4 discussions 2 relationships between cognitiveAsh ece 353 week 4 discussions 2 relationships between cognitive
Ash ece 353 week 4 discussions 2 relationships between cognitive
 
Msu ece 345 week 5 final paper new
Msu ece 345 week 5 final paper newMsu ece 345 week 5 final paper new
Msu ece 345 week 5 final paper new
 
Ese 633 week 5 dq 1 discussion on co teaching
Ese 633 week 5 dq 1 discussion on co teachingEse 633 week 5 dq 1 discussion on co teaching
Ese 633 week 5 dq 1 discussion on co teaching
 
Ese 633 week 5 assignment collaborative problem solving
Ese 633 week 5 assignment collaborative problem solvingEse 633 week 5 assignment collaborative problem solving
Ese 633 week 5 assignment collaborative problem solving
 
Ese 633 week 4 dq 1 transition planning
Ese 633 week 4 dq 1 transition planningEse 633 week 4 dq 1 transition planning
Ese 633 week 4 dq 1 transition planning
 
Ese 633 week 4 assignment helping parents promote independence
Ese 633 week 4 assignment helping parents promote independenceEse 633 week 4 assignment helping parents promote independence
Ese 633 week 4 assignment helping parents promote independence
 
Ese 633 week 3 dq 2 collaborative consultation model
Ese 633 week 3 dq 2 collaborative consultation modelEse 633 week 3 dq 2 collaborative consultation model
Ese 633 week 3 dq 2 collaborative consultation model
 
Ese 633 week 2 assignment developing curriculum design
Ese 633 week 2 assignment developing curriculum designEse 633 week 2 assignment developing curriculum design
Ese 633 week 2 assignment developing curriculum design
 
Ese 633 week 1 assignment assessing conflict styles
Ese 633 week 1 assignment assessing conflict stylesEse 633 week 1 assignment assessing conflict styles
Ese 633 week 1 assignment assessing conflict styles
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
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.pdfJayanti Pande
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
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 17Celine George
 
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 ModeThiyagu K
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
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
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
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
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

Md university cmis 102 week 5 hands

  • 1. MD University CMIS 102 Week 5 Hands-On Lab NEW Check this A+ tutorial guideline at http://www.uopassignments.com/cmis-102- md-university-/cmis-102-week-5-hands-on- lab-recent For more classes visit http://www.uopassignments.com/ Overview This hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, analysis, test plan, design (using pseudocode), and implementation with C code. The example provided uses sequential, selection and repetition statements. Program Description
  • 2. This program will calculate the average of 10 positive integers. The program will ask the user to 10 integers. If any of the values entered is negative, a message will be displayed asking the user to enter a value greater than 0. The program will use a loop to input the data. Analysis I will use sequential, selection and repetition programming statements. I will define two integer numbers: count, value and sum. count will store how many times values are entered. value will store the input. Sum will store the sum of all 10 integers. I will define one double number: avg. avg will store the average of the ten positive integers input. The sum will be calculated by this formula: Learning Exercises for you to complete 1. Change the code to average 20 integers as opposed to 10. Support your experimentation with screen captures of executing the new code. 2. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the code you created after step 1.
  • 3. 3. What happens if you entered a value other than an integer? (For example a float or even a string). Support your experimentation with screen captures of executing the code. 4. Modify the code to allow the user to enter an unspecified number of positive integers and calculate the average. In other words, the user could enter number of positive integers. (Hint: You can prompt the user for how many they want to enter. Or; you could use a sentinel value to trigger when the user has completed entering values). You may need to conduct some research on your own to solve this problem. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the code you created. Support your experimentation with screen captures of executing the new code