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
Was ist eine gültige Schreibweise für eine bedingte Anweisung?
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 Wayground
8 questions
Die Lebensmittel

Quiz
•
1st - 10th Grade
10 questions
Die Deutschprofis L9 (B1)

Quiz
•
9th Grade
8 questions
Arten von Darlehen

Quiz
•
9th - 10th Grade
13 questions
Biedermann und die Brandstifter

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

Quiz
•
KG - University
15 questions
Syllable Division

Quiz
•
KG - 12th Grade
10 questions
Die Deklination der Substantive

Quiz
•
7th - 10th Grade
15 questions
Wetter und Klima

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Education
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade
14 questions
Points, Lines, Planes

Quiz
•
9th Grade