Wednesday, July 28, 2010

CS4 Project Guidelines

CS4 Project Questions
Pick 1 2 or 3 depende sa group size. Denominator is 25*(group size).

1.Create a function that alphabetizes an array of Strings (ignore cases). 20 pts.

2.Create a function that transforms a date in dd/mm/yyyy or dd-mm-yyyy into Month Date, Year. 20 pts.

3.Create a function that returns the longest palindrome inside a word. 25 pts.

4.Create a function that reverses a subdomain string. For example pshs.edu.ph will become ph.edu.pshs. 25 pts.

5.Create a function that checks if a string is a substring of another by using charAt, length and/or substring only. 25 pts.

6.Given an array of Strings, create a function with a string parameter and checks if the array contains that string using ? and * as wildcards by printing the element. ? can be replaced by any character, * can be replaced by a number of characters. Example: a?b*c can be equivalent to axbxmnc. 30 pts.

7.Gene finder. A gene is a substring of a genome that starts with the start codon (ATG), ends with a stop codon (TAG, TAA, or TGA) and consists of a sequence of codons (nucleotide triplets) other than the start or stop codons. The gene is the substring in between the start and stop codons. Print out all genes in the string. 30 pts.

8.Create a function that prints out or returns an array of all the possible anagrams of a word with distinct letters. Anagrams need not be real words. 30 pts.

No comments:

Post a Comment

Include your name, please.