TC-1028 2

TC-1028 2

Assessment

Flashcard

Engineering

University

Easy

Created by

Andrea Calderón

Used 3+ times

FREE Resource

Student preview

quiz-placeholder

16 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Tipo de dato que tiene dos posible valores: True y False

Back

Booleanos

2.

FLASHCARD QUESTION

Front

¿Qué aparece en pantalla al ejecutar el siguiente código?

>>> a = 10

>>> b = a

>>> print(a == b)

Back

True

3.

FLASHCARD QUESTION

Front

¿Qué se imprime en pantalla con el siguiente código?

>>> a = (10 <= 20)

>>> b = not(a)

>>> print(b)

Back

False

4.

FLASHCARD QUESTION

Front

def cuadrado(x):

return x*2

print(cuadrado(3)+1)

Back

10

5.

FLASHCARD QUESTION

Front

¿Qué aparece en pantalla?

def suma(a,b):

s = a + b

print (s)

Back

Error la variable s no esta definida

6.

FLASHCARD QUESTION

Front

Encuentra el error

count = 1

while True:

if count >5:

break

print("sigo en el while")

Back

Se imprime "sigo en el while" indefinidas veces

7.

FLASHCARD QUESTION

Front

¿Qué se muestra en pantalla?

valor = 8

while valor > 100:
      valor = valor - 1

print ("Fin de while")

Back

Fin de while

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?