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
14 questions
Fragen zu Beerenobst und Wildfrüchten

Quiz
•
7th Grade - University
15 questions
Meine Famillie

Quiz
•
6th - 12th Grade
15 questions
NJ - Weihnachten

Quiz
•
7th Grade - University
10 questions
лексика одежда немецкий

Quiz
•
9th Grade
10 questions
Fake News

Quiz
•
4th - 12th Grade
8 questions
Abschreibungen von Forderungen

Quiz
•
9th - 10th Grade
10 questions
Gradnetz der Erde

Quiz
•
4th - 10th Grade
10 questions
Untitled Quiz

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

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Education
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade