Questions
2. Let the function fun be defined as int fun(int*k) {       *k += 4;       return...

2. Let the function fun be defined as

int fun(int*k) {
      *k += 4;
      return 3 * (*k) - 1;
}

Suppose fun is used in a program as follows:

void main() {
      int i = 10, j = 10, sum1, sum2;
      sum1 = (i / 2) + fun(&i);
      sum2 = fun(&j) + (j / 2);
}

What are the values of sum1 and sum2

a. operands in the expressions are evaluated left to right?

b. operands in the expressions are evaluated right to left?

In: Computer Science

Alpha Insurance Company is obligated to make payments of $2 million, $3 million, and $4 million...

Alpha Insurance Company is obligated to make payments of $2 million, $3 million, and $4 million at the end of the next three years, respectively. The market interest rate is 8% per annum.

i. Determine the duration of the company’s payment obligations.

ii. Suppose the company’s payment obligations are fully funded and immunized using both 6-month zero coupon bonds and perpetuities. Determine how much of each of these bonds the company will hold in the portfolio. (7 marks )

In: Finance

4. Ms. Klein borrowed $10,000 from a bank on annuity for 2 years at 20% annual...

4. Ms. Klein borrowed $10,000 from a bank on annuity for 2 years at 20% annual interest compounded and payable semiannually (every six months). Calculate the semiannual payments and provide a table that shows semiannual payment, balance, interest payment, payment to principal for each payment. Also calculate the total amount which Ms. Klein will pay to the bank for the borrowed amount including interest and principal payments in the entire period of two years.

In: Economics

Week 4 Discussion Collapse "Sources of Innovation" Please respond to the following: Discuss the two (2)...

Week 4 Discussion Collapse "Sources of Innovation" Please respond to the following: Discuss the two (2) sources of innovation classified as knowledge push and need pull. Provide an example of each classification and discuss two (2) driving factors that encouraged the development of these innovations. Select a type of innovation, discussed in the text, and present a strong argument why this source of innovation would be most effective in developing a competitive advantage for a specific company or industry of your choice. Be sure to explain in your response why you selected this innovation.

In: Operations Management

7 – For the following operations: • write the operands as 4-bit 2's complement binary numbers,...

7 – For the following operations:

• write the operands as 4-bit 2's complement binary numbers,

• perform the operation shown,

• show all work in binary operating on 4-bit numbers, and

• identify overflow if necessary.

a) 4 + 2

b) 42

c) 24

d) 4 + 4

In: Computer Science

2. a) What are the differences between Conventional Commercial Bank and Islamic Commercial Bank? 4 b)...

2.

a)

What are the differences between Conventional Commercial Bank and Islamic Commercial Bank?

4

b)

How does Islamic Bank contribute to socio-economic development?

6

In: Economics

Write a Python program that has a list of 5 numbers [2, 3, 4, 5, 6)....

Write a Python program that has a list of 5 numbers [2, 3, 4, 5, 6). Print the first 3 elements from the list using slice expression. a. Extend this program in a manner that the elements in the list are changed to (6, 9, 12, 15, 18) that means each element is times 3 of the previous value. b. Extend your program to display the min and max value in the list.

In: Computer Science

Meant to be written in Java JDK 14.0 4. Define 2 String variables str1 and str2,...

Meant to be written in Java JDK 14.0

4. Define 2 String variables str1 and str2, get input from console and assign input to str1 and str2. (a) Display the length of str1 and str2 (b) Display the first and last characters in str1 and str2 (c) Compare str1 and str2 to check if they are equal or not: (1) The comparison is case sensitive (2) The comparison is case insensitive (d) Compare str1 with str2 to check which string is smaller; display the smaller string first: (1) The comparison is case sensitive (2) The comparison is case insensitive (e) Convert characters in str1 to upper case and display new string (f) Convert characters in str2 to lower case and display new string 2020 (g) Extract the first and last characters in str1, extract the 2nd character from the front and the 2nd character from the end in str2; put these 4 characters together to create a new string and display (h) Extract the first words and the last words from both str1 and str2. Combine these words to create a new string. The words should be separated by white space. Display this new string

In: Computer Science

Parramore Corp has $20 million of sales, $2 million of inventories, $4 million of receivables, and...

Parramore Corp has $20 million of sales, $2 million of inventories, $4 million of receivables, and $3 million of payables. Its cost of goods sold is 75% of sales, and it finances working capital with bank loans at an 9% rate. Assume 365 days in year for your calculations. Do not round intermediate steps.

  1. What is Parramore's cash conversion cycle (CCC)? Do not round intermediate calculations. Round your answer to two decimal places.
      days

  2. If Parramore could lower its inventories and receivables by 9% each and increase its payables by 9%, all without affecting sales or cost of goods sold, what would be the new CCC? Do not round intermediate calculations. Round your answer to two decimal places.
      days

  3. How much cash would be freed up, if Parramore could lower its inventories and receivables by 9% each and increase its payables by 9%, all without affecting sales or cost of goods sold? Do not round intermediate calculations. Round your answer to the nearest cent. Write out your answer completely. For Example, 13.2 million should be entered as 13,200,000.
    $

  4. By how much would pretax profits change, if Parramore could lower its inventories and receivables by 9% each and increase its payables by 9%, all without affecting sales or cost of goods sold? Do not round intermediate calculations. Round your answer to the nearest cent. Write out your answer completely. For Example, 13.2 million should be entered as 13,200,000.
    $

In: Finance

Parramore Corp has $10 million of sales, $2 million of inventories, $4 million of receivables, and...

Parramore Corp has $10 million of sales, $2 million of inventories, $4 million of receivables, and $3 million of payables. Its cost of goods sold is 85% of sales, and it finances working capital with bank loans at an 8% rate. Assume 365 days in year for your calculations. Do not round intermediate steps.

A. What is Parramore's cash conversion cycle (CCC)? Do not round intermediate calculations. Round your answer to two decimal places.

B. If Parramore could lower its inventories and receivables by 7% each and increase its payables by 7%, all without affecting sales or cost of goods sold, what would be the new CCC? Do not round intermediate calculations. Round your answer to two decimal places.

C. How much cash would be freed up, if Parramore could lower its inventories and receivables by 7% each and increase its payables by 7%, all without affecting sales or cost of goods sold? Do not round intermediate calculations. Round your answer to the nearest cent. Write out your answer completely. For Example, 13.2 million should be entered as 13,200,000

D. By how much would pretax profits change, if Parramore could lower its inventories and receivables by 7% each and increase its payables by 7%, all without affecting sales or cost of goods sold? Do not round intermediate calculations. Round your answer to the nearest cent. Write out your answer completely. For Example, 13.2 million should be entered as 13,200,000.

In: Finance