All Tracks/quiz python installation/
Đang tải...
Hướng dẫn thử thách
1 / 1

Python Installation Quiz

To pass the quiz, you must correctly answer at least 9 of the 10 questions below. # --quizzes-- ## --quiz-- ### --question-- #### --text-- Where is the best place to download Python for Windows, Mac, and Linux? #### --distractors-- From GitHub repositories --- From the npm package manager --- From pip manager #### --answer-- From the official Python website ### --question-- #### --text-- What is a terminal in the context of programming? #### --distractors-- A graphical tool for designing apps. --- A tool for linting and formatting your code. --- A Python code editor with autocomplete. #### --answer-- A text-based interface for running commands. ### --question-- #### --text-- What does IDE stand for? #### --distractors-- Internet Development Engine --- Integrated DevOps Environment --- Internal Debugging Executor #### --answer-- Integrated Development Environment ### --question-- #### --text-- Which of the following are popular IDEs or code editors for Python? #### --distractors-- JetBrains, CLion, WindSurf --- Photoshop, Illustrator, Figma --- Clang, Pip, Deno #### --answer-- VS Code, PyCharm, Spyder ### --question-- #### --text-- How do you typically run a Python file named `main.py` from the terminal? #### --distractors-- `run main.py` --- `pip main.py` --- `execute main.py python` #### --answer-- `python main.py` ### --question-- #### --text-- What is an interactive shell? #### --distractors-- A program that audits your code for errors. --- A program that runs tests against your code. --- A program to lint your code. #### --answer-- A program that lets you type commands one at a time and see the results. ### --question-- #### --text-- How do you start the Python interactive shell from the terminal? #### --distractors-- Type `node python` and press <kbd>Enter</kbd>. --- Type `run python` and press <kbd>Enter</kbd>. --- Type `start python shell` and press <kbd>Enter</kbd>. #### --answer-- Type `python` and press <kbd>Enter</kbd>. ### --question-- #### --text-- What does the `>>>` symbol mean in the Python interactive shell? #### --distractors-- Python has stopped running. --- Python is testing your code. --- Python is installing packages. #### --answer-- Python is waiting for the user input text. ### --question-- #### --text-- What does REPL stand for? #### --distractors-- Run Execute Process Loop --- Read Evaluate Print List --- Runtime Execution Programming Language #### --answer-- Read Evaluate Print Loop ### --question-- #### --text-- What happens when you run `print("Hello, world!")` in the Python interactive shell? #### --distractors-- It prints `"Hello, world!"` on loop until the user stops it. --- It creates a file and prints `"Hello, world!"` in the terminal. --- It throws an error because that is not valid Python code. #### --answer-- It prints `"Hello, world!"` in the terminal.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.sh
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.