
python quiz
Authored by CSI-WZ-025 Kavitha .P
Computers
12th Grade
Used 289+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
echo("Hello World")
echo Hello World
p("Hello World")
print("Hello World")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
x=int(5)
x="5"
x=5
both option a and c
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output the type of a variable or object in Python?
print(typeof(x))
print(type(x))
printtype(x)
print(typex)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to return the first character in a string?
x=sub."Hello"[0]
x="Hello"[0]
x=sub("hello",(0,1)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is python named after
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print function do in python?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol do you use to make a comment in Python?
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
20 questions
EVALUASI BAB 5 & BAB 6
Quiz
•
12th Grade
15 questions
Uji Pemahaman Formula Excel
Quiz
•
9th Grade - University
17 questions
Music, Politics, Poetry, Tech 2021
Quiz
•
3rd Grade - University
20 questions
Internal Elements of a Computer Quiz
Quiz
•
12th Grade
20 questions
TEST1.PY
Quiz
•
10th Grade - University
16 questions
LA3.C3: Variables
Quiz
•
9th Grade - University
20 questions
Data structure test1
Quiz
•
12th Grade
20 questions
Pemrograman Dasar 3
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