Sei sulla pagina 1di 3

EnvisioDevs

Answer any 2 of the below questions.

Question 1:
You work in an organisation that manufactures trophies. A trophy will have a definite shape, will be
made of a definite metal, and will have a coating layer over it by some specific element. Once a
customer comes to your office to place an order, you need to ask for the relevant details, in order to
build the exact trophy as per the requirement.
Details you need from a customer are:
1. The shape, and its dimensions. The possible shapes are Sphere, Cylinder, Cube or something
abstract which you can consider to be a cuboid.
2. The metal to be used to build the trophy, and its purity percentage. The possible metals are
Aluminium, Steel or Copper.
3. The element to be used for the coating layer, and its thickness. The possible elements are
Gold, Silver or Bronze.
The metals and the coating elements have a fixed price in your organization.
Write an object oriented program with design pattern, to take the relevant details of the trophy
from the user and calculate the cost for the trophy, assuming your organization does not take any
making charges. You will need to create UI of the application, preferably responsive.

Note: We are not overly concerned with the output of the program as much as we are concerned
with the approach you take to solve it.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Question 2:
At the annual meeting of Board of Directors of Acme Inc, everyone starts shaking hands with
everyone else in the room. Given the fact that any two persons shake hand exactly once, Can you tell
the total count of handshakes?
Input Format
Input contains an integer N, the total number of Board of Directors of Acme.
Output Format
Print the number of handshakes for each test-case in a new line.
Sample Input:
1
2
Sample Output:
0
1
Explanation
Case 1: The lonely board member shakes no hands, hence 0.
Case 2: There are 2 board members, 1 handshake takes place.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Question 3:
Create a simple application, integrate Google maps, fetch latitude/longitude of places in Pune of
your choice from the database (Create one!) and use markers to display those places in the map.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Note:

You can use any language of your preference.


Use of internet is allowed for language syntax and documentation purpose.
Push your code onto github and send the repo url OR archive it in a zip file format along
with a readme.md file containing the steps to run your programme and required .sql for
initializing the DB via mail.
The questions are to test your problem solving skills, Do not hesitate to send us your
work even if you don't get the desired output.
Let us know in case of any queries.

Potrebbero piacerti anche