In Java lang
Standard telephone keypads contain the digits zero through nine. The numbers two through nine each have 3~4 letters (case insensitive) associated with them. Many people find it difficult to memorize phone numbers, so they use the correspondence between digits and letters to develop seven-letter words that correspond to their phone numbers. For example, a person whose telephone number is 686-2377 might remember it as "NUMBERS."
Digit Letters
2 ABC
3 DEF
4 GHI
5 JKL
6 MNO
7 PQRS 8 TUV
9 WXYZ
Each seven-letter word corresponds to exactly one seven-digit telephone number, but a seven-digit number corresponds to many seven-letter strings, most of which are not words.
Create a Project2 class under the project package.
In this project you will develop a program which will find all the corresponding English
words given any specific telephone number. Here are the detailed requirements:
In the Project2 class you will create a static void test() method.
The test method will first ask the user to type in through keyboard a 7-digit telephone
number.
If the number typed in by the user is not 7 digits or the number contains some number
of the digit ‘0’ or ‘1’, then your program reports an error and asks to type in another
number.
If the number typed in by the user is a 7-digit telephone number made up of the digits
‘2’ through ‘9’, then your program will print out all the English words corresponding to the telephone number (and the total number of them), using the given English word library in the “COSC240_P2_EnglishWordList.txt”.
In: Computer Science
In Java:
Write two advanced sorting methods of your choice: (Shell Sort OR Radix Sort) AND (Merge Sort OR Quick Sort). If you choose Shell Sort, experiment with different incremental sequences to see how they affect the algorithm's run time efficiency (count the number of comparisons and exchanges). If you choose to implement Radix Sort, answer the following question as well: Can you write a version of Radix Sort for String objects? If yes, explain how. If not, explain why.
Assume that input data is generated randomly and stored in a text file.
You will experiment with your program in two steps:
Step 1: Experimenting with a prototype data (integers from 1 to 10) to ensure that your implementation works correctly and the results match expectations. The results must be reported in a table format (not generated by the program, but collected manually from multiple program runs) in the a Word document as follows:
best case worst case average case
char.1...char.N char.1...char.N char.1...char.N
alg.1 ... ... ... ... ... ...
alg.2 ... ... ... ... ... ...
...
alg.N ... ... ... ... ... ...
Step 2: Experimenting with large data sets of 2000 elements. The results must be reported in the same table format.
In addition, in the report, explain the empirical results generated by your program comparing them to the known theoretical results paying special attention to any discrepancies which must be clearly explained.
Must submit for grading: the java code, the random text file(s) generated by an independent module (you may need multiple random text files to better characterize the average efficiency of the respective algorithm), AND MOST IMPORTANTLY the report as explained above a Word document.
In: Computer Science
Show all your work. Indicate clearly the methods you use, because you will be scored on the correctness of your methods as well as on the accuracy and completeness of your results and explanations.
To prevent deer from running across highways, researchers are investigating sound-emitting devices that would frighten deer before they reach the highway. As part of the investigation, the researchers set up 20 devices along a two-mile stretch of road. When a deer approached a device, the device would activate and emit a sound. The researchers recorded whether the deer moved toward the highway (positive response), away from the highway (negative response), or did not move (neutral response).
The researchers kept the loudness of the sound constant at 60 decibels. However, they varied the pitch of the sound. There were 6 treatment levels, all measured in kilohertz (kHz): 0, 0.28, 1, 8, 15, and 28. The order of the treatments was randomly assigned.
(a) The control in the experiment was 0 kHz, or no sound. What information is gained by using the control with no sound that could not be obtained if no control were used?
BoldItalicUnderlineBullet listNumbered list
0 / 10000 Word Limit
Question 2
(b)(i) What is one advantage to keeping the loudness at a constant 60 decibels for all treatments?
(b)(ii) What is one disadvantage to keeping the loudness at a constant 60 decibels for all treatments?
BoldItalicUnderlineBullet listNumbered list
0 / 10000 Word Limit
Question 3
(c) The results of the experiment are shown in the following bar chart.
Based on the results, would you recommend using a sound-emitting device to keep deer from running across highways? Explain your answer.
BoldItalicUnderlineBullet listNumbered list
In: Statistics and Probability
philosophy class
Question 110 pts
Spooner explicitly says that the Constitution has no authority.
| True |
| False |
Flag this Question
Question 210 pts
Schultz cites the writings of the Framers in his article. He does this to support his interpretation of the Constitution and thus his conclusion. This means his citations to those writings are evidence in his argument.
| True |
| False |
Flag this Question
Question 310 pts
A Textualist says that the meaning of a text is set by the intentions of the author(s)s.
| True |
| False |
Flag this Question
Question 410 pts
If a smart reader thinks a text should be read a certain way, an Originalist must think that reading is correct.
| True |
| False |
Flag this Question
Question 510 pts
If there are statements about the world in the Constitution, then there are propositions in the Constitution.
| True |
| False |
Flag this Question
Question 610 pts
If Schultz's argument is valid and his premises are true, his argument is sound.
| True |
| False |
Flag this Question
Question 710 pts
A textualist is most likely to say that if the Constitution does not say something, it does not mean that thing.
| True |
| False |
Flag this Question
Question 810 pts
An Originalist is most likely to hold that if a certain word is not in the Constitution, the Constitution says nothing about that word.
| True |
| False |
Flag this Question
Question 910 pts
Spooner argues that the Constitution has been useful and it thus has authority over the citizens.
| True |
| False |
Flag this Question
Question 1010 pts
The following is a correct application of modus tollens.
1. If the Founders wanted to bind their posterity, they violated the rights of their posterity.
2. The Founders did not violate the rights of their posterity.
3. Thus, the Founders did not want to bind their posterity.
| True |
| False |
In: Psychology
|
Alhambra Aluminum Company, a manufacturer of recyclable soda cans, had the following inventory balances at the beginning and end of 20x1. |
| Inventory Classification | January 1, 20x1 | December 31, 20x1 | ||||||
| Raw material | $ | 60,000 | $ | 70,000 | ||||
| Work in process | 120,000 | 115,000 | ||||||
| Finished goods | 140,000 | 165,000 | ||||||
|
During 20x1, the company purchased $260,000 of raw material and spent $400,000 for direct labor. Manufacturing overhead costs were as follows: |
| Indirect material | $ | 10,000 |
| Indirect labor | 23,000 | |
| Depreciation on plant and equipment | 100,000 | |
| Utilities | 23,000 | |
| Other | 30,000 | |
|
Sales revenue was $1,111,000 for the year. Selling and administrative expenses for the year amounted to $110,000. The firm's tax rate is 40 percent. |
1.
value:
3.30 points
Required information
| Required: |
| 1. | Prepare a schedule of cost of goods manufactured. |
References
eBook & Resources
ExerciseLearning Objective: 02-01 Explain what is meant by the word cost.Learning Objective: 02-06 Prepare a schedule of cost of goods manufactured, a schedule of cost of goods sold, and an income statement for a manufacturer.
Difficulty: MediumLearning Objective: 02-03 Describe the role of costs in published financial statements.
Check my work
2.
value:
3.30 points
Required information
| 2. | Prepare a schedule of cost of goods sold. |
References
eBook & Resources
ExerciseLearning Objective: 02-01 Explain what is meant by the word cost.Learning Objective: 02-06 Prepare a schedule of cost of goods manufactured, a schedule of cost of goods sold, and an income statement for a manufacturer.
Difficulty: MediumLearning Objective: 02-03 Describe the role of costs in published financial statements.
Check my work
3.
value:
3.40 points
Required information
| 3. | Prepare an income statement. |
In: Accounting
signature/Benchmark Assignments are designed to align with specific program student learning outcome(s) in your program. Program Student Learning Outcomes are broad statements that describe what students should know and be able to do upon completion of their degree. Signature/Benchmark Assignments are graded with a grading guide or an automated rubric that allows the University to collect data that can be aggregated across a location or college/school and used for course/program improvements.
Format your assignment to APA standards.
Submit your assignment to the Assignment Files tab as a Microsoft® Word document.
Identify a specific job within a specific company that you might be interested in applying for after you graduate from the University of Phoenix.
Research the job and the field in general, as well as ethical issues managerial accountants have faced that would pertain to that field. Also, educate yourself on the basics of operations within the job and company you have selected.
Write a 700- to 1,050-word paper to include the following:
In: Accounting
QUESTION 1:
Researchers claim that women speak significantly more words per day than men. One estimate is that a woman uses about 20,000 words per day while a man uses about 7,000. To investigate such claims, one study used a special device to record the conversations of male and female university students over a four- day period. From these recordings, the daily word count of the 20 men in the study was determined. Here are their daily word counts:
| 28401 | 10093 | 15933 | 21682 | 37778 |
| 10573 | 12881 | 11063 | 17791 | 13180 |
| 8910 | 6495 | 8145 | 7018 | 4430 |
| 10050 | 4000 | 12646 | 10971 | 5247 |
What value we should remove from observation for applying t procedures?
A 90% confidence interval (±±10) for the mean number of words per day of men at this university is from to words.
Is there evidence at the 10% level that the mean number of words per day of men at this university differs from 9000?
|
||
|
QUESTION 2:
Cola makers test new recipes for loss of sweetness during storage. Trained tasters rate the sweetness before and after storage. Here are the sweetness losses ( sweetness before storage minus sweetness after storage) found by 10 tasters for one new cola recipe:
| 1.8 | 0.4 | 0.6 | 2 | -0.6 |
| 2.4 | -1.2 | 1.1 | 1.2 | 2.2 |
Take the data from these 10 carefully trained tasters as an SRS from a large population of all trained tasters.
Is there evidence at the 5% level that the cola lost sweetness?
If the cola has not lost sweetness, the ratings after should be the
same as before it was stored.
The test statisic is t = (±±0.001)
|
||
|
In: Statistics and Probability
Demonstrate the use of the normal distribution, the standard normal distribution, and the central limit theorem for calculating areas under the normal curve and exploring these concepts in real life applications. Scenario Frank has only had a brief introduction to statistics when he was in high school 12 years ago, and that did not cover inferential statistics. He is not confident in his ability to answer some of the problems posed in the course. As Frank's tutor, you need to provide Frank with guidance and instruction on a worksheet he has partially filled out. Your job is to help him understand and comprehend the material. You should not simply be providing him with an answer as this will not help when it comes time to take the test. Instead, you will be providing a step-by-step breakdown of the problems including an explanation on why you did each step and using proper terminology. What to Submit To complete this assignment, you must first download the word document, and then complete it by including the following items on the worksheet: Incorrect Answers Correct any wrong answers. You must also explain the error performed in the problem in your own words. Partially Finished Work Complete any partially completed work. Make sure to provide step-by-step instructions including explanations. Blank Questions Show how to complete any blank questions by providing step-by-step instructions including explanations. Your step-by-step breakdown of the problems, including explanations, should be present within the word document provided. You must also include an Excel workbook which shows all your calculations performed.
In: Statistics and Probability
Create a class that holds data about a job applicant. Include a name, a phone number, and four Boolean fields that represent whether the applicant is skilled in each of the following areas: word processing, spreadsheets, databases, and graphics: Include a constructor that accepts values for each of the fields. Also include a get method for each field. Create an application that instantiates several job applicant objects and pass each in turn to a Boolean method that determines whether each applicant is qualified for an interview. Then, in the main() method, display an appropriate method for each applicant. A qualified applicant has at least three of the four skills. Make sure your JobApplicant.java file runs with this file TestJobApplicants: I can not get the JobApplicant to work. Here is the program:
import java.util.Scanner;
class JobApplicant
{
private String name;
private String phone;
// boolean variables for word,spreadsheet,database and graphics
skills
private boolean w;
private boolean s;
private boolean d;
private boolean g;
//The constructor. This needs to set all the properties of this
class
public JobApplicant(String name, String phone, boolean w, boolean
s, boolean d, boolean g)
{
this.name = name;
this.phone = phone;
this.w = w;
this.s = s;
this.d = d;
this.g = g;
}
public String getName()
{
return name;
}
public boolean getHasWordSkill()
{
return w;
}
//get methods
public boolean getHasSpreadsheetSkill()
{
return s;
}
public boolean getHasDatabaseSkill()
{
return d;
}
public boolean getHasGraphicsSkill()
{
return g;
}
public String getPhone()
{
return phone;
}
}
It is telling me no main methods, JavaFX Applications, applets or MIDlets found in file..HELP!!!
In: Computer Science
*C++*
/*
This program reads a movie rating from 1 to 10 from the
user and prints a corresponding word for the rating.
Programmer: Your name here
Date: Current date here
*/
#include
#include
using namespace std;
int main()
{
int rating; // user entered rating
cout << "Enter your movie rating (an integer from 1 to 10): ";
cin >> rating;
cout << "\nThe movie was ";
// Select the appropriate word for the number
switch (rating)
{
case 1 : cout << "Horrible (:<)!";
case 5 : cout << "So So!";
case 10: cout << "Fabulous!";
}
cout << "\n\n";
return 0;
}
Fix the program so that inputs of 1, 5 and 10 work properly.
2. Change the case values to characters, ‘1’, ‘5’ and ‘10’. What happens when the program is run and why?
Change the program back by removing the quotes.
In: Computer Science