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
11 questions
Python - 01

Quiz
•
1st - 5th Grade
15 questions
6th Grade Media Quiz

Quiz
•
KG - University
11 questions
Amazing Quiz

Quiz
•
5th Grade
11 questions
Introduction to Coding

Quiz
•
5th - 8th Grade
12 questions
CodeMonkey Coding Vocabulary

Quiz
•
3rd - 7th Grade
10 questions
Algorithm

Quiz
•
3rd - 6th Grade
15 questions
IEEE Day

Quiz
•
KG - 5th Grade
10 questions
Python

Quiz
•
5th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Reading Comprehension

Quiz
•
5th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
25 questions
Multiplication Facts

Quiz
•
5th Grade
5 questions
Multiply Decimals

Lesson
•
5th - 6th Grade
12 questions
Interjections

Lesson
•
5th Grade
35 questions
Science Mania Quizizz

Quiz
•
4th - 5th Grade