100 likes | 232 Views
ENGI 2420 Structured Programming (Lab Tutorial 0). Memorial University of Newfoundland. 0.1 Assignment Policy 0.2 Grading Scheme 0.3 How to use Eclipse C/C++ 0.4 How to use Teaching Machine 0.5 Web-submit. Lab Tutorial 0. 0.1 Assignment Policy. Weekly Assignments.
E N D
ENGI 2420Structured Programming (Lab Tutorial 0) Memorial University of Newfoundland
0.1 Assignment Policy0.2 Grading Scheme0.3 How to use Eclipse C/C++0.4 How to use Teaching Machine0.5 Web-submit Lab Tutorial 0
0.1 Assignment Policy Weekly Assignments • There will be weekly assignments • All assignments are due at 11:59 pm the day after the lab for your section • Late assignments will not be accepted except by special permission of the lecturer • Submitted electronically through the “web-submit” system • Must be submitted in ONE file called "assignn.cpp", where n is the assignment number (such as “assign0.cpp”) • Note that capitalization and spaces MATTER! assign0.cpp NOT ASSIGN0.cpp NOR assign_0.cpp
0.1 Assignment Policy Program Testing • Behavior of your submitted assignment will be checked by an automated testing program • You are responsible for testing your own program to ensure that it works correctly • the Eclipse environment with the MinGW toolchain, as available in EN-3000/3029, will be the final arbitrators of compiler
0.1 Assignment Policy Group Work • Writing and debugging your own code • Sharing of assignments or working in groups is NOT permitted • Any instances of copying will be treated as plagiarism • Note that allowing someone else to copy your assignment is treated the same as copying an assignment from someone else • However, discussing problems with others is strongly encouraged
0.2 Grading Scheme Grading Scheme • Total 10 marks graded in two parts: behavior and style • Program behavior (7 Marks) - checked by an automated testing program that will not be made available to you - tested using a standard set of test cases (also unknown to you) - your responsibility to ensure that your program works correctly in all cases • Programming style (3 Marks) - TAs will evaluate your code for style - TAs will state the reason why some marks are deducted
0.2 Grading Scheme Programming Style • Mnemonic variable and function names e.g., “avgStrideNum” for a variable meaning average-stride-number • Appropriate comment blocks for files and functions - An initial file comment block
0.2 Grading Scheme Programming Style (II) • Appropriate comment blocks for files and functions - the definitions for the function main - declarations and definitions for any other functions needed • Meaningful and balanced comments, which mean neither too little nor too much - worthless comment (e.g., x = a + 5; // assign a plus 5 to x)
0.2 Grading Scheme Programming Style (III) • Consistent and appropriate indentation (if… else, for, while, etc.) • Clean and simple structure (convoluted code is difficult to get right)
0.1 Assignment Policy0.2 Grading Scheme0.3 How to use Eclipse C/C++0.4 How to use Teaching Machine0.5 Web-submit Lab Tutorial 0