logo

Crowdly

Selbstlerneinheit Python4Java (P4J)

Looking for Selbstlerneinheit Python4Java (P4J) test answers and solutions? Browse our comprehensive collection of verified answers for Selbstlerneinheit Python4Java (P4J) at moodle.rwth-aachen.de.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Ein Iterator ist eine Struktur, die mit einer for-Schleife durchlaufen werden kann.

View this question

Wahr oder falsch: Das folgende Programm terminiert ohne Fehler.

def append(x):

    x.append(2)

append([1])

View this question

Ziel ist es, 2 Listen zu verketten. Welche der folgenden Programme sind für dieses Ziel geeignet? Alle vier Optionen sind syntaktisch korrekt.

list1 = ["Hello", "World"]

list2 = ["Good", "Morning"]

0%
0%
0%
View this question

Das folgende Skript wird direkt in der Python Shell ausgeführt. Was ist die Ausgabe?

import os

print(__name__)

View this question

Was ist das Ergebnis des folgenden Ausdrucks?

'Python'.find('p')

View this question

Was ist die Ausgabe des folgenden Codes

apps = ("tinder","uber")

apps.append("KFC Germany")

print(apps)

View this question

Wie greift man auf die Attribute eines Objekts in Python zu?

0%
0%
View this question

Wie kann man spezifizieren, dass für eine Funktion eine beliebige Anzahl an Parametern übergeben wird?

0%
0%
0%
View this question

Was ist die Ausgabe des folgenden Skripts?

def func(my_list = []):

    my_list.append("a")

    return my_list

func()

func()

print(func())

0%
0%
View this question

Ein Tupel...

View this question

Want instant access to all verified answers on moodle.rwth-aachen.de?

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