Looking for Programmierung (BTW2102) 25/26 test answers and solutions? Browse our comprehensive collection of verified answers for Programmierung (BTW2102) 25/26 at moodle.bfh.ch.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Was wird die Ausgabe des folgenden Codeausschnitts sein?
What will be the output of the following code snippet?
a = 5b = 2print(a // b)
Was ist das Resultat von folgendem Code:Find the output of the following program:
nameList = ['Hans', 'Peter', 'Daniel', 'Kurt']pos = nameList.index("Wing")print (pos * 3)
Welche der folgenden Möglichkeiten ist eine gültige Art, in Python einen Kommentar zu schreiben?
Which of the following is a valid way to comment in Python?
Was ist in Bezug auf dictionaries FALSCH?Which of the following is FALSE about dictionary?
Welche der folgenden Anweisungen wird verwendet, um eine benutzerdefinierte Ausnahme in Python auszulösen?
Which of the following statements is used to create a custom exception in Python?
Was ist das Ergebnis von „8 > 5 and 4 < 3“?
What is the result of "8 > 5 and 4 < 3"?
Was ist die Ausgabe des folgenden Codes?
What is the output of the following code?
value = 2 + 3 * 4 / 2print(value)Wie kann man mit einer for-Schleife über die Elemente einer Liste in umgekehrter Reihenfolge iterieren?How can you iterate over the elements of a list in reverse order using a for loop?
What will be the output of the following code?
try: result = 10 / 0except ZeroDivisionError: result = "Infinity"
print(result)
Was ist das Resultat dieses Codes?
What is the result of this code?
a = {'WING' : 1, 'bfh' : 2} b = {'WING' : 2, 'bfh' : 1} print (a == b)