| CCS 2100 | | Comp 310 | | CCS 1300 | | CCS 1200 | | CCS 1100 | | CCS 1000 | | CS 212 | | Email: cpuccs@yahoo.com
Showing posts with label Array based. Show all posts
Showing posts with label Array based. Show all posts

Wednesday, March 6, 2013

Mock Final Laboratory Exam Sample for Data Structures and Algorithm

The following is the link to the copy of mock test given in preparation for the final exams next week. (Note: click the smaller download link, not the big one in the ads):

Mock Programming Test

URL: http://www.2shared.com/file/3_e-C8Gg/Mock_Test.html

It contains the following:

      1. Abstract classes of the data structures' Array-Based Lists, Linked Lists, Stacks and Queues
      2. Sample programs of the said data structures as well as that of Recursion
      3. Sample test with instructions.

Note of the following laboratory exam schedules for the CCS 1300 S.Y. 2012-2013:
      1826 - March 15
      1827 - March 13
      1829 - March 19
      1830 - March 14

These will be during your laboratory schedule. Admittance only for those who arrive 15 minutes after the time.

Good luck!

Wednesday, January 9, 2013

Array-Based Lists Example

The following is the link for the complete sample program of an integer list that use array-based data structure. (Note: click the smaller download link, not the big one in the ads):

Array-Based List
URL: http://www.2shared.com/file/pA8UVyql/1_-_Array_Based.html

The file is in ZIP format. Simply extract it to access the codes.

Or you may encode the following 5 java classes:

------------------------TestProg_Array.java------------------------

//Test Program Integer Array List
import java.io.*;
import java.util.*;

public class TestProg_Array
{
    static BufferedReader keyboard = new
           BufferedReader(new InputStreamReader(System.in));

    public static void main(String[] args) throws IOException
    {
        UnorderedArrayList intList = new UnorderedArrayList(50);
        IntElement num = new IntElement();