Python Basics Quiz 12 by RK

Quiz
•
Computers
•
11th Grade
•
Hard
Reshma Kamthe
Used 14+ times
FREE Resource
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
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
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"
Create a free account and access millions of resources
Similar Resources on Wayground
27 questions
python string

Quiz
•
9th - 12th Grade
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
20 questions
Lists - Built in Functions

Quiz
•
11th Grade
30 questions
QUIZZ TIK

Quiz
•
10th Grade - University
21 questions
Python 80-99

Quiz
•
11th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
20 questions
Python list, if

Quiz
•
6th - 12th Grade
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade