
Introduction to Python and SQL Quiz
Authored by W. Gamal
Computers
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you print "Hello World" in Python?
print("Hello World")
echo "Hello World"
printf("Hello World")
cout << "Hello World"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a list in Python?
[1, 2, 3]
(1, 2, 3)
{1, 2, 3}
"1, 2, 3"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does len() do?
Gives the length
Adds numbers
Subtracts numbers
Multiplies numbers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start a function in Python?
def
function
start
create
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is 3 + 2 in Python?
5
6
7
8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create an empty dictionary in Python?
{}
[]
()
""
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the type of []?
list
tuple
dict
set
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?