¿Qué función nos permite abrir un archivo con Python?
Creación y lectura de archivos

Quiz
•
Instructional Technology
•
8th Grade
•
Medium
Jerry Rivera
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
open()
read()
write()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué función nos permite leer el contenido de un archivo en Python?
open()
read()
write()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué función nos permite escribir en un archivo en Python?
open()
write()
read()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si tenemos un archivo llamado "datos_personales.txt" y deseamos abrirlo, ¿Cuál de las siguientes líneas de código nos permite hacerlo correctamente?
datos = print("datos_personales.txt")
datos = open("datos_personales")
datos = open("datos_personales.txt")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si ya abrimos el archivo y lo nombramos "datos", ¿Con qué línea de código leemos su contenido?
datos.print()
datos.open(leer)
datos.read()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué nos permitía hacer el caracter \n?
Insertar un salto de línea (enter)
Escribir literalmente \n en un archivo
Crear otro archivo
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si deseamos escribir en un archivo llamado "datos" el texto "Nombre: John" y en otra línea "Apellido: Rogers", ¿Qué línea de código nos permite hacerlo correctamente?
datos.write(Nombre: John
Apellido: Rogers)
datos.write("Nombre: John
Apellido: Rogers")
datos.write("Nombre: John\nApellido: Rogers")
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Evaluación diagnóstica bloque 3: Herramientas Sw aplicación

Quiz
•
1st - 12th Grade
10 questions
Sesión 02

Quiz
•
1st - 12th Grade
10 questions
EXAMEN DOCENTE

Quiz
•
1st Grade - University
12 questions
ORGANIZADORES GRÁFICOS

Quiz
•
6th - 8th Grade
10 questions
Peligros de las Redes Sociales

Quiz
•
7th Grade - University
10 questions
Quiz sobre el Uso y Funciones del Programa Word

Quiz
•
8th Grade
6 questions
winrar

Quiz
•
1st - 12th Grade
6 questions
Calentamiento # 13 - Básico sobre Gráficos

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Instructional Technology
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
6 questions
Earth's energy budget and the greenhouse effect

Lesson
•
6th - 8th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade
20 questions
Lesson: Slope and Y-intercept from a graph

Quiz
•
8th Grade