
Quiz Python sulle liste

Quiz
•
Computers
•
9th Grade
•
Medium
Used 4+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Quali di queste istruzione è quella corretta per creare una lista?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList = [John, Harry, Jesse, John, Harry, Harry]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale è il risultato di queste istruzioni?
spesa= ["carne", "pasta", "uova"]
print (people[1])
carne
pasta
uova
viene generato un errore
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale è il risultato di queste istruzioni?
spesa= ["carne", "pasta", "uova"]
print (people[3])
carne
pasta
uova
viene generato un errore
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quale è la migliore descrizione di una lista in Python?
Una lista è una collezione di dati che hanno un ordine e che possono essere modificati
Una lista è un multi-insieme di variabili
Una lista è una collezione di dati numerici ordinati
Una lista è una collezione di dati che non può contenere duplicati e che non può subire variazioni.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Per stampare una lista chiamata miaLista usiamo
print(miaLista)
list(print)
miaLista.print()
miaLista(print)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ogni elemento in una listra ha un "indirizzo" o indice. Il primo indice in una lista di Python quanto vale?
1
0
a
A
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Se vuoi creare una lista vuota chiamata colours, quale dei seguenti pezzi di codice useresti?
colours = { }
colours = ( )
colours = [ ]
colors = [ ]
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
NEW_SMP_Mls8_Quiz

Quiz
•
7th - 12th Grade
23 questions
Python bases

Quiz
•
9th - 12th Grade
24 questions
Html

Quiz
•
9th Grade
17 questions
Mantenimiento y Detección de Fallas

Quiz
•
9th Grade
18 questions
Test html-noțiuni introductive1

Quiz
•
8th - 12th Grade
20 questions
Word -Avançado

Quiz
•
1st Grade - University
20 questions
Test fine quadrimestre

Quiz
•
9th - 12th Grade
24 questions
SE LIGA! Desenvolvendo Habilidades para o Futuro

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade