Python Avanzado - Semana 1

Python Avanzado - Semana 1

Professional Development

9 Qs

quiz-placeholder

Similar activities

Què en saps de GSuite?

Què en saps de GSuite?

University - Professional Development

10 Qs

Azure Fundamentos

Azure Fundamentos

Professional Development

10 Qs

Sistemas Operativos y Ofimatica

Sistemas Operativos y Ofimatica

Professional Development

10 Qs

PRÁCTICA  N° S-01 -5MFT52-18 (2024A05)

PRÁCTICA N° S-01 -5MFT52-18 (2024A05)

Professional Development

10 Qs

Software

Software

Professional Development

10 Qs

Penilaian Pengetahuan 1 KSK2013

Penilaian Pengetahuan 1 KSK2013

Professional Development

12 Qs

ICT basics

ICT basics

Professional Development

10 Qs

Desafio

Desafio

Professional Development

10 Qs

Python Avanzado - Semana 1

Python Avanzado - Semana 1

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Nancy Segura

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de las siguientes funciones se utiliza para unir partes de una ruta en os.path?

joinpath()

concat()

os.join()

os.path.join()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué función se utiliza para obtener el nombre del archivo de una ruta completa?

getfile()

basename()

file()

os.basename()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de las siguientes opciones se utiliza para comprobar si una ruta existe?

os.path.exists()

checkpath()

fileexists()

validatepath()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se obtiene el directorio padre de una ruta utilizando os.path?

parentdir()

getparent()

os.parent()

os.path.dirname()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de las siguientes funciones se utiliza para copiar un archivo?

shutil.copy()

copyfile()

filecopy()

shutil.cpfile()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué función se utiliza para copiar un directorio completo junto con su contenido?

shutil.copydir()

copytree()

copydir()

shutil.cpdirectory()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de las siguientes opciones se utiliza para eliminar un archivo con shutil?

deletefile()

shutil.remove()

removefile()

shutil.delete()

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se crea un archivo temporal con tempfile?

tempfile.create_temp()

tempfile.generate_temp()

tempfile.tempfile()

tempfile.mktemp()

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función de tempfile.TemporaryFile() en comparación con otras funciones de tempfile?

Crea un archivo temporal y devuelve su nombre.

Crea un archivo temporal pero no devuelve su nombre.

Crea un archivo temporal en modo lectura.

Crea un directorio temporal en lugar de un archivo.