Edit this page Backlinks This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. 1. Fie $math[M] o masina Turing si $math[\mathcal{M} = \{f\mid f \text{ este decisa de }M \}]. Care afirmatii sunt adevarate: * $math[\mathcal{M}] este finita * $math[\mathcal{M}] este numarabila * $math[\mathcal{M}] **nu poate fi vida** * $math[\mathcal{M} \subseteq RE] 2. Fie $math[g] o problema NP-dura si $math[f \in P], astfel incat $math[g \leq_p f]. Care afirmatii sunt adevarate? * $math[P \neq NP] * $math[P = NP] * $math[f] nu poate exista * $math[g \in P] 3. Ce notatie asimptotica descrie cel mai bine functia $math[f/g] daca $math[f\in \Theta(n\sqrt{n})] si $math[g\in o(sqrt(n))] ? 4. Care este diferenta intre costul mediu per operatie si costul amortizat? 5. Care este complexitatea simularii urmatoarei proceduri: <code python> def f(l): x = choice(l) s = x for i in range(0,len(l)): s = s + l[i] </code> 6. Definiti axiome pentru interclasarea a doua liste.