Perl Programming Project
$10-20 USD
Dibayar saat pengiriman
OVERDUE need help immediately
Must Provide Thorough Explanation
NOTE: Please only SIMPLE code, no advanced techniques
Part 1:
(20
points )
Write a Perl program to accomplish each of the following on the file
solar
.txt
(see link at
the class homepage)
1.
Print all records that do not list a discoverer in the eighth field.
2.
Print every record after erasing the second field. Note: It would be better to say
"print every record"
omitting
the second field.
3.
Print the records for satellites that have negative
orbital periods. (A negative
orbital period simply means that the satellite orbits in a counterclockwise
direction.)
4.
Print the data for the objects discovered by the Voyager2 space probe.
5.
Print each record with the orbital period given in seconds rathe
r than days.
About
solar
.txt file:
This file contains lines of 9 items, the first being:
Adrastea XV Jupiter 129000 0.30 0.00 0.00 Jewitt 1979
in alphabetical order by the name of the planet or moon (first field).
The text in [] is the corresponding fie
ld from the line above.
The fields in this file are:
1.
Name of planet or moon [Adrastea]
2.
Number of moon or planet (roman numerals) [XV]
3.
Name of the abject around which the satellite orbits [Jupiter]
4.
Orbital radius (semimajor axis) in kilometers [129000]
5.
Orbital period in days [0.30]
6.
Orbital inclination in degrees [0.00]
7.
Orbital eccentricity [0.00]
8.
Discoverer [Jewitt]
9.
Year of discovery [1979]
Part 2:
(20
points )
Separate, count and sort the words in the example text file,
[url removed, login to view]
(see l
ink at the
class homepage). Sort in the following orders
and your output should be nicely lined up
in columns to the output file.
1.
alphabetically (ignoring capitalization),
2.
alphabetically with upper case words just in front of lower case words with the
sam
e initial characters
3.
by frequency, from high to low, (any
order for equal frequency)
4.
by frequency, with alphabetical order for
words with the same frequency
Part 3
:
(10
points )
Write a perl program that replaces all digits with the name of the di
git, so every "0" is
replaced with "zero" , "1" is replaced with "one", ... "9" is replaced with "nine". Test your
program with your own input file containing digits and letters. Your program should
write the result to output file and you need to print bot
h input and output files along with
your source code
ID Proyek: #10094532
Tentang proyek
Diberikan kepada:
Hi! My name is Tomasz Kustra, and I am from Poland. I am interested in this project. As you can see I completed many projects in PERL. Those exercises you described wouldn't be a problem for me. I am exper Lebih banyak
9 freelancer rata-rata menawar $57 untuk pekerjaan ini
Thanks for your project. I am the premier Perl scripting expert on these freelancing sites. I will design Perl scripts for the 3 exercises (and their many sub-parts) in the posting. I will use Perl code that I belie Lebih banyak
Hello More 20 years programming experience. I need more details to set real price and time. Regards. ----------------------------------------------------------------------------------------------------------------- Lebih banyak
Respected Sir, We are a group of Computer Science graduates, with specializations in Web, Desktop and Mobile apps. We have vast experience developing solutions for our customers. We have completed a number of project Lebih banyak
I am presently pursuing my undergrad degree and have completed a course on perl. I believe i am the right person for this and i can complete this is one day. Also, i have a fast internet connection.