tutorial08

tutorial08 - CSC2100B 2007 Spring Data Structures Tutorial...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
07:01 07:01   1 CSC2100B 2007 Spring Data Structures Tutorial 8 Last updated: 12 March, 2007 Deng Hongbo  Email: hbdeng [at] cse.cuhk.edu.hk Office: SHB101
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
07:01 07:01   2 Feedbacks on assignment 1 Scores: coming soon (this week). Please check your  s??????@mailserv.cuhk.edu.hk   account. Notable errors: Documentation errors: Lack of class header description. Please say something about the actual functionality  of that class, instead of  “ This is assignment 1 ” ,  This is the main class ” etc. Lack of comments in code. (Especially if your code is  hard for human to understand!) Some improper indentation.
Background image of page 2
07:01 07:01   3 Feedbacks on assignment 1 Notable errors: Question 1 ( Palindrome ) Stack declared using the stack implementation class instead  of the Stack ADT interface class Stack_v1 myStack = new Stack_v1(); //Wrong Stack myStack = new Stack_v1(); //OK Similar problem for the queues in question 2. No input prompt “Please input the character string:”  which is  required by the specification. No while loop (The program should keep reading in new lines  from System.in, until the line contains the word ‘quit’).
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 20

tutorial08 - CSC2100B 2007 Spring Data Structures Tutorial...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online