Was ist eine gültige Schreibweise für eine bedingte Anweisung?
Python Test

Quiz
•
Education
•
9th Grade
•
Hard
T. Kalanathan
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if x > 3:
IF x > 3
if: x > 3
if x > 3 =
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Was ist eine gültige Wertzuweisung einer Variable?
zahl == 3
zahl := 3
zahl = 3
zahl : 3
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Welche der folgenden Ausdrücke gibt in Python ein False aus?
5 > 3
10 != 10
"Hallo" == "Hallo"
True and True
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Welches der folgenden Ausdrücke hat den Datentyp string?
42
"42" * 2
float(str(42))
True
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Wie oft wird der Codeblock einer while-Schleife ausgeführt, wenn die Bedingung zu Beginn falsch ist?
Kein einziges Mal
Einmal
Unendlich oft
Bis die Bedingung wahr wird
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Welche Aussage ist falsch über bedingte Anweisungen in Python?
Eine bedingte Anweisung in Python wird mit dem Schlüsselwort "if" eingeleitet.
Eine bedingte Anweisung kann nur einen "else"-Zweig haben.
Der Code-Block einer bedingten Anweisung wird immer eingerückt.
In der bedingten Anweisung kann man nur zwei Fälle abdecken.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Welchen Datentyp hat das Ergebnis der input()-Funktion?
Wahrheitswerte
String
Float
Abhängig von der Eingabe
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Herz-Kreislaufsystem

Quiz
•
7th - 10th Grade
10 questions
Die Kurzgeschichte

Quiz
•
9th - 12th Grade
7 questions
Gehalts-/Verdienstabrechnung

Quiz
•
8th - 10th Grade
13 questions
One of us is lying - Kapitel 10

Quiz
•
9th Grade
15 questions
Lateinamerika

Quiz
•
5th - 10th Grade
11 questions
Steuerabzüge & Sozialversicherungsbeiträge

Quiz
•
9th - 10th Grade
15 questions
Funktionsverbgefüge; Teil 1

Quiz
•
9th - 12th Grade
11 questions
Erzählperspektive

Quiz
•
1st Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Education
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade
10 questions
Exponential Growth and Decay Word Problems

Quiz
•
9th Grade