You are on page 1of 2

Question 1

You are a Data Scientist working for a consulting firm. One of your colleagues from the auditing
department has asked you to help them assess the financial statement of organisation X.

You have been supplied with the data of monthly revenue and monthly expenses for the financial
year in question. Your task is to calculate the following financial metrics

- Profits for each month


- Profit after tax for each month ( the tax rate is 30%)
- Profit margin for each month- equals to profit after tax divided by revenue
- Good months – where the profit after tax was greater than the mean for the year
- Pat[goodmonths]
- Bad months – where the profit after tax was less than the mean for the year
- Best month – where the profit after tax was max for the year
- Worst month – where the profit after tax was min for the year

Revenue Expenses
14574 12051
7606 5695
8611 12319
9175 12089
8058 8658
8105 840
11496 3285
9766 5821
10305 6976
14379 16618
10713 10054
15433 3803
Matrix, Array and Factors Practice Questions
1.

- Create a 2 by 4 matrix with the following number 4,3,5,5,12,43,88,10


- Arrange the numbers of the matrix row wise
- Add another row with the following numbers 5, 4, 3, 2
- Add another column with the following number 41,55,62
- Give row names and column names to the matrix
- Access the number on the 1st row and 4th column
- Access the 3rd row
- Access the 2nd column
- Remove the 1st row
- Remove the 3rd column
2. Create a matrix containing of a sample of 10 numbers between 1 to 20 with 2 rows.

You might also like