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
15 questions
Programming - Screening Test
Quiz
•
3rd Grade - Professio...
15 questions
Repaso de Python
Quiz
•
5th Grade - Professio...
20 questions
Python
Quiz
•
Professional Development
15 questions
Lenguaje C
Quiz
•
Professional Development
15 questions
CodeHS - Intro to Python - Conditionals Quiz
Quiz
•
9th Grade - Professio...
21 questions
CÂU LỆNH WHILE
Quiz
•
Professional Development
17 questions
Python-básico1
Quiz
•
Professional Development
15 questions
Entrada e Saída de Dados e Variáveis
Quiz
•
Professional Development
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade