
Intro To Python Programming - Writing and Running Your First Python Program
Interactive Video
•
Information Technology (IT), Architecture
•
KG - University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for Python source files?
.txt
.html
.java
.py
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python 3, how is the print command treated?
As a statement
As a function
As a variable
As a class
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to save a file in Atom?
Ctrl + S
Command + S
Alt + S
Shift + S
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to change directories in the terminal?
mkdir
pwd
cd
ls
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command lists the files in a directory?
pwd
rm
cd
ls
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does Python interpret code?
All at once
Line by line
In reverse order
Randomly
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should you practice printing using the print command?
Your favorite food
Your age
Your favorite color
Your name
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?