Creación y lectura de archivos
Quiz
•
Instructional Technology
•
8th Grade
•
Medium
Jerry Rivera
Used 4+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Qué función nos permite abrir un archivo con Python?
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Fundamentos de Informática
Quiz
•
8th Grade
14 questions
Test para saber que nivel de competencia digital tienes
Quiz
•
6th - 8th Grade
11 questions
Estación de radio por internet
Quiz
•
8th - 11th Grade
12 questions
Examen del 2do Quimestre de Computaciòn
Quiz
•
8th - 9th Grade
10 questions
Tecnología
Quiz
•
1st - 10th Grade
10 questions
La Tecnología aplicada a la Educación
Quiz
•
1st Grade - Professio...
15 questions
Gráficos y Tablas en Excel y Google Sheets
Quiz
•
8th Grade
15 questions
Hojas de Cálculo
Quiz
•
8th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Instructional Technology
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
8th Grade
4 questions
End-of-month reflection
Quiz
•
6th - 8th Grade
20 questions
Distribute and Combine Like Terms
Quiz
•
7th - 9th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade