Write Your First Lines of Python
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 recommended text editor for writing Python code in this tutorial?
Sublime Text
Visual Studio Code
Notepad++
Atom
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the file extension used to save a Python file?
.py
.java
.html
.txt
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to run a Python program from the command line?
python3
run
execute
start
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a variable in Python?
To create a file
To print text
To run a program
To store a value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the dog years program, what is the initial value assigned to the human years variable?
5
7
10
12
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you convert an integer to a string in Python?
str()
int()
float()
char()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of multiplying 7 by 7 in the dog years program?
56
49
63
42
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?
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade