Questions
For this assignment, use data from W1 Assignment. Compute a t-test comparing males' and females' heights....

For this assignment, use data from W1 Assignment.

Compute a t-test comparing males' and females' heights. You must determine which type of t-test to compute.

Move your output into a Microsoft Word document and write a one-paragraph, APA-formatted interpretation of the results.

Participant ID   Age   Sex   Height   Year in college  
1   18   f   60   freshman  
2   17   f   61   freshman  
3   18   f   62   freshman  
4   18   f   63   freshman  
5   23   f   66   freshman  
6   25   m   65   freshman  
7   22   m   66   freshman  
8   21   m   68   freshman  
9   37   m   69   freshman  
10   32   m   72   freshman  
11   19   f   70   sophomore  
12   20   f   60   sophomore  
13   33   f   61   sophomore  
14   22   f   60   sophomore  
15   23   f   65   sophomore  
16   20   m   67   sophomore  
17   21   m   67   sophomore  
18   22   m   65   sophomore  
19   27   m   70   sophomore  
20   29   m   71   sophomore  
21   20   f   61   junior  
22   21   f   63   junior  
23   33   f   64   junior  
24   37   f   64   junior  
25   24   f   65   junior  
26   24   m   68   junior  
27   26   m   67   junior  
28   31   m   69   junior  
29   28   m   70   junior  
30   33   m   64   junior  
31   21   f   63   senior  
32   23   f   66   senior  
33   28   f   67   senior  
34   29   f   68   senior  
35   52   f   62   senior  
36   43   m   72   senior  
37   32   m   70   senior  
38   28   m   69   senior  
39   29   m   67   senior  
40   40   m   65   senior  

In: Math

answer in JAVA language please In this assignment you will use: one-dimensional arrays; strings and various...

answer in JAVA language please

In this assignment you will use: one-dimensional arrays; strings and various string-handling methods; file input and output; console input and output; loops; and conditional program statements.

Instruction

You are asked to write a program that translates a Morse code message into English language. The program will ask the user to enter filenames for two input files, one for the code translation table data and the other for the coded message data, as well as an output file that will receive the decoded message text. Initially the program reads the code translation table data file and stores the alphabet characters and equivalent Morse code in two one-dimensional arrays. The program will then read the message input file, inspecting each Morse code value and converting it to the English-language equivalent. The program will write decoded words to the output file and will print short informational messages to the console (screen).

Morse code words in the message input file have one space between each Morse-coded letter. There is ONE word per line in the data file.

Code Translation Table:

Character Code

  1. A .-

  2. B -...

  3. C -.-.

  4. D -..

  5. E .

  6. F ..-.

  7. G --.

  8. H ....

  9. I ..

  10. J .---

  11. K -.-

  12. L .-..

  13. M --

  14. N -.

  15. O ---

  16. P .--.

  17. Q --.-

  18. R .-.

  19. S ...

T-

Character Code U ..-
V ...- W .--

X -..- Y -.-- Z --.. 1 .--- 2 ..--- 3 ...-- 4 ....- 5 ..... 6 -..... 7 --... 8 ---.. 9 ----. 0 ----- , --..-- ? ..--.. . (full stop) .-.-.-

                                                                         

Assignment #3 Morse Code Translation

Test Plan

Given the input file CodedMessage.txt containing: - .... .. ...

.. ...

.-
- . ... -
.--. .-. --- --. .-. .- -- .-.-.- .. ..-.
-.-- --- ..-
... . .
- .... .. ...
-- . ... ... .- --. .
- .... .- -
.. ...
--. --- --- -..
-. . .-- ...
-.-- --- ..- .-.
.--. .-. --- --. .-. .- --
.-- --- .-. -.- ... .-.-.-

Here is a sample run. User input appears as bold underline:
Enter Morse Code translation table file path: c:/temp/morse.txt

Code translation file processed. 39 codes loaded.

Enter coded message input file path: c:/temp/CodedMessage.txt Enter decoded message output file path: c:/temp/DecodedMessage.txt Message translation complete. 17 words processed.

