Print the percentage of each nucleotide, JAVA Programming

Assignment Help:

1. In this lab assignment we will be using the vim or emacs editor in addition to the commands we have already learned. Open a shell terminal and create a file named in your home directory (use only lowercase letters). In this lab you will construct a few short Perl programs that perform the actions specified below.

List of tasks

1. The following is a section of a program. Show the value of each variable at each step:

@array = (0, 2..6,"abc");         what is @array?

$a = pop(@array);                  what is $a?

$b = shift (@array);                what is $b?

what is @array?

2. Read each of the words contained in the array @ARGV. Print words and the number of their occurrence to standard output line by line (note: case matters here). For example, if your script is called "count.pl", then executing ./count.pl the test program Test the word generates

test                  1

Test                 1

the                   2

word                 1

program           1

3. Read in the file dna.seq (in ~afigueroa/csci2344/lab9) and count the number of As, Ts, Cs. and Gs. Print the percentage of each nucleotide. Note: your program should be case insensitive.


Related Discussions:- Print the percentage of each nucleotide

Spring application support, JAVA, JSF(primefaces), SPRING Application Suppo...

JAVA, JSF(primefaces), SPRING Application Support Project Description: We require some one to be part of our team's new development , it's small application but in future, ch

What content issues is happened in java language, What Content Issues is ha...

What Content Issues is happened in java language? Some people claim in which Java is insecure since it can show the user erotic pictures and play flatulent noises. By this stan

The tic-tac-toe program, Instructions Modify the program so that the co...

Instructions Modify the program so that the computer will generate moves for the ‘O' player (it must continue to accept user input for ‘X'). A simple way to do this is to use a

the file system simulator , • Study and enhance the File System Simulator ...

• Study and enhance the File System Simulator - See the FS_sim slide deck • New features - blockinfo - a new application that displays the information about the blocks in the file

Break statement, The break statement is utilized for terminating the curren...

The break statement is utilized for terminating the current While or For loop and after that transferring program control towards statement just after the terminated loop. The foll

Difference among microprocessors and microcontrollers, What is the differen...

What is the difference among microprocessors and microcontrollers? Give one example of both? The microprocessor is electronic equipment that can perform various functions and a

Java script, var temp =14; var y = 2; temp document.write(temp);

var temp =14; var y = 2; temp document.write(temp);

Data structure of different delimiters, In this experience you will make th...

In this experience you will make the neophyte Java programmer happy by solving, to a limited extent, an age-old problem in programming:  mismatched delimiters.  As we all know, eve

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd