Search Header Logo

Diagnostico PLyF

Authored by Ulises Martinez

Other

University

Used 1+ times

Diagnostico PLyF
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Es un proceso de conversión intermedio entre el código fuente y el código máquina.

Compilación

Transpilación

Interprete

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Es un proceso que consiste básicamente en tomar las características de la semántica y sintaxis del lenguaje de origen sobre el código fuente de origen y adaptarlo para otro lenguaje destino sobre su código fuente destino.

Compilación

Transpilación

Interprete

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Que regresaría la siguiente función en Python:

import matplotlib.pyplot as plt

def gra():

x = arange(10)

y = x * x

plt(x, y)

Un calculo

Una multiplicación

Una gráfica

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cual es el resultado de la siguiente rutina de Python:

from sympy import *

x,y = symbols('x y')

fx = ((x+y)**2)

print(fx.expand())

Error

fx

x**2 + 2*x*y + y**2

x**2 + y**2

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

En Python, cual es la salida de la siguiente función:

def lectura_lista():

lista_palabras = ["h","p","u","m","r","a","o","x","k","i","a","h","t","d","u"]

Lista_vocales = ["a","e","i","o","u"]

lista_resultados = []

for elementoLeido in lista_palabras:

if elementoLeido in Lista_vocales:

lista_resultados.append(elementoLeido)

print(lista_resultados)

lectura_lista()

Error

null

['a', 'e', 'i', 'o', 'u']

['u', 'a', 'o', 'i', 'a', 'u']

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

La siguiente declaración en Python es mutable o inmutable:

lst = [1, 2, 3]

lst[0] = 10

Mutable

Inmutable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

La siguiente declaración en Python es mutable o inmutable:

tpl = (1, 2, 3)

tpl[0] = 0

Mutable

Inmutable

Access all questions and much more by creating a free account

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

Already have an account?