Shopping Cart
0 item(s) - \$0.00
\$7.00

# CMIS 102 Week 8 Hands-On Lab

This Tutorial was purchased 4 times & rated A by student like you.

# Attachment

• CMIS 102 Week 8 Hands On Lab.docx

CMIS 102 Week 8 Hands-On Lab
Overview:
This hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, Analysis, Design(program design, pseudocode), Test Plan, and implementation with C code. The example provided uses sequential, repetition, selection statements, functions, strings, and arrays.
Program Description:
This program will input and store meteorological data into an array. The program will prompt the user to enter the average monthly rainfall for a specific region and then use a loop to cycle through the array and print out each value. The program should store up 5 years of meteorological data.
Analysis:
I will use sequential, selection, and repetition programming statements and an array to store data.
I will define a 2-D array of Float number: Raindata[][] to store the Float values input by the user. To store up to 5 years of monthly data, the array size should be at least 5*12 = 60 elements.
A float number (rain) will also be needed to input the individual rain data.
An integer variable (Count) is needed to keep count of how many rain data elements were entered. This will keep track to make sure we don’t go over 60 and we print only valid rain elements. In a 2D array this will be RainData[5][12]. We can use #defines to set the number of years and months to eliminate hard coding values.
A float number (rain) will also be needed to input the individual rain data. A nested for loop can be used to iterate through the array to enter Raindata. A nested for loop can also be used to print the data in the array. A array of strings can be used to store year and month names. This will allow a tabular display with labels for the printout. Functions will be used to separate functionality into smaller work units. Functions for displaying the data and inputting the data will be used.
A selection statement will be used to determine if data should be entered.
Learning Exercises for you to try:
1. Modify the program to add a function to sum the rainfall for each year (Hint: you need to sum for each year. You can do this using a looping structure) Support your experimentation with screen captures of executing the new code
2. Enhance the program to allow the user to enter another meteorological element such as windspeed (e.g. 2.4 mph). Note, the user should be able to enter both rainfall and windspeed in your new implementation. Support your experimentation with screen captures of executing the new code.
3. Prepare a new test table with at least 2 distinct test cases listing input and expected output for the code you created after step 2
4. What happens if you change the NUMMONTHS and NUMYEARS de finitions to other values? Be sure to useboth lower and higher values. Describe and implement fixes for any issues if errors results. Support your experimentation with screen captures of executing the new code.

## Write a review

Order Id

Order Id will be kept Confidential

Rating:   A   B   C   D   F

Enter the code in the box below:

Related Tutorials
 \$7.00 CMIS 102 Homework 4 Create your own Function This Tutorial was purchased 7 times & rated A+ by student like you. Create your own function in C that accepts one input parameter and returns a float number. You decide the theme. You should provide both your C code and an example call to the C code function. Be sure to provide an overview of what your function is doing. Provide a screen capture showing ....
 \$7.00 CMIS 102 Homework 1 Solution (100% Correct) This Tutorial was purchased 2 times & rated A+ by student like you. CMIS 102 Homework 1 Solution Introduction to Problem Solving and Algorithm Design   Using the above Code of Ethics, Pick at least 2 of the 8 principles and describe what these principles mean to you. In your write-up, summarize the principles you selected in your own words and pr....
 \$7.00 CMIS 102 Homework 3 (100% Correct) This Tutorial was purchased 3 times & rated A+ by student like you. Create your own unique While-End or (For End) repetition C code. You decide the theme. Be sure to provide an overview of what your repetition structure is doing. Please keep the design simple for this exercise. Just a few lines of code is all that is needed for this response. This should be code ....
 \$7.00 CMIS 102 Homework 2 Test Case Creation Using the following pseudocode (100% Correct) This Tutorial was purchased 8 times & rated A+ by student like you. Homework 2 – Test Case Creation Using the following pseudocode, provide 3 unique test cases that would help validate your algorithm. Be sure to place the test cases in a table showing the input https://www.coursehero.com/tutors-problems/Computer-Science/10754291-I-need-help-with-c-coding-asap....
 \$7.00 CMIS 102 Week 4 Hands on Lab This Tutorial was purchased 3 times & rated A by student like you. CMIS 102 Hands-On Lab Week 4 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 u....
 \$7.00 CMIS 102 Week 2 Hands-On Lab This Tutorial was purchased 6 times & rated A+ by student like you. CMIS 102 Week 2 Hands-On Lab 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, and implementation with C code. Program Description This program will sum two....
 \$7.00 CMIS 102 Week 6 Hands-On Lab This Tutorial was purchased 5 times & rated A+ by student like you. CMIS 102 Week 6 Hands-On Lab 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 and implementation with C code. The example provided uses sequential, repetition state....
 \$7.00 CMIS 102 Week 1 Hands-On Lab This Tutorial was purchased 4 times & rated A by student like you. CMIS 102 Week 1 Hands-On Lab This hands-on lab demonstrate a simple sequential print statements using an online C compiler such as ideone.com. You should follow the instructions to complete the lab as well as perform the learning exercises at the end of this lab. Instructions 1. Open ....
 \$7.00 CMIS 102 Week 3 Hands-On Lab This Tutorial was purchased 8 times & rated A+ by student like you. CMIS 102 Week 3 Hands-On Lab 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, pseudocode visualization, and implementation with C code. The example provided uses m....
 \$7.00 CMIS 102 Week 5 Hands-On Lab This Tutorial was purchased 4 times & rated A by student like you. CMIS 102 Week 5 Hands-On Lab 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 sequenti....
 \$7.00 CMIS 102 Week 7 Hands-On Lab This Tutorial was purchased 5 times & rated A+ by student like you. CMIS 102 Week 7 Hands-On Lab 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, and implementation with C code. The example provided uses sequential, repetit....
 \$7.00 CMIS 102 Week 8 Hands-On Lab This Tutorial was purchased 4 times & rated A by student like you. CMIS 102 Week 8 Hands-On Lab Overview: This hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, Analysis, Design(program design, pseudocode), Test Plan, and implementation with C code. The example provided use....
Tags: