Python Test

Python Test

9th Grade

10 Qs

quiz-placeholder

Similar activities

Komma-Champion

Komma-Champion

5th - 12th Grade

12 Qs

Erdkunde-Quiz

Erdkunde-Quiz

9th Grade - Professional Development

10 Qs

Konjunktiv II

Konjunktiv II

9th Grade

12 Qs

INTERPRETAÇÃO DE MÚSICAS

INTERPRETAÇÃO DE MÚSICAS

9th Grade

10 Qs

Baggrundsartikel - genretræk og fagsprog

Baggrundsartikel - genretræk og fagsprog

6th - 9th Grade

10 Qs

Kviz o učiteljih tujega jezika SŠ Domžale

Kviz o učiteljih tujega jezika SŠ Domžale

9th - 12th Grade

11 Qs

Ein Wochenende in München

Ein Wochenende in München

9th Grade

11 Qs

Deutsche Erfindungen

Deutsche Erfindungen

9th - 12th Grade

10 Qs

Python Test

Python Test

Assessment

Quiz

Education

9th Grade

Practice Problem

Hard

Created by

T. Kalanathan

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?