{"id":36,"date":"2020-11-30T17:39:17","date_gmt":"2020-11-30T17:39:17","guid":{"rendered":"http:\/\/193.6.135.162\/~kocsisg\/?page_id=36"},"modified":"2020-11-30T17:39:18","modified_gmt":"2020-11-30T17:39:18","slug":"programming-languages-1","status":"publish","type":"page","link":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/en\/programming-languages-1\/","title":{"rendered":"Programming Languages 1"},"content":{"rendered":"\n<p><strong>Time of classes:<\/strong><\/p>\n\n\n\n<p>Tuesday 12:00-14:00, (IK-103)<\/p>\n\n\n\n<p><strong>Lab exercises and solutions<\/strong><\/p>\n\n\n\n<p><strong>Lesson 1:<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2020\/02\/lesson01.pdf\">lesson01.pdf<\/a> (<a href=\"https:\/\/www.dropbox.com\/s\/oqvjsfneniq3gmm\/les1_ex1.c?dl=0\">les1_ex1.c<\/a>)<\/p>\n\n\n\n<p><strong>Lesson 2: <\/strong><a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/lesson02.pdf\">lesson02.pdf<\/a> (<a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2020\/02\/les2.zip\">les2.zip<\/a>)<\/p>\n\n\n\n<p><strong>Lesson 3:<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/lesson03.pdf\">lesson03a.pdf<\/a> (<a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2020\/02\/les3.zip\">les3.zip<\/a>)<\/p>\n\n\n\n<p><strong>Lesson 4:<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/lesson04.pdf\">lesson04.pdf<\/a> (<a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2020\/03\/les4.zip\">les4.zip<\/a>)<\/p>\n\n\n\n<p><strong>Lesson 5:<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/lesson05.pdf\">lesson05.pdf<\/a> (<a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2020\/03\/les5.zip\">les5.zip<\/a>)<\/p>\n\n\n\n<p><strong>Lesson 6:<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/lesson061.pdf\">lesson06<\/a> ()<\/p>\n\n\n\n<p><strong>Practice Lesson:<\/strong> Sample Test: <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/zh1_friday2.pdf\">sample_test<\/a> ()<\/p>\n\n\n\n<p><strong>more practice exercises:<\/strong> https:\/\/adriann.github.io\/programming_problems.html<\/p>\n\n\n\n<p><strong>Lesson 7:<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/lesson561.pdf\">lesson7<\/a> ()<\/p>\n\n\n\n<p><strong>Lesson 8:<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/lesson71.pdf\">lesson8<\/a> ()<\/p>\n\n\n\n<p><strong>Lesson 10:<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/lesson93.pdf\">lesson9<\/a> ()<\/p>\n\n\n\n<p><strong>Lesson 12<\/strong> <a href=\"http:\/\/irh.inf.unideb.hu\/~kocsisg\/wp-content\/uploads\/2012\/02\/zh2_sample1.pdf\">zh2_sample<\/a> ()<\/p>\n\n\n\n<p><strong>Criteria to pass course<\/strong><\/p>\n\n\n\n<ul><li>Students must not miss more than 3 classes in the semester<\/li><li>Students must not late more than 20 minutes from classes. In the opposite case the student is registered as being absent from the class (However (s)he is still allowed to stay in the class).<\/li><li>The knowledge of the students will be measured in two tests and at the end of the semester the worse from these two can be retaken<\/li><li>Students pass a test if their result is not lower then 50%.<\/li><li>Students get signature if they pass 2 tests and the average of these two tests is not lower than <strong>60%<\/strong>.<\/li><li>If a student fails both the first and the second test, (s)he can retake the worse exam with special conditions. Namely the average of the retake exam, and the better exam from the first two, has to reach <strong>60%<\/strong>.<\/li><li>If both tests are under 30% the student has to get<strong> at least 90%<\/strong> on the retake to pass.<\/li><li><strong>There is only one retake test in the semester.<\/strong><\/li><\/ul>\n\n\n\n<p>Examples:<br>exam 1: 60%, exam 2: 60% -&gt; passed, no retake exam is needed<br>exam 1: 60%, exam 2: 40% -&gt; 60% is needed on retake. retake exam: 75% -&gt; passed<br>exam 1: 90%, exam 2: 30% -&gt; 50% is needed on retake. retake exam: 40% -&gt; failed<br>exam 1: 20%, exam 2: 20% -&gt; 90% is needed on retake. retake exam: 92% -&gt; passed<br>exam 1: 20%, exam 2: 40% -&gt; 80% is needed on retake. retake exam: 75% -&gt; failed<\/p>\n\n\n\n<p>Note that if a student fail only one test and pass the other the result on the retake has to be at least 50% no matter of the result of the passed test. (See the 3rd example above.)<\/p>\n\n\n\n<p><strong>Syllabus <\/strong>(the topics may shift in time)<\/p>\n\n\n\n<p><strong>Practice 1. <\/strong>Modelling, Linux basics, &#8220;Hello world&#8221; Structure of the C language, printf(), scanf() <strong>Practice 2. <\/strong>Control sequences in C (if, switch, while, do-while, for)<strong>Practice 3. <\/strong>C operators and expressions, static arrays in C, \/, % <strong>Practice 4. <\/strong>Sort and search <strong>Practice 5. <\/strong>FILE pointers, FILE I\/O <strong>Practice 6. <\/strong>First practice exam. <strong>Practice 7. <\/strong>Functions and &#8220;procedures&#8221;, pointers <strong>Practice 8. <\/strong>Strings in C <strong>Practice 9. <\/strong>The linked list <strong>Practice 10. <\/strong>More about linked lists <strong>Practice 11. <\/strong>Binary tree <strong>Practice 12. <\/strong>Second practice exam <strong>Practice 13. <\/strong>See results. <strong>Practice 14. <\/strong>Third practice exam.<\/p>\n\n\n\n<p><strong>Recommended reading:<\/strong><\/p>\n\n\n\n<p>Kernighan, Brian W.; Dennis M. Ritchie (February 1978). <em>The C Programming Language<\/em><\/p>\n\n\n\n<p><a href=\"http:\/\/einstein.drexel.edu\/courses\/Comp_Phys\/General\/C_basics\/\">Basic C tutorials<\/a><\/p>\n\n\n\n<p><a href=\"http:\/\/englishstudies.sci.unideb.hu\/images\/documents\/Rulesandregulations.pdf\">RULES AND REGULATIONS FOR STUDENTS OF THE ENGLISH PROGRAM<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Time of classes: Tuesday 12:00-14:00, (IK-103) Lab exercises and solutions Lesson 1: lesson01.pdf (les1_ex1.c) Lesson 2: lesson02.pdf (les2.zip) Lesson 3: lesson03a.pdf (les3.zip) Lesson 4: lesson04.pdf (les4.zip) Lesson 5: lesson05.pdf (les5.zip) Lesson 6: lesson06 () Practice Lesson: Sample Test: sample_test () more practice exercises: https:\/\/adriann.github.io\/programming_problems.html Lesson 7: lesson7 () Lesson 8: lesson8 () Lesson 10: lesson9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwidth.php","meta":[],"_links":{"self":[{"href":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/wp-json\/wp\/v2\/pages\/36"}],"collection":[{"href":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":1,"href":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/wp-json\/wp\/v2\/pages\/36\/revisions"}],"predecessor-version":[{"id":37,"href":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/wp-json\/wp\/v2\/pages\/36\/revisions\/37"}],"wp:attachment":[{"href":"https:\/\/irh.inf.unideb.hu\/~kocsisg\/index.php\/wp-json\/wp\/v2\/media?parent=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}