Coding I/O problem creation

Created by Shubham Kumar, Modified on Tue, 30 Jan 2024 at 01:00 PM by Shubham Kumar

  • For Client: Go to the library and select my company questions. Then click the + button at the bottom right to create questions.

  • For Freelancer/Creator: Go to the account select avatar on the top right and click the Content Dashboard.

  • Then click the + button at the bottom right to create questions.
  • In the Create New problem dialogue box, fill in the problem name, choose the level of difficulty, select Problem Type as Coding, and choose the evaluation mode as I/O test cases based.

  • Problem Name: The problem name should be short and topical. It should not give any hints to solve the problem.
  • Expected solving time (in minutes): The time required to solve the problem, should be an integer between 1 to 999.

  • Description: A good problem statement should comprise a clear and detailed problem description,  at least one sample test case with an explanation, and constraints of the problem.
  • Difficulty level: Set the difficulty level for your Question by associating the tags as Easy, Medium, or Hard. 

  • Scoring: You can leave it default or change it accordingly with a penalty mark for the wrong submission.
  • Maximum re-submission allowed: We can restrict the number of submissions of the solution, leaving it 0 for no limit.
  • Execution time limit: It's to stop the execution of the code after a given time, and leave it blank to use default limits.
  • Allowed programming languages: select the allowed languages to answer this particular problem or blank empty for allow all languages.
  • Discovery tags, Insight tags: Tags are words or phrases that help with the searchability and organization of your questions. You can add the existing tags or create new tags.
  • Stubs: In the Stub section, click GENERATE CODE STUB to generate the code stub and specify the function name, return type, and optionally add function parameters and then click GENERATE STUB to generate the code stub

  • Sample solutions: Click on Add New, select the programming language, and add a working solution to the problem.
  • Testcases: In the TestCases section of the displayed page, perform the following operations:
    • Click Add New and Specify the name of the test case.
    • Specify the input and expected output values for the test case.
    • Enter test case weightage for the test cases.  If the code passes a particular test case, the score is assigned. Test case score = (test case weight/total weight)*total score.
  • Optional: Select the Is sample test case? check the box if you want the test case to be a sample test case
  • Click Add TestCase.
  • Click on Save Problem to save the question.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article