10a. Alpha's net accounts receivable were $500,000 at December 31, 2015, and $600,000 at December 31, 2016. Net cash sales for 2016 were $250,000. The accounts receivable turnover for 2016 was 5.3. Use this information to determine the Fiscal Year 2016: (Round & enter your answers to one decimal place for non-dollar ratios and enter the value. For dollar ratio enter as whole dollars only.)
1. Total Net Sales
2. Total Net Credit Sales
10b. The following financial information is for Alpha Corporation are for the fiscal years ending 2017 & 2016 (all balances are normal):
|
Item/Account |
2017 |
2016 |
|
Cash |
$26,000 |
$16,000 |
|
Accounts Receivable |
40,000 |
50,000 |
|
Inventory |
30,000 |
22,000 |
|
Current Liabilities |
76,000 |
42,000 |
|
Net Sales (all credit) |
390,000 |
360,000 |
|
Cost of Goods Sold |
260,000 |
250,000 |
Use this information to determine for FY 2017: (Round & enter your answers to one decimal place and enter the value.)
1. the inventory turnover ratio: ________
2. number of days of inventory: ________
3. Gross Profit Margin:____________
10 c.
The following financial information is for Alpha Corporation are for the fiscal years ending 2017 & 2016 (all balances are normal):
|
Item/Account |
2017 |
2016 |
|
Cash |
$26,000 |
$16,000 |
|
Accounts Receivable |
30,000 |
50,000 |
|
Inventory |
30,000 |
22,000 |
|
Current Liabilities |
76,000 |
42,000 |
|
Net Sales (all credit) |
390,000 |
360,000 |
|
Cost of Goods Sold |
260,000 |
250,000 |
Use this information to determine the quick ratio for FY 2017: (Round & enter your answers to one decimal place and enter the value.)
10d.
The following financial information is for Alpha Corporation are for the fiscal years ending 2017 & 2016 (all balances are normal):
|
Item/Account |
2017 |
2016 |
|
Cash |
$26,000 |
$16,000 |
|
Accounts Receivable |
40,000 |
50,000 |
|
Inventory |
30,000 |
22,000 |
|
Current Liabilities |
76,000 |
42,000 |
|
Net Sales (all credit) |
390,000 |
360,000 |
|
Cost of Goods Sold |
260,000 |
250,000 |
Use this information to determine for FY 2017: (Round &
enter your answers to one decimal place for non-dollar ratios and
enter the value. For dollar ratio enter as whole dollars
only.)
1. the Current Ratio
2. Working Capital
In: Accounting
Well our Data Structures and Algorithms professor had the incorrect date set for this assignment (was November 7, 2019 and now is October 7, 2019) so I was putting it off until the end of this month, now I have two days to complete it which is going to be near impossible with the assignments I have for C Programming, Calculus II and Anthropology also all due on Monday, so I need some help. I have the general outline for this program from the last assignment we did but I am unsure how to implement the new methods we were shown Thursday.
I. General Description
In this assignment, you will create a Java program to read undergraduate and graduate students from an input file, shuffle them, and write them to an output file.
1. The input file name and the output file name are passed in as the first and second arguments at command line, respectively. For example, assume your package name is FuAssignment4 and your main class name is FuMain, and your executable files are in “C:\Users\2734848\eclipse-workspace\CIS 265 Assignments\bin”. The following command line will read from a local file “students.txt” and write to a local file “students_shuffled.txt”: C:\Users\2734848\eclipse-workspace\CIS 265 Assignments\bin > java FuAssignment4.FuMain students.txt students_shuffled.txt
2. If the program is run with incorrect number of arguments, your program must print an error message and exit. The error message must show correct format to run your program, e.g., “Usage: FuAssignment4.FuMain input_file output_file” where FuAssignment4 is the package and FuMain is the main class.
3. Each line in the input file represents a student. There are 5 fields in each line: name, id, gpa, “graduate” or “undergraduate”, isTransfer (for undergraduate) or college (for graduate). The fields are separated by comma, “,”. For example, the input file students.txt file may contain: Michelle Chang,200224,3.3,graduate,Cleveland State University Tayer Smoke,249843,2.4,undergraduate,false David Jones,265334,2.7,undergraduate,true Abby Wasch,294830,3.6,graduate,West Virginia
4. The program will read the lines and create undergraduate students or graduate students accordingly. The students are added to an ArrayList.
5. The program then shuffles the ArrayList, and write the shuffled list of students to the output file.
6. Given the previous input file students.txt, a possible output file, students_shuffled.txt, maybe like this: Abby Wasch,294830,3.6,graduate,West Virginia Michelle Chang,200224,3.3,graduate,Cleveland State University David Jones,265334,2.7,undergraduate,true Tayer Smoke,249843,2.4,undergraduate,false
II. Implementation Requirements
The program must implement a main class and three student classes (Student, UndergradStudent, GradStudent).
• You may reuse the code from previous assignments. You may use my code posted on Blackboard for previous assignments.
• However, the Student class must be declared as an abstract class now. It must also have an overloaded printStudent(PrintWriter output) method. The method will write student’s information to the file using the output PrintWriter.
• Accordingly, the UnderGradStudent and GradStudent classes must also have an overloaded printStudent(PrintWriter output) method. They must use the superclass’ method to write student’s information. The UnderGradStudent’s printStudent(PrintWriter output) writes “undergraduate” and 2 isTransfer after that. The GradStudent’s printStudent(PrintWriter output) writes “graduate” and college after that. • The UML class diagram should be as follows:
| Student | ||
| -name: String | ||
| -id: int | ||
| -gpa: float | ||
| +Student() | ||
| +Student(name,id,gpa) | ||
| +printStudent():void | ||
| +printStudent(PrintWriter output:void | ||
| UndergradStudent | GradStudent | |
| -boolean: isTransfer | -college:String | |
|
+UndergradStudent(name,id,gpa,isTransfer) |
+GradStudent(name,id,gpa,college) | |
|
+printStudent():void +printStudent(PrintWriter output):void |
+printStudent():void +printStudent(PrintWriter output):void |
• All classes must be in the same package. The package name must start with your last name. For example, if your last name is “Trump”, your package name must start with “Trump” such as “TrumpCIS265AS3”, “TrumpAS3”, etc.
• You main class file name must start with your last name. For example, if your last name is “Spiderman”, your main class file name must start with “Spiderman” such as “Spiderman3.java”, “SpidermanAssign3.java”, etc.
• Since I/O exceptions are checked exceptions, your program must handle exceptions. You may use the try/catch or throw IOException. To throw exceptions, you declare it as: public static void main(String[] args) throws IOException {
• You must create an ArrayList of Students in the main class: import java.util.ArrayList; ArrayList students = new ArrayList<>();
• The ArrayList variable will store all Student objects created, both undergraduate students and graduate students.
• The Student class must have a constructor that takes a name, an id, and a gpa, to create a Student object.
• The UndergradStudent class must have a constructor that takes a name, an id, a gpa, and a transfer status to create an UndergradStudent object. The constructor must call the Student’s constructor using super.
• The GradStudent class should must a constructor that takes a name, an id, a gpa, and a college to create an GradStudent object. The constructor must call the Student’s constructor using super.
• The Student class must have a public method printStudent(PrintWriter output) that writes the student’s name, id, and gpa to the PrintWriter output.
• The UndergradStudent class must override the printStudent(PrintWriter output) method. It must write the student’s name, id, gpa, and transfer status to the PrintWriter output. It should call the Student’s printStudent(PrintWriter output) to write student’s name, id, and gpa.
• The gradStudent class must override the printStudent(PrintWriter output) method. It must write the student’s name, id, gpa, and college to the PrintWriter output. It should call the Student’s printStudent(PrintWriter output) to write student’s name, id, and gpa.
• To shuffle the ArrayList, you need to use the Collections’s shuffle method: import java.util.Collections; Collections.shuffle(students); //assume students is an ArrayList of Students
• The printing of students should use dynamic binding: for (Student s: students) //students is an ArrayList of Students s.printStudent(output); // output is a PrintWriter for output file
• Your program must close both input and output files after they are done.
• You can assume that input file has the correct format. You will earn bonus points for handling incorrect input formats.
V. Bonus features (optional)
If a line in the input file has incorrect format, your program should skip the line and continue. The following are possible formatting errors your program can handle:
1. (2 points) if the line does not have 5 fields;
2. (2 points) if the id is not an integer;
3. (2 points) if the gpa is not a float;
4. (2 points) if the 4th field is not “undergraduate” or “graduate”;
5. (2 points) if the 5th field for an undergraduate student is not true or false.
In: Computer Science
using C program
Assignment
Write a computer program that converts a time provided in hours, minutes, and seconds to seconds
Functional requirements
Nonfunctional requirements
Sample run
4 hours, 13 minutes and 20 seconds is equal to 15200 seconds. 8 hours, 0 minutes and 0 seconds is equal to 28800 seconds. 1 hours, 30 minutes and 0 seconds is equal to 5400 seconds.
Grading
This assignment will be graded according to the programming grading rubric.
Due date
The assignment is due by the 11:59pm on September 20, 2019.
Requested files
time_to_sec.c
/*
* time_to_sec.c
*
* Created on: Jul 20, 2016
* Author: leune
*/
// appropriate #include statements
/* Convert a time interval specified in hours, minutes and seconds to
* seconds.
* Parameters:
* hours, minutes, seconds: input time elements
* Preconditions:
* 0 <= minutes < 60
* 0 <= seconds < 60
* Return:
* number of seconds in the interval
*/
unsigned int time_to_sec(unsigned int hours, unsigned int minutes,
unsigned int seconds) {
// complete this
}
/* Print a formatted representation of the calculation
* Parameters:
* hours, minutes, seconds: input time elements
* Postcondition:
* Function will write the calculation to standard output.
*/
void format_seconds(unsigned int hours, unsigned int minutes,
unsigned int seconds) {
// complete this
}
int main(void) {
format_seconds(4, 13, 20);
format_seconds(8, 0, 0);
format_seconds(1, 30, 0);
}
In: Computer Science
using C program
Assignment
Write a computer program that converts a time provided in hours, minutes, and seconds to seconds
Functional requirements
Nonfunctional requirements
Sample run
4 hours, 13 minutes and 20 seconds is equal to 15200 seconds. 8 hours, 0 minutes and 0 seconds is equal to 28800 seconds. 1 hours, 30 minutes and 0 seconds is equal to 5400 seconds.
Grading
This assignment will be graded according to the programming grading rubric.
Due date
The assignment is due by the 11:59pm on September 20, 2019.
Requested files
time_to_sec.c
/*
* time_to_sec.c
*
* Created on: Jul 20, 2016
* Author: leune
*/
// appropriate #include statements
/* Convert a time interval specified in hours, minutes and seconds to
* seconds.
* Parameters:
* hours, minutes, seconds: input time elements
* Preconditions:
* 0 <= minutes < 60
* 0 <= seconds < 60
* Return:
* number of seconds in the interval
*/
unsigned int time_to_sec(unsigned int hours, unsigned int minutes,
unsigned int seconds) {
// complete this
}
/* Print a formatted representation of the calculation
* Parameters:
* hours, minutes, seconds: input time elements
* Postcondition:
* Function will write the calculation to standard output.
*/
void format_seconds(unsigned int hours, unsigned int minutes,
unsigned int seconds) {
// complete this
}
int main(void) {
format_seconds(4, 13, 20);
format_seconds(8, 0, 0);
format_seconds(1, 30, 0);
}
In: Computer Science
Use Visual Basic Language
In this assignment,you will create the following data file in Notepad:
25
5
1
7
10
21
34
67
29
30
You will call it assignment4.dat and save it in c:\data\lastname\assignment4\. Where lastname is your last name.
The assignment will be a console application that will prompt the user for a number.
Ex. Console.Write(“Enter a number: ”)
And then read in the number
Ex. Number = Console.ReadLine()
You will then read the data file using a while statement. For each time you read a value from the data file you will compare it to the user input value.
Ex. User inputs the value “10”. The first value from the data file is “25”. 25 is greater than 10, so the output would look like this, “25 is greater than10”. The next value from the data file is “5”, so the output would be “5 is less than 10”.Also check for equal values as well.
You will also total the values from your data file and then average them at the end. Your total will be 229 and the average will be 22.9. The total variable should be a double and rounded to two decimal places. The results should be printed to the screen at the end of the program.
Required elements:
* Comments and documentation
* Data file
* While statement(read the data file)
* Totaling the contents of the data file
* Averaging the total
Variables needed:
* Number (input from the screen): Type Double
* Datanumber (input from the data file): Type Double
* Total (values totaled from data file): Type Double
* AverageData (Average from the total): Type Double
* Const variables of string type: For example:
Const author As String = "Jack"
Const doublelines As String = "=============="
In: Computer Science
MACROECONOMICS PAPER ASSIGNMENT
The Physicians for a National Health Program
and Single Pay National Health Care Insurance
Due April 12
One of our country’s most significant fiscal policy issues is rising health care costs. The Physicians for a National Health Program (PNHP) is a non-profit organization of 20,000 physicians, medical students, and health professionals who support single-payer national health insurance (or Medicare For All) as a means of reforming health care in the United States. It is currently the health care position of Presidential candidates Bernie Sanders and Elizabeth Warren.
For this paper assignment, each student will review the PNHP website (as well as other sources contained in Blackboard) and write a TYPED paper of no more than 300 words with respect to the following:
- What is single payer health care?
- What does PNHP consider the most serious health care spending problem? Why?
- What are PNHP’s biggest problems with Obamacare, which was another way of dealing with health care reform?
- How will single pay health care be paid for?
- Do you agree with PNHP’s positions? If so, why? If not, why not?
Prior to writing your paper, watch the Crash Course Economics video “The Economics of Heath Care” and read the “Health Care Primer” found in the Blackboard folder. As part of your paper, cite at least one outside article or book and reference it at the end (name, author, date, web link). Grading will be based on your knowledge of PNHP’s position, addressing each of the above questions (using the primer and video as a reference), and the thoughtfulness in arguing your position. The paper can be submitted via email attachment or through Blackboard – no hard copies.
In: Economics
Part 1 (Objective C++ and please have output screenshot)
The purpose of this part of the assignment is to give you practice in creating a class. You will develop a program that creates a class for a book. The main program will simply test this class.
The class will have the following data members:
The class will have the following member functions (details about each one are below:)
You must create your program using the following three files:
book.h – used for declaring your class. In this header file, the declarations of the class and its members (both data and functions) will be done without the definitions. The definitions should be done in the book.cpp file.
book.cpp – contains the definitions of the member functions:
Mp8bookDriver.cpp – should contain the main program to test the class.
It should declare two book objects (book1 and book2) using the default constructor. Call the print function for book1 (to show that the default constructor is correct). Open the input file and call the GetData function for book2 and then print its information. Finally, test the GetISBN function for book2 and output the result returned from the function.
Format of Data file
The name of the data file is mp7book.txt
It has data for one book arranged as follows:
mp7book.txt
Jane Smith
History Of This World
12349876
Get this part of the program working and save all the files before starting on Part 2. The output should be similar to the following:
Testing the book class by (your name)
The information for book 1 is:
No name Unknown title 0
The information for book 2 is:
Jane Smith History Of The World 12349876
book2 has ISBN 12349876
Press any key to continue
Part 2
Now you will use the book class to create an array of books for a small library. Note that the book.h and book.cpp files should not have to be changed at all - you just have to change the main program in the Mp8bookDriver.cpp file.
There is a new data file, mp7bookarray.txt. It contains the information for the books in the library using the same format as described above for each book. There will be exactly 10 books in the file.
Declare an array of books that could hold 10 book objects. Open the new data file and use a loop to call the GetData function to read the information about the books into the objects in the array. Print out the list of books in the library in a nice format. Notice that the books are arranged in order by ISBN in the data file.
Now imagine customers coming into the library who want to know whether a particular book is in the collection. Each customer knows the ISBN of the book. Open the third data file (mp8bookISBN.txt) which contains ISBN's, read each one, and use a binary search to find out whether the book is in the array. If it is found, print out all the information about the book, if not, print an appropriate message. Then repeat the process for each of the ISBN's until you get to the end of the file.
mp8bookarray.txt
H. M. Deitel
C++ How to Program
130895717
Judy Bishop
Java Gently
201593998
Jeff Salvage
The C++ Coach
201702894
Thomas Wu
Object-Oriented Programming with Java
256254621
Cay Horstmann
Computing Concepts with C++
471164372
Gary Bronson
Program Development and Design
534371302
Joyce Farrell
Object-Oriented Programming
619033614
D. S. Malik
C++ Programming
619062134
James Roberge
Introduction to Programming in C++
669347183
Nell Dale
C++ Plus Data Structures
763714704
mp8bokkISBN.txt
201593998
888899999
763714704
111122222
256254621
130895717
488881111
534371302
619033614
In: Computer Science
Because it is important for accountants to demonstrate the filing requirements for individual tax returns, for this final project you will be completing an individual tax return and then analyzing this experience. There are several requirements for this project that should be submitted during the weeks when there are Portfolio Project Milestones (Modules 2, 3, 4, 5, and 7) and that contribute to your final grade in this project. Key Component: Using the case data from the Case 1, complete the provided template that has the respective tax forms (Page 1 of Form 1040 and schedules) to complete the tax return. Complete all the applicable parts of the tax forms. Also, address any instructor feedback provided in the milestone submissions. Requirements: Submit your tax return and computations to the dropbox identified for that submission. Review the Portfolio Project grading rubric to understand how you will be graded on this Portfolio Project. Contact your instructor if you have questions about the Portfolio Project.
| Brian and Sheila Williams were married in October of 2008. They live at 1000 Main Street, Atlanta, GA 33127. Brian is a postal service worker. Sheila is a teacher at Grady High School. Brian’s social security number is 555-11-1111 and Sheila’s social security number is 555-22-2222. They have a dependent daughter Jayla who is 10 years old (Born on May 12th). Jayla’s social security number is 555-33-3333. In 2016, Brian's wages was $45,860 while Sheila's was $43,590. | |||||||||||||||||||||||
| Included or Excluded Items | Reasoning for Including or Excluding and if Including, Indicate amount to include | ||||||||||||||||||||||
| Two years ago, the taxpayer loaned a friend $2000. The friend has filed for bankruptcy this year and will not be able to repay | |||||||||||||||||||||||
| Earned $100 interest on county municipal bonds | |||||||||||||||||||||||
| Found a diamond worth $1000 on the ground | |||||||||||||||||||||||
| Received $500 in death benefits fron Brian's father | |||||||||||||||||||||||
| Received $4,000 court settlement. $1,000 was punitive damanges. | |||||||||||||||||||||||
| Brian paid $400/month in child support | |||||||||||||||||||||||
| Received a $1000 gift from his brother | |||||||||||||||||||||||
| Sheila won $100 playing bingo | |||||||||||||||||||||||
| Brian paid $200/month in alimony to his ex-wife | |||||||||||||||||||||||
| Sheila received a $1000 gift from her mother | |||||||||||||||||||||||
| Sheila spent $300 on supplies for her classroom | |||||||||||||||||||||||
| Portfolio Investments | |||||||||||||||||||||||
| Stock | Acquired | Sold | Sales Price | Cost (Basis) | Qualified Dividends | ||||||||||||||||||
| Red Stock | 2/1/2016 | 10/5/2016 | $6,000 | $2,500 | $0 | ||||||||||||||||||
| White Stock | 6/11/2009 | 10/15/2016 | $5,000 | $4,000 | $100 | ||||||||||||||||||
| Blue Stock | 10/1/2005 | 8/3/2016 | $2,000 | $10,000 | $0 | ||||||||||||||||||
| Black Stock | 3/6/2016 | 12/15/2016 | $3,000 | $5,000 | $0 | ||||||||||||||||||
| Yellow Stock | 4/5/2006 | N/A | N/A | $5,000 | $300 | ||||||||||||||||||
| Interest Income Source | Amount | ||||||||||||||||||||||
| Money Market Account | $200 | ||||||||||||||||||||||
| Savings Account | $25 | ||||||||||||||||||||||
| State Municipal Bonds | $35 | ||||||||||||||||||||||
| Rental Property | |||||||||||||||||||||||
| They own and rent two pieces of residential real estate in Miami, FL. These properties were acquired with cash (so there are no mortgages on the homes). They both have real estate broker licenses in Georgia and Florida. They dedicate enough hours (through their business) to qualify as a “real estate professional” with regard to these properties. | |||||||||||||||||||||||
| Property 1 | |||||||||||||||||||||||
| The first property is located at 17750 NW 17th Ave, Miami, FL. They collect $1,000 monthly in rent. The property was purchased June 30, 2016 for $150,000. The tax records show that the value of the land is $30,000 and the value of the home was $90,000 when purchased. They actively participate in the management of the real property. | |||||||||||||||||||||||
| The property has the following expenditures: | |||||||||||||||||||||||
| Property tax | $7,000/yr | ||||||||||||||||||||||
| Repairs | $ 900/yr | ||||||||||||||||||||||
| Insurance | $1,200/yr | ||||||||||||||||||||||
| Washing Machine | $300 | (purchased 6/2/2015) | |||||||||||||||||||||
| Refrigerator | $700 | (purchased 7/1/2016) | |||||||||||||||||||||
| Furniture | $2,000 | (purchased 4/1/2014) | |||||||||||||||||||||
| Property 2 | |||||||||||||||||||||||
| The second property is located at 5610 NW 11th Ave, Miami, FL. They collect $1,500 monthly in rent. The property was purchased on June 12, 2016 for $100,000. The tax records show that the value of the land is $20,000 and the value of the home was $80,000 when purchased. They actively participate in the management of the real property. | |||||||||||||||||||||||
| The property has the following expenditures: | |||||||||||||||||||||||
| Property tax | $6,200/yr | ||||||||||||||||||||||
| Repairs | $3,000/yr | ||||||||||||||||||||||
| Insurance | $1,200/yr | ||||||||||||||||||||||
| Legal fees | $ 500/yr | ||||||||||||||||||||||
| Advertising Expense | $ 500/yr | ||||||||||||||||||||||
Excel Temp.
| ***This is a suggested depreciation schedule. You may adapt the schedule as long as the instructor can follow your calculations. | |||||||||||
| Name(s) shown on Form 1040 | |||||||||||
| Property 1 | |||||||||||
| *27.5 Residential Real Estate | 5 year MACRS | ||||||||||
| Market | Purchase Price | Basis | Dep Rate | Rate | Basis | Dep. Amount | |||||
| Washing Machine | |||||||||||
| Refrigerator | |||||||||||
| Furniture | |||||||||||
| *27.5 Residential Real Estate | |||||||||||
| Property 1 | |||||||||||
| Total | |||||||||||
| Property 2 | |||||||||||
| **27.5 Residential Real Estate | |||||||||||
| Market | Purchase Price | Basis | Dep Rate | ||||||||
| **27.5 Residential Real Estate | |||||||||||
| Property 2 | |||||||||||
| Total | |||||||||||
In: Accounting
An air-filled parallel-plate capacitor has plates of area 2.50 cm2 separated by 1.00 mm. The capacitor is connected to a 24.0-V battery.
(a) Find the value of its capacitance.
_______ pF
(b) What is the charge on the capacitor?
_______ pC
(c) What is the magnitude of the uniform electric field between the plates?
_______ V/m
In: Physics
Define vector addition as y_1⊕ y_2=y_1+y_2-3 and scalar multiplication as c ⊙y_1=cy_1-3c+3. Let V be the space of all solutions of the equation in problem 3 that uses the above definitions of vector addition and scalar multiplication. Use the Vector Space Definition to prove that V is a vector space
In: Math