Write which populates an array with integer values read from a file. The program must take the items in the array and reverse them. You may use one array only to solve this problem. Write a program that array and determine how many times each integer was generated. Use a second array of size 101 to keep track of the number of times each integer was generated. Initialize each item in the second array to 0. For each item in the first array, use it as the index into the second array and increment the contents found in the second array at the corresponding index. Note: for this problem we are willing to trade memory efficiency (the second array is mostly unused) for time efficiency. 9 on p. 448 of your Hanly & Koffman Problem Solving and Program Design in C text. Write an interactive program that plays a game of hangman. Store the word to be guessed in successive elements of an array of individual characters called word (note: this is not a string!). The player must guess the letters belonging to word. The use another array, guessed, to keep track of the solution so far. Initialize all elements of guessed to the '*' symbol. Each time a letter in word is guessed, replace the corresponding '*' in guessed with that letter.

Programming Projects
1. The results of a true-false exam given to a computer science class has been coded for input to a program. The information available for each student consists of a student identification number and the student's answers to ten true-false questions. The available data are as follows: 2. Student

...PART A:
i) Male:
Female:
The mean value of life satisfaction for male is about 7.7459 while for female is 7.7101, which proves there is no significant different life satisfaction between male and female, thus gender does not affect life satisfaction a lot. But when it comes to sample variance, for male is 2.5684 while for female is 3.0081. From this pair of figures it is obvious that the life satisfaction for female is more flexible than male. Man’s life satisfactions are easy to be affected by other variables. I assume “GENDER” does not affect life satisfaction.
ii) Not alone:
Alone:
The mean value of satisfaction for those who is not alone is about 7.8055 meanwhile the figure for those who live alone is 7.32584. There is a big gap between these two data, which implies that “ALONE” have a significant impact on people life satisfaction. Additionally, sample variance for alone is much higher than for not alone, which implies other variables affect people who live alone severely and affect people not alone a little. I assume “ALONE” affects “LIFESAT” vitally, since people feel happier when they are accompanied by others but for those who are alone are easy to feel lonely and sad.
iii) Income 1:
Income 6:
The average life satisfaction for people with income level 1 is 7.4426 while for people with income level 6 is 8.2069, which means people with high income are more satisfy with their life than...

...tendency of data to cluster around a figure which is in central location is known as central tendency. Measure of central tendency or average of first order describes the concentration of large numbers around a particular value. It is a single value which represents all units.
a. Statistical Averages: The commonly used statistical averages are arithmeticmean, geometric mean, harmonic mean.
b. Arithmeticmean is defined as the sum of all values divided by number of values and is represented by X.
c. Median: Median of a set of values is the value which is the middle most value when they are arranged in the ascending order of magnitude. Median is denoted by ‘M’.
d. Mode: Mode is the value which has the highest frequency and is denoted by Z. Modal value is most useful for business people. For example, shoe and readymade garment manufacturers will like to know the modal size of the people to plan their operations. For discrete data with or without frequency, it is that value corresponding to highest frequency.
Appropriate Situations for the use of Various Averages
1. Arithmeticmean is used when:
a. In depth study of the variable is needed
b. The variable is continuous and additive in nature
c. The data are in the interval or ratio scale
d. When the distribution is symmetrical
2....

...gives a glimpse into some factors surrounding the condition.
EXERCISE 16 Questions to be Graded
1. The researchers analyzed the data they collected as though it were at what level of measurement?
d. Nominal
2. What was the mean posttest empowerment score for the control group?
The mean posttest empowerment score for the control group was 97.12
3. Compare the mean baseline and posttest depression scores of the experimental group. Was this an expected finding? Provide a rationale for your answer.
When comparing the mean baseline and post test depression scores of the experimental group, shows a 6 point difference in the mean values. It can be surmised that the study proved to be somewhat beneficial for the subject in the study since it may have served as an intervention.
4. Compare the mean baseline and posttest depression scores of the control group. Do these scores strengthen or weaken the validity of the research results? Provide a rationale for your answer.
The mean baseline and posttest depression scores of the control group have no change and stays at 10.40. These scores strengthen the validity of the research results because it shows that without the empowerment program, the control group’s depression has not improved.
5. Which group's test scores had the least amount of variability or dispersion?...

