
Python-advanced
Authored by afnan amin
Computers
1st - 4th Grade
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to define a list in python ?
my list=[1,2,3]
my_list={1,2,3)
my_list=[1,2,3]
mylist=1,2,3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to add number 10 to this list?
myList=[1,2,3,4]
myList.append(10)
myList.insert(0,10)
both correct
none of the answers is correct
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
myList=["ahmed","alaa,"mostafa","Malak","Hajar","leen"]
how to change values ("mostafa","Malak","Hajar") with values
("ahlam","Momen,"asmaa")
PLEASE KEEP SPACE BETWEEN THE TWO LINES THAT YOU WILL WRITE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to remove "ahmed" from this list ?
myList=["ahmed","alaa","mostafa","Malak","Hajar","leen"]
myList.delete
("ahmed")
myList.remove
("ahmed")
myList.delete
(0)
myList.remove
(0)
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
How to sort this list?
myList=[2,5,3,1,4,6]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x=4
y=4
if x>y:
print("yes")
elif x<y: print("No")
else: print("no condition met")
what will be the output?
yes
no
no condition met
error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
firstname="ahlam"
secondname="samir"
if (firstname==secondname):
print("true")
else:
print("false")
true
false
error
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
13 questions
Phần mềm ứng dụng WXP 26 tháng 9 năm 2023
Quiz
•
1st - 5th Grade
10 questions
Web Development
Quiz
•
1st - 12th Grade
11 questions
Cyber Safety
Quiz
•
3rd - 6th Grade
12 questions
Turtle Academy Code
Quiz
•
4th - 5th Grade
10 questions
ENG 337 Q1
Quiz
•
1st Grade
12 questions
тест Python 7 class
Quiz
•
1st - 12th Grade
10 questions
Introdução à Programação: Estrutura de Repetição
Quiz
•
1st Grade
12 questions
Parts of the Desktop
Quiz
•
KG - 5th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade