Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What command is used to run a Java program?
Think of the class where the main method exists.
How do you execute a Python script named script.py?
Remember to include the file extension.
What command do you use to run a Java program?
Remember, it's about executing the compiled class.
You need to execute a Python script 'app.py'. What command will you use?
Start with 'python' and then add the script name.
You wrote a complex Java application and used java AppName to execute it, but received a 'Class Not Found' error. What steps can you take to troubleshoot?
Revisit the `javac` command to ensure it ran without issues.
While executing a Python script, you encounter an 'ImportError'. Describe the steps to resolve it and prevent it in the future.
Think about where you are running the script and which environment it is set up for.
5 more questions in this section. Enroll free to practise them all.
Enroll free