<div dir="ltr">Salutare,<div><br></div><div>Am coretat tema 1 si am trecut notele in catalog[0].</div><div>Dupa cum s-a discutat la ultimul curs, punctajul din nota finala este 2.5 puncte tema propriu-zisa, 0.5 puncte bonusul.</div><div><br></div><div>Va rog sa verificati notele din catalog, precum feedback-ul si punctajul de pe vmchecker pentru a va asigura ca sunt conforme cu asteptarile voastre. In feedback-ul de pe vmchecker am specificat doar ce s-a scazut. Am creat si un google doc cu calculul punctajului final avand punctajul pe tema si punctajul pe bonus aici[1].</div><div><br></div><div>Pentru contestatii, va rog sa trimiteti un mail pe lista de discutii, cu adresa mea de mail in CC (<a href="mailto:andrei.tuicu@gmail.com">andrei.tuicu@gmail.com</a>) si cu subiectul <b>[Tema1][Constestatie] Nume Prenume.</b></div><div><b><br></b></div><div>Punctajul pe tema l-am acordat dupa cum era specificat in sectiunea "Testarea si Notarea" din enuntul temei.</div><div><b><br></b></div><div>Punctajul pe bonus l-am acordat dupa urmatorul barem, cu 10 subpuncte, fiecare subpunct avand valoare egala cu celelalte:</div><div><ol><li>Implementarea clasei Vector in limbajul LCPL<br></li><li>Suport pentru declararea vectorilor ca atribute</li><li>Suport pentru declararea vectorilor ca variabile locale</li><li>Read (x = myVector[3])</li><li>Write (myVector[3] = x)</li><li>Casturi implicite la R/W</li><li>Vector ca parametru al unei metode</li><li>Vector ca valoare intoarsa a unei metode</li><li>Instantierea unui vector</li><li>Oficiu - Daca cel putin unul din subpunctele de mai sus au fost implementate</li></ol><div>Pentru testarea bonusului am folosit aceleasi surse LCPL in cazul tuturor teme:</div></div><div>- Test1 : clasa StringStack + clasa Main din enuntul temei</div><div>- Test2 : ( multumesc, Silvia Pripoae! :) )</div><div><br></div>
<span></span>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">class Main inherits IO</span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"> sort String[] anArray -> String[] : end;</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>var String[] attributeArray; end;</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>main:</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>local Object[] myArray; end;</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>myArray = new Object[10];</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>myArray[0] = new Object;</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>myArray[1] = new String;</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>myArray[2] = new Object;</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> [</span>print [(myArray[1]).typeName]];</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>end;</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">end;</span></p>
<div><br></div><div>Multumesc,</div><div>Andrei Tuicu</div><div><br></div><div>[0] <a href="https://ocw.cs.pub.ro/courses/cpl/meta/catalog">https://ocw.cs.pub.ro/courses/cpl/meta/catalog</a></div><div>[1] <a href="https://docs.google.com/spreadsheets/d/1ihTwAyA_RSln8VglInUD86hTb1PHgB4pA2dXi5ly6b4/edit?usp=sharing">https://docs.google.com/spreadsheets/d/1ihTwAyA_RSln8VglInUD86hTb1PHgB4pA2dXi5ly6b4/edit?usp=sharing</a></div><div><br></div><div><br></div><div><br></div></div>