| hw-01 | programming language design - summer'2008, dr. s. yurttas - solution |
| rationale |
|
This is your second assignment to practice and show that
you're able to upgrade, compile and execute a
given application using existing/available
tools, i.e., eclipse/visual studio.
You'll practice the fundamentals of programming using imperative and object-oriented language abstraction mechanisms in C++, C#, and Java to compose an application using multiple functions/methods/classes in a namespace, package designed and identified by you. |
| problem |
You'll rewrite and run the given
application using multiple namespace/package
which counts the frequency of any pattern in a
range(n1throughn2 inclusive)
for each sequence as follows:
-> dna filenames : dna-filenames.txt
[ input sequences -
dna-00 :
ATCTCTAGTCATA
TATCTATCTCTCT
ACTCCTCTTCTCG
TAGACTAGGACCT
TCTTATCTATTCG
GCCTTGTGGACCC
dna-01 :
.
.
.
]
-> input pattern : tc
-> range begin : 2
end : 6
[
dna-00 :
ATCTCTAGTCATA - 2
TATCTATCTCTCT - 1
ACTCCTCTTCTCG - 1
TAGACTAGGACCT - 0
TCTTATCTATTCG - 0
GCCTTGTGGACCC - 0
dna-01 :
.
.
.
]
|
| credit : 10 points due June 20 by 11pm presented on your students website using given template . |