Questions
Describe the fraud risks on Amazon:  (Please be industry specific)

Describe the fraud risks on Amazon:  (Please be industry specific)

In: Accounting

For this exercise, you are going to write your code in the FormFill class instead of...

For this exercise, you are going to write your code in the FormFill class instead of the main method. The code is the same as if you were writing in the main method, but now you will be helping to write the class. It has a few instance variables that stores personal information that you often need to fill in various forms, such as online shopping forms.

Read the method comments for more information.

As you implement these methods, notice that you have to store the result of concatenating multiple Strings or Strings and other primitive types. Concatenation produces a new String object and does not change any of the Strings being concatenated.

Pay close attention to where spaces should go in theString, too.


FormFillTester has already been filled out with some test code. Feel free to change the parameters to print your own information. If you don’t live in an apartment, just pass an empty String for the apartment number in setAddress.
Don’t put your real credit card information in your program!

When you run the program as written, it should output

Dog, Karel
123 Cherry Lane
Apt 4B
Card Number: 123456789
Expires: 10/2025

public class FormFill
{
  
private String fName;
private String lName;
private int streetNumber;
private String streetName;
private String aptNumber;
  
// Constructor that sets the first and last name
// streetNumber defaults to 0
// the others default to an empty String
public FormFill(String firstName, String lastName)
{
  
}
  
// Sets streetNumber, streetName, and aptNumber to the given
// values
public void setAddress(int number, String street, String apt)
{
  
}
  
// Returns a string with the name formatted like
// a doctor would write the name on a file
//
// Return string should be formatted
// with the last name, then a comma and space, then the first name.
// For example: LastName, FirstName
public String fullName()
{
  
}
  
// Returns the formatted address
// Formatted like this
//
// StreetNumber StreetName
// Apt AptNumber
//
// You will need to use the escape character \n
// To create a new line in the String
public String streetAddress()
{
  
}
  
// Returns a string with the credit card information
// Formatted like this:
//
// Card Number: Card#
// Expires: expMonth/expYear
//
// Take information as parameters so we don't store sensitive information!
// You will need to use the escape character \n
public String creditCardInfo(int creditCardNumber, int expMonth, int expYear)
{
  
}
  
}

public class FormFillTester
{
public static void main(String[] args)
{
FormFill filler = new FormFill("Karel", "Dog");
filler.setAddress(123, "Cherry Lane", "4B");
  
System.out.println(filler.fullName());
System.out.println(filler.streetAddress());
  
System.out.println(filler.creditCardInfo(123456789, 10, 2025));
  
}
}

In: Computer Science

You have been appointed to the Governor’s Emergency Management Team and have been placed in charge...

You have been appointed to the Governor’s Emergency Management Team and have been placed in charge of creating a Threat Assessment Report. A Category 4 hurricane is moving toward the state, and your city is in the direct line. The storm will make landfall within 72 hours. The Emergency Management Team has been tasked with preparing the city for this event.

A year ago, the city was hit with what has been called the “Thousand Year Flood.” During the flood, the three rivers that surround the city crested, causing major flooding citywide. Loss of life was also high because of the suddenness of the storm. Damage to property was significant, and the projected rainfall expected from this hurricane will be comparable. Fortunately, you have three days to prepare.

Most media and technology equipment was knocked out during the last storm, so information was hard to come by, which added to the loss of life and damage. Some of that has been improved, and it is not expected to be as much of a problem, but, part of your task is to come up with a backup plan for getting information out to the public before, during, and immediately after the storm.

In: Operations Management

Radix sort was proposed for sorting numbers, but if we consider a number as a string...

Radix sort was proposed for sorting numbers, but if we consider a number as a string of digits, the
algorithm can be considered as a string sorting algorithm. In this project you are asked to
implement a radix sort algorithm forsorting strings in ascending order. The input to your algorithm
should be a (multi)set S = [S1, S2, . . . , Sn] of strings each of which is of length m over the English
alphabet [A…Z, a…z]. The output should be the set sorted in ascending lexicographical order.
Notes:
• For simplicity you my limit the number of stings n (or |S| ) to 100 and the number of characters
(digits) m in each string Si to 50.
• You should use the cursor implementation of the linked list data structure to store characters in
your buckets.
• You are allowed to use only character comparisons. Thus, you are not allowed to use the String
library functions.
• You should sort all characters starting at position k, where k is the position of the most
significant digit dk in the string ( e.g., in the string “BirZeit” t is the character in the least
significant digit while B is the character in the most significant digit).
Example: the set {data, structures, and, algorithms, in, C} should be sorted as follows:
a l g o r i t h m
a n d
C
d a t a
i n
s t r u c t u R e s
Notice that in the first pass, the strings and and algorithm would be placed in one bucket since the
first character in both is a. In the second pass, however, the strings will be reordered since l comes
before n in lexicographical order. Same applies for the remaining passes

In: Computer Science

How do perceptual processes influence the initiation (or lack thereof) and maintaining of relationships?

How do perceptual processes influence the initiation (or lack thereof) and maintaining of relationships?

In: Psychology

How many 1 gigawatt hydro or wind power ‘plants’ would be required to generate all of...

How many 1 gigawatt hydro or wind power ‘plants’ would be required to generate all of the electricity require in the US?

In: Chemistry

is there any danger from excessive reliance on GROW AI in the hiring process

is there any danger from excessive reliance on GROW AI in the hiring process

In: Operations Management

Ramsey Motors manufacturers water (hydrogen) powered automobiles. The company committed to producing 500,000 vehicles last year,...

Ramsey Motors manufacturers water (hydrogen) powered automobiles. The company committed to producing 500,000 vehicles last year, but ended up only manufacturing half of that. The issue is with a part that splits water into hydrogen and oxygen in a process known as electrolysis. The part was supposed to be installed using an automated process, but the machines are having trouble doing this, so factory workers have to do it manually on the assembly line, causing delays. Use the balanced scorecard to evaluate this situation. Which perspective is most closely related to these manufacturing issues? Define the perspective and explain how it can be used to measure Ramsey’s performance.

In: Operations Management

What other businesses do you know of that are particularly effective in social media? And, why...

What other businesses do you know of that are particularly effective in social media? And, why are they effective and what are they trying to accomplish? 500 words MINIMUM.

In: Operations Management

Provide the goal of the study, clearly stating the research hypothesis. Describe the study design. Describe...

Provide the goal of the study, clearly stating the research hypothesis. Describe the study design.

Describe the results noting the direction (e.g., higher or lower; increase or decrease; etc.) and difference between sample mean (M = ?; 95% CI = ?) and the population mean (µ = ?).

Report the inferential statistic used to compute the p-value (Z [ n = ?] = observed value, p < or > .05) and state if the results are significant or not.

Report and interpret the 95% CI around the difference between the two means (e.g., does the CI contain 0 or not—how do you interpret the Ho if it does or does not include 0?). Also, be sure to report and interpret the effect size (d = ?).

1. A research team happens to know that male rats administered a placebo drug will spend μ = 5 minutes per hour grooming (σ = 6). They believe that male rats administered a low dose of the street drug ecstasy will spend less than 5 minutes per hour grooming. They chose 100 male rats, administered a low dose of ecstasy to each, then measured the number of minutes per hour each rat spent grooming. The mean of this sample was M = 4. The research question the researcher want to answer is: does administering a low dose of ecstasy affect the time spent grooming?

In: Math

1. Chris and Pat both work independently on the same computer program. The probability Chris’ program...

1. Chris and Pat both work independently on the same computer program. The probability Chris’ program works is 10% and the probability Pat’s program works is 15%. What is the probability exactly one of their programs works?  

2. Terry and pat both play independently with the same computer game. The probability Terry will score a victory is 30% and the probaabiltythat Pat wwill score a victory is 25%. What is the probability that at least one of them scores a victory?

In: Math

Create and initialize a string array, write and use 3 functions.Write a program. Create a string...

Create and initialize a string array, write and use 3 functions.Write a program.

Create a string array in the main(),called firstNameArray, initialize with7 first namesJim, Tuyet, Ann, Roberto, Crystal, Valla, Mathilda

Write a first function, named searchArray, that passes two arguments: a single person’s name and the array reference, into a function,This function should then search the array to see if the name is in the firstNameArray. If found, it will return the array index where the name is found, else it return the number 7.(This function needs 3 parameters –see code examples above)

Write the code in the main program to call/use the searchArray function. Check the return value for the index value returned. Print the name using the index number(0 to 6), or prints ‘name not found’ if it return a 7.

Write a second function, print AllNames, that will print all the names in the array.Pass the array into the function. (This function needs two parameters –see code example above)

Write the code in the main program to call/use this printAllNames function.

Write a third function, called deleteName, that will delete a name from the array. Check first to see if the name is in the array, before you try to delete it(use the searchArray function).If you find the name, then write “ “ to the location in the array. ... Just making spot blank.(This function requires 3 parameters –see code examples above).

Call the printAllNames function to print the array to verify you have deleted a value.Print out the array... if the spot/index in the array is blank do not print it.

C++

In: Computer Science

Another utilization of cash flow analysis is setting the bid price on a project. To calculate...

Another utilization of cash flow analysis is setting the bid price on a project. To calculate the bid price, we set the project NPV equal to zero and find the required price. Thus the bid price represents a financial break-even level for the project. Guthrie Enterprises needs someone to supply it with 152,000 cartons of machine screws per year to support its manufacturing needs over the next five years, and you’ve decided to bid on the contract. It will cost you $1,920,000 to install the equipment necessary to start production; you’ll depreciate this cost straight-line to zero over the project’s life. You estimate that in five years this equipment can be salvaged for $162,000. Your fixed production costs will be $277,000 per year, and your variable production costs should be $9.70 per carton. You also need an initial investment in net working capital of $142,000. If your tax rate is 34 percent and you require a return of 12 percent on your investment, what bid price per carton should you submit? (Do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.)

In: Finance

In 2 typed double spaced pages, Write about about the Happiest moment in your life. What...

In 2 typed double spaced pages, Write about about the Happiest moment in your life. What was the event and describe what was going through your mind and body. What is happiness to you and are you happy overall?

In: Psychology

PROGRAM DEVELOPMENT: Analyze and write the code for the following requirement: The sales department wants to...

PROGRAM DEVELOPMENT: Analyze and write the code for the following requirement:
The sales department wants to store the sales data of their employees. Assume that there are 20 employeesand they all work in three areas. Declare appropriately and accept the sales data from the user.

In: Computer Science