Questions: 1 835

Answers by our Experts: 1 539

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Create a c# program that determine the IP address configuration of a computer

  1. Write algorithms/pseudocode on:
  • Linear Search
  • Binary Search
  • Bubble Sort
  • Quick Sort

2.After the algorithm/pseudocode ends, provide the time complexity for each of them



The process that the public uses to log/register complaints begins with the loading of the complaint on the Online Portal or Mobile App. All loaded complaints will be in the ComplaintLoaded state. Complaints can either be accepted (through the acceptance option) or rejected (through the reject option). All accepted complaints will be in the ComplaintsAccepted state and rejected complaints will be in the Complaints Rejected State. For both Accepted and Rejected Complaint, there is a send notification option that sends notifications out. The process ends with Notification Sent state for all the notifications that are sent out. The Online Portal or Mobile App has a mechanism to check the details of the complaint before accepting or rejecting.


Analyse the process used to log or register a complaint and create a state machine diagram


Develop Employee Management System for the company. Create the class library which will have class Employee with the following details :





Employee ID, Employee Name, Salary, HRA, TA, DA, PF, TDS, Net Salary, Gross Salary






• Write method for accepting values of Employee ID, Employee Name, Salary, HRA, TA, DA, PF from user (From these HRA, TA, DA, PF are in percentage).





o If user do not provide any value for HRA, TA, DA and PF. Then use the optional values for these as follows:





HRA – 20%, TA – 10%, DA – 50%, PF – 12%





o Calculate TDS, Gross Salary and Net Salary as follow:





Gross Salary = Salary + HRA + TA + DA





TDS = 10% of Salary





Net Salary = Gross Salary – (PF + TDS)





• Create a menu based console application to register the employees in company, display employee.





• Store the employee details in collection.






Machine Problem 6.7

Write a program using string functions that will accept the name of the capital as input value and will display the corresponding country.


CAPITALS COUNTRIES

Ottawa Canada

Washington D.C. United States

Moscow Russia

Rome Italy

Manila Philippines


Let’s build a sample banking program to perform the common tasks like Withdraw and Deposit. 


Create a C# console application that prints the Area of a square.


The application must use OOP concepts:


 Create an abstract class named ShapesClass.


 ShapesClass must contain an abstract method named Area.


 Create a class named Square that inherits from ShapesClass.


 Square class must contain a Square method.


 Create a method named Area that will override abstract method Area, and then return the sides of the square.


 In the main method create an object of the square class, with the value of the side. Print the Area of the square.



Adapt the following code to run in a windows form and also add a button to reset the input length and width boxes.


namespace PaintingEstimate

{

  class Program

  {

    static void Main(string[] args)

    {

      Console.WriteLine("Program computes the cost of painting the room");

      //inputs room length and width

      Console.Write("Enter room length: ");

      int length = Convert.ToInt32(Console.ReadLine());

      Console.Write("Enter room width: ");

      int width = Convert.ToInt32(Console.ReadLine());


      //calls method

      int totalPrice = ComputePrice(length, width);


      Console.WriteLine("Total price: ${0}", totalPrice);

      Console.ReadKey();

    }


    //method computes work price

    static int ComputePrice(int length, int width)

    {

      //price per square foot

      int price = 6;

      //ceiling

      int ceil = 9;

      int totalSquare = width * ceil * 2 + length * ceil * 2;

      return price * totalSquare;

    }

  }



}




6.4.

Write a simple encryption program using string functions which apply the substitution method. Here is the given Substitution Table.

Substitution Table:

A *

E $

I /

O +

U -­‐

Sample input/output dialogue:

Enter message: meet me at 9:00 a.m. in the park

Encrypted message: m$$t m$ *t 9:00 *.m. /n th$ p*rk



 

1 The first method to be called should ask a salesperson for the dollar value of daily sales and return the entered value to the Main() method. 


2 The second method to be called should calculate the salesperson’s commission based on the rates in the following table. 

Sales 

Commission 

$0 to $999 

3% 

$1000 to $2999 

4% 

$3000 and up 

5% 


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS