Perl Programming Project for College

Part 1: (20 points )

Write a Perl program to accomplish each of the following on the file [url removed, login to view] (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


4. Print the data for the objects discovered by the Voyager2 space probe.

5. Print each record with the orbital period given in seconds rather than days.

About [url removed, login to view] 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 field 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 link 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

same 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 digit, 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 both input and output files along with

your source code.

Beceriler: Algoritma, Veri İşleme, Veri Tabanı Yönetimi, Perl, Python

Daha fazlasını gör: satellite programming, python programming class, python discovery, programming words, programming with python, programming in python 3, programming in python, programming in perl, programming college, programming class, planet source code, own programming, objects in programming, class programming, 2 year degrees, programming perl, solar project, python project 6, python perl, negative space, jupiter, capitalization, discovery code, project input output, roman number

İşveren Hakkında:
( 7 değerlendirme ) Brooklyn, United States

Proje NO: #4386947



Hello, I am the premier Perl scripting expert on this site. I will create Perl scripts for each of these tasks in your assignment. All steps in the script will be documented for your understanding. A IDLER

%selectedBids___i_period_sub_7% gün içinde 130%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(98 Değerlendirme)

6 freelancers are bidding on average $119 for this job


I have 14+ years of Perl experience and I need less than a day to complete this task. See PMB for details.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(175 Değerlendirme)

I can do it.

in %bids___i_period_sub_35% gün içinde80%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)

I have an excellent experience in Perl programming, data parsing, processing and an extensive working experience on Unix/Linux platform.

in %bids___i_period_sub_35% gün içinde220%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Ready to help you.

in %bids___i_period_sub_35% gün içinde75%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Hi there. I can easily do this for you, and you'll get full marks. I have extensive programming experience and have done similar projects, both for work and university. I look forward to working with you.

in %bids___i_period_sub_35% gün içinde110%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)