Write a function processScores

  

Write a function processScores() that takes the name of a file as a parameter. The first line of the file is a number, which indicates the initial score for a Score object. The remaining lines are pairs: the even-numbered lines contain a character and the odd-numbered lines contain either a number or a list. The character will be one of ‘o’, ‘O’, ‘m’, or ‘M’, indicating that the next line contains either a single score (‘o’ or ‘O’) or a list of scores (‘m’ or ‘M’). The function will create a new Score object and then process each line or pairs of lines of the file by calling the appropriate method of the Score object. As it processes each line or pairs of lines, it will print the information about the action being taken. The first line will be a call to the initialize() method and the remaining pairs of lines will be calls either to the updateOne() or updateMany() methods. Once the file has been processed, the function will print the final score, the average score, and return the Score object. The following shows what would be displayed for an example file. The example file can be found on the D2L site under the Assignment 1 section on the Content page. Please note that your function must work on an arbitrary file that consists of valid lines. You cannot assume anything about the file except that it contains lines that have the format described above.

Business Recommendation Paper

Every Milestone needs to be a separate Word file.

  • Milestone #2 – Project title and an annotated bibliography of your sources. You may change your bibliography before the final paper is due, but this preliminary reference list should present a complete view of your topic. You need at least three references for your paper (in addition to your textbook). The reference page is an annotated bibliography that includes a synopsis of the reference.  Use the APA annotated bibliography template for this deliverable! 

  • Milestone #3 – An abstract and an outline. The abstract is one paragraph that states the contents of your paper so that potential readers can decide whether or not to continue reading. Your outline doesn’t need to be complete, however should include sufficient detail to show the structure of your paper. Purdue Owl is a good reference for sample outlines

  • Milestone #4 – Complete your report’s first draft. Write it as if it’s going to company executives. You should fully explain any technical terms used. You’ll also need to present your paper to your fellow students via the Discussion Board. The other students will give you feedback on your writing, ideas, information, and conclusions. Then, submit your paper to turnitin.com for a plagiarism check.

  • Milestone #5 – The final version of your Business Report. Your final paper should be 10 – 12 pages in length (not including the title and reference pages) and follow APA or MLA formatting. It is worth 50% of the overall grade for the paper (100 points). Make any desired changes to your paper based on the discussions with your fellow students, make sure that your paper passes a plagiarism check via turnitin.com, and then submit it to your instructor.

as below

 INSTRUCTIONS

For this assignment, you must analyze a dataset and provide the results of your analysis. You should not interpret the output at this stage. Please refer to the data file in the week 1 resources.

In the video game dataset provided, you can explore two categorical or grouping variables (independent variables), which include the type of player (police officer or thief) and advertising period (advertising period or no advertising period). You can explore the data to determine if the number of video game visits and/or the amount of visit time (dependent variables) are different for the levels of the two independent variables. If the data are normally distributed, you could use independent samples t-tests as your inferential model to compare the two levels of each independent variable (you would run two separate t-tests). If you analyze both independent variables simultaneously with their interaction term, you will use a two-way analysis of variance.

Your paper should consist of the following components:

  1. Describe the problem and state the hypotheses to be tested.
  2. Include the appropriate descriptive statistics and visuals in order to describe the characteristics of the data and include a written summary of the data.
  3. Address all relevant statistical assumptions and provide a written summary of the findings.
  4. Describe the results of the inferential analyses implemented to address each hypothesis.

Length: 5-7 pages, not including title and reference pages

References: Include a minimum of 5 scholarly resources.

Data base

In a 250- to 500-word document, address the following questions:

  1. Describe the atomicity, consistency, isolation, and durability (ACID) test, including the meaning of each of the four components. Provide an example that illustrates the importance of adhering to the ACID test.
  2. Explain “collateral damage” in an update query.
  3. Explain why locking prevents dirty reads.
  4. Summarize what happens when you encounter a “Deadlock,” and provide an example of what can be done to correct a deadlock.

Evaluating Large Datasets1

 

Complete the following:

For each of the following actions, use each language to complete a programming solution.

Please copy the numbered action into your Microsoft Word document.

Please post your code for Python to cover item 1 below.

For items 2–3 below, provide a screenshot of the execution, in Java and R, showing the code and the result set. Be sure to submit the actual .py file for Python in this module. Make sure to also respond to items 4 and 5.

Start a next action on a new page.

For items 1–3, use the IN300_Dataset1.csv file.

1. Write a Python program that reads the CSV file into a Panda dataframe. Using that dataframe, print the row, source IP, and destination IP as a table.

2. Write a Java program that reads the CSV file into an ArrayList. Convert the ArrayList to a string array and print the row, source IP, and destination IP on the same line using a loop.

3. Write an R program that reads the CVS file using the read.csv data type. Print the row, source IP and destination IP of each line.

As part of the mastery requirements for this Competency Assessment, complete the following boldfaced item:

Using the requirements for Step 3 above, write code, in R, that adds the protocol to the output of the given assignments.

4. Compare and contrast the data collection used for each language.

5. Discuss the data science process.

Course Project, Part 3: Project Outline

Hide Assignment InformationTurnitin®Turnitin® enabledThis assignment will be submitted to Turnitin®.Instructions

Click here to view the full Course Project description. 

Part 3: Project Outline

This week you will create an outline of your project. Next week you will use this outline to guide you as your create your presentation.

While creating your outline, keep in mind that you need to address the six questions from Postman. Here they are again.

  1. What is the problem for which this technology is the solution?
  2. Whose problem is it?
  3. Which people and what institutions might be most seriously harmed by a technological solution?
  4. What new problems might be created because we have solved this problem?
  5. What sort of people and institutions might acquire special economic and political power because of technological change?
  6. What changes in language are being enforced by new technologies, and what is being gained and lost by such changes?

Use this resource for assistance on how to create an outline: Prewriting and Outlining | UMUC

Due Date for Part 3: This submission is due during Week 4, with the final day of submission being the Tuesday of the fourth week (11:30pm ET). Please see the Course Schedule for the exact final due date for this submission.

java code 1) Create a class called Toy a) Define at three private data members that makes sense for a class called Toy.

 Java code 

1) Create a class called Toy 

a) Define at three private data members that makes sense for a class called Toy.

i) A string that is the name of the toy

ii) You decide what this data member represents and what is the appropriate data type

iii) A double representing the price of the toy 

b) Create a Constructor that initializes only the first and second data members using arguments

 i) Take the argument passed in for the name of the toy, make it  uppercase using a String method, and assign it to the appropriate data  member.

ii) Initialize the second data member with the second argument 

iii)  Create a random double in the range of [10.75, 20.5) and assign it the  third data member representing the price of the toy. (Note, after  formatting for output you can get 20.50.) 

c) Write the one get method to retrieve the values of the third data member as type double. 

d) Write one set method to set the value of the third data member, the price. 

e)  Write the toString method as described in class using example below.  The price must be output in Currency using the FormatNumber class.

2) In main method 

a) Create an instance of the Toy class passing two arguments as described above 

b) Call the get method for the price to retrieve the current price. 

c) Output the current price formatted for currency. 

d) Increase the current price by 25%

e) Call the set method to update the price with the new value you calculated. 

f) Call the toString method and output the String it returns for the instance variable

3) Example Output. follow the format for toString() as explained in chapter 3. 

Price before increase: $8.7

Toy name: JUMP ROPE 

Color: green sparkles 

Price: $10.91

Download the files Emp

  

1) Download the files Emp.h , Emp.cpp, and EmployeeTestApp from “Class Content -> Week-02

2) Create a new Project with Visual Studio 2010 named Employees

3) Add the three files to the new Project

4) Add an Attribute (variable) to Emp.h

a. Add the setter Interface for that attribute

b. Add the getter Interface for that attribute

5) Add the same attribute to the Emp.cpp

a. Add the setter Implementation for that attribute

b. Add the getter Implementation for that attribute

c. Add the attribute to the displayAttributes() method’s Implementation

6) Add the Prompt and Input of the new Attribute to the main() program

7) Show the results of the new output – containing the display of the new Attribute

8) Place all Edited code in one Notepad file and Submit it