
Python Basics Quiz
Quiz
•
Computers
•
11th Grade
•
Medium
FITRI KARIMAH
Used 4+ times
FREE Resource
Enhance your content
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a variable in Python?
var x = 5
int x = 5
x = 5
declare x = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to take input from the user in Python?
scan()
input()
get()
read()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this code
=> print("Hello", "World")
HelloWorld
Hello, World
Hello World
"Hello" "World"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the int() function do?
Turns an integer into a string
Turns a string into an integer
Rounds a number
Adds two numbers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is NOT a Python data type?
str
float
number
bool
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this code? x = "10" y = int(x) print(y + 5)
105
"105"
15
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for "equal to" in an if statement?
=
==
:=
===
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Python есептер 1
Quiz
•
9th - 12th Grade
20 questions
Lists and Tuples - Class 11 - Python
Quiz
•
11th Grade
10 questions
Software Development Terms
Quiz
•
9th - 12th Grade
20 questions
AIJ XI - KD 3.1 - VLAN
Quiz
•
11th Grade
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
20 questions
Topic 5 - Databases
Quiz
•
11th - 12th Grade
20 questions
Pengetahuan Dasar Komputer
Quiz
•
9th - 12th Grade
15 questions
Excel Lesson 1
Quiz
•
11th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade