






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A midterm exam for the cmsc132 course during the summer 2006 semester. The exam covers various topics including hashing, networking, sorting, algorithmic complexity, regular expressions, recursion, linear data structures, and maps/sets. The exam consists of multiple-choice and short answer questions.
Typology: Exams
1 / 11
This page cannot be seen from the preview
Don't miss anything!







c. ftp client
The static method reverse has the following prototype: public static String reverse(int[] a) The method returns a string with the elements of the integer array in reverse order. For example, the method call reverse(new int[]{10, 20, 30}) will generate the string 30 20 10. An empty space should appear between elements. The method should return the empty string (“”) if an array of size zero is provided. Feel free to add an auxiliary method. Non-recursive solutions will receive no credit.
The following Java class definition is for a singly linked list: public class LinkList
/* Complete this method / } public List