Describe how transactional behaviors and co-activators work including the zinc fingers and leucine zippers
In: Biology
The definition of a (well-defined) function f : X → Y . Meaning of domain, range, and co-domain
In: Advanced Math
In: Finance
Please briefly explain Espinoza v Farah Manufactoring Co. 414 US 86 (1973)
In: Operations Management
What proteins might be most likely to co-purify with Con A during affinity chromatography on Sephadex?
In: Biology
List the assumptions in the general linear model and show what this means for the variance co variance matrix
In: Statistics and Probability
In: Operations Management
Working with Files in C++.
Create the following program called payroll.cpp. Note that the file you read must be created before you run this program. The output file will be created automatically by the program. You can save the input file in the same directory as your payroll.cpp file by using Add New Item, Text File.
// File: Payroll.cpp
// Purpose: Read data from a file and write out a payroll
// Programmer: (your name and section)
#include <cstdlib> // for the definition of EXIT_FAILURE
#include <fstream> // required for external file streams
#include <iostream> // required for cin cout
using namespace std;
int main ()
{
ifstream ins; // associates ins as an input stream
ofstream outs; // associates outs as an output stream
int id; // id for employee
double hours, rate; // hours and rate worked
double pay; // pay calculated
double total_pay; // grand total of pay
// Open input and output file, exit on any error
ins.open ("em_in.txt"); // ins connects to file "em_in.txt"
if (ins.fail ())
{
cout << "*** ERROR: Cannot open input file. " << endl;
getchar(); // hold the screen
return EXIT_FAILURE;
} // end if
outs.open ("em_out.txt"); // outs connects to file "em_out.txt"
if (outs.fail ())
{
cout << "*** ERROR: Cannot open output file." << endl;
getchar();
return EXIT_FAILURE;
} // end if
// Set total_pay to 0
total_pay = 0;
ins >> id; // get first id from file
// Do the payroll while the id number is not the sentinel value
while (id != 0)
{
ins >> hours >> rate;
pay = hours * rate;
total_pay += pay;
outs << "For employee " << id << endl;
outs << "The pay is " << pay << " for " << hours
<< " hours worked at " << rate << " rate of pay" << endl << endl;
ins >> id;
} // end while
// Display a message on the screen
cout << "Employee processing finished" << endl;
cout << "Grand total paid out is " << total_pay << endl;
ins.close(); // close input file stream
outs.close(); // close output file stream
return 0;
}
Create the input file:
Inside C++ go to File Add New Item and then Text to create a text file.
Type in the data below
In the same directory as your .cpp file for Payroll.cpp click Files and Save As em_in.txt
1234
35 10.5
3456
40 20.5
0
solution should show :
-the output file
-the input file
-the screen output
-the source program
In: Computer Science
Which of the following serve as examples of strong separation of duties within the context of the acquisition/payment process?
Question 6 options:
Neither establishing a purchasing department nor requiring all purchases over $500 to be approved by a manager |
|
Establishing a purchasing department |
|
Both establishing a purchasing department and requiring all purchases over $500 to be approved by a manager |
|
Requiring all purchases over $500 to be approved by a manager |
Missouri Can Corporation (MCC) manufactures and sells a variety of can types, such as soft drink cans, oil cans and many others. MCC has adopted a functional organization structure that includes departments for accounting, marketing, manufacturing, human resources and information systems. Which of the following appropriately pairs a document with one of MCC's business processes?
Question 14 options:
Neither production cost report, conversion nor Form 940, human resources |
|
Both production cost report, conversion and Form 940, human resources |
|
production cost report, conversion |
|
Form 940, human resources |
Which of the following statements best explains the relationship between the acquisition/payment process and the sales/collection process?
Question 15 options:
Both the same transaction can be considered part of both processes and all organizations that have a sales/collection process also have an inventory acquisition/payment process. |
|
All organizations that have a sales/collection process also have an inventory acquisition/payment process. |
|
Neither the same transaction can be considered part of both processes nor all organizations that have a sales/collection process also have an inventory acquisition/payment process. |
|
The same transaction can be considered part of both processes. |
Consider the following statements as you answer the
question:
i. Felix, a cash receipts clerk, applied Allison's payment to the
invoices indicated on her remittance advice.
ii. In purchasing books, Allison filled out a form on a bookstore's
web site.
iii. The bookstore's web site verified Allison's credit
limit.
iv. William, a warehouse worker, prepared Allison's books for
shipment.
Which of these statements most clearly relates to the third step in
the sales/collection process?
Question 19 options:
iv |
|
ii |
|
i |
|
iii |
Which of the following exemplifies the role and purpose of the sales/collection process?
Question 35 options:
Neither American Home Shield sells warranties to new homeowners nor new homeowners pay cash to American Home Shield for warranties. |
|
Both American Home Shield sells warranties to new homeowners and new homeowners pay cash to American Home Shield for warranties. |
|
New homeowners pay cash to American Home Shield for warranties. |
|
American Home Shield sells warranties to new homeowners. |
Accounting information systems have five generic elements. Which of the following pairs includes two examples of the same element within the context of the acquisition/payment process?
Question 50 options:
Purchase order and adequate documentation |
|
Purchase order and schedule of accounts payable |
|
All of these |
|
Schedule of accounts payable and adequate documentation |
In: Accounting
Flamingo, Inc. |
|
Net sales |
$1,384 |
Less: Cost of goods sold |
605 |
Less: Depreciation |
180 |
Earnings before interest and taxes |
599 |
Less: Interest paid |
80 |
Taxable income |
519 |
Less: Taxes |
156 |
Net income |
$363 |
Addition to retained earnings |
$254 |
Dividends paid |
109 |
Unit 2 Exercise Questions
Flamingo, Inc. |
|||||
2018 |
2019 |
2018 |
2019 |
||
Cash |
$100 |
$121 |
Accounts payable |
$400 |
$350 |
Accounts rec. |
350 |
425 |
Notes payable |
390 |
370 |
Inventory |
440 |
410 |
Total |
$790 |
$720 |
Total |
$890 |
$956 |
Long-term debt |
500 |
550 |
Net fixed assets |
1,556 |
1,704 |
Owner’s equity |
||
Common stock |
600 |
580 |
|||
Retained |
556 |
810 |
|||
Total |
1,156 |
1,390 |
|||
Total assets |
$2,446 |
$2,660 |
Total liabilities |
$2,446 |
$2,660 |
Q1. Show detailed calculations of CFFA under two approaches we have discussed in our class.
Q2. Comment on the cashflow performance of the company in the years of 2018 and 2019.(20 marks)
Q3. If you were to advise Flamingo Inc. for the year 2020, what recommendations would you propose regarding the capital structure of the company? Why?
Flamingo, Inc. |
|
Net sales |
$1,384 |
Less: Cost of goods sold |
605 |
Less: Depreciation |
180 |
Earnings before interest and taxes |
599 |
Less: Interest paid |
80 |
Taxable income |
519 |
Less: Taxes |
156 |
Net income |
$363 |
Addition to retained earnings |
$254 |
Dividends paid |
109 |
Unit 2 Exercise Questions
Flamingo, Inc. |
|||||
2018 |
2019 |
2018 |
2019 |
||
Cash |
$100 |
$121 |
Accounts payable |
$400 |
$350 |
Accounts rec. |
350 |
425 |
Notes payable |
390 |
370 |
Inventory |
440 |
410 |
Total |
$790 |
$720 |
Total |
$890 |
$956 |
Long-term debt |
500 |
550 |
Net fixed assets |
1,556 |
1,704 |
Owner’s equity |
||
Common stock |
600 |
580 |
|||
Retained |
556 |
810 |
|||
Total |
1,156 |
1,390 |
|||
Total assets |
$2,446 |
$2,660 |
Total liabilities |
$2,446 |
$2,660 |
Q1. Show detailed calculations of CFFA under two approaches we have discussed in our class.
Q2. Comment on the cashflow performance of the company in the years of 2018 and 2019.(20 marks)
Q3. If you were to advise Flamingo Inc. for the year 2020, what recommendations would you propose regarding the capital structure of the company? Why?
In: Accounting