
Python Basics Quiz 12 by RK
Authored by Reshma Kamthe
Computers
11th Grade
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Why did Guido van Rossum call his programming language Python?
He thinks Pythons were cool
He couldn't think of anything else
A friend suggested it
He loves Monty Python
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following?
a = True
b = False
c = False
if a or (b and c):
print("GEEKSFORGEEKS")
else:
print("geeksforgeeks")
geeksforgeeks
GEEKSFORGEEKS
error
no output
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does INT means in python?
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the following code do?
name = "Bob"
if name == "Bob":
print ("Hello " + name)
else:
print ("I dont know you")
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is used to define a block of code (body of loop, fuction etc.) in Python?
Curly braces
Parenthesis
Indentation
Quotation
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How to insert comments in Python ?
# this is a comment
// this is a comment
/* this is a comment */
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
How to create a numeric variable age with a value of 10
age = 10
age = int(10)
age = "10"
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
22 questions
Programming Review
Quiz
•
9th - 12th Grade
22 questions
Text and Image representation
Quiz
•
11th Grade
21 questions
CSP Vocab Practice 2
Quiz
•
10th - 12th Grade
20 questions
Key Applications 2
Quiz
•
9th - 12th Grade
20 questions
Twisted Pair Cables
Quiz
•
11th - 12th Grade
20 questions
การเขียนโปรแกรม
Quiz
•
10th - 11th Grade
20 questions
Kiến thức về phần mềm soạn thảo
Quiz
•
6th Grade - University
20 questions
Spreadsheet Overview (Basic)
Quiz
•
9th - 11th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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