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.'
Similar Resources on Wayground
8 questions
Python: istruzioni condizionali

Quiz
•
11th Grade
10 questions
Controllo di Flusso in C++

Quiz
•
9th - 12th Grade
10 questions
Esercizi codice di Hamming

Quiz
•
11th Grade
10 questions
Le basi Java

Quiz
•
11th Grade
8 questions
If_while_quiz

Quiz
•
9th - 10th Grade
5 questions
BUS (informatica)

Quiz
•
8th - 10th Grade
10 questions
Flowgorithm

Quiz
•
12th Grade
10 questions
Test sui disturbi da uso prolungato di devices

Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade