chore: import upstream snapshot with attribution
i18n - Build Validation / Validate i18n Builds (24) (push) Has been cancelled
CI - Node.js / Lint (24) (push) Has been cancelled
CI - Node.js / Build (24) (push) Has been cancelled
CI - Node.js / Test (24) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (24) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 24) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 24) (push) Has been cancelled
CD - Docker - GHCR Images / Build and Push Images (push) Has been cancelled
i18n - Build Validation / Validate i18n Builds (24) (push) Has been cancelled
CI - Node.js / Lint (24) (push) Has been cancelled
CI - Node.js / Build (24) (push) Has been cancelled
CI - Node.js / Test (24) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (24) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 24) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 24) (push) Has been cancelled
CD - Docker - GHCR Images / Build and Push Images (push) Has been cancelled
This commit is contained in:
+234
@@ -0,0 +1,234 @@
|
||||
---
|
||||
id: 69fd84e01123960e15bb8455
|
||||
title: Python Installation Quiz
|
||||
challengeType: 8
|
||||
dashedName: quiz-python-installation
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
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 `Enter`.
|
||||
|
||||
---
|
||||
|
||||
Type `run python` and press `Enter`.
|
||||
|
||||
---
|
||||
|
||||
Type `start python shell` and press `Enter`.
|
||||
|
||||
#### --answer--
|
||||
|
||||
Type `python` and press `Enter`.
|
||||
|
||||
### --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.
|
||||
Reference in New Issue
Block a user