
Python Syntax and print
Quiz
•
Computers
•
4th - 12th Grade
•
Practice Problem
•
Medium
Whizara Teacher
Used 40+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is the correct output for the following line of code?
print(3*4)
12
3*4
81
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following characters is used to give single-line comments in Python?
//
#
!
/*
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output in the below code snippet?
var = 10
print(type(var))
var = "Hello"
print(type(var))
str and int
int and int
str and str
int and str
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The following code will result in an error.
print ('Let us learn Python!”)
true
false
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which line of code will print the following output:
10
print(5+’5’)
print(5+”5”)
print (5+5)
none of the above
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
