
python basics

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Medium
Filzah Amjad
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x = 5
y = 6
print(x*y)
The code above displays the following:
11
x*y
Syntax Error
30
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code do? myAge = int (myAge)
Converts the var (variable) myAge to a string
Converts the var (variable) myAge to a integer
Converts the var (variable) myAge from a integer to a string
Converts the var (variable) myAge to if statement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Hello world!" * 2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
people = ["John", "Rob", "Bob"]
print (people[-1])
what would this result be?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of program below?
mariana_islands = ['Saipan', 'Tinian', 'Rota']
mariana_islands.remove('Tinian')
print(mariana_islands)
['Saipan', 'Tinian', 'Rota']
['Tinian', 'Rota']
['Saipan', 'Tinian']
['Saipan', 'Rota']
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
Understanding Levels of Measurement

Quiz
•
12th Grade - University
15 questions
W20 - Kiểu dữ liệu, biến

Quiz
•
10th Grade
22 questions
Java Programming Quiz

Quiz
•
12th Grade
17 questions
Python Programming Quiz

Quiz
•
10th Grade
15 questions
AI Statistics and Trends Quiz

Quiz
•
9th Grade - University
16 questions
A1 How does technology impact us

Quiz
•
12th Grade
15 questions
EXTRA PRACTICE - Coding & Gaming

Quiz
•
10th Grade
15 questions
Виртуальная и дополненная реальность

Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade