1 ENGI 2420 Structured Programming (Lab Tutorial 0) Memorial University of Newfoundland.

Slides:



Advertisements
Similar presentations
Write a program step by step. Step 1: Problem definition. Given the coordinate of two points in 2-D space, compute and print their straight distance.
Advertisements

Intro to CIT 594
Chapter 7: User-Defined Functions II Instructor: Mohammad Mojaddam.
CSE Spring 2015 INTERMEDIATE PROGRAMMING
COMP171 Data Structure & Algorithm Tutorial 1 TA: M.Y.Chan.
COMS S1007 Object-Oriented Programming and Design in Java July 15, 2008.
Revisions If you received the grade: “R” If you received the grade: “R” You must do a revision to receive a grade for lab 2. You must do a revision to.
COMP171 Data Structures and Algorithm Qiang Yang Lecture 1 ( Fall 2006)
1 Web Based Programming Section 6 James King 12 August 2003.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
H.Melikian Introduction on C C is a high-level programming language that forms the basis to other programming languages such as C++, Perl and Java. It.
Recap (önemli noktaları yinelemek) from last week Paradigm Kay’s Description Intro to Objects Messages / Interconnections Information Hiding Classes Inheritance.
Prof. Barbara Bernal NEW Office in J 126 Office Hours: M 4pm - 5:30 PM Class Lecture: M 6 PM - 8:30 in J133 Weekly Web Lecture between Tuesday to Sunday.
1 Project Information and Acceptance Testing Integrating Your Code Final Code Submission Acceptance Testing Other Advice and Reminders.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition, Fifth Edition Chapter 7: User-Defined Functions II.
1 First Briefing HKDSE 2015 Information and Communication Technology School Based Assessment.
Introduction to Data Structures
Course Information Sarah Diesburg Operating Systems COP 4610.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Principles of Computer Science I Honors Section Note Set 1 CSE 1341 – H 1.
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
1 ENGI 2420 Structured Programming (Lab Tutorial 4) Memorial University of Newfoundland.
Monday, Jan 6, 2003Kate Gregory with material from Deitel and Deitel CO 204 Object Oriented Programming 2003 Trent University Kate Gregory.
CSC 212 – Data Structures Prof. Matthew Hertz WTC 207D /
CS 210 DATA STRUCTURES AND ALGORITHIMS Fall 2006.
CS 240 – Computer Programming I Lab Kalpa Gunaratna –
Engineering 1020 Introduction to Programming Peter King Winter 2010.
1 ENGI 2420 Structured Programming (Lab Tutorial 7) Memorial University of Newfoundland.
Flow of Control and Program Style n Nested if statements n C++ struct n Program Style n Lab Exercise.
ACIS 3504 Accounting Systems and Controls. 2 Dr. Linda Wallace  Office: Pamplin 3092  
Intro to CIT 594
Documentation and Style. Documentation and Comments  Programs should be self-documenting.  Use meaningful variable names.  Use indentation and white.
1 ENGI 2420 Structured Programming (Lab Tutorial 8) Memorial University of Newfoundland.
1 ENGI 2420 Structured Programming (Lab Tutorial 5) Memorial University of Newfoundland.
Winter 2016CMPE212 - Prof. McLeod1 CMPE212 Object Oriented Programming for Engineers Course Web Site: Lecture.
The Hashemite University Computer Engineering Department
1 ENGI 2420 Structured Programming (Lab Tutorial 7) Memorial University of Newfoundland.
1 ENGI 2420 Structured Programming (Lab Tutorial 1) Memorial University of Newfoundland.
Dr. Sajib Datta CSE Spring 2016 INTERMEDIATE PROGRAMMING.
1 ENGI 2420 Structured Programming (Lab Tutorial 3) Memorial University of Newfoundland.
Course Information CSE 2031 Fall Instructor U. T. Nguyen /new-yen/ Office: CSEB Office hours:  Tuesday,
5.1 Basics of defining and using classes A review of class and object definitions A class is a template or blueprint for an object A class defines.
Dr. Sajib Datta Jan 15,  Instructor: Sajib Datta ◦ Office Location: ERB 336 ◦ Address: ◦ Web Site:
Course Information CSE 2031 Fall Instructor U.T. Nguyen Office: CSE Home page:
1 ENGI 2420 Structured Programming (Lab Tutorial 2) Memorial University of Newfoundland.
CMSC 104, Section 301, Fall Lecture 18, 11/11/02 Functions, Part 1 of 3 Topics Using Predefined Functions Programmer-Defined Functions Using Input.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 University of Illinois at Urbana-Champaign Welcome to CS 241 Systems Programming University of Illinois.
Course Information EECS 2031 Fall Instructor Uyen Trang (U.T.) Nguyen Office: LAS Office hours: 
Andy Wang Object Oriented Programming in C++ COP 3330
Course Information EECS 2031 – Section A Fall 2017.
CS1010 Discussion Group 11 Week 3 - Computational Thinking/Algorithms.
CS101 Computer Programming I
IAG0582 Introduction.
CSc 1302 Principles of Computer Science II
Chapter 7: User-Defined Functions II
ACIS 3504 Accounting Systems and Controls
Course Information Mark Stanovich Principles of Operating Systems
Introduction.
Andy Wang Object Oriented Programming in C++ COP 3330
Welcome to Intro to C/C++ CISC 192
Programming II IAX0584 Lecture + lab: Risto Heinsar & Co Vladimir Viies Declare subject to: Vladimir Viies.
ACIS 3504 Accounting Systems and Controls
Documentation and Style
Course Information EECS 2031 Fall 2016.
ECE 103 Engineering Programming Chapter 1 Introduction
Dr. David Matuszek Spring, 2003
ENERGY 211 / CME 211 Lecture 17 October 29, 2008.
Welcome to Intro to C/C++ CISC 192
Presentation transcript:

1 ENGI 2420 Structured Programming (Lab Tutorial 0) Memorial University of Newfoundland

ENGI 2420 – Structured Programming Lab Tutorial Assignment Policy 0.2Grading Scheme 0.3How to use Eclipse C/C++ 0.4How to use Teaching Machine 0.5 Web-submit Lab Tutorial 0

ENGI 2420 – Structured Programming Lab Tutorial 0 3 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

ENGI 2420 – Structured Programming Lab Tutorial 0 4 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

ENGI 2420 – Structured Programming Lab Tutorial 0 5 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.1 Assignment Policy

ENGI 2420 – Structured Programming Lab Tutorial 0 6 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

ENGI 2420 – Structured Programming Lab Tutorial 0 7 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 /********************************************** * Memorial University of Newfoundland * ENGI Structured Programming * Assignment 0 * Author: Lihong Zhang, * Student Number: **** * Engineering login name: lihong * Section 1 * Due: Jan. 19, 2007 * * … and any other information (i.e., comments) that you feel is pertinent … * * HelloWorld.cpp -- a demo of your first lab program ***********************************************/

ENGI 2420 – Structured Programming Lab Tutorial 0 8 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 /********************************************* * main -- output a simple message * * Arguments: none * 0 **********************************************/

ENGI 2420 – Structured Programming Lab Tutorial 0 9 Programming Style (III) Consistent and appropriate indentation (if… else, for, while, etc.) Clean and simple structure (convoluted code is difficult to get right) 0.2 Grading Scheme for (i = 1; i < n; i++) { if (r > s) { r = m + 1; s = n + 1; } else { r = m – 1; s = n – 1; } k = i + 1; }

ENGI 2420 – Structured Programming Lab Tutorial Assignment Policy 0.2Grading Scheme 0.3How to use Eclipse C/C++ 0.4How to use Teaching Machine 0.5 Web-submit Lab Tutorial 0