- Home >
- Programming >
- Question for Unicew
Question for Unicew
IvpgbelYvmneq
label
Programming
timer
Asked: Aug 24th, 2013
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
This question has not been answered.
Create a free account to get help with this and any other question!
Most Popular Content
University of Phoenix Coding Worksheet
While the zyLab platform can be used without training, a bit of training may help some students avoid common issues. The a ...
University of Phoenix Coding Worksheet
While the zyLab platform can be used without training, a bit of training may help some students avoid common issues. The assignment is to get an integer from input, and output that integer squared, ending with newline. (Note: This assignment is configured to have students programming directly in the zyBook. Instructors may instead require students to upload a file). Below is a program that's been nearly completed for you. Click "Run program". The output is wrong. Sometimes a program lacking input will produce wrong output (as in this case), or no output. Remember to always pre-enter needed input.Type 2 in the input box, then click "Run program", and note the output is 4.Type 3 in the input box instead, run, and note the output is 6. When students are done developing their program, they can submit the program for automated grading. Click the "Submit mode" tabClick "Submit for grading". The first test case failed (as did all test cases, but focus on the first test case first). The highlighted arrow symbol means an ending newline was expected but is missing from your program's output. Matching output exactly, even whitespace, is often required. Change the program to output an ending newline. Click on "Develop mode", and change the output statement to output a newline: System.out.println(userNumSquared);. Type 2 in the input box and run. Click on "Submit mode", click "Submit for grading", and observe that now the first test case passes and 1 point was earned.The last two test cases failed, due to a bug, yielding only 1 of 3 possible points. Fix that bug. Click on "Develop mode", change the program to use * rather than +, and try running with input 2 (output is 4) and 3 (output is now 9, not 6 as before). Click on "Submit mode" again, and click "Submit for grading". Observe that all test cases are passed, and you've earned 3 of 3 points.
SAS with MANOVA analysis
Perform two MANOVA analyses, a 3-Group analysis and a Factorial Design with 2-Independent variables as directed below on t ...
SAS with MANOVA analysis
Perform two MANOVA analyses, a 3-Group analysis and a Factorial Design with 2-Independent variables as directed below on the HATCO dataset. Include the following: Perform a brief exploratory data analysis of the data and evaluate the tenability of the multivariate data analysis assumptions and specifically those associated with MANOVA (Note: only need to assess univariate assumptions).State ALL Null and Alternative Hypotheses. Use an alpha of 0.05 for all hypothesis testing and/or specify an alternative value as necessary.3-Group Model: X9 X10 = X14; including appropriate Multiple Means Comparisons Tests (e.g., Tukey and Scheffe)Factorial Design Model: X9 X10 = X14 X13 X14*X13Fully discuss and interpret all the analyses, results and conclusions. Provide a brief management summary including key selected results along with the SAS program and output as an appendix.
Astronomy project
ANSWER HAVE TO BE AS PER REQUIREMENTS.NO COPIED PLEASE.Project DescriptionIn the real world, you are most likely going to ...
Astronomy project
ANSWER HAVE TO BE AS PER REQUIREMENTS.NO COPIED PLEASE.Project DescriptionIn the real world, you are most likely going to edit existing code than to start everything anew in your job. In this project, you are going to edit the given astrology program.Recently there are talks about a new zodiac sign Ophiuchus (of water element). Your boss would like you to edit your company's astrology program to accommodate the addition. And while you are at it, she wants you to also make sure to allow users to re-input the birth dates if they made a mistake.Original Astrology ProgramCurrently the user is asked to type in data for two people: name, birth month and day. And the program responds with the signs, and if the birthday is only one or two days away from an adjacent sign, the program announces that the birthday is on a “cusp”. And then the program will tell the user whether these two people are compatible based on their sign elements.The 12 horoscope signs and dates are the following, which the original astrology program is based on:Aries March 21–April 19 (day 81 - 110)Taurus April 20–May 20 (day 111 - 141)Gemini May 21–June 21 (day 142 - 173)Cancer June 22–July 22 (day 174 - 204)Leo July 23–August 22 (day 205 - 235)Virgo August 23–September 22 (day 236 - 266)Libra September 23–October 22 (day 267 - 296)Scorpio October 23–November 21 (day 297 - 326)Sagittarius November 22–December 21 (day 327 - 356)Capricorn December 22–January 19 (day 357 - 19)Aquarius January 20–February 18 (day 20 - 49)Pisces February 19–March 20 (day 50 - 80)A Cusp and a Sign is Only 2 Days AwayLet's look at an example based on the original program:Pisces February 19–March 20 (day 50 - 80)Aries March 21–April 19 (day 81 - 110)Ken & AmyEnter your name: Ken
Enter your birthday (month day): 3 23
Enter your friend's name: Amy
Enter his/her birthday (month day): 3 22
Ken is a ARIES.
Amy is a ARIES. He/she is also a cusp of PISCES.
Ken is compatible with Amy.Mark & Jane:Enter your name: Mark
Enter your birthday (month day): 3 18
Enter your friend's name: Jane
Enter his/her birthday (month day): 3 19
Mark is a PISCES.
Jane is a PISCES. He/she is also a cusp of ARIES.
Mark is compatible with Jane.What is the Element of a SignHoroscope Signs of the same Element are most compatible. There are 4Elements in astrology, and 3 Signs in each: FIRE (Aries, Leo, Sagittarius),EARTH (Taurus, Virgo, Capricorn), AIR (Gemini, Libra, Aquarius) , WATER (Cancer, Scorpio, Pisces).Given Program FilesThese are the program files for the original program:main.cpphoroscope.hhoroscope.cppYour Boss's RequirementsEdit the program to work for the 13-sign system, and assume the new Ophiuchus sign is of Water element. Here are the new dates:Capricorn January 21 - February 16 (day 21 - 47)Aquarius February 17 - March 11 (day 48 - 71)Pisces March 12 - April 18 (day 72- 109)Aires April 19 - May 13 (day 110 - 134)Taurus May 14 - June 21 (day 135 - 173)Gemini June 22 - July 20 (day 174 - 202)Cancer July 21 - August 10 (day 203 - 223)Leo August 11 - September 16 (224 - 260)Virgo September 17 - October 30 (day 261 - 304)Libra October 30 - November 23 (day 305 - 328)Scorpio November 24 - November 29 (day 329 - 334)Ophiuchus November 30 - December 17 (day 335 - 352)Sagittarius December 18 - January 20 (day 353 - 20)Implement error checking for birth month/day input. Allow users to reenter if they made a mistake.Impeccable programming style and comments.Answer all questions in the Problems Encountered section.What to SubmitSubmit for this lab all your program files in .h and .cpp.TipsRun the original program to make sure it works first.Test all the boundary cases (where the signs change and at cusp) as well as regular cases.Test when user enter invalid dates, such as "20" or "abc" for month.Demo of ProgramEnter your name: KenEnter your birthday (month day): 11 23Enter your friend's name: AmyEnter his/her birthday (month day): 11 28Ken is a SCORPIO. He/she is also a cusp of LIBRA.Amy is a SCORPIO. He/she is also a cusp of OPHIUCHUS.Ken is compatible with Amy.Problems Encountered In the end of your main.cpp file, add a blocked comment section as follows and fill it out:/* ==========================================================
Q1. Problems I had working on this assignment (and how I overcame these problems)
1.
2.
Q2. Did you find any problems in the original program?
========================================================== */
Similar Content
City University of Seattle Positioning Techniques HTML Website
Apply at least one positioning technique to your own website for the assignment due this week. Write 1-2 paragraphs descri...
R Language Code Regression Analysis Paper
Sitehttp://archive.ics.uci.edu/ml/datasets/clickstream+data+for+online+shoppingAttributes (Sections highlighted in red are...
University of Tampa Javascript Worksheet
Have the scrip with an introduction. the script should have good flowing dialogue between the characters. The script must ...
C Program Design assignment
Hi please see the following file to know what you have to do in this assignment...
Entry Level Programming Questions
4 questionsentry lebel something like Tic Tac Toe ,...
Healthcare Ethics Discussion
To begin our study of ethics, each of you must first examine yourself. Consider your values on three levels:
Personal
Soci...
Aws Amazon
Compliance on AWS. The topic teaches the responsibilities on how to comply with laws and the regulations. AWS also teaches...
Overview
In case you have any question, let me know....
Group Project Mobile Forensics
Lack of user knowledge is a challenge to IoT security since most consumers become obsessed with the devices but not aware ...
Related Tags
Book Guides
Studypool values your privacy. Only questions posted as Public are visible on our website.
Most Popular Content
University of Phoenix Coding Worksheet
While the zyLab platform can be used without training, a bit of training may help some students avoid common issues. The a ...
University of Phoenix Coding Worksheet
While the zyLab platform can be used without training, a bit of training may help some students avoid common issues. The assignment is to get an integer from input, and output that integer squared, ending with newline. (Note: This assignment is configured to have students programming directly in the zyBook. Instructors may instead require students to upload a file). Below is a program that's been nearly completed for you. Click "Run program". The output is wrong. Sometimes a program lacking input will produce wrong output (as in this case), or no output. Remember to always pre-enter needed input.Type 2 in the input box, then click "Run program", and note the output is 4.Type 3 in the input box instead, run, and note the output is 6. When students are done developing their program, they can submit the program for automated grading. Click the "Submit mode" tabClick "Submit for grading". The first test case failed (as did all test cases, but focus on the first test case first). The highlighted arrow symbol means an ending newline was expected but is missing from your program's output. Matching output exactly, even whitespace, is often required. Change the program to output an ending newline. Click on "Develop mode", and change the output statement to output a newline: System.out.println(userNumSquared);. Type 2 in the input box and run. Click on "Submit mode", click "Submit for grading", and observe that now the first test case passes and 1 point was earned.The last two test cases failed, due to a bug, yielding only 1 of 3 possible points. Fix that bug. Click on "Develop mode", change the program to use * rather than +, and try running with input 2 (output is 4) and 3 (output is now 9, not 6 as before). Click on "Submit mode" again, and click "Submit for grading". Observe that all test cases are passed, and you've earned 3 of 3 points.
SAS with MANOVA analysis
Perform two MANOVA analyses, a 3-Group analysis and a Factorial Design with 2-Independent variables as directed below on t ...
SAS with MANOVA analysis
Perform two MANOVA analyses, a 3-Group analysis and a Factorial Design with 2-Independent variables as directed below on the HATCO dataset. Include the following: Perform a brief exploratory data analysis of the data and evaluate the tenability of the multivariate data analysis assumptions and specifically those associated with MANOVA (Note: only need to assess univariate assumptions).State ALL Null and Alternative Hypotheses. Use an alpha of 0.05 for all hypothesis testing and/or specify an alternative value as necessary.3-Group Model: X9 X10 = X14; including appropriate Multiple Means Comparisons Tests (e.g., Tukey and Scheffe)Factorial Design Model: X9 X10 = X14 X13 X14*X13Fully discuss and interpret all the analyses, results and conclusions. Provide a brief management summary including key selected results along with the SAS program and output as an appendix.
Astronomy project
ANSWER HAVE TO BE AS PER REQUIREMENTS.NO COPIED PLEASE.Project DescriptionIn the real world, you are most likely going to ...
Astronomy project
ANSWER HAVE TO BE AS PER REQUIREMENTS.NO COPIED PLEASE.Project DescriptionIn the real world, you are most likely going to edit existing code than to start everything anew in your job. In this project, you are going to edit the given astrology program.Recently there are talks about a new zodiac sign Ophiuchus (of water element). Your boss would like you to edit your company's astrology program to accommodate the addition. And while you are at it, she wants you to also make sure to allow users to re-input the birth dates if they made a mistake.Original Astrology ProgramCurrently the user is asked to type in data for two people: name, birth month and day. And the program responds with the signs, and if the birthday is only one or two days away from an adjacent sign, the program announces that the birthday is on a “cusp”. And then the program will tell the user whether these two people are compatible based on their sign elements.The 12 horoscope signs and dates are the following, which the original astrology program is based on:Aries March 21–April 19 (day 81 - 110)Taurus April 20–May 20 (day 111 - 141)Gemini May 21–June 21 (day 142 - 173)Cancer June 22–July 22 (day 174 - 204)Leo July 23–August 22 (day 205 - 235)Virgo August 23–September 22 (day 236 - 266)Libra September 23–October 22 (day 267 - 296)Scorpio October 23–November 21 (day 297 - 326)Sagittarius November 22–December 21 (day 327 - 356)Capricorn December 22–January 19 (day 357 - 19)Aquarius January 20–February 18 (day 20 - 49)Pisces February 19–March 20 (day 50 - 80)A Cusp and a Sign is Only 2 Days AwayLet's look at an example based on the original program:Pisces February 19–March 20 (day 50 - 80)Aries March 21–April 19 (day 81 - 110)Ken & AmyEnter your name: Ken
Enter your birthday (month day): 3 23
Enter your friend's name: Amy
Enter his/her birthday (month day): 3 22
Ken is a ARIES.
Amy is a ARIES. He/she is also a cusp of PISCES.
Ken is compatible with Amy.Mark & Jane:Enter your name: Mark
Enter your birthday (month day): 3 18
Enter your friend's name: Jane
Enter his/her birthday (month day): 3 19
Mark is a PISCES.
Jane is a PISCES. He/she is also a cusp of ARIES.
Mark is compatible with Jane.What is the Element of a SignHoroscope Signs of the same Element are most compatible. There are 4Elements in astrology, and 3 Signs in each: FIRE (Aries, Leo, Sagittarius),EARTH (Taurus, Virgo, Capricorn), AIR (Gemini, Libra, Aquarius) , WATER (Cancer, Scorpio, Pisces).Given Program FilesThese are the program files for the original program:main.cpphoroscope.hhoroscope.cppYour Boss's RequirementsEdit the program to work for the 13-sign system, and assume the new Ophiuchus sign is of Water element. Here are the new dates:Capricorn January 21 - February 16 (day 21 - 47)Aquarius February 17 - March 11 (day 48 - 71)Pisces March 12 - April 18 (day 72- 109)Aires April 19 - May 13 (day 110 - 134)Taurus May 14 - June 21 (day 135 - 173)Gemini June 22 - July 20 (day 174 - 202)Cancer July 21 - August 10 (day 203 - 223)Leo August 11 - September 16 (224 - 260)Virgo September 17 - October 30 (day 261 - 304)Libra October 30 - November 23 (day 305 - 328)Scorpio November 24 - November 29 (day 329 - 334)Ophiuchus November 30 - December 17 (day 335 - 352)Sagittarius December 18 - January 20 (day 353 - 20)Implement error checking for birth month/day input. Allow users to reenter if they made a mistake.Impeccable programming style and comments.Answer all questions in the Problems Encountered section.What to SubmitSubmit for this lab all your program files in .h and .cpp.TipsRun the original program to make sure it works first.Test all the boundary cases (where the signs change and at cusp) as well as regular cases.Test when user enter invalid dates, such as "20" or "abc" for month.Demo of ProgramEnter your name: KenEnter your birthday (month day): 11 23Enter your friend's name: AmyEnter his/her birthday (month day): 11 28Ken is a SCORPIO. He/she is also a cusp of LIBRA.Amy is a SCORPIO. He/she is also a cusp of OPHIUCHUS.Ken is compatible with Amy.Problems Encountered In the end of your main.cpp file, add a blocked comment section as follows and fill it out:/* ==========================================================
Q1. Problems I had working on this assignment (and how I overcame these problems)
1.
2.
Q2. Did you find any problems in the original program?
========================================================== */
Brown University
1271 Tutors
California Institute of Technology
2131 Tutors
Carnegie Mellon University
982 Tutors
Columbia University
1256 Tutors
Dartmouth University
2113 Tutors
Emory University
2279 Tutors
Harvard University
599 Tutors
Massachusetts Institute of Technology
2319 Tutors
New York University
1645 Tutors
Notre Dam University
1911 Tutors
Oklahoma University
2122 Tutors
Pennsylvania State University
932 Tutors
Princeton University
1211 Tutors
Stanford University
983 Tutors
University of California
1282 Tutors
Oxford University
123 Tutors
Yale University
2325 Tutors
Have a homework question? Get help from verified tutors now!