
Refresher Kapitel 3, 4, Notebook 2
Authored by Ismâil Muhammad Prada Ziegler
Information Technology (IT)
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Was wird ausgegeben?
True
False
Fehlermeldung
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Eingabe:
["cow", "snake", "cat"]
Wie lautet die Ausgabe?
snake
rattlesnake
other animal
no animal
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Eingabe:
[]
Wie lautet die Ausgabe?
snake
rattlesnake
other animal
no animal
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Eingabe:
["cow", "rattle", "snake", "cat"]
Wie lautet die Ausgabe?
snake
rattlesnake
other animal
no animal
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Eingabe:
["cow", "cat"]
Wie lautet die Ausgabe?
snake
rattlesnake
other animal
no animal
6.
CATEGORIZE QUESTION
1 min • 3 pts
Kategorisiere diese if-Blöcke als Valide / Invalide (Invalide == Fehlermeldung)
Groups:
(a) Valide
,
(b) Invalide
if (x > 3) print("hi")
if x == 5 print("hi")
if x != 0: print("not zero")
if isinstance(x, int): print("is an integer")
if x is None: print("is none")
if x > 0 && x < 10: print("between 1 and 9")
if x.__eq__(5): print("hi")
if x > 0 and x < 10: print("between 1 and 9")
if x > 3: print("hi")
if x = 5: print("hi")
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Was wird ausgegeben / was passiert?
Gibt gerade Zahlen von 24 bis 0 aus, dann fertig.
(in Form von "Even Number: <Zahl>)
Gibt ohne aufzuhören "Even Number: 24" aus.
Fehlermeldung
Gibt "Even Number: 24" aus, dann fertig.
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?