Coding questions | English homework help

Coding questions | English homework help.

 
Answer the following questions in a Word document
Question 1: What is overloading? How is it related to polymorphism? – 4 points
Question 2: What is UML? When do you create a Use Case Diagram? – 4 points
Question 3: Write the C# code to declare an array variable called testScores to store 3 test scores. After declaring the array, populate the array by assigning the following scores to the three test scores respectively. – 4 points
Test Score 1 = 70
Test Score 2 = 65
Test Score 3 = 80
Question 4: Find the errors in the following C# code and correct them re-writing the whole for loop.
for (i = intMinNum; i <= intMaxNum; i);
     {                             
       Console.WriteLine(i)             
     };
Question 5: Find the errors in the following C# code used to calculate total discounted price based on the total price and discount based on given conditions (no discount for quantity <= 100 and 5% for quantity > 100) and correct them re-writing the code.
if (itemQuantity <=100);
    {
      netTotal == itemQuantity * itemPrice;
    }
 elseif (itemQuantity > 100)
    {
     discountRate = .05;
     totalPrice = itemQuantity * itemPrice;
     discount = totalPrice * discountRate;
     netTotal = totalPrice – discount;
    }
 End if;
 

Coding questions | English homework help

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
All your data is secure and will never be disclosed to third parties. Your essay or assignment is treated as your intellectual property and can never be shared or provided as a sample to aspiring customers.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
You will never have to worry about deadlines – 98% of our assignments are completed on time.
Money Back
We give refunds anytime you feel the work did not meet your expectations. However, we have not refunded any papers in the last 6 months as our team keeps improving their quality and customer service.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of writers and tutors. We are here for you.
Power up Your Study Success with Experts We’ve Got Your Back.