⚙️How to use console-based answer environment

Introduction

Students interact with CodeChum's coding environment whenever they answer programming items in activities created by their teacher.

As a student, it would do you good if you get familiar with how CodeChum's console-based environment works and how to use it well so you can be ultra ready for your next CodeChum activity!

Typical Cosole-based Environment Anatomy

A typical CodeChum console-based environment looks like this and has the following parts in it:

  1. Item Description - located on the leftmost side of the screen, which contains the item name and the description of the item.

  2. Code Editor - located at the center by default, where you type your solution code for the item.

  3. Run Code - one of the buttons located at the bottom left portion of the code editor, which when clicked, runs your code in a terminal. This is very useful when testing your code before submitting.

  4. Check Code - one of the buttons located at the bottom right portion of the code editor, which when clicked, submits your code to the system and returns it with your score for the item.

  5. Save - one of the buttons located at the bottom right portion of the code editor, which when clicked, saves your code to the system.

  6. Item Navigation - one of the cards located at the top right corner of the screen, which shows a list of all the items in the activity, providing you seamless navigation from one item to another.

  7. Test Cases Tab - one of the tabs located at the rightmost side of the screen, which shows a list of all test cases containing sample outputs that determine your score for the item. If your output will be the same as that of the test case, you will get a point.

  8. Bottom Navigation - located at the bottom of the screen, it enables seamless navigation between items by simply clicking the prev and next buttons.

  9. Messenger Support - located at the bottom left corner of the screen, this allows you to communicate with our Customer Support Team for assistance with any concerns you may have regarding our app.

  10. Executions Tab - one of the tabs is located at the rightmost side of the screen, next to the Test Cases tab. This tab shows your three most recent executions, allowing you to revert to your previous code executions without having to worry about starting from scratch again.

Tips

To maximize the potential of our console-based environment, here are some tips to up your coding experience:

  1. Read the item description carefully, and look out for sample outputs in the description. Those will be helpful to get a visual grasp of what the item is looking for.

  2. Always check what's inside the test cases so you can compare if your code's output will turn out the same as the test case's. To do this before submitting, just run your code multiple times and supply it with the same values as that of the sample output and see if the outputs are the same.

  3. If you have the extra penny, purchase our Premium Plans to get the most out of CodeChum, especially the unlimited Check Tests clicks.

Last updated