logo

Crowdly

Browser

Add to Chrome

M122 (OI) - Automatizzare dei processi attraverso un linguaggio di script

Looking for M122 (OI) - Automatizzare dei processi attraverso un linguaggio di script test answers and solutions? Browse our comprehensive collection of verified answers for M122 (OI) - Automatizzare dei processi attraverso un linguaggio di script at moodle.edu.ti.ch.

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

Quale sarà l'output del seguente codice?

def test(a=5, b=10):

    if a > b:

        return a - b

    elif a == b:

        return "Uguali"

    else:

        return b - a

print(test(5))

View this question

Quali delle seguenti affermazioni su break e continue sono corrette?

View this question

Cosa viene stampato dal seguente codice?

testo = "Programmazione"

print(testo[3])
View this question

Cosa viene stampato dal seguente codice?

testo = "Programmazione"

print(testo[-1])
View this question

Quale delle seguenti opzioni è vera riguardo Python?

View this question

Cosa stamperà a schermo il seguente codice?

a = 6

b = 2

if a % b == 0:

    print("Divisibile")

if b % a == 0:

    print("Divisore")

else:

    print("Nessuna delle precedenti")

View this question
View this question

Completa il codice per chiedere all'utente l'inserimento di due numeri interi, calcolare il massimo tra i due, e stamparlo a schermo.

a = __________________________

b = __________________________

if a > b:

________________

else:

__________________

View this question

Cosa succede con questo codice?

prezzo = 100

if prezzo > 100:

    sconto = 0.1

totale = prezzo * (1 - sconto)

print(totale)

View this question

Cosa restituisce l'espressione 10 > 5 and 5 < 3 ?

View this question

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

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

Browser

Add to Chrome