logo

Crowdly

Browser

Add to Chrome

Programmierung (BTW2102) 25/26

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 = 5

b = 2

print(a // b)

0%
0%
0%
100%
View this question

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)

0%
0%
100%
0%
View this question

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?

0%
100%
0%
0%
View this question

Was ist in Bezug auf dictionaries FALSCH?

Which of the following is FALSE about dictionary?

50%
0%
0%
50%
View this question

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?

0%
0%
100%
0%
View this question

Was ist das Ergebnis von „8 > 5 and 4 < 3“?

What is the result of "8 > 5 and 4 < 3"?

0%
0%
100%
0%
View this question

Was ist die Ausgabe des folgenden Codes?

What is the output of the following code?

value = 2 + 3 * 4 / 2

print(value)
0%
0%
100%
0%
View this question

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?

0%
0%
100%
0%
View this question

What will be the output of the following code?

try:

   result = 10 / 0

except ZeroDivisionError:

   result = "Infinity"

print(result)

0%
0%
0%
100%
View this question

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)

0%
50%
50%
0%
View this question

Want instant access to all verified answers on moodle.bfh.ch?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome