Determine el resultado de la siguiente instrucción Python:
>>> print (-1+2)
Quiz Python 'Operadores y String'
Quiz
•
Computers
•
Professional Development
•
Easy
Leidy Coronel
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Determine el resultado de la siguiente instrucción Python:
>>> print (-1+2)
cero
1
-1
2
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
¿Es posible definir una cadena de string utilizando una comilla doble y comilla simple en una misma cadena. Tal como se muestra en la imagen?
Verdadero
Falso
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
La salida de la siguiente instrucción Python es:
>>> print(1+ 2 + 3 + 4 + 5 * 2)
30
25
20
15
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
¿Es posible definir un string utilizando comillas triples?
Verdadero
Falso
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
¿Cuál es el resultado que se obtiene al ejecutar esta instrucción Python?:
>>> print(1+ 2 + 3 + (4 + 5) * 2)
26
18
24
22
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
¿Qué codificación utiliza Python 3 para los strings?
ASCII
UTF-8
UNICODE
LATIN-1
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
El resultado de la siguiente operación nos devuelve un número de tipo integer:
>>> print(10/5)
Verdadero
Falso
20 questions
Python
Quiz
•
Professional Development
20 questions
Basics of programming - Quiz - 01
Quiz
•
University - Professi...
15 questions
Foundations II. Challenge I
Quiz
•
Professional Development
24 questions
DATATYPES - INPUT/OUTPUT - OPERATORS
Quiz
•
Professional Development
15 questions
Lenguaje C
Quiz
•
Professional Development
15 questions
Entrada e Saída de Dados e Variáveis
Quiz
•
Professional Development
20 questions
SPARK FIDDLE
Quiz
•
Professional Development
15 questions
Scope of Variables in Python
Quiz
•
1st Grade - Professio...
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade