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
What is the extension of a Python file?
.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 Wayground
10 questions
Python

Quiz
•
5th - 10th Grade
15 questions
computer language

Quiz
•
5th - 10th Grade
11 questions
Python - 01

Quiz
•
1st - 5th Grade
10 questions
Python (введение)

Quiz
•
5th Grade
15 questions
6th Grade Media Quiz

Quiz
•
KG - University
10 questions
Computer Languages

Quiz
•
KG - University
10 questions
Programming Concepts Quiz

Quiz
•
5th Grade
15 questions
Roblox Studio concept review

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade