Questions
Write a Python program that calls a function to sum all the numbers in a list...

Write a Python program that calls a function to sum all the numbers in a list and returns the result to the caller. The main program creates a list (with hard-coded or user input) and passes the list as an argument to the function. You may not use the built-in function, sum.

The program calls a second function to multiply all the numbers in a list passed to it by main and returns the product back to the caller.

List can be created with user input or hard-coded elements.

The program calls a third function that takes the list of words (below) passed to it from main and determines which elements are palindromes without changing the original list.

['racecar', 'Python', 'mom', 'java','level', 'DNA','101101' ]

If true, the function appends the word to a new list and returns it to the caller. The main program prints the list of palindromes returned from the function. The function should not modify the original list passed to it from the main (no side effect).

A palindrome is a word, phrase, number or sequence of words that reads the same backward as forward

In: Computer Science

(20.37) Researchers claim that women speak significantly more words per day than men. One estimate is...

(20.37) 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:

28403 10087 15926 21694 37784
10581 12888 11080 17809 13175
8927 6490 8144 7010 4434
10056 4004 12632 10981 5260

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 7000?

Yes

No

In: Math

Write a Java program that uses the file EnglishWordList.txt which contains a collection of words in...

Write a Java program that uses the file EnglishWordList.txt which contains a collection of words in English (dictionary), to find the number of misspelled words in a story file called Alcott-little-261.txt. Please note that the dictionary words are all lower-cased and there are no punctuation symbols or numbers. Hence it is important that you eliminate anything other than a-z and A-Z and then lower case story words for valid comparisons against the WordList file. When you read each line of the story file as a String, use split() method to store the words per line in a String array. Then go through each word in the array to lowercase it and to eliminate all but a-z A-Z using Java regex - something like

String word = word.replaceAll(“[^a-zA-Z]”,””).toLowerCase();

Neither file can be linked, but one can use two random text files to complete this. the Alcott text file is a story, while EnglishWordList is all the words in the English dictionary. Basically this is spell check.

In: Computer Science

n chapter 1, conflict of interests in a business setting are described as well as other...

n chapter 1, conflict of interests in a business setting are described as well as other conflicts which can take place in the corporate setting. While keeping in mind the specific types of conflicts of interest highlighted in chapter 1:

  • What do you believe could be some other examples of conflicts of interest in a business setting?
  • If you are a manager within an organization, what are some things you could do to minimize conflict of interest in your organization?

    n chapter 1, conflict of interests in a business setting are described as well as other conflicts which can take place in the corporate setting. While keeping in mind the specific types of conflicts of interest highlighted in chapter 1:

  • What do you believe could be some other examples of conflicts of interest in a business setting?
  • If you are a manager within an organization, what are some things you could do to minimize conflict of interest in your organization? 100 word minimum in your own word please no plagiarism

In: Finance

Course: Computer Architecture (Theme: Input-Output) A computer consists of a processor and an I/O device D...

Course: Computer Architecture (Theme: Input-Output)

  1. A computer consists of a processor and an I/O device D connected to main memory M via a shared bus with a data bus width of one word. The processor can execute a max of 2 MIPS. An average instruction requires 5 machine cycles, 3 of which use the memory bus. A memory read/write operation uses 1 m/c cycle. Suppose that the processor is continuously executing “background” programs that require 96% of the instruction rate but not any I/O instructions. Assume that one processor cycle equals one bus cycle. Now suppose the I/O device is used to transfer very large amounts of data between M and D.
    1. If programmed I/O is used and each one word transfer requires the processor to execute 3 instructions, estimate the max I/O data transfer rate in words/sec possible through D?
    2. Estimate the same rate if DMA is used?

In: Computer Science

Consider the following short cases. Connect each case with one of the three location techniques we...

Consider the following short cases. Connect each case with one of the three location techniques we talked about in class (linear programming, centroid or factor rating), answer the related question and explain why:

