Setting Up the Exercise Environment

The practice environment supports VNC and web ports, allowing you to use GUI and web-based environments in addition to plain text for code execution results.

Setting up the Practice Environment (CLI Programming Type)

  1. Click the 'Write Example' button in the center-left of the newly added practice page.

  2. Depending on the desired practice type, click the 'Use Template' or 'Create Directly' button.

    • Use Template: You can start with a form that is composed of the necessary files by default.

    • Create Directly: You can start by creating files in the desired structure.

  3. (When selecting 'Use Template') Select the language to be used in the practice environment, and click the 'Next' button.

  4. Select the practice environment from the practice environment list and click the 'Use' button at the bottom left.

    • You can check the list of libraries and their versions available in the practice environment on this screen.

  5. Set the right environment settings tab according to the following instructions.

  6. Click the 'Save' button at the bottom right.

Do not leave this screen until the message "Saved!" appears.

Setting ItemDescription

Practice Environment

This is the practice environment that needs to be set according to the type of practice problem and language.

Time Limit

  • Set the maximum time limit for execution/grading.

  • If the set time limit is exceeded, execution/grading will be forcibly terminated.

  • Can be set from 1 second to a maximum of 1800 seconds.

Memory Limit

  • Set the maximum amount of memory used during execution/grading.

  • Can be set from a minimum of 64MB to a maximum of 4096MB.

Use TTY Terminal

Enabling terminal settings allows students to interact with the console window by entering commands. It is recommended to disable it if the practice does not require using the console window.

Use GUI View

  • VNC: Connects the results executed through GUI interfaces such as Pygame and elicerrabbits to VNC for real-time viewing.

  • HTTP: Allows connection through port 8080 and opens a web browser.

  • It is recommended to disable it if the above is not necessary.

If some items are not visible, please check the page zoom ratio.

Last updated