| hw-01 | programming language design - spring'2008, dr. s. yurttas - solution |
| rationale |
|
This is your second assignment to practice and show that
you're able to maintain/adapt 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++ and C# | Java to compose an application using multiple functions/methods/classes. |
| problem |
You'll modify the given application
which counts the frequency of set of patterns
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 :
.
.
.
]
-> patterns filename : patterns.txt
-> range begin : 2
end : 6
[
dna-00 : "aga" -
ATCTCTAGTCATA - 2
TATCTATCTCTCT - 1
ACTCCTCTTCTCG - 1
TAGACTAGGACCT - 0
TCTTATCTATTCG - 0
GCCTTGTGGACCC - 0
dna-01 : "aga" -
.
.
.
]
[
dna-00 : "cta" -
.
.
.
dna-01 : "cta" -
.
.
.
]
|
| credit : 20 points due February 11 by 11pm presented on your students website using given template . |