Introduction to Computer Science I by James Tam Return to the course web page

CPSC 231: Assignment 6 (Marking)

 

Category

Effect on grade

Submission guidelines

 

  Incomplete contact information on printout -2 marks
  Missing electronic submission No marks will be received for program functionality (the only marks granted may come from documentation and programming style)
  Missing or incorrect title in the subject line of email (if submission was mailed) -4 marks
     
Program documentation 14 marks maximum
  High level description of what the program is supposed to do 1 mark
  Describes the limits of the program 1 mark
  Describes the algorithm employed by the program (e.g., how it the computer modifier is determined from the computer type). 2 marks
  The electronic and paper README file includes contact information and correctly lists the features that were implemented 4 marks
  Version number or date of the program 1 mark
  Features implemented in this version 1 mark
  Paper printout includes all of the source code 4 marks
     
Style marks 10 marks maximum
  Naming conventions (e.g., variables, constants) 2 marks
  Appearance and whitespace 2 marks
  Consistency of formatting 2 marks
  Initialization of variables before they are used 2 marks
  Program uses global variables -4 marks for all (and not each) cases
  Program does not employ the principles of modular design e.g., program divided into functions and procedures each with a clearly defined task -4 marks
  Appropriate use of constants 2 marks
     
Program functionality 46 marks maximum
  Displays an introduction 1 mark
  Displays a conclusion 1 mark
  Displays a menu 1 mark
  Declares a new type 'MyString' 1 mark
  Declares an instance of 'MyString' 1 mark
  Can read input into the instance 1 mark
  Can display the contents of the instance 1 mark
  Prevents overflowing of the array 6 marks
  Counts the number of occurrences of a character 6 marks
  Determines the length of the string 6 marks
  Performs a search and replace of characters in the array 6 marks
  Can detect and properly deal with empty strings 6 marks
  Can detect and properly deal with a space during a count 3 marks
  Can detect and properly deal with a space as the search character 3 marks
  Can detect and properly deal with a space as the replacement character 3 marks

Total marks

ASSIGNMENT GRADE