IAG0582 Introduction
Contacts Margit Aarna Risto Heinsar Nesting grounds: ICT-517 margit [ät] ati.ttu.ee Risto Heinsar risto.heinsar [ät] ttu.ee Nesting grounds: ICT-517 https://blue.pri.ee/ttu 2017
Group selection – this one is special This is a lecture + lab type of class. The following rules only apply to our English lab time! There is no separate lecture The tests are conducted during the labs Everything will be submitted to and graded by us Transfers to and from the other lab (running concurrently with us) are allowed for the first three weeks. 2017
Prerequisites C program structure Variable declarations Arrays, up to 2 dimensions Loops Conditionals Strings Functions Ability to create a decent title page and write documentation 2017
What to expect Pointers Binary operations File access Programming microcontrollers Structures Database connections (SQL) Dynamic memory management etc. Recursions Advanced data structures (stack, linked list) 2017
Coding style Using our coding style is highly recommended, but not mandatory. If you already have a commonly acceptable style, we’ll allow it. However the following is mandatory Meaningful comments (functions, files, complex operations, conditions etc.) Different naming schemes for variables, functions, macros Whitespace (empty lines, spaces) Line length Uniformity – sticking with the style throughout the code 2017
Borrowing ideas and code When using code written by someone else, you must understand exactly what it does and how it does it. When working together in the lab, everybody involved must have full understanding of the code. We may ask you to defend your lab tasks, homework, test or exam code. In this case, the score will be 0 until a successful defense. Obvious and intentional plagiarism will be dealt with according to the procedure for processing contemptible behavior. 2017
Your grade 15p homework I 15p homework II 10p homework III 65p exam 2p for advanced solutions 15p homework II 10p homework III 65p exam “5” 90p+ “4” 80 – 89p “3” 70 – 79p “2” 60 – 69p “1” 50 – 59p “0” 0 – 49p 2017
The exam Prerequisite = tests (40p) + lab (36p) + bonus (10p) Pre-exam Exam Prerequisite 60p During a lab time Some topics removed Prerequisite 50p During the examination session All of the topics Prerequisite = tests (40p) + lab (36p) + bonus (10p) You can only use the lab computer Exam will consist of code and a written part 2017
Homework I and II Homework I (15p base + 2p bonus) Using structures Files Homework II (15p base + 2p bonus) Dynamic memory management Error-proofing … and everything we’ve learnt so far (style, functions etc.) Each week past deadline reduces the score by 1p (up to -5p)* 2017
Homework III Database Programming a microcontroller Your own project Communicating with a database Creating a simple UI Programming a microcontroller TBD Your own project If you have something in mind that’s related to this subject and you really want to do it Only with specific per-project agreements 2017
Labs and bonus points A total of 36p (attendance, solving tasks, pop quizzes, etc.) Only accepted face to face When finished, let us know Most tasks have advanced subtasks/extras If you didn’t finish in time, do it at home and show at a later date. The bonus points are earned by implementing additional functionality to your code that wasn’t specified in the requirements 2017
Tests Test 1 (20p) Pointers Files Structures Test 2 (20p) Dynamic memory allocation Stack Relations Recursion Tests will consist of code and a written task (questions about material) 2017
Deadlines and dates Item Date Comment Homework I 05.03.2017 Homework II 23.04.2017 Homework III xx.05.2017 Date is provided by task supervisor! Homework III custom 28.04.2017 Agreement only Test I 08.03.2017 During the lab Test II TBD Tests lock 17.05.2017 12:00 16th week lab time Labs, bonus lock 05.05.2017 Hard deadline, no longer accepted HWI, HWII lock Pre-exam 2017
Consultations For now: use any of our other programming II lab times Wed 8:00 – 11:30 Fri 10:00 – 12:30 Fri 13:00 – 15:30 There will be a dedicated time announced later 2017
Questions? 2017