
Python Basics
Authored by Elvis Mwape
Computers
1st Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step to create a program in Python?
Install Python
Download Python
Compile the code
Write the code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you save a program in Python?
Save the code as a .txt file.
Use a spreadsheet program to save the code with a .py extension.
Use a text editor to save the code with a .py extension.
Use a word processor to save the code with a .py extension.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to run a program in Python?
start program.py
python filename.py
run program.py
execute program.py
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you open a program in Python?
run program_name
open program_name
import program_name
start program_name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the process called when you fix mistakes in a program?
coding
programming
compiling
debugging
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you save a program with the file extension .py?
Change the file type to .py in the Save As dialog box.
Add the .py extension to the end of the file name.
Rename the file and include .py at the end.
Provide the desired name for the file followed by the .py extension.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to execute a Python program?
execute filename.py
start filename.py
run filename.py
python filename.py
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?
Similar Resources on Wayground
10 questions
Microsoft Teams
Quiz
•
KG - 12th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
6 questions
SCR1 Recap Day 4
Quiz
•
1st Grade
10 questions
Simple Problem Solving
Quiz
•
1st Grade
12 questions
Recapitulation ICT Quiz
Quiz
•
1st Grade
10 questions
keys and keyboard
Quiz
•
1st Grade
11 questions
Typing words on keyboard (colours)
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade