Ford Motor Company’s profit for the period ended December 31, 2016 (net income) was $4,607 million compared to prior year profit of $7,371 million, but cash flows from operations was $19,792 million in 2016 and $16,170 million in the prior year. Explain this apparent paradox.
In: Accounting
In June of 2015, you begin depositing $300 per month into an annuity.(a) If the interest rate is 1.4% compounded monthly, determine the value of the account in June 2016.(b) In June 2016, the interest rate increases to 2.2% compounded monthly, determine the value of theaccount in June 2017.
In: Accounting
I. General Description In this assignment, you will create a Java program to read undergraduate and graduate students from an input file, and write them in reverse order 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 FuAssign5 and your main class name is FuAssignment5, 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_reversed.txt”: C:\Users\2734848\eclipse-workspace\CIS 265 Assignments\bin > java FuAssign5.FuAssignment5 students.txt students_reversed.txt 2. You need to specify the command line arguments if you use jGrasp or Eclipes. I will show you on jGrasp on Wed. during the lab. 3. The parameter String[] args in the main method contains the command line arguments, where args[0] contains the first argument. For example, in the previous command, args[0] contains students.txt, and args[1] contains students_reversed.txt. 4. 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: FuAssign5.FuAssignment5 input_file output_file” where FuAssign5 is the package and FuAssignment5 is the main class. 5. 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 6. The program will read the lines and create undergraduate students or graduate students accordingly. The students are added to an ArrayList. 7. The program then writes the list of students in reserve order to the output file. 8. Given the previous input file students.txt, the output file, students_reserved.txt, will be: Abby Wasch,294830,3.6,graduate,West Virginia David Jones,265334,2.7,undergraduate,true Tayer Smoke,249843,2.4,undergraduate,false Michelle Chang,200224,3.3,graduate,Cleveland State University 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. 2 • 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 output file using the PrintWriter output. • 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 isTransfer after that. The GradStudent’s printStudent(PrintWriter output) writes “graduate” and college after that. • The UML class diagram should be as follows. • 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 “Fu”, your main class file name must start with “Fu” such as FuAssignment5.java. • 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 students 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 a GradStudent object. The constructor must call the Student’s constructor using super. Student -name: String -id: int -gpa: float +Student() +Student(name,id,gpa) +pringStudent():void +getID():int +printStudent(PrintWriter output):void UndegradStudent -boolean: isTransfer +UndergradStudent(name,id,gpa,isTransfer) +pringStudent():void +printStudent(PrintWriter output):void GradStudent -college:String +GradStudent(name,id,gpa,college) +pringStudent():void +printStudent(PrintWriter output):void 3 • 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. • Your program must use dynamic binding to invoke the correction printStudent(PrintWriter output) method. • 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. III. Submission This is an individual assignment. Each student needs to submit the source code files of the Java program on Blackboard. 1. Put all you Java files in a folder. Please name the folder after your package name, for example, FuAssign5. Compress the folder into a .zip file and submit the .zip file. 2. You need to only submit the source code, i.e., the Java files. 3. You may submit multiple time. Your most recent submission before the deadline will be graded. IV. Grading 1. A program that does not run will receive 0 point. 2. There is a 10-20 points deduction for each major error, e.g., missing a student in the output. 3. There is a 1-9 points deduction for each minor error, e.g., a spelling error in printed message. 4. A program that does not follow the guidelines will lose 1-10 points. 5. Any type of cheating is not tolerated. You may be asked to explain your program in person. V. Bonus features (optional) If a line in the input file has incorrect format, your program will print an error message with the line, 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. For example, for the following lines in the input file, Sam Jackson,215.22,3.9,graduate,Ohio State University Sam Jackson,215443,22af,graduate,Ohio State University Sam Jackson,215443,3.9,graduate Sam Jackson,215443,3.9,graduate,Ohio State University,cleavland Sam Jackson,215443,3.9,nondegree,Ohio State University Lady Gaga,230940,3.1,undergraduate,unknown 4 You program will print : Invalid input: Sam Jackson,215.22,3.9,graduate,Ohio State University Invalid input: Sam Jackson,215443,22af,graduate,Ohio State University Invalid input: Sam Jackson,215443,3.9,graduate Invalid input: Sam Jackson,215443,3.9,graduate,Ohio State University,cleavland Invalid input: Sam Jackson,215443,3.9,nondegree,Ohio State University Invalid input: Lady Gaga,230940,3.1,undergraduate,unknown The incorrect lines will be ignored and not written to the output file. The corrected formatted lines should be
In: Computer Science
In a study women were identified who had been diagnosed with
Cervical Cancer through the Cancer Registry. Women with skin cancer
were used as controls. The study then received past medical
histories on HPV status, which was collected through an outstanding
health department. (And they somehow had access to these records
and could link them.)
Calculation B
Cervical Cancer Cases Controls (No Cervical
Cancer) Total
HPV 1200 9800 11,000
No HPV 400 7600 8,000
1,600 17,400 19,000
1. What type of study is this?
a. cross-sectional
b. case report/series
c. ecologic
d. case-control
e. cohort
f. clinical trial
g. community intervention
2. What is the most appropriate measure of association?
a. odd ratio
b. relative risk
c. Attributable risk
d. none of these
3. Calculate the measure of association (use two decimal places).
4. How would you best describe the relationship between the
exposure and the outcome?
a. no relationship
b. positive relationship
c. negative relationship
5. If appropriate, calculate the attributable risk per 1000 people (use 2 decimal places).
In: Anatomy and Physiology
|
Length bias |
||
|
Recall bias |
||
|
Surveillance, diagnostic, or referral bias |
||
|
Interviewer bias |
2-After investigators calculate a measure of association (RR for cohort studies and OR for case-control studies), they must evaluate whether or not the observed result is true.
|
True |
||
|
False |
3-Bias in epidemiologic studies means that the investigator is "prejudiced".
|
True |
||
|
False |
4-Control selection bias occurs in a case-control study when cases remember or report their exposures differently (more or less accurately) from controls.
|
True |
||
|
False |
In: Statistics and Probability
Name 5 accounts with NORMAL BALANCE on the Debit side
Name 5 Accounts with NORMAL BALANCE on the Credit side
Use two accounts in a journal entry to illustrate with explanations.
For example, normal balance of Cash account is Debit and normal balance of Loan Payable is Credit.
ABC Company borrowed from Bank of America $50,000. After ABC Company signs a Promissory Note, Bank of America would give $50,000 cash to ABC Company.
ABC Company would enter Journal Entry in its books as follow:
Debit Cash (To Increase Cash) and Credit Loan Payable (From not owing, now ABC owes $50,000. So it needs to Increase Loan Payable)
In: Accounting
Name four compounds that contain anhydrous phosphate bonds. Name a compound that contains an anhydride bond that does not contain phosphorus, but is found in the TCA cycle?
What is the difference between an anhydrous bond and an ester bond? What is the biological significance of having a compound containing an anhydrous bond
In: Chemistry
1. Write the chemical structures of monomer, repeating unit and
polymer ? IUPAC name, common name, trade names and abbreviation of
polyamide
2. What are the important properties for the polyamide
3. When polyamide was discovered and commercialized, give the short
history of
polymer.
4. How it can be polymerized, which polymerization process and what
are the mostly used
processing methods, which company(s) produces and how much produces
this polymer?
5. How it is characterized? Choose at least 3 different
characterization tool and find
examples from literature? Why these characterization methods are
used? What are the results
for this polymer?
6. What are the common applications?
7. How it can be modified?
8. What are the common copolymers, composites, or nanocomposites?(
Give at least one
important example for each)
9. What are the recycling properties?
In: Chemistry
Select a Fortune 500 company whose name starts with the first letter in your last name and obtain the company’s most recent 10-K report. (You may use the same company that you used previously.) Be sure that the company has a complex capital structure. Attach the equity section of the balance sheet and the notes relevant to answering the following questions:
(a) Does the company have preferred stock and common stock (or different classes of common stock)? Do its stocks have a par or stated value; if so, what are they? How many of each type of stock are authorized and have been issued? What is the average issue price?
(b) Were any shares issued in any of the years reported in the financial statements? At what price?
(c) What dividends were paid in each of the years reported in the financial statements? What is the payout ratio?
(d) Does the company have a stock-based compensation plan? How many options are outstanding? When do they expire? Were any options exercised during any of the years reported in the financial statements? At what exercise price?
(e) What number of shares was used to compute the diluted earnings per share in each of the years reported? What elements caused the dilution? Were there any convertible securities or other potentially dilutive items that were not included in the computation of diluted earnings per share? If so, explain why they were excluded. Does the company follow the required GAAP disclosure for earnings per share?
In: Accounting
2 name 3 things that are expected and not alarming post bronchoscopy:
3 name 2 things are NOT expected and are concerning:
4 what can be suggested to ease throat pain after?
5 what can decrease the possibility of laryngeal edema?
6 what position is the thoracentesis done in?
7 what instructions are given to the client during procedure?
8 what is monitored DURING?
9 what will help the lung to reexpand afterwards?
10.`how often will lung sounds and VS be monitored after?
11.if a patient who had a thoracentesis was bleeding internally, what signs might be seen?
In: Nursing