Larry had $55,000 of earned income in 2016. Determine the amount of Larry’s CPP contribution using the appropriate CPP contribution rateand YMPE. Please explain step by step
In: Finance
1. Is Ford Motor company has more debt than equity (latest year) and will investor will get their dividend back (latest year), if possible between 2016-2019?
In: Finance
Write an eight to 10 page financial statements analysis 2016 of Imparial Oil. (Company overview, horizontal analysis of income statement and balance sheet, ratio analysis, recommendation)
In: Accounting
Analyze the GDP growth of India in the past one year (2016-2017) &
Discuss how variation in growth has impacted Cement company’s profitability with reasons
and details in india
In: Economics
2015 W&WR needed to replace 2 miles of track.
costs $80,000. using MACRS depric, what would be the depreciation
for
2014
2016
2018
2020
2022
In: Finance
Instructions: You are givne main.c and exam.h. Your task is to implement exam.c. write the code for these 20 functions on repl.it.
*/
#include
#include "exam/exam.h"
int main(void) {
return 0;
}
/*
/*
exam.h
*/
#ifndef _EXAM_H_
#define _EXAM_H_
// 1
// Display title of code and your name. ( koorsh maghsoodi my name)
// See exam.txt for sample output.
void exam_hello_world(void);
// 2
// Display argc and all argv[] values.
// See exam.txt for sample output.
// returns: number of arguments
int exam_cmd_line_args(int argc, char *argv[]);
// 3
// Display info about signed integer data types.
// See exam.txt for sample output.
// Return number of signeed integer data types
int exam_signed_integer_data_types(void);
// 4
// Display info about unsigned integer data types.
// See exam.txt for sample output.
// Return number of unsigned integer data types
int exam_unsigned_integer_data_types(void);
// 5
// Display info about these data types:
// int8_t, uint8_t
// int16_t, uint16_t
// int32_t, uint32_t
// See exam.txt for sample output.
// Return number of unsigned integer data types
int exam_stdint_integer_data_types(void);
// 6
// Display info about floating-point data types.
// See exam.txt for sample output.
int exam_floating_data_types(void);
// 7
// Return the sum of three integer numbers.
// See exam.txt for sample output
int exam_sum(int n1, int n2, int n3);
// 8
// Given two integer numbers, return:
// -1 if n1 is less than n2
// 0 if n1 is equal to n2
// 1 if n1 is greater than n2
// See exam.txt for sample output
int exam_compare(int n1, int n2);
// 9
// Given two integer numbers,
// return the sum of n1 to n2.
// For example, if n1=2 and n2=4,
// return sum of 2+3+4, i.e. 9
// Do this using a for loop.
int exam_for(int n1, int n2);
// 10
// Given two integer numbers,
// return the sum of n1 to n2.
// For example, if n1=2 and n2=4,
// return sum of 2+3+4, i.e. 9
// Do this using a while loop.
int exam_while(int n1, int n2);
// 11
// Given two integer numbers,
// return the sum of n1 to n2.
// For example, if n1=2 and n2=4,
// return sum of 2+3+4, i.e. 9
// Do this using a do_while loop.
int exam_do_while(int n1, int n2);
// 12
// Display info about enum data types.
// See exam.txt for sample output.
typedef enum {
EXAM_ERROR_OK = 0,
EXAM_ERROR_BAD_PARAM,
EXAM_ERROR_OUT_OF_RANGE,
EXAM_ERROR_IO
} exam_error_t;
exam_error_t exam_typedef_enum_data_types(void);
// 13
// Add a student.
// If the max students is reached return
// EXAM_ERROR_OUT_OF_RAMGE,
// else return EXAM_ERROR_OK
// See exam.txt for sample output
#define EXAM_MAX_STUDENTS 3
typedef struct {
int id;
float average;
char *name;
} student_t;
exam_error_t exam_add_student(student_t *s);
// 14
// List all students
// See exam.txt for sample output
// Return the number of students listed
int exam_list_students(void);
// 15
// Remove a student by id
// See exam.txt for sample output
// Return EXAM_ERROR_OK if studentt was
// removed. Else return EXAM_ERROR_BAD_PARAM
exam_error_t exam_remove_student_by_id(int id);
// 16
// Remove a student by name
// See exam.txt for sample output
// Return EXAM_ERROR_OK if studentt was
// removed. Else return EXAM_ERROR_BAD_PARAM
exam_error_t exam_remove_student_by_name(char *name);
//17
// Write the list of students to a file.
// Return EXAM_ERROR_OK on success or
// Return EXAM_ERROR_BAD_PARAM if filenmae is NULL.
// Return EXAM_ERROR_IO if file write error
exam_error_t exam_write_students_to_file(char *filename);
//18
// Read the list of students from a file.
// Return EXAM_ERROR_OK on success or
// Return EXAM_ERROR_BAD_PARAM if filenmae is NULL.
// Return EXAM_ERROR_IO if file write error
exam_error_t exam_read_students_from_file(char *filename);
//19
// Given an array of students (e.g. just read in from a file)
// display them to the console.
// Return the number of students displayed.
int exam_display_students_from_list(student_t s[], size_t size);
//20
// For each of the following files, read them in,
// and then display the following info:
// Filename, Number of Lines, Number of Characters
// main.c....
// exam/exam.h....
// exam/exam.c...
// Return the total number of LINES of all files,
// i.e. lines of main.c + exam.h + exam.c
int exam_return_total_lines(void);
#endif
YOUR SAMPLE OUTPUT SHOULD LOOK LIKE THIS:
1 - exam_hello_world
CSCI 112 Final
Code by Norman McEntire
2 - exam_cmd_line_args
argc: 4
argv[0]: main
argv[1]: one
argv[2]: two
argv[3]: three
value returned: 4
3 - exam_signed_integer_data_types
type size
---- ----
char 1
short 2
int 4
long 8
value returned: 4
4 - exam_unsigned_integer_data_types
type size
---- ----
unsigned char 1
unsigned short 2
unsigned int 4
unsigned long 8
value returned: 2
5 - exam_stdint_integer_data_types
type size
---- ----
uint8_t 1
uint16_t 2
uint32_t 4
value returned: 3
6 - exam_floating_data_types
type size
---- ----
float 4
double 8
value returned: 2
7 - exam_sum
n1: 10, n2: 20, n3: 30
value returned: 60
8 - exam_compare
n1: -10, n2: 20
value returned: -1
8 - exam_compare
n1: 10, n2: 10
value returned: 0
8 - exam_compare
n1: 20, n2: 10
value returned: 1
9 - exam_for
n1: 10, n2: 20
value returned: 165
10 - exam_while
n1: 10, n2: 20
value returned: 165
11 - exam_do_while
n1: 10, n2: 20
value returned: 165
12 - exam_typedef_enum_data_types
EXAM_ERROR_OK: 0
EXAM_ERROR_BAD_PARAM: 1
EXAM_ERROR_OUT_OF_RANGE: 2
EXAM_ERROR_IO: 3
13 - exam_add_student
id: 123, average: 94.50, name: John
Currrent num_students: 0
Student added. updated num_students: 1
value returned: 0
13 - exam_add_student
id: 234, average: 95.60, name: Sally
Currrent num_students: 1
Student added. updated num_students: 2
value returned: 0
13 - exam_add_student
id: 345, average: 96.70, name: Billy
Currrent num_students: 2
Student added. updated num_students: 3
value returned: 0
13 - exam_add_student
id: 456, average: 97.80, name: Paul
Currrent num_students: 3
Max number of students reachd!
value returned: 2
14 - exam_list_students
Total of 3 students:
id: 123, average: 94.50, name: John
id: 234, average: 95.60, name: Sally
id: 345, average: 96.70, name: Billy
value returned: 3
15 - exam_remove_student_by_id
id: 234
FOUND! Student removed!
value returned: 0
14 - exam_list_students
Total of 2 students:
id: 123, average: 94.50, name: John
id: 345, average: 96.70, name: Billy
value returned: 2
15 - exam_remove_student_by_id
id: 999
NO STUDENT FOUND!
value returned: 1
14 - exam_list_students
Total of 2 students:
id: 123, average: 94.50, name: John
id: 345, average: 96.70, name: Billy
value returned: 2
16 - exam_remove_student_by_name
name: Billy Bob
NO STUDENT FOUND!
value returned: 1
14 - exam_list_students
Total of 2 students:
id: 123, average: 94.50, name: John
id: 345, average: 96.70, name: Billy
value returned: 2
16 - exam_remove_student_by_name
name: No One
NO STUDENT FOUND!
value returned: 1
14 - exam_list_students
Total of 2 students:
id: 123, average: 94.50, name: John
id: 345, average: 96.70, name: Billy
value returned: 2
13 - exam_add_student
id: 234, average: 95.60, name: Sally
Currrent num_students: 2
Student added. updated num_students: 3
value returned: 0
13 - exam_add_student
id: 456, average: 97.80, name: Paul
Currrent num_students: 3
Max number of students reachd!
value returned: 2
14 - exam_list_students
Total of 3 students:
id: 123, average: 94.50, name: John
id: 234, average: 95.60, name: Sally
id: 345, average: 96.70, name: Billy
value returned: 3
17 - exam_write_students_to_file
filename: (null)
Error: filename is NULL
value returned: 1
17 - exam_write_students_to_file
filename: asdf.txt
value returned: 0
18 - exam_read_students_from_file
filename: asdf.txt
123 94.500000 John
234 95.599998 Sally
345 96.699997 Billy
value returned: 0
19 - exam_display_students_from_list
id: 11, average: 90.11, name: Sam
id: 22, average: 90.22, name: Jack
id: 33, average: 90.33, name: Lisa
value returned: 0
20 - exam_return_total_lines
main.c: lines: 253, chars: 6881
exam/exam.h: lines: 158, chars: 4059
exam/exam.c: lines: 398, chars: 10282
Total lines: 809In: Computer Science
Select a policy that meets the following criteria (if need be, two out of the three will work as well).
Next, select another policy from a different jurisdiction to analyze the differences and answer the following:
1. Briefly describe the main components of each policy.
2. Why would this policy lead to changes in inequality, that is: What economic changes and results do you expect? By what mechanism would change happen? What measures of inequality, wealth, or poverty do you think would change as a result of the policy? What distributional effects would there be or what overall effects on the economy in the jurisdiction?
4. Design a research experiment plan to survey and test the proposed recommendations. What would be the research design? What are some important research methods concerns people should be aware of? What would be some limitations to an experiment?
In: Economics
When fertilized mouse embryos are placed in a culture they being to replicate their DNA very quickly (within minutes), and then they complete the first cell division approximately 6 hours later.
In: Biology
4. A teacher believes that whatever he says in class has no effect on his students. Just as he's about to quit his profession, a statistician enters the room and suggests that the teacher design a study to test his assumption. The study will look at whether providing in-class feedback on homework assignments enhances classroom performance. The teacher wants to know whether providing feedback before or after returning the assignments is most useful. He's also interested in the most effective means of presenting the feedback: verbal presentation, written handout, or a summary on overheads. Ultimately, he'd like to identify the best approach for increasing test scores of the students. There are 12 classes available in the school for the experiment. Design an experiment that helps answer these questions. Be sure to identify the factors, the levels of the factors, the treatment groups, and the response variable. Comment on how the students will be assigned to the different treatment groups. Is it possible to use simple random assignment of all students? As much as possible, use diagrams instead of words to summarize your experimental design.
In: Statistics and Probability
An article described an experiment in which several different types of boxes were compared with respect to compression strength (in pounds). The data in the table below resulted from a single-factor experiment involving k = 4 types of boxes (the sample means and standard deviations are in close agreement with values given in the paper). Do these data provide evidence to support the claim that the mean compression strength is not the same for all four box types? Test the relevant hypothesis using a significance level of .01 if = 685.42. Type of Box Compression Strength (lb)
Sample Mean Sample SD
1 711.4 689.4 689.1 655.5 744.3 778.3 711.33 43.96
2 696.1 772.5 732.1 786.9 784.8 799.2 761.93 39.68
3 727.1 661.7 737.1 649.0 727.2 706.3 701.40 37.27
4 596.9 542.4 530.0 545.1 618.7 569.0 567.02 34.71
F = (Give the answer to one decimal place.)
PLEASE SHOW WORK SO I CAN LEARN HOW TO DO THIS :)
In: Statistics and Probability