How to create an application development question via Mercer | Mettl UI

How to create an application development question via Mercer | Mettl UI


To create an application development (code project) question via UI in your Mercer | Mettl account, follow the steps given below: 

1. After logging in to your Mercer | Mettl account, click on the My Questions tab on the top and then click on the Add Question button on the top-right. 



2. Click on Select Question Type and go to Application Based Questions in the drop-down options and then select App Development Question. 







3. Provide a topic name for which the question is supposed to be added, by clicking on the Select Topic button. In case the topic is not one that already exists, you can create a new one. 

4. After selecting the question type and specifying the topic, you will be redirected to a new page where you will be asked to select the technology that will be used in the question.  
 
Available tech stacks you can choose from are: 
  1. C++ 
  2. Java 
  3. Java with MySQL 
  4. Java with Oracle 
  5. C# 
  6. C# with MS SQL 
 
Select a technology as per your requirement and proceed. 




5. In the following screen that opens, enter question-specific information in various fields like the image given below:



a. Difficulty Level: Assign a difficulty level to your question. You can set it to Easy, Medium, or Difficult by clicking on the drop-down. 
 
b. Question Details: The description of the question will come here, which should include the problem statement. 
  
For instance, “Design an application that simulates a Distributor Portal Data Management System Consider a telecom business situation where the distributors are of two types. One is the Sales type who activate/allocate activation vouchers and the other is the Deposit type who activate/allocate Set Top Box (STB). The application should do the following:  
  1. Create a Distributor Account using Distributor ID, Distributor Name and Distributor Type.” 
Note: You can make use of the editor menu on the top to add specific formatting in the problem statement such as images, code snippets, etc. 

c. Question Tags (Optional): This field stores the meta-data about the question. 

 Note: You can leave this field empty. 

6. The next section contains setup instructions. You can go through these for easy understanding and navigation of the project.  
 
Scroll down to the bottom of the page, on the right you will see a button that says OK, got it. Click on the button to proceed.  



7. You will now see a small pop-up prompting you to give a name for your project. 



8. You will now have to create a database for your project. To create a database, click on the Database tab and then type the query to create a table and insert data into it. To run your queries, click on the Execute button. 

Refer to the sample image given below: 









9. A skeleton code is to be displayed to the test-taker so that they can begin with their attempt. You can also define the functions which the test-taker can use. Both of these can be APP folders. 

The test folder will be used by the test-taker to write their unit test cases. 

10. You will also have to write all the test cases which will be compared with test-taker’s code or the output for grading. So, click on the code tab and write your test case in GradingSampleTest.java file as shown in sample below.



11. To add score for each testcase, scroll down and click on Grade it for me. It will show you the list of all the test cases created by you and to its right will be the boxes to allocate scores. 

Please note: Test-grade folder will not be visible to the test-taker. Test-takers will only see the project folder and Test folder. After adding the code click on build and then run the code to note the output in the console.


12. Once all done click on the Save button that you will see on the top right.