Search Header Logo

FP2: 07 - ARCHIVOS

Authored by Paul Beltrand

Computers

Professional Development

Used 1+ times

FP2: 07 - ARCHIVOS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función utilizada para abrir un archivo de texto en Python?

read()

close()

open()

write()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función utilizada para cerrar un archivo de texto en Python?

open()

close()

write()

read()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función utilizada para obtener el nombre del directorio actual en Python utilizando el módulo os?

os.getcwd()

os.getdir()

os.currentdir()

os.getcurrentdir()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función utilizada para obtener el mes actual en Python utilizando el módulo datetime?

date.now().month()

datetime.now().month

datetime.month.now()

datetime.datetime.now().month

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función utilizada para crear un nuevo directorio en Python utilizando el módulo os?

os.make_dir()

os.new_dir()

os.mkdir()

os.create_dir()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función utilizada para obtener el día actual en Python utilizando el módulo datetime?

datetime.date.today()

datetime.date.day()

datetime.date.current()

datetime.date.now()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Necesito abrir un archivo en modo solo lectura. Que modificador utilizo?

w

a

r

r+

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?