...Measuring Service Quality Using SERVQUAL
Introduction Measuring the quality of a service can be a very difficult exercise. Unlike product where there are specific specifications such as length, depth, width, weight, colour etc. a service can have numerous intangible or qualitative specifications. In addition there is there expectation of the customer with regards the service, which can vary considerably based on a range of factors such as prior experience, personal needs and what other people may have told them.
SERVQUAL – a methodology for measuring service quality As a way of trying to measure service quality, researchers have developed a methodology known as SERVQUAL – a perceived service quality questionnaire survey methodology. SERVQUAL examines five dimensions of service quality:
• Reliability
• Responsiveness
• Assurance;
• Empathy, and
• Tangible (e.g. appearance of physical facilities, equipment, etc.)
For each dimension of service quality above, SERVQUAL measures both the expectation and perception of the service on a scale of 1 to 7, 22 questions in total. Then, each of the five dimensions are weighted according to customer importance, and the score for each dimension multiplied by the weighting. Following this, the Gap Score for each dimension is calculated by subtracting the Expectation score from the Perception score. A negative Gap score indicates that the actual service (the Perceived score) was less than what was expected (the...

...useful life that is exponential with a mean of 30 months. Determine each of the following: o. The probability that any given unit will operate for at least (1) 39 months, (2) 48 months, (3) 60 months. p. The probability that any given unit will fail sooner than (1) 33 months, (2) 15 months, (3) 6 months. q. The length of service time after which the percentage of failed units will approximately equal (1) 50 percent, (2) 85 percent, (3) 95 percent, (4) 99 percent. 13. A manufacturer of programmable calculators is attempting to determine a reasonable free-service period for a model it will introduce shortly. The manager of product testing has indicated that the calculators have an expected life of 30 months. Assume product life can be described by an exponential distribution. r. If service contracts are offered for the expected life of the calculator, what percentage of those sold would be expected to fail during the service period? s. What service period would result in a failure rate of approximately 10 percent? 14. Lucky Lumen light bulbs have an expected life that is exponentially distributed with a mean of 5,000 hours. Determine the probability that one of these light bulbs will last t. At least 6,000 hours. u. No longer than 1,000 hours. v. Between 1,000 hours and 6,000 hours. 15. Planetary Communications, Inc., intends to launch a satellite that will enhance reception of television...

...Prices are in thousands of dollars.
Those analyses are below:
Descriptive Statistics for Gulf View
Gulf View List Price | Gulf View Sales Price | Gulf View Days to Sell |
Mean | 474.0075 | Mean | 454.2225 | Mean | 106 |
Median | 437 | Median | 417.5 | Median | 96 |
Maximum | 975 | Maximum | 975 | Maximum | 282 |
Minimum | 169.9 | Minimum | 165 | Minimum | 28 |
Standard Deviation | 197.29003 | Standard Deviation | 192.5177534 | Standard Deviation | 58.2168207 |
Based on the chart, the mean was calculated by adding up the sum of the list and divide 40, which the number of the total listed prices. The mean is 474,007.5, which mean the average of the listed price. Secondly, the median was calculated by listing the number in numerical order from lowest to highest and located the number in the middle 437,000. The median represents the middle number of the listed price. After calculating the median I located the minimum and maximum based the lowest and highest data, which are 169,900 and 975,000. These represent the range of the listed price. Lastly, I used the formula to get the standard deviation of 197,290.03, which measures the variability.
To calculate the mean I added up the sum sale price and divide 40, which the number of the total sale prices. The mean is 454,222.5, which mean the average of the listed price. The median...

...your results.
1. Describe the measures of central tendency. Under what condition(s) should each one be used?
Mean- Works good when it comes to test scores
Median- should be used when describing something like average income.
Mode= is good is you want to see what is you best seeing product in a store situation.
2. Last year, 12 employees from a computer company retired. Their ages at retirement are listed below.First, create a stem plot for the data. Next, find themean retirement age. Round to the nearest year.
55 77 64 77 69 63 62 64 85 64 56 59
8
5
7
77
6
234449
5
569
Mean = 66
3. A retail store manager kept track of the number of car magazines sold each week over a 10-week period. The results are shown below.
27 30 21 62 28 18 23 22 26 28
a. Find the mean, median, and mode of newspapers sold over the 10-week period.
285
Mean= 28.5
Median=26.5
Mode=28
b. Which measure(s) of central tendency best represent the data?
Mean
c. Name any outliers. 62
d. Joe wants to pass his statistics class with at least a 75%. His prior four test scores are 74%, 68%, 84% and 79%. What is the minimum score he needs on the final exam to pass the class with a 75% average?
70%
4. Nancy participated in a summer reading program. The...

...Final Exam Review Questions You should work each of the following on your own, then review the solutions guide. DO NOT look at the solutions guide first. 1. Explain the difference between a population and a sample. In which of these is it important to distinguish between the two in order to use the correct formula? mean; median; mode; range; quartiles; variance; standard deviation. 2. The following numbers represent the weights in pounds of six 7year old children in Mrs. Jones' 2nd grade class. {25, 60, 51, 47, 49, 45} Find the mean; median; mode; range; quartiles; variance; standard deviation. 3. If the variance is 846, what is the standard deviation? 4. If we have the following data 34, 38, 22, 21, 29, 37, 40, 41, 22, 20, 49, 47, 20, 31, 34, 66 Draw a stem and leaf. Discuss the shape of the distribution. 5. What type of relationship is shown by this scatter plot?
45 40 35 30 25 20 15 10 5 0 0 5 10 15 20
6. What values can r take in linear regression? Select 4 values in this interval and describe how they would be interpreted.
7. Does correlation imply causation? 8. What do we call the r value. 9. To predict the annual rice yield in pounds we use the equation ˆ y = 859 + 5.76 x1 + 3.82 x2 , where x1 represents the number of acres planted (in thousands) and where x2 represents the number of acres harvested (in thousands) and where r2 = .94. a) Predict the annual yield when 3200 acres are planted and 3000 are harvested. b) Interpret the...

