Datentypen, Variablen & Eingabe in Python

Quiz
•
Computers
•
University
•
Medium
Veronika Gacia
Used 31+ times
FREE Resource
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:")
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Python basics

Quiz
•
University
10 questions
Quiz 10

Quiz
•
University
15 questions
Programming - Screening Test

Quiz
•
3rd Grade - Professio...
15 questions
Module 1.4 Questions

Quiz
•
12th Grade - University
15 questions
JS Lesson1

Quiz
•
University
10 questions
KI WB PT3

Quiz
•
University
10 questions
INTRODUCTION TO OOPS

Quiz
•
University
10 questions
Informatika x

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University