
Λίστες και Strings σε Python 2.7
Authored by Eirini Dioudi
Other
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Πώς ορίζεται μια λίστα σε Python 2.7;
my_list = '1, 2, 3'
my_list = {1, 2, 3}
my_list = (1, 2, 3)
my_list = [1, 2, 3]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Πώς μπορούμε να έχουμε πρόσβαση σε ένα συγκεκριμένο στοιχείο μιας λίστας στην Python 2.7;
my_list{index}
my_list.index
my_list(index)
my_list[index]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Πώς ορίζεται ένα string σε Python 2.7;
Ένα string σε Python 2.7 ορίζεται με τη χρήση αγκυλών
Ένα string σε Python 2.7 ορίζεται με τη χρήση αποστρόφων
Ένα string σε Python 2.7 ορίζεται με τη χρήση εισαγωγικών, είτε μονά ('example') είτε διπλά ("example").
Ένα string σε Python 2.7 ορίζεται με τη χρήση αριθμών
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Πώς μπορούμε να συνενώσουμε δύο strings σε Python 2.7;
string1 - string2
string1 / string2
string1 + string2
string1 * string2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ποια είναι η σύνταξη για να προσθέσουμε ένα νέο στοιχείο σε μια λίστα στην Python 2.7;
list_name.extend(new_element)
list_name.append(new_element)
list_name.add(new_element)
list_name.insert(new_element)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Πώς μπορούμε να αλλάξουμε ένα συγκεκριμένο στοιχείο σε μια λίστα στην Python 2.7;
list_name[index] == new_value
list_name.add(index, new_value)
list_name.insert(index, new_value)
list_name[index] = new_value
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ποια είναι η διαφορά μεταξύ λίστας και string στην Python 2.7;
Στην Python 2.7 δεν υπάρχει διαφορά μεταξύ λίστας και string.
Η διαφορά είναι ότι μια λίστα μπορεί να περιέχει μόνο ένα στοιχείο, ενώ ένα string μπορεί να περιέχει πολλούς χαρακτήρες.
Η διαφορά είναι ότι μια λίστα μπορεί να περιέχει μόνο αριθμούς, ενώ ένα string μπορεί να περιέχει μόνο χαρακτήρες.
Η διαφορά είναι ότι μια λίστα είναι μια συλλογή από αντικείμενα διαφορετικών τύπων, ενώ ένα string είναι μια σειρά από χαρακτήρες.
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
10 questions
FutureSmart Mod4
Quiz
•
6th - 10th Grade
10 questions
Flags (Hard) Pt.2
Quiz
•
3rd Grade - University
11 questions
INFERENCES and CONCLUSIONS
Quiz
•
9th Grade - University
15 questions
Ch 8 Investing & Retirement Review
Quiz
•
9th - 12th Grade
10 questions
snakes
Quiz
•
3rd Grade - University
10 questions
Orientation to Service Learning
Quiz
•
9th - 12th Grade
13 questions
Professional Communications
Quiz
•
10th - 12th Grade
10 questions
Zdania złożone współrzędnie
Quiz
•
1st Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
10 questions
Finding Area and Circumference of a Circle
Interactive video
•
6th - 10th Grade