2. In lieu of a risk assessment, what should a small company do to assess its security posture if a risk assessment is not financially practical?
In: Computer Science
A 420-N uniform rectangular sign 4.00 m wide and 3.00 m high is suspended from a horizontal, 6.00-m-long, uniform, 130-N rod as indicated in the figure below. The left end of the rod is supported by a hinge and the right end is supported by a thin cable making a 30.0
In: Physics
On January 1, 2011, Courier Inc. purchased new equipment that had a total cost (including shipping and installation) of $81,000. The equipment is expected to have a useful life of four years or produce a total of 121,000 units. At the end of its life, the equipment is expected to have a residual value of $4,600. The equipment is expected to produce 22,990 units in 2011; 32,670 units in 2012; and 35,090 units in 2013; and 30,250 units in 2014. Courier Inc.'s fiscal year ends on December 31.
In the table below, fill in the missing depreciation expense and accumulated depreciation amounts using the straight-line, double-declining-balance, and units-of-production methods. Do not round your intermediate calculation. When required, round your answers to the nearest dollar.
| Cost $81,000 |
Depreciation Expense |
Accumulated Depreciation |
||||
Year |
Straight-line Method |
Double- Declining- Balance Method |
Unit-of- Production Method |
Straight-line Method |
Double- Declining- Balance Method |
Unit-of- Production Method |
| 2011 | $ | $40,500 | $14,516 | $19,100 | $40,500 | $14,516 |
| 2012 | $19,100 | $ | $20,628 | $ | $60,750 | $35,144 |
| 2013 | $19,100 | $10,125 | $ | $57,300 | $ | $57,300 |
| 2014 | $19,100 | $5,525 | $19,100 | $76,400 | $76,400 | $ |
In: Accounting
7. A major airline keeps track of data on how their passengers redeem frequent flyer miles. They found that in the last year 58% of passengers redeemed them to purchase tickets for domestic travel, 44% redeemed them to purchase tickets for international travel, and that 16% redeemed them to purchase tickets for both domestic and international travel.
a. What is the probability that in the last year a passenger redeemed frequent flyer miles to purchase a ticket for domestic or international travel?
b. What is the probability that in the last year a passenger did not redeem frequent flyer miles to purchase a ticket for domestic or international travel?
c. Is redeeming frequent flyer miles to purchase a ticket for domestic and international travel mutually exclusive? Explain.
In: Math
The main participants/ competitors in food/groceries industry?
In: Economics
Company A offers you an initial salary of $150,000 with annual raises of 10% for the foreseeable future. Company B offers you $180,000 with annual raises of 8% for the foreseeable future.
A.) How many years will it take for the A salary to equal the B salary?
B.) How many years will it take for the total dollars received from A to equal the total dollars received from B?
In: Finance
In: Computer Science
If a centrral bank were required to target inflation at zero, then when there was a negative aggregate supply shock the central bank
a. would have to increase the money supply. This would move unemployment closer to the natural rate.
b. would have to increase the money supply. This would move unemployment further from the natural rate.
c. would have to decrease the money supply. This would move unemployment closer to the natural rate.
d. would have to decrease the money supply. This would move unemployment further from the natural rate.
In: Economics
As a technician in a large pharmaceutical research firm, you need to produce 400. mL of 1.00 M a phosphate buffer solution of pH = 7.36. The pKa of H2PO4− is 7.21. You have 2.00 L of 1.00 M KH2PO4 solution and 1.50 L of 1.00 M K2HPO4 solution, as well as a carboy of pure distilled H2O. How much 1.00 M KH2PO4 will you need to make this solution?
In: Chemistry
Better Fitness Gear applies overhead on the basis of direct labor hours. Five direct labor hours are required for each unit produced. Planned production for the period was set at 8,000 units. Budgeted fixed manufacturing overhead for the period is budgeted at $20,000 and variable manufacturing overhead is budgeted at $100,000. The 48,500 hours worked during the period resulted in production of 9,500 units. Actual manufacturing overhead cost incurred was $156,000. Required: Calculate the three overhead variances:
a. Total Spending Variance
b. Total Efficiency Variance
c. Total Volume Variance
d. Proof: Total Factory Overhead Variances
e. Interpret your variances
In: Accounting
1. Superior Bake Shop sells a variety of baked goods online. Attributes of Baked Good include ProductID, ProductName, Product Category, Weight, and Price. Attributes of Customer include CustomerID, CustomerName, and CustomerAddress (composed of Street, City, State, and ZipCode). Customers place orders with Superior BakeShop. Attributes of order are OrderID and OrderDate. All customers have placed at least one order and customers may place many orders over time. Each order is placed by a single Customer. Orders can include one or more baked good. A baked good can be included in one or more order. Superior Bake Shop keeps track of the quantity of each baked good that is included in an order.
2. Blue Orchard Bake Shop (BOBS) offers a variety of baking workshop. BOBS keeps track of the workshops it offers as well as its teachers and students. Attributes of workshop include WorkshopID, Date, Time, and Fee. Attributes of teacher include TeacherID, TeacherName, (composed of FirstName, MiddleInitial, and LastName), PaymentPerWorkshop, and Skills. Many teachers have more than one skill. Attributes of student include StudentID, StudentName (composed of FirstName, MiddleInitial, and LastName), StudentAddress (composed of Street, City, State, and ZipCode), DateOfBirth, and Age. Students can participate in more than one workshop, but must participate in at least one workshop. Each workshop can have multiple students, but must have at least one student. All workshops are taught by a single teacher. Teachers can teach any number of workshops including zero in the case of a new teacher who has not yet offered a workshop.
3. Main Street Catering has residential, business, and school clients. Attributes of residential clients include ClientNumber, ClientName (composed of FirstName, MiddleInitial, and LastName), ClientAddress (composed of Street, City, State, and ZipCode), and NearestCrossStreets. For each residential client, the two nearest cross streets are stored. Attributes of business clients include ClientNumber, BusinessName, ClientAddress (composed of Street, City, State, and ZipCode), and AnnualCateringBudget. Attributes of school clients include ClientNumber, SchoolName, SchoolDistrictCode, and ClientAddress (composed of Street, City, State, and ZipCode). Some residential clients are also business clients, and some residential clients are also school clients. Main Street Catering has a few clients who are neither residential, nor business, nor school clients.
Draw a conceptual data model to model the scenario in each problem. Use the model constructs (e.g., the material on the E-R model and the enhanced E-R model) from chapters 2 and 3 as appropriate and follow the modeling conventions used in the example problems in the online lessons. Do not use the modeling conventions shown in Figure 2-22 of the Hoffer textbook which illustrate a data model in Visio notation. Be sure to include all appropriate completeness constraints, disjointness constraints, and subtype indicators in your conceptual data models.
In: Computer Science
The processing time for the shipping of packages for a company, during the holidays, were recorded for 48 different orders. The mean of the 48 orders is 10.5 days and the standard deviation is 3.08 days. Raw data is given below. Use a 0.05 significance level to test the claim that the mean package processing time is less than 12.0 days. Is the company justified in stating that package processing is completed in under 12 days?
1) Write Ho (null) and H1 (alternative) and indicate which is being tested
2) Perform the statistical test and state your findings; Write answer as a statement
| Days |
| 4.4 |
| 8.8 |
| 8.2 |
| 11.5 |
| 11 |
| 15.3 |
| 10.3 |
| 10.9 |
| 4.8 |
| 13.6 |
| 8.1 |
| 4.1 |
| 12.5 |
| 9.9 |
| 11.3 |
| 13.1 |
| 13.6 |
| 7.6 |
| 10.3 |
| 11.7 |
| 8.9 |
| 4 |
| 9.5 |
| 8.1 |
| 16.3 |
| 13.7 |
| 12.4 |
| 8.6 |
| 13.8 |
| 7.1 |
| 6.9 |
| 11.3 |
| 9.9 |
| 11.8 |
| 12.2 |
| 11.4 |
| 6.2 |
| 10 |
| 12.7 |
| 11.3 |
| 13.2 |
| 12 |
| 9 |
| 10 |
| 13.3 |
| 16.8 |
| 14.9 |
| 7.7 |
In: Math
Below are three methods: checkValidInput, getCoordinates and play. Looking at checkValidInput, I feel it is very longwinded and would like to modify by using a try/catch block for user input. How is this occomplised? Would I be able to get rid of checkValidInput method with a try/catch? Any code to help me out would be great.
public boolean checkValidInput(String input){
ArrayList<String> numList = new ArrayList<String>();
for (int i=0;i<10;i++){
numList.add(""+i);
}
String[] coordinates = input.split(" ");
//returns false if there are not 2 strings
if (coordinates.length!=2){
return false;
}
//returns false if first is String is not in between A and J
if(coordinates[0].charAt(0)<'A' || coordinates[0].charAt(0)>'J')
return false;
//returns false if the second string is not a single digit number
for (String str: coordinates[1]){
if (numList.contains(str)==false){
return false;
}
}
//returns false if the coordinates have already been shot at
int row = Integer.parseInt(coordinates[0]);
int column = Integer.parseInt(coordinates[1]);
if (this.availableSpot[row][column]==false){
return false;
}
return true;
}
public int[] getCoordinates(String input)
{
int[] coordinates = new int[2];
String[] strList = input.split(" ");
int row = (int) strList[0].charAt(0) - 65;
int column = Integer.parseInt(strList[1]);
coordinates[0] = row;
coordinates[1] = column;
return coordinates;
}
public void play()
{
print(101);
print(1);
ocean.randomShipDeployment();
boolean isGameOver = ocean.isGameOver();
sc = new Scanner(System.in);
//printOcean the ocean and start the game
ocean.printOcean();
print(3);
while (!isGameOver)
{
print(2);
String input = sc.nextLine();
//check if input is valid
while (!checkValidInput(input))
{
print(99);
input = sc.nextLine();
}
//get coordinates and fire
int[] coordinates = getCoordinates(input);
int row = coordinates[0];
int column = coordinates[1];
ocean.shotFiredAtLocation(row, column);
availableSpot[row][column] = false;
isGameOver = ocean.isGameOver();
ocean.printOcean();
print(3);
print(100);
}
//printOcean info saying you win
print(4);
print(5);
}In: Computer Science
C++ programming,How to remove element from string without using the string::erase() function ?
example:
input string:"cheasggaa"
element need to be removed:"ga"
output:"cheasga"
or:
input:"cekacssdka"
element:"ka"
output:"cecssd"
In: Computer Science