
Python Basics Quiz
Authored by FITRI KARIMAH
Computers
11th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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?
=
==
:=
===
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
Python Alternating Turns
Quiz
•
7th - 12th Grade
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC
Quiz
•
9th - 12th Grade
10 questions
Game Design Acronyms
Quiz
•
9th - 12th Grade
20 questions
Programming Fundamentals Part 2
Quiz
•
9th - 11th Grade
20 questions
Technology Innovations
Quiz
•
5th - 12th Grade
16 questions
Python programming
Quiz
•
6th - 12th Grade
15 questions
Attacks Threats & Vulnerabilities (C1)
Quiz
•
9th - 12th Grade
20 questions
Python básico
Quiz
•
9th - 12th 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