Tarea 4 - Progra - 4Div

Quiz
•
Computers
•
10th Grade
•
Medium
Julio Arriola
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué función se utiliza para capturar la entrada del usuario en Python?
input()
read()
print()
scan()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué tipo de dato devuelve siempre la función input()?
int
float
str
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué sucede si intentamos sumar dos strings que parecen números, como '5' y '5'?
Devuelve 5
Genera un error
Devuelve 55
Devuelve 10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la función correcta para convertir un string a un entero en Python?
bool()
int()
float()
str()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué error se genera si intentamos convertir un string no numérico a un entero?
TypeError
ValueError
KeyError
IndexError
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué bloque se utiliza para manejar errores en Python?
try-finally
catch-except
try-except
try-catch
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué tipo de error se debe manejar al intentar convertir un string a un número?
AttributeError
SyntaxError
ValueError
TypeError
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Cuestionario Perifericos

Quiz
•
10th Grade
30 questions
Repaso del Trimestre Digitalización

Quiz
•
4th Grade - University
25 questions
HRE - REPASO

Quiz
•
9th - 12th Grade
30 questions
P201- P202

Quiz
•
1st - 10th Grade
30 questions
TECNOLOGÍA CUARTO - CÓDIGOS QR Y LA NUBE - UNIDAD 2

Quiz
•
10th Grade
35 questions
ELECTIVA POWERBI

Quiz
•
9th - 12th Grade
27 questions
Examen Final Compiladores

Quiz
•
1st Grade - University
26 questions
Logica y programación

Quiz
•
10th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade