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

Write algorithms for

  • Linear Search
  • Binary Search
  • Bubble Sort
  • Quick Sort

Create a user defined method named calcCost() that accepts two double values as input (length

and width), and then computes the estimated cost of painting a room (walls only, not ceiling),

assuming the room is rectangular and has four full walls and the walls are 2.6 meter high. The rate

for the painting job is R20 per square meter. Your method should return the estimated cost to the

calling method.

Create a program whose Main() method prompts a user for the length and the width of a room in

meter, then calls calcCost to calculate the estimated cost. Once calculated, you should display

the estimated cost.


Write a program that prompts the user for the following values: nickname and favourite movie/series.

Write a user defined method named displayDetails() that accepts two string values as input,

and then displays these values.

Add the required instructions to your Main() program to allow it to display the text Hello World

and then calls the displayDetails() method to display your information.


Create a c# program that Deploy devices using packet tracer

Creat a c# program that Deploy and cable devices using packet tracer

create a class called person


populate the class with below private fields

1.First name as an String

2.Last name as an String

3.email id as string

4.Dateofbirth as DateTime



Add a constructor that accept Firstname,Lastname,Email,DateBirth as Parameter



Add read only properties that return the following computer information

1.Isadult a bool- Whether or not the person is over 18

2.Sunsing as string - the traditional western sun sign of the person

3.Isbirthday as bool - wether or not today is the persons birthday

4 ScreenName as string - a default screeb name that you might seen being offered to a first time user of gmail or yahoo(e.g. hari joe born on may 25th,1980 might be hdoe525 or haridoe052580)





Create a class classed employee which should be driven from person class. employee class should add the following properties

1. Salary as double



in the main method created object of employee class and test

the behavior by calling read-only properties



Create a new project, and copy your

code from Task 1 to the new project

(copy the contents of the Main()

method and the displayDetails()

method)

Adapt your Main() method to capture

and display the details for 4 different

people.

The displayDetails() method

should remain unchanged.


Using the Internet and any other appropriate sources, conduct further research into each of the following hosting solutions for Internet deployment:Host the system on the company’s own servers;Contract with a hosting company for a virtual server;Go to Amazon’s cloud.Using any application and format of your choice, draft a proposal in which you:Briefly describe the system requirements of the company;List the advantages and disadvantages of each potential solution.Recommend which solution you believe would be most appropriate for this small start-up company. Make sure that you justify your recommendation.Save your proposal or the link to it if you created it online. Make sure that you include your surname and student number in the filename.

There are two types of fishes in a pond, A and B.there are N fishes of type A numbered from 1 to N and M.the following two methods are adopted by the fishes of type A to satisfy their hunger.

1)E1:Fish of typeA(n1) eats the fish of type B(n2).

2)E2:Fish of type A(n1) eats the fish of type A(n2) if size(n1)>size(n2).

In the above mentioned context,E1and E2 denote the respective methods and n1 and n2 are the fishes belonging to these types and Size(X) denotes the total number of fish within X.

Example:if size(L)=3 and size(K)=2 and L eats K then the resulting size(L) will be5.

It is feeding time now and the fishes are hungry.theyeat as per the given method and satiate their hunger.your task is to find and return an array defining whether which type A fishes do All type B fishes fall under.

Note: the size of all fishes initially is the same i.e,1.

Ex1:

i/p1:2

i/p2:3

i/p3:4

i/p4:{{1,1,1},{1,1,2},{1,2,3},{2,1,2}}

o/p:{1,1,1}

ex2:

i/p1:1

i/p2:1

i/p3:1

i/p4:{{1,1,1}}

o/p:{1}


There are infinite number of identical photons these photons are placed into containers say nodes numbered from 1 with the first container being the root node.




The kth node has two children i.e,left and right child numbered as 2*k and 2*k+1 respectively. When you throw a heat wave at a photon present at some node,it starts vibrating and producing light of intensity -1.the vibration of this photon affects all the other photons as well.




As you go awayfrom this node the intensity of light produced by photons at various nodes decreased by 1 with each passing node due to their increased distance from the photon that was hit by the light wave initially,all the photons are stable i.e, no vibration and hence they produce no light.



Ex1:



I/p1:1



i/p2:2



o/p:-2



explanation :the first node will produce light with intensity -1 and node 2 will produce -2 because it is the neighboring node of 1.




Ex2:



i/p1:2



i/p2:3



o/p:-3





LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS