Among the code blocks embedded in the textbook text, those with a Run button can be edited and run on the spot.
They cannot be run in the actual exam mode or mock exam mode textbooks.
Run.Standard Output and Standard Error Output will be displayed, and for Python, the execution results such as the value of the last expression or figures will also be shown.Reset to restore the code to its original content as written in the textbook, and the standard input field will be cleared.For code blocks with standard input enabled on the textbook side, a Standard Input field is displayed below the code. The contents of this field are passed to programs that read from standard input, such as input() (Python) or Scanner (Java).
Standard Input field. When running code where a lack of standard input causes an error, such as Python's input() or Java's Scanner, the message Standard input cannot be used in this code block will be displayed. For other languages, check the Standard Output and Standard Error Output.Standard Error Output.The program did not terminate normally is displayed, an error or an execution time overrun has occurred. If Standard Error Output is displayed, check its contents and fix the code. In cases such as an execution time overrun, Standard Error Output may not be displayed.Execution failed is displayed, communication with the execution environment has failed. Wait a while and try running it again.