1292 Words |
4 Pages

Share this Document

{"hostname":"studymode.com","essaysImgCdnUrl":"\/\/images-study.netdna-ssl.com\/pi\/","useDefaultThumbs":true,"defaultThumbImgs":["\/\/stm-study.netdna-ssl.com\/stm\/images\/placeholders\/default_paper_1.png","\/\/stm-study.netdna-ssl.com\/stm\/images\/placeholders\/default_paper_2.png","\/\/stm-study.netdna-ssl.com\/stm\/images\/placeholders\/default_paper_3.png","\/\/stm-study.netdna-ssl.com\/stm\/images\/placeholders\/default_paper_4.png","\/\/stm-study.netdna-ssl.com\/stm\/images\/placeholders\/default_paper_5.png"],"thumb_default_size":"160x220","thumb_ac_size":"80x110","isPayOrJoin":false,"essayUpload":false,"site_id":1,"autoComplete":false,"isPremiumCountry":false,"userCountryCode":"US","logPixelPath":"\/\/www.smhpix.com\/pixel.gif","tracking_url":"\/\/www.smhpix.com\/pixel.gif","cookies":{"unlimitedBanner":"off"},"essay":{"essayId":36754057,"categoryName":"Periodicals","categoryParentId":"17","currentPage":1,"format":"text","pageMeta":{"text":{"startPage":1,"endPage":4,"pageRange":"1-4","totalPages":4}},"access":"premium","title":"Arithmetic Mean and Program","additionalIds":[3,2,52,5],"additional":["Business \u0026 Economy","Awards \u0026 Events","Business \u0026 Economy\/Organizations","Computer Science"],"loadedPages":{"html":[],"text":[1,2,3,4]}},"user":null,"canonicalUrl":"http:\/\/www.studymode.com\/essays\/Arithmetic-Mean-And-Program-1326598.html","pagesPerLoad":50,"userType":"member_guest","ct":10,"ndocs":"1,500,000","pdocs":"6,000","cc":"10_PERCENT_1MO_AND_6MO","signUpUrl":"https:\/\/www.studymode.com\/signup\/","joinUrl":"https:\/\/www.studymode.com\/join","payPlanUrl":"\/checkout\/pay","upgradeUrl":"\/checkout\/upgrade","freeTrialUrl":"https:\/\/www.studymode.com\/signup\/?redirectUrl=https%3A%2F%2Fwww.studymode.com%2Fcheckout%2Fpay%2Ffree-trial\u0026bypassPaymentPage=1","showModal":"get-access","showModalUrl":"https:\/\/www.studymode.com\/signup\/?redirectUrl=https%3A%2F%2Fwww.studymode.com%2Fjoin","joinFreeUrl":"\/essays\/?newuser=1","siteId":1,"facebook":{"clientId":"306058689489023","version":"v2.8","language":"en_US"}}