please Help in completing the following - TopicsExpress



          

please Help in completing the following requirement ========================================== Java Practical Test This test is a more practical exercise, where you need to write some code. The requirements are fictional and simplified so you can complete this in a reasonable time, but keep in mind that this is your chance to show us how well you can implement requirements. Do your best! The Prizy Pricer The company ‘Prizy’ wants to start conducting surveys of prices for different products, and then based on the collected information, calculate an ‘Ideal Price’ for a product. The idea is to have a number of workers walk into a store, and with their iPads access a web application Or desktop application . where they enter prices as they see them. In real time, an administrator will be able to see the entered prices using the same application and the application will provide an ‘Ideal Price’ for a specific product. There will be three basic use cases for this app:Either create the UI or provide the api usage to achieve the use cases . Product loader This is what the workers use to enter prices. It is basically a simple form with a bunch of fields: • Store • Product bar code (to id the product uniquely). This has to match a table with unique bar codes. That table also has a description for the product • Price • Notes Product list This is used by the administrator find a specific product. There can be thousands or millions of products Product viewer When a product is selected from the list, it shows the information about it: • Bar code • Product description • Average price • Lowest Price • Highest Price • Ideal Price. This price is calculated by taking all the prices of this product, removing the 2 highest and 2 lowest, then doing an average with the rest and adding 20% to it. It is known that this complicated formula will be changed often. Even different installations of Prizy Pricer will be using different versions of this ideal price formula. So the key here is to try to minimize the impact to the application when a new formula needs to be put in place. • Number of prices collected • Anything else that might be useful? What to implement • Entering a new price for an existing product • The list of products, with a way to browse pages and a way to find a product by bar code. • The product viewer screen, which is read only. You do not need to bother with user names and passwords (we don’t need to know who did what, or any form of authentication). Testing You have to provide automated tests for this application. In fact, the first thing we’ll evaluate is the quality of the testing in place. Make sure that the test pass! Most people fail here. If you need us to do something before running the tests (like initialize the data), say so in some instructions. Environment This application has to be done using any java based framework. Delivery • We expect the code to be share to sarmista@xebia in 48 hours • A simple way to build the application (do not submit the binary) • A simple way to run the tests • A DB dump with the database initialized, or some other way so we can use the application and see some data in it (products and prices for those products). • Any instructions that we need in order to run the application and the tests. Evaluation We are testing how good you are at designing and implementing a piece of code from scratch, specially the quality of the tests and design to ease the implementation of new ideal price formulas. The position you are applying for is a Java position, but you will need to know your way around other application frameworks and, most important, be able to learn new things fast. Enjoy coding.
Posted on: Sat, 01 Nov 2014 17:14:46 +0000

Trending Topics



Recently Viewed Topics




© 2015