Tag Archives: homework03

Homework: substr function

Reading characters in a string with substr

Today we are going to learn about a new function with the friendly name of “substr”! Its purpose is to extract a piece of a string, also known as substring. This is homework hw6.

Continue reading

Tagged

Homework: from genes to proteins (hw5)

Homework: (hw5)

This time we are going to put together things we already know to do something a bit more complicated. We are going to write a program that translates a DNA sequence to RNA and then to the protein it encodes. This is a real example of what you can do, not bad uh?

This is also the hardest homework of this gap, and to be honest after this one you will have just one final “review” homework.

Continue reading

Tagged

Homework: hashes

Hashes (hw4)

Remember hashes? They are like arrays, a collection of boxes. The main difference is that each box has a name instead of a number. Today’s homework is about hashes!
Continue reading

Tagged

Homework: reviewing Perl basics

Review homework (hw3)

If you have Linux on your laptop you can download the program and change it with a text editor like we did in the lab. Note that your Linux may be a little different, so you may need to looks for the Terminal and the Text Editor, but they are there somewhere. If you do not have Linux yet, you can use codepad. This task is codedhw3” (not hw-3 or hw-03…. right?).

Continue reading

Tagged

Homeworks: Arrays and foreach

Arrays and the foreach loop hw2

In this homework we are going to do some simple changes to a perl program, like we did during the last lab session. If you have Linux on your laptop you can download the program and change it with a text editor like we did in the lab. Note that your Linux may be a little different, so you may need to looks for the Terminal and the Text Editor, but they are there somewhere. If you do not have Linux yet, you can use codepad. This task is coded “hw2“. Continue reading

Tagged

Homeworks: testing conditions

IF homework (hw1)

This is the first official homework you get! In this homework we are going to do some simple changes to a perl program, like we did during the last lab session.

If you have Linux on your laptop you can download the program and change it with a text editor like we did in the lab. Note that your Linux may be a little different, so you may need to looks for the Terminal and the Text Editor, but they are there somewhere. If you do not have Linux yet, you can use codepad. This task is coded “hw1“.

Continue reading

Tagged ,

After Lab03: homeworks

Screenshot 2014-04-03 14.00.19As promised we scheduled some excercises to be published daily in this blog. Please check it regularly. The very first are so simple that will not require further explanations, while in the future you’ll get some more complex task to submit to the instructors to be evaluated.
Please, stay tuned clicking here to view the list.

Continue reading

Tagged