What is the extension of a Python file?
Python Programming Quiz

Quiz
•
Computers
•
5th Grade
•
Hard
Debaprasad Maity
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.txt
.py
.java
.doc
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who began working on Python in the late 1980s?
Dennis Ritchie
Guido van Rossum
James Gosling
Bjarne Stroustrup
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does indentation in Python indicate?
A function
A variable
A block of code
A comment
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to create a comment in Python?
/* This is a comment */
<-- This is a comment -->
# This is a comment
// This is a comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the print() function in Python?
To output a variable
To create variables
To define a function
To import libraries
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a data type in Python?
int
float
array
string
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in Python?
A way to create comments
A method to handle errors
A block of code that runs when called
A type of variable
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Algorithm

Quiz
•
3rd - 6th Grade
14 questions
Basic Python Quiz 3

Quiz
•
5th Grade
8 questions
Python 4.2 and 4.3

Quiz
•
1st - 5th Grade
15 questions
Basic JavaScript Programming Quiz

Quiz
•
5th Grade
10 questions
Computational Thinking & Python

Quiz
•
5th Grade
6 questions
Python Programming Quiz

Quiz
•
4th Grade - University
10 questions
Roblox Scripting Quiz 1

Quiz
•
5th Grade
10 questions
quiz 1

Quiz
•
1st - 5th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
18 questions
Main Idea & Supporting Details

Quiz
•
5th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
23 questions
Movie Trivia

Quiz
•
5th Grade
20 questions
Main Idea and Details Review

Quiz
•
5th Grade
14 questions
One Step Equations

Quiz
•
5th - 7th Grade