
Python Programming Quiz

Quiz
•
Computers
•
5th Grade
•
Easy

Khoa Nguyen Hoang Dang
Used 7+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
c = 25
What is the data type of variable c?
str
float
int
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code below: x = 5 x = 6 print(x)
5
none of them
6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you use spaces in variable names in Python?
Yes, always
No, spaces are not allowed
Only in the middle of the name
Only at the end of the name
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is Python a popular programming language for beginners?
It's required a lot of programing skills
It's only for experts
It's very expensive to use
It has simple and easy-to-understand code
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator can be used to compare two values?
<>
==
><
#
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to display information on the screen in Python?
output()
print()
input()
display()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following lines of code is best to ask for a student's ICT score from user input?
Input("ICT score please")
print("please input your ICT score: ")
input()
input("please input your ICT score: ")
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Python L1 Programming Challenge

Quiz
•
1st - 12th Grade
20 questions
Input, Output, Variables and Operators

Quiz
•
5th Grade
20 questions
Pyhton Input and Output Basics

Quiz
•
5th Grade
20 questions
python (coding)

Quiz
•
3rd - 6th Grade
20 questions
Язык программирования Python

Quiz
•
1st - 10th Grade
20 questions
quiz dasar python

Quiz
•
1st Grade - University
20 questions
Бірөлшемді массив (Ғазиз)

Quiz
•
5th Grade
20 questions
Computer Parts

Quiz
•
3rd - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade