Search Header Logo
Complejidad

Complejidad

Assessment

Presentation

Computers, Science, Mathematics

University

Hard

Created by

Enrique Ferreiro

Used 4+ times

FREE Resource

3 Slides • 8 Questions

1

Complejidad

By Enrique Ferreiro

2

Multiple Select

Question image

Para la siguiente función, ¿Cuál podría ser su complejidad en el peor caso?

1

O(n2)O\left(n^2\right)  

2

O(1)O\left(1\right)  

3

Ω(nlogn)\Omega\left(n\log n\right)  

4

θ(n2)\theta\left(n^2\right)  

3

Multiple Select

Question image

Para la misma función, con n = 1, ¿Cuál sería el mejor caso de complejidad?

1

O(n)O\left(n\right)  

2

θ(n2)\theta\left(n^2\right)  

3

θ(n)\theta\left(n\right)  

4

O(n2)O\left(n^2\right)  

4

Fill in the Blank

Existen _ categorías de orden

5

Multiple Choice

La siguiente definición corresponde a:

n, nN, g(n)cf(n)\forall n,\ n\ge N,\ g\left(n\right)\le c\cdot f\left(n\right) a partir de alguna N 

1

o(f(n))o\left(f\left(n\right)\right)  

2

O(f(n))O\left(f\left(n\right)\right)  

3

θ(f(n))\theta\left(f\left(n\right)\right)  

4

Ω(f(n))\Omega\left(f\left(n\right)\right)  

5

ω(f(n))\omega\left(f\left(n\right)\right)  

6

Open Ended

Question image

A simple vista, ¿Qué puedes decir de g(x)?

7

Multiple Choice

¿Es posible afirmar para la función g(x)g\left(x\right)  anterior que g(x)O(f(n))g\left(x\right)\in O\left(f\left(n\right)\right)  ?

1

No, es posible

2

Por su pollo

3

Si y no, depende de ciertas condiciones

4

Depende la especie

8

9

Open Ended

Question image

Ahora, ¿Qué puedes decir de g(x)g\left(x\right)  ?

10

11

Multiple Choice

En las gráficas anteriores, existía una constate tal que: 0 <c 0.70\ <c\ \le0.7  para la cual podemos decir que:

1

g(n) O(f(n))g\left(n\right)\in\ O\left(f\left(n\right)\right)  

2

f(n) Ω(g(n))f\left(n\right)\in\ \Omega\left(g\left(n\right)\right)  

3

g(n) Ω(f(n))g\left(n\right)\in\ \Omega\left(f\left(n\right)\right)  

4

f(n) O(g(n))f\left(n\right)\in\ O\left(g\left(n\right)\right)  

Complejidad

By Enrique Ferreiro

Show answer

Auto Play

Slide 1 / 11

SLIDE