Informatica
Which of the following is the correct way to define a function in Python?
function my_function():
def my_function:
def my_function():
define my_function():
Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza
Informatica
Which of the following sentences most accurately describes the term recursion?
The repetition of the same set of operations.
A calculation algorithm that is able to call itself.
An iterative method to calculate approximate values.
The method for finding the solutions of an equation.
Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza
Informatica
Which of the following statements returns base (b) raised to the power exponent (e)?
print(math.pow(e, b))
print(math.pow(b, e))
print(power(b, e))
print((b, e)**pow)
Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza
Informatica
What is convergence in an iterative process?
The result comes closer to the estimated value as the number of iterations increases.
The result comes closer to the estimated value as the number of iterations decreases.
The result comes closer to the estimated value after a predefined number of iterations.
The process becomes faster as the number of iterations increases.
Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza