============================= Guidelines for Evaluating LT1 ============================= =================================================================== Program: [A] Mosaic-Meme =================================================================== ------------ Input/Output ------------ ----------------------------------------------------------- Variable declarations and taking input 1 Print the rhombus number pattern 2 ----------------------------------------------------------- Total 3 ----------------------------------------------------------- ---- Code ---- ----------------------------------------------------------- Looping to generate proper number pattern 12 [ 4 parts of the pattern: ( 1.5 marks x 2 ) x 4 * top-left half -- half blank and half pattern diagonally * top-right half -- half pattern and half blank diagonally * bottom-left half -- half blank and half pattern diagonally * bottom-right half -- half pattern and half blank diagonally ] ----------------------------------------------------------- Total 12 ----------------------------------------------------------- =================================================================== Total for [A] 15 =================================================================== =================================================================== Program: [B] Containment-Zone =================================================================== ------------ Input/Output ------------ ----------------------------------------------------------- Array and Variable declaration 2 Reading the points and storing in arrays 2 Printing the canvas properly 2 Printing the rectangle information 1 ----------------------------------------------------------- Total 7 ----------------------------------------------------------- ---- Code ---- ----------------------------------------------------------- Finding the corners of bounding rectangle find bottom-left corner 1.5 find top-right corner 1.5 Printing Code for the spatial canvas: for all (+) labeled points 2 for all (-) labeled points 2 for X-axis labels 2 for Y-axis labels 2 for rectangle boundary properly 3 Determine impossibility of bounding rectangle 2 Overall main routine and checks 2 ----------------------------------------------------------- Total 18 ----------------------------------------------------------- =================================================================== Total for [B] 25 =================================================================== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =================================================================== Grand Total [ A + B = 15 + 25 ] 40 =================================================================== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note: * Poor Indentation Penalty = -4 (-2 for each program) * Deduct 1/3-rd marks as penalty from the total marks obtained in Code-part, if "function" is used * Deduct 1/3-rd marks as penalty from the total marks obtained in Code-part, if "2D-arrays" are used