Python Programming Quiz
Quiz
•
Computers
•
5th Grade
•
Practice Problem
•
Hard
Debaprasad Maity
FREE Resource
Enhance your content in a minute
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
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
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
12 questions
cyber Security
Quiz
•
1st - 5th Grade
11 questions
Cyber Safety
Quiz
•
3rd - 6th Grade
11 questions
Quizz - Apresentação Multimédia
Quiz
•
5th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
Ôn tập về phần mềm soạn thảo văn bản
Quiz
•
1st - 5th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
10 questions
CLASS 5 COMPUTER ACTIVITY - 1
Quiz
•
5th Grade
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
