Che cosa fa il seguente codice di Python:
print("Hello, World!")
Sintassi base di Python
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Procolo Lucignano
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Che cosa fa il seguente codice di Python:
print("Hello, World!")
Stampa "Hello, World!" sullo schermo
Crea una variabile chiamata "Hello, World!"
Genera un errore di sintassi
2.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Qual è l'output di questo codice?
a = True
b = False
print(a and b)
True
False
1
None
3.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Quale di questi è un commento valido in Python?
<!-- Questo è un commento -->
/* Questo è un commento */
# Questo è un commento
' Questo è un commento
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual è il risultato di questa espressione in Python?
x = 5
y = 2
print(x % y)
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Quale di queste espressioni produce un errore di sintassi?
stringa = 'Questo e\' un esempio con apici singoli.'
stringa = "Questo e' un esempio con apici doppi."
stringa = "Questo e\' un esempio con apici doppi."
stringa = 'Questo e' un esempio con apici singoli.'
5 questions
Python: Variabili, Espressioni ed Istruzioni
Quiz
•
11th Grade - University
10 questions
ASMx86 prima gara
Quiz
•
9th - 12th Grade
10 questions
Conoscenza del Computer
Quiz
•
12th Grade
10 questions
Architettura del Computer e Windows
Quiz
•
9th Grade
10 questions
Computer Hardware Quiz
Quiz
•
12th Grade
10 questions
Scratch
Quiz
•
12th Grade
10 questions
Linguaggio C - Basi
Quiz
•
11th - 12th Grade
9 questions
Linguaggio C
Quiz
•
1st - 12th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade