4to Examen Teórico de Python

4to Examen Teórico de Python

University

20 Qs

quiz-placeholder

Similar activities

Diagnostico_ofimatica

Diagnostico_ofimatica

1st Grade - University

20 Qs

Hardware/Software

Hardware/Software

9th Grade - University

18 Qs

Unidad 4-Cableado Estructurado-2

Unidad 4-Cableado Estructurado-2

KG - University

15 Qs

Prueba Diagnóstica Uniajc

Prueba Diagnóstica Uniajc

University

15 Qs

Quiz #1 RStudio

Quiz #1 RStudio

University

20 Qs

PyTorch

PyTorch

University

15 Qs

ING MET 1 - MEJORA DE MÉTODOS

ING MET 1 - MEJORA DE MÉTODOS

University

20 Qs

3°DS _AV2_R2 3TEC_PM_Programação Mobile _12_20 Quizizz

3°DS _AV2_R2 3TEC_PM_Programação Mobile _12_20 Quizizz

11th Grade - University

20 Qs

4to Examen Teórico de Python

4to Examen Teórico de Python

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Carlos Alva

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de los siguientes módulos se utiliza para manejar archivos y carpetas en Python?

socket

os

csv

json

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué función del módulo shutil se utiliza para copiar un archivo?

shutil.copy

shutil.move

shutil.mkdir

shutil.remove

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace la función datetime.datetime.now()?

Crea un nuevo archivo

Formatea la fecha

Convierte una cadena en fecha

Obtiene la fecha y hora actual

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función que pausa la ejecución del programa en el módulo time?

time.sleep

time.pause

time.localtime

time.time

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace la función random.randint(a, b)?

Devuelve un número decimal aleatorio

Selecciona un elemento aleatorio de una lista

Mezcla los elementos de una lista

Genera un número entero aleatorio entre a y b

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué módulo se utiliza para trabajar con expresiones regulares en Python?

re

json

math

csv

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué función del módulo json convierte un diccionario en JSON?

json.write

json.read

json.loads

json.dumps

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?

Discover more resources for Computers