Here is the output file DecodedMessage.txt contents:

THIS IS A TEST PROGRAM.
IF YOU SEE THIS MESSAGE THAT IS GOOD NEWS YOUR PROGRAM WORKS.

answer in java language

In: Computer Science

Problem B, Cash Flow CWH (unrelated to Problem A) provides you with comparative statements of financial...

Problem B, Cash Flow CWH (unrelated to Problem A) provides you with comparative statements of financial position and some additional information. Using the indirect method, calculate cash flow from operating activities. Then as best you can, calculate cash inflow/outflow from Investing activities and from Financing activities (you’ll need to make assumptions, you do not have complete information and it isn’t available).

12/31/19 12/31/2020

Cash .................................................................. $ 5,000 $ 17,000

Accounts receivable .......................................... 35,000 45,000

Inventory........................................................... 75,000 63,000

Total current assets ........................................... 115,000 125,000

Land .................................................................. 100,000 100,000

Buildings........................................................... 5,000,000 5,000,000

Equipment......................................................... 12,000,000 21,000,000

Accumulated Depreciation................................ (4,000,000) (4,750,000)

Net PP&E.......................................................... 13,100,000 21,350,000

Patents............................................................... 7,000,000 5,800,000

Total Assets....................................................... $20,215,000 $27,275,000

Accounts payable .............................................. $ 21,000 $ 45,000

Accrued expenses.............................................. 25,000 60,000

Income taxes payable........................................ 12,000 35,000

Total current liabilities...................................... 58,000 140,000

Long term debt.................................................. 12,000,000 16,000,000

Common stock .................................................. 1,500,000 2,000,000

Retained earnings.............................................. 6,657,000 9,135,000

Total Liabilities and Equity .............................. $20,215,000 $27,275,000

[NOTE: I have posted an Excel spreadsheet with the above information for your use, if you wish. If you do that, please just cut and paste a copy into your word submission. Make sure it’s readable, probably need to format the page as landscape format, not portrait.]

Additional information provided:

• Net income = $2,600,000

• Dividends were declared and paid during the year.

• Depreciation expense = $750,000

• Make reasonable assumptions as need be.

Required:

1. Calculate cash flow from operating activities, showing your complete calculation. The number alone is not sufficient.

2. Calculate cash provided by/used in investing activities (you’ll need to make some assumptions).

3. Calculate cash provided by /used in financing activities (again, you’ll need to make some assumptions)

4. Show that the sum of the three cash flow numbers is equal to the change in cash.

In: Accounting

A global survey published in 2019 indicated that 99 percent of the respondents would like to...

A global survey published in 2019 indicated that 99 percent of the respondents would like to work remotely at least some of the time and 95 percent of the respondents indicated that they encourage others to work remotely.86 In another survey published the same year, 47 percent of respondents indicated that a remote work policy is important to them when looking for a new job. Also, 40 percent indicated they would consider a pay cut for a job that allows them to work from anywhere. Appen, Dell, Appiro, Cisco, Salesforce, ConsenSys, GitHub, Lenovo, Ultimate Software, and Rackspace are among the top tech companies hiring remote workers. The job titles for telecommuters include search engine evaluator, voice data collector, digital project lead, software engineer, and AR/VR solutions architect. Working from home offers some clear advantages for both employees and employers. It also offers some disadvantages, such as lack of control and monitoring; however, this is changing. Using computer-monitoring software, employers are now able to check if employees are working or slacking off. One such software application is InterGuard (Awareness Technologies).

To make telecommuting more productive, some employers set targets for each employee to accomplish in a given period. Other employers review summaries of different Web sites that employees have visited and the amount of time that employees have spent on various Web sites. Some other employers track projects and schedule meetings on shared calendars in order to monitor their employees. Still other employers require “virtual face time” via e-mail, instant messaging, video chat, or calls.

Answer the following questions in a Microsoft® Word document

  1. Is a telecommuting policy a benefit that is essential to attracting top employees to a company? Why or why not?
  2. What types of job functions are suitable for telecommuters?
  3. What are some methods that employers use to monitor their employees?
  4. What is an example of a software tool that is used for employee monitoring? What are the benefits and drawbacks of using employee monitoring software?

In: Computer Science

11.   _____________________organization is organization by time – from earliest to most recent (forward in time) or...

11.   _____________________organization is organization by time – from earliest to most recent (forward in time) or from recent events back into history (backward in time).

                          (a) Primacy;   (b) Recency   (c) Chronological;   (d) Integrated

                 12 . If your topic is controversial, you may want to organize your main ideas according to the principle of _____________, or putting the most important or convincing idea first.

  1. primacy; (b) recency; (c) chronological; (d) integrated

13. ­­­­­­­­­­­­­­­­­­­_______________ are words and gestures that allow you to move smoothly from one idea to the next throughout your speech, showing   relationships between ideas and emphasizing important points.

          (a) Outlines;     (b) Topics;    (c) Demeanors; (d) Guideposts

14 . _________________ produce word pictures and detailed information that allows an audience mentally to see, hear, smell, touch, or taste what you are describing.

          (a) Explanations;   (b) Descriptions;   (c) Definitions; (d) Details

15. _______________ are used by speakers who discuss or demonstrate processes of any kind. Used in How to Speeches.

(a) Explanations;   (b) Descriptions;   (c) Definitions; (d) Details

16 . In a country in which free speech is protected by law, the right to speak freely must be balanced by the responsibility to speak ethically In 1791, the_____________ Amendment to the Constitution was written to guarantee   freedom of speech.

  1. 2nd        (b) 1st       (c) 3rd          (d) 4th

17. _____________________ is the ability to understand and manage one’s own moods and emotions, as well as the moods and emotions of

others.

          (a) intelligence quotient;           (b) emotional intelligence;

          (c ) intelligence level;                0(d) emotional level

18. ____________________ involve the ability to perform tasks in a specific discipline (such as selling a product) or department (such as marketing.)

          (a) technical skills,                  (b) human relations skills

          (c ) conceptual skills;               (d) mundane skills

19. ________________ involve communication and motivation; they enable managers to work through and with people. A people person.

          (a) technical skills,                  (b) human relations skills

          (c ) conceptual skills;               (d) mundane skills

20.   ____________________ involve the ability to picture the organization as a whole and the relationships among its various parts. Ability to diagnose

(a) technical skills,                  (b) human relations skills

          (c ) conceptual skills;               (d) mundane skills

In: Economics

1)What are constellations, how many are there? 2) What and where is the zodiac? 2)Describe latitude,...

1)What are constellations, how many are there? 2) What and where is the zodiac? 2)Describe latitude, longitude, prime meridian, RA, Dec, Celestial Equator, and NCP? 3) What is meant by zenith? Altitude, meridian? 4)How do we name the stars? 5)Why is Polaris important? Name *3* things that Polaris can tell us if we find it in the sky! 6)What is the altitude of Polaris in San Mateo? 7)What is meant by circumpolar? 8)How many degrees does your fist span APPROXIMATELY? 9) Describe the Ecliptic, What objects would we find there? 11) Describe the daily(24 hrs), (yearly)and long term(26,000 yrs) motions of the stars 12) What causes the Seasons? Why doesn’t distance from the Sun cause seasons? Describe some evidence that distance doesnt! I put a SEASONS worksheet on Canvas to help you out. You do not need to turn this in! Please contact me for solutions if you have trouble with the questions! 13)What are the solstice, equinox? When do they occur? What special things happen on those dates? 14)How does the Sun move in the sky, where does it rise/set various times of year? 15) Describe precession and its cause 16) Which direction do planets Normally move with respect to the stars? 17) What does the word planet mean in ancient Greek? 18)What is the cause of retrograde motion? 19)Be able to draw and determine Moon phases Be able to determine the rise, transit, and set times for each phase. 20)How long does it take the Moon to go through a complete cycle of phases? 21) How long does it take the Moon to orbit the Earth? 22) Which direction do the planets move around the Sun? (CW or CCW?) 23) What is meant by synchronous rotation? 24) Which direction does the Earth rotate? 25) Why are Uranus’s Seasons so extreme? 26) Be able to identify each phase of the Moon and DRAW the orientation of the Earth Sun and Moon for each phase

In: Other

Glucocorticoid secretion increases in response to stress. Which of the following hormones will cause the adrenal...

Glucocorticoid secretion increases in response to stress. Which of the following
hormones will cause the adrenal gland to release glucocorticoids?
Growth hormone (GH)
adrenaline
Anti-diuretic hormone (ADH)
ACTH

During the Endocrine Ed simulation, what hormone secretion increased when the
lights were turned out allowing Ed to sleep?
a.ACTH
b.adrenaline
c.thyroid stimulating hormone (TSH)
d.melanin

During labor, the baby's head pushes against the mother's cervix causing nerve
impulses to transmitted to the brain to stimulate release of oxytocin from the
pituitary gland into the blood stream. Increased levels of oxytocin in the blood
stream stimulate uterine contractions which results in the baby's head pushing
against the mother's cervix. The process repeats causing more and more
oxytocin to be released into the blood stream stimulating stronger and more
frequent contractions.
Is this an example of negative feedback?
a.Yes
b.No

Which of the following accurately describes the typical transmission of an
electrical signal through a neuron?
a.cell body>dendrite>axon
b.axon>dendrite>cell body
c.axon>cell body>dendrite
d.dendrite>cell body>axon

Which of the following is defined as a small gap between transmitting and
receiving neurons?
a.cell body
b.axon
c.synaptic terminal
d.synaptic cleft

Fill in the blanks with the correct word(s).

In the central nervous system (CNS), neurons bundled together are called Blank 1.[ ]
. In the peripheral nervous system (PNS), neurons bundled together are
called Blank 2 [.]

When you performed the "ruler catching" experiment, which of the following
accurately describes the muscles used to catch the ruler?
a.sensory receptors
b.integration centers in the brain
c.effector cells

When a response "skips" the integration process where the brain makes a decision about
how to respond to a stimulus, how would we describe this action by the nervous system? In
other words, if a response to a stimulus is made involuntary without conscious thought,
how would the relay system used by the nervous system be described?
a.neural integration
.b.motor neuron output
c.sensory input
c.spinal reflex arc

In: Biology

The management estimates total sales for the period January, 2019 through June, 2019 based on actual...

The management estimates total sales for the period January, 2019 through June, 2019 based on actual sales from the immediate past six months. The following assumptions are made:  The Sales were $140,000 in July 2018 and then the sales grew by 2% each month in the first three months (i.e., from August to October 2018) and by 5% in the next two months (i.e., in November and December 2018). The sales are expected to grow by 1% each month thereafter.  35% of the Sales are collected in the same month. 33% of the sales are collected in the following month. 31% of the sales are collected after two months and the remainder are not collected.  The Purchases are 70% of each month’s sales and paid in the same month.  Wages and Salaries are $25,000 each month and paid in the same month.  Other administrative expenses are $15,000 and paid in the same month.  Depreciation expense is $5,000 each month.  An electrical device worth $30,000 will be purchased in April 2019. 50% of the amount due will be paid immediately and the balance will be paid in May, 2019.  The company had previously taken a loan of $125,000. The annual interest rate on the loan amount is 5%. The interest is paid twice a year in June and December each year. Assume that no principal repayments are made in this period, only interest payments are made.  The company pays rent of $3,500 quarterly (in March, June, September, and December each year).

Questions: 1. Determine the total cash inflows, the total cash outflows, and the expected change in cash for each month from January to July, 2019. Show your work in excel using excel functions. Based the findings, explain in your own words whether the company should borrow/invest and how much and in which months. [4.50 points]

2. Describe in your own words some of the short-term borrowing options that the company may adopt. Please write your answer in another tab on the same excel file, no need to upload another Word Document file or type your answer elsewhere. [0.50 points]

In: Finance

In-Class Spreadsheet Activity (Version A) Your income and expenses: JANUARY: Income $1900; Rent $600; Car payment...

In-Class Spreadsheet Activity (Version A)
Your income and expenses:
JANUARY:
Income $1900; Rent $600; Car payment $199; Groceries $125; Utilities $89.50; School Expenses $125.75; Movie Tickets $61
FEBRUARY:
Income $1950; Rent $600; School books $278.97; Groceries $79.16; Utilities $76.57; Car Payment $199.61
MARCH:
Income $1800; Rent $600; Car payment $199; Groceries $73.93; School Expenses $55.99; Medical Expense $100; Car Insurance $350; Utilities $69.51
APRIL:
Income $2100; Rent $625; IRS expenses $279.54; Car payment $199; Utilities $58.88; Groceries $88.85; Misc Expenses $15.01
Using the information above, create a budget on spreadsheet to keep track of your money. Make sure you do the following:
1) Format all numbers with currency to 2 decimal places.
2) Adjust column width appropriately.
3) Bold and center align the column headings and “merge and center” the title
4) Calculate totals for each type of expense and for each month.
5) Include a grand total for all 4 months of expenses.
6) Add another column to calculate the percentage of total expenses for each category by dividing each category total by the grand total.
7) Add another row to calculate the percentage of total expenses for each month by dividing each monthly total by the grand total.
8) Show how much is going into savings. (Total income minus total expenses)
9) Use additional tools to make the report attractive. (Possibilities include: fill colors, text colors, font and size changes, word art, etc.)
10) Make sure it all fits on one page and name your spreadsheet "BUDGET".
*Hint: Since you have fewer months than expenses you might be better off putting expenses as rows and months as columns so it’ll fit on one page.
10 points for each question. Total = 100 points.
The weight of this assignment is 5% of the course grade.

In: Finance

Write the class Complex that supports the basic complex number operations. Such operations are addition (+),...

Write the class Complex that supports the basic complex number operations. Such operations are addition (+), subtraction (-) and multiplication (*) of complex numbers, and multiplication (*) of a complex by a scalar (float or int). All methods must return (not print) the result. Class also supports the rich comparison for equality (= =)

  • - Check the doctest for object behavior examples.

  • - You must use the special methods for those 4 operators in order to override their behavior

  • - You will need other special methods to achieve a legible object representation.

  • - Multiplication by scalar and by another complex number use the same operator, so you must check the type of the object in order to decide which operation you have to perform

  • - Rich comparison returns a Boolean value

  • - The rest of the methods must return a new Complex object, this means the original

    objects should not change after the operation is performed.

  • - Test your code, this is how you ensure you get the most credit out of your work!!

  • - When returning error messages, make sure your string contains the word ‘error’

  • - You are not allowed to modify the constructor or any given code.

  • - Hint: Section 3.3.1. Basic customization (__eq__) and Full Section 3.3.8. Emulating numeric types inhttps://docs.python.org/3/reference/datamodel.html#emulating-numeric-types

    Write the property method conjugate into the Complex class. The complex conjugate of the complex number z = x + yi is given by x – yi

Remember, you are not allowed to modify the given constructor. The method conjugate must be a property method, otherwise, no credit will be given. Property methods are discussed in the video lectures!

Starting Code:

class Complex:
    '''        
        >>> a=Complex(5,-6)        
        >>> b=Complex(2,14)        
        >>> a+b        
        (7, 8i)        
        >>> a-b        
        (3, -20i)        
        >>> a*b        
        (94, 58i)        
        >>> b*5        
        (10, 70i)        
        >>> 5*b        
        (10, 70i)        
        >>> print(a)        
        5-6i        
        >>> print(b)        
        2+14i       
        >>> b        
        (2, 14i)        
        >>> isinstance(a+b, Complex)
        True
        >>> a.conjugate
        (5, 6i)
        >>> b==Complex(2,14)
        True
        >>> a==b
        False
    '''

    def __init__(self, real, imag):
        self.real = real
        self.imag = imag

In: Computer Science