Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
CS 270 –Data Structures 
Labs – Spring 2022 
 
Programming Guidelines 
To receive full credit your program must follow these guidelines: 
1. Include as part of your documentation a program header with the following format: 
  Name: Your Name 
  Course: CS 270 
  Assignment: Lab Number and Program title 
  Date: the current date 
  Sources consulted: any books, individuals, websites (link to web page), etc. 
  Known Bugs: description of any known problems 
  Creativity: anything extra that you added to the lab, please be very specific here  
2. Javadoc comments at the beginning of every class and method describing what it does, 
the return value, each parameter, and any exceptions thrown. 
3. Make use of methods where appropriate 
4. Improve readability by using consistent indentation of compound statements, loops, if 
statements, etc. 
5. Make use of local variables and private class members as appropriate (information 
hiding). 
 
Submitting Lab Assignments 
Before the due date and time submit your source files (.java) to Sakai. 
1. Do not submit bytecode files (files ending in .class). Just submit your java code files 
(files ending in .java) and data files needed to run your program. 
2. You may find it convenient to zip all the required files and then submit the .zip file. 
 
Late Programs:  
Labs that are submitted late without prior discussion with the instructor will not be accepted. All 
labs must be submitted by the due date and time unless a “late day” is used.  
Note: In case of difficulties completing the assignment try to submit a working program even if 
parts of the program do not work correctly. Include a "known bugs" section in your 
documentation to specify any known problems. This type of section is common in software 
documentation.   
 
 
Lab Assignments 
Lab Assignment Topic Due Questions 
Lab 1 Description 
Framework 
Grading 
Review Java: file I/O, one-dim and 
two-dim arrays, javadoc -- Eclipse 
IDE 
2/14/2022 lab-chat  
Lab 2 Description 
Framework  
JUnitTests 
Grading 
Employee Database 
 –    Interface/Abstract classes 
– Subclass and Superclass 
2/28/2022 lab-chat  
Lab 3 Description 
Data Files 
Source Code 
Grading 
 
Inheritance, Abstraction Classes, 
ArrayList, and JUnit Testing 
3/7/2022 lab-chat 
Lab 4 Description 
KWArrayList.java 
Grading 
ArrayList Implementation 3/14/2022 lab-chat 
Lab 5 Description 
KWLinkedList  
Grading 
LinkedList Implementation with 
ListIterator 
3/21/2022  lab-chat  
Lab 6 Description 
Framework 
Grading  
Single-Linked List Stack 4/4/2022  lab-chat  
Lab 7 Description 
Framework 
Grading 
Queues and Mazes 4/11/2022 lab-chat