Datentypen, Variablen & Eingabe in Python

Datentypen, Variablen & Eingabe in Python

University

10 Qs

quiz-placeholder

Similar activities

Post Test #4 - Python Fundamental #3

Post Test #4 - Python Fundamental #3

University

10 Qs

DL Refresher

DL Refresher

KG - Professional Development

10 Qs

Excel

Excel

University

12 Qs

04 - Disjoint Sets

04 - Disjoint Sets

University

15 Qs

EDA PARTE 2

EDA PARTE 2

University

15 Qs

Preguntas sobre Excel 2016

Preguntas sobre Excel 2016

6th Grade - University

15 Qs

Tutorium 2

Tutorium 2

University

10 Qs

SOAL PTS 1 KOMPUTER AKUNTANSI KELAS XI

SOAL PTS 1 KOMPUTER AKUNTANSI KELAS XI

11th Grade - University

10 Qs

Datentypen, Variablen & Eingabe in Python

Datentypen, Variablen & Eingabe in Python

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Veronika Gacia

Used 31+ 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

30 sec • 1 pt

Welcher der folgenden Datentypen gehört NICHT zu den sogenannten elementaren Datentypen?

Numerische Datentypen

Boolean

Tupel

Floats

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welchem Datentyp gehören Mengen an?

Dem elementaren Datentyp

Dem selben Datentyp wie Listen und Tupel

Dem numerischen Datentyp

Dem boolschen Datentyp

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Gegeben ist:


a = 125


Wie lautet der Befehl, mit dem der Typ der Variable a von einem integer zu einem string verändert wird?

int(a)

str(int)

str(a)

type(a) = str

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Wie sieht der Output des folgenden Befehls aus?


x = "Anna"

print(type(x))

<class 'str'>

type: str

str

<type 'str'>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Was ist der Output des folgenden kleinen Programmes?


a = 2

b = 10


b /= a

print(b)

b

5.0

2.0

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

y = "Anna"

x,y,z = "Peter",23,1.25


Welcher Wert steckt nun in der Variable y?

"Anna"

"Peter"

23

Kein Wert

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Der Aufruf eines Programms liefert folgenden Output:

>>Bitte geben Sie eine Zahl ein:

Wie sieht die entsprechende Programmzeile hierzu aus?

print(">>Bitte geben Sie eine Zahl ein"

zahl = ">>Bitte geben Sie eine Zahl ein"
print(zahl)

input(zahl)

input(">>Bitte geben Sie eine Zahl ein:")

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?

Discover more resources for Computers