Lynn, Inc. is trying to locate a customer service center in a suburban area. They have population data for the various suburbs and villages around their area. They are interested in locating the center centrally with minimum distance between customers and the service center. In this technique two factors come into play – distance and _______. What is the missing word?

  1. Fran, Inc. is trying to locate a distribution center for their products that they distribute to retail stores. Shipping cost is a major concern and the firm would like to minimize it. In this technique two factors come into play – shipping cost and ______. What is the missing word?
  2. Orch is an insurance company that wants to relocate its headquarters. Managers are concerned with a number of items including education system, quality of life, tax rates and many others. There are two parts to the quantitative evaluation of this situation – they are ______ and _______ .

In: Operations Management

1. What comes to mind when you hear the word substance abuse? 2. What comes to...

1. What comes to mind when you hear the word substance abuse?
2. What comes to mind when you hear the word addiction?
3. How could you describe an addict?
4. What are the characteristics of an addictive personality?
5. How is that different from a non-addictive personality?
6. What are your personal observations or feelings about those who over-indulge in Marijuana, Alcohol or pills?
7. What Do you know anyone that you suspect of substance abuse?
a. What do you think got them started?
b. Can you think of things that may have happened in their lives to get them started (i.e. School stress, home life, relationship, family, etc,)
c. Why do you think they continued?
8. How would you characterize their personality?
9. How can you tell when someone you know is abusing drugs or alcohol?

In: Psychology

Risk Register Assignment Content Tony and his project team identified some risks during the first month...

Risk Register

Assignment Content

  1. Tony and his project team identified some risks during the first month of the Recreation and Wellness Intranet Project. However, all they did was document the risks in a list. They never ranked the risks or developed any response strategies. Because the project has had several problems, such as key team members leaving the company, users being uncooperative, and team members not providing good status information, Tony decided to be more proactive in managing risks and want to address positive risks as well as negative risks.

    Complete the following tasks:

    1. Create a risk register for the project. Identify 6 potential risks, including risks related to the problems described in the previous paragraph. Include negative and positive risks.
    2. Develop a 45- to 90-word response strategy for each risk. Enter the information in the risk register.
    3. Write a separate 175-word paragraph describing what specific tasks would be required to implement the strategy. Include time and cost estimates for each strategy.

In: Computer Science

Instructions: Need proper and complete answer (containing minimum 500 words) for following question related to 'Principles...

Instructions: Need proper and complete answer (containing minimum 500 words) for following question related to 'Principles of Marketing'. Please include an additional listing of any references or supplemental materials used. Feel free to use whichever reference style you prefer. If you reference information from the Web or from any other sources (e.g., journal articles, library books, textbook), make sure that you do not copy the material verbatim (i.e., copied exactly from the original word for word). You should paraphrase (i.e., write in your own words) the information.

Question: Analyze a consumer or business product or service. To what segment(s) of consumers/businesses do you think it is targeted? Discuss the positioning of the product or service relative to competitors. How successful or unsuccessful has this positioning been? Would you suggest an alternative positioning or a repositioning? Why or why not? Identify any niches that might lend themselves to new products or services in the same category..

In: Operations Management

>>>>>C#<<<<< A.     Number Frequency-Arrays Write a program to count the number of 10’s in the given...

>>>>>C#<<<<<

A.     Number Frequency-Arrays

  1. Write a program to count the number of 10’s in the given list of 15 numbers. The output should look like:                                                                                                        [01]
  2. Extend your program to work with a list of n numbers.                                         [01]

                                                                                  

          Random Numbers-Methods

  1. Write a program to generate a 10 Random Numbers:                                           [01]
  2. Extend your program to generate n Random numbers.                                         [01]

B.    Word Count -String Processing

  1. Write a program to count the occurrence of word “an” in the string.               [01]
  2. Extend your program to count the occurrence of string being input in the string.

               [01]

C.      Recursion

          By using recursion, write a program to:

  1. Print digits in a number.                                                                                                                [01]
  2. Find sum of digits of a number.                                                                                                  [01]

D.        Matrix Manipulation

Write a C# program to Perform Matrix Multiplication.                                                                      [02]

Note:-

The matrix multiplication can be performed only if:

  • The number of columns of the first matrix is equal to
  • The number of rows of the second matrix

Ok sorry for that , i need only (A) section.

In: Computer Science