null
US
Entrar
Registre-se gratuitamente
Registre-se
Detectamos que o JavaScript não está habilitado no teu navegador. Habilite o Javascript para o funcionamento correto do nosso site. Por favor, leia os
Termos e Condições
para mais informações.
Próximo
Copiar e Editar
Você deve estar logado para concluir esta ação!
Inscreva-se gratuitamente
17724890
GEOM 73 - Python Quiz 9
Descrição
Geography Quiz sobre GEOM 73 - Python Quiz 9, criado por Maggie Samson em 14-04-2019.
Sem etiquetas
geom73
gis
python
fleming
geography
Quiz por
Maggie Samson
, atualizado more than 1 year ago
Mais
Menos
Criado por
Maggie Samson
mais de 5 anos atrás
41
1
0
Resumo de Recurso
Questão 1
Questão
FTP stands for:
Responda
File Transfer Protocol
File Translation Protocol
File Translation Procedure
File Transfer Procedure
Questão 2
Questão
Which method of the ftp class of the ftplib module uses ASCII mode to transfer files?
Responda
retrtxt()
retrbinary()
retrascii()
retrlines()
Questão 3
Questão
When can you use urllib instead of ftplib to read and transfer files from an FTP server?
Responda
anonymous FTP servers with a web interface
password protected FTP servers without a web interface
password protected FTP servers with a web interface
anonymous FTP servers without a web interface
Questão 4
Questão
How do you set the current directory using ftplib on an FTP server so you can navigate to the files you need?
Responda
ftp.cwd(pathname)
ftp.path(pathname)
ftp.dir(pathname)
ftp.setdir(pathname)
Questão 5
Questão
When working with a ZIP file in Python using the zipfile module, how do you determine which files are present in the ZIP file without extracting them?
Responda
open the file using something like zipfile.ZipFile("example.zip", "r"), then use the namelist method
open the file using something like zipfile.ZipFile("example.zip", "r"), then use the ziplist method
open the file using something like zipfile.ZipFile("example.zip", "r"), then use the read method
create a list of the files using something like zipfile.ListFiles("example.zip")
Questão 6
Questão
Which compression method is the default employed by the zipfile module in Python?
Responda
ZIP_STORED
TAR
GZIP
ZIP_COMPRESSED
ZIP_DEFLATED
Questão 7
Questão
How would you extract all files in a ZIP file to the current working directory using the zipfile module in Python?
Responda
ZipFile.openall()
ZipFile.extractall()
ZipFile.unzip()
ZipFile.extract("*")
Questão 8
Questão
You should never use XML to store geospatial data since it is text-based and will therefore render your geospatial data useless.
Responda
True
False
Questão 9
Questão
Which of the following module or libraries are used to work with XML data in Python? (check all that apply)
Responda
xml.sax
xmlopen
xmlparser
xml.dom
xmllib
xml.etree.ElementTree
Questão 10
Questão
XML files are notorious for missing or incorrect tags. Which module/library would you use in Python to parse XML files that contain tag errors?
Responda
ElementTree
AlphabetSoup
BeautifulSoup
XMLfix
parseXML
Quer criar seus próprios
Quizzes
gratuitos
com a GoConqr?
Saiba mais
.
Semelhante
Geography Coastal Zones Flashcards
Zakiya Tabassum
Geography Quiz
PatrickNoonan
Using GoConqr to study geography
Sarah Egan
All the Countries of the World and their Capital Cities
PatrickNoonan
Tectonic Hazards flashcards
katiehumphrey
Volcanoes
1jdjdjd1
River Processes and Landforms
1jdjdjd1
GCSE Geography - Causes of Climate Change
Beth Coiley
The Rock Cycle
eimearkelly3
Plate Tectonics
eimearkelly3
Characteristics and Climate of a hot desert
Adam Collinge
Explore a Biblioteca