
Raspberry Pi For Beginners - 2022 Complete Course - Work with Python from the Terminal
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to open a Python shell in the terminal?
python3
python_shell
open_shell
start_python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you exit the Python shell in the terminal?
Closing the terminal window
Typing 'quit'
Typing 'exit()'
Pressing control C
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to change directories in the terminal?
cd
dir
ls
mv
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you execute a Python file directly from the terminal?
By typing 'run
By using 'python3
By opening the file in an IDE
By double-clicking the file
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command can be used to create a new Python file from the terminal?
create
newfile
touch
makefile
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the advantage of using the Nano editor for small modifications?
It is faster for small changes
It has a graphical interface
It automatically saves changes
It supports multiple languages
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you press control C during a while loop in a Python program?
The program saves its state
The program stops immediately
The program restarts
The program continues running
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?