⚙️How to use console-based answer environment
Last updated
Last updated
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!
A typical CodeChum console-based environment looks like this and has the following parts in it:
Item Description - located on the leftmost side of the screen, which contains the item name and the description of the item.
Code Editor - located at the center by default, where you type your solution code for the item.
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.
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.
Save - one of the buttons located at the bottom right portion of the code editor, which when clicked, saves your code to the system.
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.
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.
Bottom Navigation - located at the bottom of the screen, it enables seamless navigation between items by simply clicking the prev and next buttons.
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.
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.
To maximize the potential of our console-based environment, here are some tips to up your coding experience:
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.
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.
If you have the extra penny, purchase our Premium Plans to get the most out of CodeChum, especially the unlimited Check Tests clicks.