
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
DISEÑO WEB BLOQUE II
Quiz
•
12th Grade
16 questions
Principles of Information Technology
Quiz
•
9th Grade - University
18 questions
SEMI-Grier Unit 3.01-3.03
Quiz
•
9th - 12th Grade
20 questions
Key Applications 2
Quiz
•
9th - 12th Grade
20 questions
Kiến thức về phần mềm soạn thảo
Quiz
•
6th Grade - University
16 questions
Quiz Lección 6
Quiz
•
12th Grade
22 questions
Programming Review
Quiz
•
9th - 12th Grade
16 questions
understanding print PROCESSES 2
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