
P3 Decisioni

Quiz
•
Computers
•
University
•
Hard

Renato Ferrero
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Sia definita la variabile intera a = 45. Indicare l'istruzione che stampa un output diverso dal seguente:
print(f"Risultato:{a:>6}")
print(f"Risultato:{a:-6}")
print(f"Risultato:{a:> 6}")
print(f"Risultato:{a:+6}")
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual è il valore della variabile k dopo l'esecuzione del seguente codice?
2
5
6
9
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Si consideri l'istruzione:
maggiore = ("10" > "5").
Che valore assume la variabile maggiore?
"10"
True
False
l'istruzione non può essere calcolata
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
A quale funzione corrisponde la seguente tavola di verità?
f = not X or not Y or Z
f = (X and Y) or not Z
f = (X or not Y) and Z
f = (X and Z and Y) or (not X and not Z)
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Semplificare la seguente funzione booleana:
not (not X or not Y) or (X and Y and Z)
X and Y
X and Y and Z
(X or Y) and Z
(X and Y) or Z
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Siano a, b, x, n variabili intere. Fra i pezzi di codice seguenti, 3 sono equivalenti. Qual è diverso?
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Se l'utente inserisce "Mi piace programmare", cosa visualizza il seguente codice?
"Mi piace programmare"
"MI PIACE PROGRAMMARE"
"La stringa contiene spazi"
Non visualizza nulla
8.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Il seguente programma è corretto?
no: c'è un errore di sintassi
si: stampa "Errore" se l'input non è numerico
no: genera eccezione se l'input non è numerico
no: genera eccezione se l'utente introduce un numero maggiore di 100
Similar Resources on Wayground
10 questions
Monitor Interattivo in Classe

Quiz
•
5th Grade - University
6 questions
ORD - STEM Special Edition Lezione 1

Quiz
•
1st Grade - Professio...
10 questions
Roblox quiz!

Quiz
•
1st Grade - University
10 questions
C Programming Quiz-1

Quiz
•
University
10 questions
C++ Classi, attributi e metodi

Quiz
•
University
8 questions
P2 numeri e stringhe

Quiz
•
University
7 questions
Obiettivi e Tassonomie

Quiz
•
University
10 questions
Drone 4

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University