What is a Canadian Mortgage? The September 2020 update on house prices, states that the average price of a house in Windsor is $430,000. A family has saved 5% of this amount that is required to make a down payment for an average home. If the current posted rate is 3% would you recommend a family with a monthly income of $5000 buy a house? The Canadian Housing Mortgage Corporation recommends that the cost of a mortgage should not exceed 35% of your monthly income.
In: Finance
1. Update the direct and indirect columns by placing an X in the appropriate column.
2. The monetary total of direct and indirect costs.
| Item | Cost | Direct | Indirect |
| IT Salaries and Benefits | $1,500 | ||
| RN Salaries and Benefits | $9,600 | ||
| Utilities and Telephone | $3,000 | ||
| Carpets | $1,000 | ||
| Magazine Subscriptions | $ 50 | ||
| Vehicle Expense | $1,775 | ||
| Exam Table | $5,500 | ||
| End Tables | $ 500 | ||
| Coffee Tables | $1,400 | ||
| Facility Insurance | $ 650 | ||
| Staff Uniforms | $1,200 | ||
| Cleaning Supplies | $ 200 | ||
| Desk Lamps | $ 150 | ||
| Front Desk Flowers | $ 300 | ||
| Bottled Water | $ 250 | ||
| Facility Maintenance | $ 700 | ||
| Landscaping Expense | $1,800 | ||
| Facility Cleaning | $1,500 |
In: Accounting
a. Prepare the adjusting entry required to update the inventory and related accounts at December 31. Update the affected accounts. (List all debit entries before credit entries. Credit account titles are automatically indented when the amount is entered. Do not indent manually. If a journal entry is not required, select "No entry required" for each account name and enter 0 as the amount.)
b. Prepare a multiple-step statement of income for the
year.
c. Prepare a statement of changes in equity for the year.
(Enter negative amounts using either a negative sign
preceding the number, e.g. -25 or parentheses e.g.
(25).)
d. Prepare a statement of financial position as at December 31.
(List Current assets in order of liquidity. List
Property, plant and equipment in order of land, building and
equipment.)
Concord Athletic Wear Inc.’s adjusted trial balance amounts
(with the exclusion of the adjusting entry to update Inventory and
Cost of Goods Sold accounts) appear in alphabetical order as
follows on December 31, 2021, the end of its fiscal year:
| Accounts payable | $108,460 | Inventory, Jan. 1 | $53,460 | ||||
| Accounts receivable | 58,344 | Land | 99,000 | ||||
| Accumulated depreciation—buildings | 68,376 | Mortgage payable | 165,000 | ||||
| Accumulated depreciation—equipment | 56,628 | Prepaid insurance | 3,168 | ||||
| Administrative expenses | 238,788 | Property tax payable | 6,336 | ||||
| Buildings | 250,800 | Purchases discounts | 29,700 | ||||
| Cash | 22,440 | Purchase returns and allowances | 8,448 | ||||
| Common shares | 69,300 | Purchases | 530,112 | ||||
| Deferred revenue | 10,956 | Refund liability | 5,456 | ||||
| Dividends declared | 10,560 | Retained earnings | 90,552 | ||||
| Equipment | 145,200 | Salaries payable | 4,620 | ||||
| Freight in | 7,392 | Sales | 840,840 | ||||
| Income tax expense | 21,120 | Selling expenses | 10,560 | ||||
| Interest expense | 13,728 |
Additional information:
| 1. | Concord Athletic Wear uses a periodic inventory system. | ||
| 2. | A physical inventory count determined that Inventory on December 31, 2021, was $95,832. | ||
| 3. | Of the mortgage payable, $16,500 is due in the next year. | ||
| 4. | Common shares of $33,000 were issued during the year. |
In: Accounting
On 16th June, 2020 the health minister of the Republic of South Africa gave an update of the number of positive COVID-19 cases. The break-down were as follows:
|
Province |
Positive Cases |
|
Gauteng |
12 193 |
|
Western Cape |
44 143 |
|
Kwa Zulu Natal |
3 959 |
|
Free State |
512 |
|
North West |
1 177 |
|
Northern Cape |
205 |
|
Eastern Cape |
345 |
|
Limpopo |
362 |
|
Mpumalanga |
322 |
In: Statistics and Probability
The directors of Hanren Plc, a listed company, have decided to
update the processing equipment at their division based in South
Wales. The project named ‘Invector’ will need new equipment costing
£10.5 million.
The equipment would last for five years, at the end of which it
would be replaced. The scrap value of the equipment is expected to
be 4% of the initial cost.
Capital allowances would be available on the cost of the equipment
on a 20% reducing balance basis, with a balancing allowance or
charge claimed in the final year of operation.
The equipment will produce 15,000 units per year throughout its
useful life.
Relevant financial information in current price terms is as
follows:
Selling price £630 per unit with inflation 3·5% per year Variable
cost £380 per unit with inflation 2·5% per year
Each model will take a share of existing overheads to the sum of
£625,000 per annum and incremental overheads of £320,000 both
quoted in current prices. Inflation of 4·0% per year applies to
overheads.
The equipment will also require the use of warehouse space, which
is currently generating rental income of £125,000 per annum. This
income, which is fixed for five years, will be lost if the project
goes ahead.
There will be working capital requirements of £600,000 at the
outset, and thereafter working capital should be maintained at 7%
of the sales revenue of the forthcoming year. Working capital will
be repaid in full at the end of the project.
Hanren Plc pays tax on profits at the rate of 30% per year, one
year in arrears.
The company has a nominal (money terms) after-tax cost of capital
of 12% per year.
Hanren Plc has £15 million to invest in suitable capital projects
in the coming year. A number of options are being considered
alongside the ‘Invector’ project. The board are unlikely to go
ahead with all of the projects.
A calculation of the net present value (NPV) of the planned
purchase of equipment using a nominal (money terms) approach. A
detailed analysis showing how the NPV has been calculated should be
included as an appendix to the report, together with any
assumptions and related calculations.
B. Advice on the viability of the proposed investment to include
the following: i. a recommendation whether to undertake the
project; ii. justifications for your recommendation, including the
reasons for using the NPV method; and iii. a brief summary of other
information that the company should consider before making a final
investment decision.
In: Finance
Area and Circumference -- FLOWGORITHM
------
You are going to update assignment 2 which was Area and Circumference (see below). This time the user will have the ability convert Area of Circle or the Circumference of Circle. Don’t forget all of the below requirements still apply, so if you didn’t fix or update assignment 2, you’d better get it done.
Assignment 2
In this assignment you are to develop the modules (i.e. functions or procedures). You are going to calculate the Area of Circle and the Circumference of Circle. There will be 4 modules to create. So, calculate the Area of Circle first then do the Circumference of Circle. You will have to research and decide which modules need to be a subroutine and which need to be a function.
Requirements:
The user will enter the information when the program is executing
1st convert the Area of Circle
2nd convert the Circumference of Circle
5 total module, 4 modules to create
One for input
One calculating Area
One for calculating Circumference
One for output
And you are still required to use the main(), which runs everything
No decision structures or loops
With correct answer and the number entered will be displayed. Information will need to be passed in so the correct output will be displayed
Required use Flowgorithm, then submit it for a grade.
The formulas are:
Area of Circle: area = π * r²
Calculates specifically the total area within a circle.
For example: radius = 4
a = π x 4²
a = π x 16
a = 50.24
Circumference of Circle: circumference = 2π * r
Calculates specifically the length of the outline of a circle.
For example: radius = 7
c = 2π x 7
c = 43.98
In: Computer Science
|
----------------------------------------------------------------------------------------------------------------------------------------------
scratchOffs fucntion:
int playScratchOffs(int cash)
{
printf("Let's play scratch off tickets!\n");
return cash;
}
----------------------------------------------------------------------------------------------------------------------------------------------
My Code So Far:
//define struct OneDollar
struct OneDollar {
int winNumber;
int numbers [5];
float prizes [5];
char bonus [2];
int oneSO;
} OneDollar;
//define struc TwoDollar
struct TwoDollar {
int winNumbers [2];
int numbers [10];
float prizes [10];
char bounus [2];
int twoSO;
} TwoDollar;
// define struc FiveDollar
struct FiveDollar {
int winNumbers [4];
int numbers [12];
float prizes [12];
char bonus [4];
int fiveSO;
} FiveDollar;
//function declaration for a. createScratchOffOne
int createScratchOffOne ();
//function declaration for b. displayScratchOffOne
int displayScratchOffOne ();
//function declaration for c. createScratchOffTwo
int createScratchOffTwo ();
//function declaration for d. displayScratchOffTwo
int displayScratchOffTwo ();
//function declaration for e. createScratchOffFive
int createScratchOffFive ();
//function declaration for f. displayScratchOffFive
int displayScratchOffFive ();
int playScratchOffs(int cash)
{
//declare integer variables
int type;
int count;
int c;
//variable declaration with structure
int main () {
struct OneDollar (oneSO);
struct TwoDollar (twoSO);
struct FiveDollar (fiveSO);
}
printf("Let's play scratch off tickets!\n");
printf("Players can select from OneDollar, TwoDollar and FiveDollar
tickets\n");
printf("Prizes are based on the ticket selected\n");
clearScreen();
printf ("Which type of scratch off would you like\n");
printf ("(1 = One Dollar, 2 = Two Dollar, 5 = Five
Dollar)?\n");
printf ("How many scratch offs would you like?\n");
return cash;
}
In: Computer Science
1. Update the HTML so the table has the caption and data shown in the second table.
a. Implement the table as a figure and use the figure caption to supply the table caption.
2. Expand the CSS so it does the formatting shown in the second table.
b. Use pseudo-classes to achieve colors
CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Employee table</title>
<meta name="description" content="Activity">
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="Activity2.css">
</head>
<body>
<table>
<thead>
<tr>
<th>Name</th>
<th>E-mail</th>
<th class="right">Years of Service</th>
</tr>
</thead>
<tbody>
<tr>
<td>Joel Murach</td>
<td>[email protected]</td>
<td class="right">22</td>
</tr>
<tr>
<td>Anne Boehm</td>
<td>[email protected]</td>
<td class="right">34</td>
</tr>
<tr>
<td>Zak Ruvalcaba</td>
<td>[email protected]</td>
<td class="right">4</td>
</tr>
<tr>
<td>Judy Taylor</td>
<td>[email protected]</td>
<td class="right">39</td>
</tr>
<tr>
<td>Cyndi Vasquez</td>
<td>[email protected]</td>
<td class="right">10</td>
</tr>
<tr>
<td>Kelly Slivkoff</td>
<td>[email protected]</td>
<td class="right">25</td>
</tr>
<tr>
<td>Juliette Baylon</td>
<td>[email protected]</td>
<td class="right">1</td>
</tr>
</tbody>
</table>
<footer>
<a href="https://validator.w3.org/check?uri=referer">Validate HTML</a> <br>
<a href="https://jigsaw.w3.org/css-validator/check/referer">Validate CSS</a>
</footer>
</body>
</html>
CSS:
body
{
width: 750px;
margin: 0 auto;
}
table
{
border-collapse: collapse;
border: 1px solid black;
margin: 20px;
}
thead
{
background-color: yellow;
}
th, td
{
border: 1px solid black;
padding: .2em 1em .2em .5em;
text-align: left;
vertical-align: middle;
}
.right
{
text-align: right;
}
tbody tr:nth-child(even) td
{
background-color: yellow;
}
In: Computer Science
Using Netbeans update the Sales project so the input and the output are done through a GUI of your choice.
The classes design should not be changed, only the code in the test class.
public abstract class Account {
private int accountId;
public Account(int id){
this.accountId=id;
}
//getters
public int getAccountId() {
return accountId;
}
//setters
public void setAccountId(int accountId) {
}
//abstract method to calculate sales
public abstract double calculateSales();
//to string method
@Override
public String toString() {
return("Account ID:"+getAccountId());
}
}
public class Services extends Account {
private int numberOfHours;
private double ratePerHour;
public Services(int id, int numberOfHours, double
ratePerHours){
super(id);
this.numberOfHours=numberOfHours;
this.ratePerHour=ratePerHours;
}
//getters
public int getNumberOfHours() {
return numberOfHours;
}
public double getRatePerHour() {
return ratePerHour;
}
//setters
public void setNumberOfHours() {
this.numberOfHours=numberOfHours;
}
public void setRatePerHour() {
this.ratePerHour=ratePerHour;
}
//using the abstract method from Account
public double calculateSales() {
return getNumberOfHours() * getRatePerHour();
}
//toString method to put info in a readable format
@Override
public String toString() {
return super.toString()+", Rate per Hour: $"+getRatePerHour()+",
Hours worked: "+ getNumberOfHours()+", Total Sales:
$"+calculateSales();
}
}
public class Supplies extends Account {
private int numberOfItems;
private double pricePerItem;
public Supplies(int id, int numberOfItems, double
pricePerItem){
super(id);
this.numberOfItems=numberOfItems;
this.pricePerItem=pricePerItem;
}
//getters
public int getNumberOfItems() {
return numberOfItems;
}
public double getPricePerItem() {
return pricePerItem;
}
//setters
public void setNumberOfItems() {
this.numberOfItems=numberOfItems;
}
public void setPricePerItem() {
this.pricePerItem=pricePerItem;
}
//using the abstract method from Account
public double calculateSales() {
return getNumberOfItems() * getPricePerItem();
}
//toString method to put info in a readable format
@Override
public String toString() {
return super.toString()+", Item Price: $"+getPricePerItem()+",
Number of Items: "+ getNumberOfItems()+", Total Sales:
$"+calculateSales();
}
}
TEST CLASS
public class companySales {
public static void main(String[] args) {
Account[] accounts;
accounts = new Account[100];
accounts[0] = new Supplies(1, 50, 4.50);
accounts[1] = new Services(2, 5, 25.50);
for(int x=0;x<2;++x){
System.out.println(accounts[x].toString());
}
}
}
In: Computer Science
After running the experiment with the pivot, comment out the line, update the pivot selection to use the median of the first, middle, and last items, and run the experiment.
What line needs to be commented out and how would I update the pivot selection to use the median?
Example.java
package sorting;
import java.io.IOException;
import java.util.Random;
import sorters.QuickSort;
public class Example {
public static void main(String args[]) throws
IOException {
int n = 100; // adjust
this to the number of items to sort
int runs = 11;
partB(n, runs);
public static void partB(int n, int runs) {
int [] data = new int[n];
QuickSort quicksort = new
QuickSort();
labels(runs);
for (int i = 0; i < runs; i++)
{
randomArray(data);
quicksort.sort(data);
}
System.out.println();
}
public static void labels(int runs) {
for(int i = 0; i < runs; i++)
{
String label =
"Run " + i;
System.out.printf("%12s ", label);
}
System.out.println();
}
public static void randomArray(int [] data) {
Random rand = new
Random();
for(int j = 0; j < data.length;
j++) {
data[j] =
rand.nextInt();
}
}
}
QuickSort.java
package sorters;
// note that this class can only sort primitive ints correctly.
public class QuickSort {
private int[] items;
public void sort(int[] items) {
this.items = items;
long start =
System.nanoTime();
quicksort(0, items.length-1);
long finish =
System.nanoTime();
//System.out.println(Arrays.toString(items));
System.out.printf("%12s ",
finish-start);
}
private int partition(int left, int right) {
int i = left;
int j = right;
int temp;
int pivot = (int) items[(left
+ right) / 2];
while (i <= j) {
while((int)
items[i] < pivot)
i++;
while((int) items[j] > pivot)
j--;
if(i
<= j) {
temp = items[i];
items[i] = items[j];
items[j] = temp;
i++;
j--;
}
}
return i;
}
private void quicksort(int left, int right) {
int index = partition(left, right);
if(left < index -
1)
quicksort(left,
index-1);
if(index < right)
quicksort(index, right);
}
}
In: Computer Science