Questions
For this week’s portfolio activity, please advise the instructor of the following: Utilizing the information provided...

For this week’s portfolio activity, please advise the instructor of the following:

  • Utilizing the information provided in your course textbook(s) or other valid sources, briefly compare the coupon rate and the interest rate regarding bonds. What is a par value?
  • Describe the impact of a tax shield on fixed income yields.
  • Please provide a brief update to the instructor on how you feel you are doing so far this term.  

In: Finance

1. A doctor’s office has at least 2 patients but can have up to 30 patients....

1. A doctor’s office has at least 2 patients but can have up to 30 patients. All patients have names, number of doctor’s visits, and total copayments for the year so far. After each visit, you need to be able to update each patient’s number of doctor’s visits and total copayments for the year.

a. Create the UML for the class diagram for patients.

b. Create the Java implementation for patients.

In: Computer Science

An airline describes airfare as follows. A normal ticket's base cost is $300. Persons aged 60...

An airline describes airfare as follows. A normal ticket's base cost is $300. Persons aged 60 or over have a base cost of $290. Children 2 or under have $0 base cost. A carry-on bag costs $10. A first checked bag is free, second is $25, and each additional is $50. Given inputs of age, carry-on (0 or 1), and checked bags (0 or greater), compute the total airfare.

Hints:

  • First use an if-else statements to assign airFare with the base cost

  • Use another if statement to update airFare for a carryOn

  • Finally, use another if-else statement to update airFare for checked bags

  • Think carefully about what expression correctly calculates checked bag cost when bags are 3 or more

program code needed to finish (Airfare.java)

import java.util.Scanner;

public class Airfare {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int passengerAge;
int carryOns;
int checkedBags;
int airFare;
  
passengerAge = scnr.nextInt();
carryOns = scnr.nextInt();
checkedBags = scnr.nextInt();

/* Type your code here. */
  
System.out.println(airFare);
}
}

In: Computer Science

ABC Manufacturing expects to sell 1,025 units of product in 2021 at an average price of...

ABC Manufacturing expects to sell 1,025 units of product in 2021 at an average price of $100,000 each based on current demand.
The Chief Marketing Officer forecasts growth of 50 units per year through 2025. So, the demand will be 1,025 units in 2021, 1,075 units
in 2022, etc. and the $100,000 price will remain consistent for all five years of the investment life. However, ABC cannot produce more
than 1,000 units annually based on current capacity.
In order to meet demand, ABC must either update the current plant or replace it. If the plant is replaced, an initial working capital investment
of $5,000,000 is required and these funds will be released at the end of the investment life to be used elsewhere. The investment will be made at the beginning of 2021 and all other investments are at the EOY. RRR is 14%
The following table summarizes the projected data for both options; calculate PPI for both options :
Update Replace
Initial investment in 2021 $    115,000,000 $    138,000,000
Terminal salvage value in 2025 $      10,000,000 $                     -   
Working capital investment required $                     -    $        5,000,000
Useful life 5 years 5 years
Total annual cash operating costs per unit $             70,000 $             60,000

In: Accounting

Analyze the current system and identify specific internal control problems. The cash receipts system starts when...

Analyze the current system and identify specific internal control problems.

The cash receipts system starts when the wholesalers send back the remittance advice with their payment. This allows Craig Nelson, the mail room clerk, to collect the payment from the customer and process the cash receipt. Nelson then records the cash receipts in the cash receipts journal. Nelson prepares the deposit slips for the funds to be deposited into the bank along with the checks. The remittance advice is sent to the general ledger department to update the accounts receivable records and is then filed in the billing department. Finally, Nelson prepares the cash receipt journal, out of which comes a journal voucher that is sent to the general ledger department.

Luis Gonzalez, the general ledger clerk, prepares the account summary and journal voucher, which is used to update the general ledger. The account summary and journal voucher is put into the files for record. Gonzalez uses the remittance advice copy sent from the mail room, the deposit slip copy from the bank, and the journal voucher from the account summary to reconcile the deposit slips. He then reconciles the deposit slips from the bank with the totals from the accounts receivable and mail room.

In: Accounting

You will need to provide screenshots of each number and each task. Example: Number 8 in...

You will need to provide screenshots of each number and each task. Example: Number 8 in VM One should have 20 screenshots, one for each command. Once completed merge all shots into a Word document and upload to the appropriate drobox.

VM One

  1. Ubuntu
  2. 8 GB RAM
  3. 20 GB HDD (Dynamic)
  4. Install from Live DVD
  5. Run Command to Update
  6. Run Command to Upgrade
  7. Create a new file named Mid-Term and store it in the /bin directory
  8. Run 20 Terminal Commands of your choosing
  9. Show output for release in terminal

VM Two

  1. Mint
  2. 4 GB RAM
  3. 15 GB HDD (Dynamic)
  4. Install from Live DVD
  5. Run Command to Update
  6. Run Command to Upgrade
  7. Create a new file named Mid-Term and store it on the desktop
  8. Run 20 Terminal Commands of your choosing
  9. Show output for release in terminal

VM Three

  1. Ubuntu Server
  2. 8GB RAM
  3. 20 GB HDD Fixed
  4. Create a new file named Mid-Term and store it on the root directory
  5. Show output for release in terminal

In: Computer Science

In this progress report, you will be focusing on allowing one of the four transactions listed...

In this progress report, you will be focusing on allowing one of the four transactions listed below to be completed by the user on one of his accounts: checking or savings. You will include defensive programming and error checking to ensure your program functions like an ATM machine would. The account details for your customer are as follows:

For this progress report, update the Progress Report 2 Raptor program that allows the account owner to complete one of the 5 functions of the ATM:

1 – Deposit (adding money to the account)

2 – Withdrawal (removing money from the account)

3 – Balance Inquiry (check current balance)

4 – Transfer Balance (transfer balance from one account to another)

5 – Log Out (exits/ends the program)

After a transaction is completed, the program will update the running balance and give the customer a detailed description of the transaction. A customer cannot overdraft on their account; if they try to withdraw more money than there is, a warning will be given to the customer. Also note that the ATM doesn’t distribute or collect coins – all monetary values are in whole dollars (e.g. an integer is an acceptable variable type). Any incorrect transaction types will display an appropriate message and count as a transaction.

In: Operations Management

By considering a relationship with (0, N) - (0, N) cardinalities between two entities, discuss the...

By considering a relationship with (0, N) - (0, N) cardinalities between two entities, discuss the following:

  1. The rule used to create relational database tables from a conceptual model.
  2. How should the relationship be implemented?
  3. Why does it need to be implemented that way?
  4. Does the rule differ if either or both minimum cardinalities are changed to 1?

In: Computer Science

Flag Create a database for PAINTER and PAINTING entities/tables; Decide on your own what will be...

Flag Create a database for PAINTER and PAINTING entities/tables; Decide on your own what will be the attributes of PAINTER and PAINTING tables; Insert at least 5 records on each table Deliverables: Screenshot of PAINTER and PAINTING table structures using the describe command Screenshot of PAINTER and PAINTING table records/entries using select command.

In: Computer Science

Transcribing Anonymous SEC Tips Java or Python    * The function is expected to return a STRING_ARRAY....

Transcribing Anonymous SEC Tips

Java or Python

   * The function is expected to return a STRING_ARRAY.

     * The function accepts following parameters:

     *  1. STRING_ARRAY inputNames

     *  2. STRING_ARRAY secRecords

     */

Problem Statement

Introduction

Imagine you are helping the Security Exchange Commission (SEC) respond to anonymous tips. One of the biggest problems the team faces is handling the transcription of the companies reported by the callers. You've noticed that sometimes the company name is misheard by the person taking the call, sometimes it is simply mistyped, and sometimes both. These problems make it more difficult to search the SEC records to identify the company.

You have access to the list of transcribed company names and the database of SEC records. We need a way to effectively translate company names based on their transcriptions so we can narrow our search results to the one company we are interested in.

Input

You will receive a string array representing the list of transcribed company names.

Each string in the array takes the following form:

  • The string will contain a company name comprising a set of words separated by spaces.
  • You can assume company names will only use alphabetic characters -- no numbers, no punctuation.

You will also receive a string array representing the database of SEC records.

  • Each string will be of the form ; (company name string and company EIN string separated by a semicolon). An EIN is a federal tax identification number used to uniquely identify each company.
  • As above, the company name half of the string will contain a set of words separated by spaces.
  • The EIN half of the string comprises 2 integers, a dash, and 7 more integers, in that order. Example, "12-3456789".
  • There will be no semicolons anywhere in the company name or EIN strings.

You may also make the following assumptions about the structure:

  • There will be at most 1000 companies in the SEC database.
  • There will be at most 50 company names in the input.
  • No company names or EINs will be repeated in either the input or the database.

Output

For each transcribed company name in the input string array, you want to match that to a company name (first part of a string) in the SEC database. The second part of the string in the SEC database will represent the company's EIN. Your output should also be a string array, this time representing the EINs mapped to the names in the input string array. You may assume that every input name will match a name in the SEC records.

Responding to Calls

The Basics

Let's start with the first step: making sure that if the name is transcribed perfectly, we match that company's record in the database right away. This will give you an idea of how to match company names in our system and what the output array should be. This will also show you how the input is structured if you desire to make your own custom inputs. The input comes in the form of two string arrays, where the first line represents the length of the array. An example is below.

Input

3

Pear Computers

Construct An Ursus

Planetary Technologies

3

Pear Computers;54-1264938

Construct An Ursus;58-1481332

Planetary Technologies;19-3563561

Output

["54-1264938", "58-1481332", "19-3563561"]

Your code should pass test cases 0, 1, and 2 after solving this step.

Misspellings

The second thing we want to look for are basic misspellings due to the transcriber hearing the company name correctly but missing a keystroke or pressing the wrong key instead. Think "Harveys Steakhouse" turns into "Harfeys Sreakhouse" or "Sugar and Sugar" turns into "Sugra and Sugar". In the first example, the transcriber missed the "v" key and hit "f" instead, and missed "t" and hit "r" instead. In the second, the transcriber accidentally typed "r" before "a". You should pass test cases 3 through 8 after solving this problem. Hint: looking up the phrase "string edit distance" in a search engine should be of some help to you here.

Input

3

Pewar Computers

Consuct A Ursuus

Planteray Techniligies

3

Pear Computers;54-1264938

Construct An Ursus;58-1481332

Planetary Technologies;19-3563561

Output

["54-1264938", "58-1481332", "19-3563561"]

Metaphones

The last and trickiest instance of transcription comes in the form of arbitrary misspellings resulting from the transcriber either hearing the name correctly and using a different spelling than the one in our database, or mishearing the name in some form. Think "Ashley Antiques" vs. "Ashlee Antiques" vs. "Ashleigh Antiques" or "Rate My Reading" turns into "Great My Treating". This is a purposefully very open-ended and tricky problem, and you are not expected to get all cases. One example is viewable and most are purposefully hidden - try to be creative with your solution, as there are multiple ways you could solve this piece! Test cases 9 through 16 are the ones that relate to this part of the problem; as before, an example is below.

Input

3

Pare Computers

Conduct An Ersis

Palintary Technawlogies

3

Pear Computers;54-1264938

Construct An Ursus;58-1481332

Planetary Technologies;19-3563561

Output

["54-1264938", "58-1481332", "19-3563561"]

In: Computer Science