
Python - Listen und FOR-Schleife

Quiz
•
Computers
•
University - Professional Development
•
Medium
Used 17+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Welche Aussage zu Listen in Python ist falsch?
Sequentieller Datentyp: Alle Elemente einer Liste werden über einen gemeinsamen Listennamen angesprochen.
Typenrein: Jedes Element in einer Liste hat den selben Datentyp
Auswahl der einzelnen Elemente über Indizes in eckigen Klammern []
Mehrdimensional: Listen können über mehrere Dimensionen verfügen.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Um welches Konstrukt handelt es sich bei dem dargestellten Quellcode-Auszug?
Eindimensionale Liste
Zweidimensionale Liste
Eindimensionales Tupel
Zweidimensionales Tupel
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Welcher wesentliche Unterschied besteht zwischen einer Liste und eine Tupel?
Eine Liste ist typenrein, ein Tupel nicht.
Ein Liste kann nur eindimensional sein, ein Tupel kann mehrdimensional sein.
Die Elemente einer Liste können verändert werden, die eines Tupels nicht.
Liste und Tupel weisen dieselben Eigenschaften auf, es sind lediglich unterschiedliche Bezeichnungen.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Wie oft wird der Anweisungsblock der FOR-Schleife durchlaufen?
fünfmal
dreimal
fünfzehnmal
einmal
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Welches Ergebnis liefert der dargestellte Quellcode?
LACH
KAIN
EPNI
BPHC
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Welche Ausgabe generiert der dargestellte Quellcode?
AEIMBFJNCGKODHLP
PLHDOKGCNJFBMIEA
ABCDEFGHIJKLMNOP
PONMLKJIHGFEDCBA
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Der Benutzer soll durch die Eingabe eines Wertes zwischen 1-3 den beschreibenden Text der jeweiligen Aktivität erhalten. (z.B.: 1 --> "Lesen, Fernsehen, Ruhen")
Welcher Code-Auszug realisiert diese Anforderung?
print(aktivitaeten[eingabe-1][0])
print(aktivitaeten[0][eingabe-1])
print(aktivitaeten[0][eingabe])
print(aktivitaeten[eingabe][0])
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Ergonomie

Quiz
•
9th Grade - University
15 questions
Excel Grundlagen - Formatierungen

Quiz
•
7th Grade - University
9 questions
Formatvorlagen

Quiz
•
University
10 questions
Leecon PRINCE2 Agile Quiz 1

Quiz
•
Professional Development
10 questions
AppsLab_Q2

Quiz
•
10th Grade - Professi...
10 questions
A1 - die Familie. Vocabulario de la familia.

Quiz
•
9th Grade - University
10 questions
Quiz Sistem Manajemen Basis Data Pendidikan III

Quiz
•
University
10 questions
TDD und CleanCode

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher

Quiz
•
Professional Development
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University