SlideShare a Scribd company logo
1 of 2
Download to read offline
I'm not trying to be rude, but I have had multiple of you "experts" give me wrong answers and
explanations or just lie. I am trying to get correct answers and understand these problems so
please if you are just going to completely ignore the questions provided below and give different
answers then don't bother.
Problems to solved/answered (please use python) 1. Library of Congress - Description Expected
duration: 36 hours Problem You are working in the Library of Congress as a data entry intern.
The library is looking to overhaul some of their older works and wants to make sure that they are
correct and get some basic data from each file. As you open your assigned files, you discover
that they have all been scrambled together. The lines from each of your three texts have been
placed in random order and the only clue that you have is the identifier at the end of each line.
Each line in the scrambled file contains the line in the text file, a line number, and a three-letter
code that identifies the work. Each of these items is separated by the character. For example, it
ran away when it saw mine coming!" 164 ALC cried to the man who trundled the barrow; "bring
up alongside and help|27|TRI "Of course he's stuffed," replied Dorothy, who was still angry. 46
woo Your task is to write a program that reads each line in a text file, separates and unscrambles
the texts, and collects the basic data you'd first set out to collect. The file name is a command
line parameter. For each text, you must determine 1. Its longest line (and the corresponding line
number), 2. its shortest line (and corresponding line number), and 3. the average length of the
lines in the entire text. If there are multiple lines with the shortest or longest length, use the line
number as a tiebreaker: earlier lines are "shorter" and later lines are "longer". The average should
be rounded to the closest integer. The summary of data should be stored in a file named The
summaries should be sorted by three-letter code and should be formatted as follows:
ALC Longest line (107): "No, I didn't," said Alice: "I don't think it's at all a pity. Shortest line
(148): to." Average length: 59 woo Longest line (66): of my way. Whenever I've met a man I've
been awfully scared; but Shortest line (71): go." Average length: 58 The texts themselves should
be stored in a file named . This file should contain the three-letter code for a work followed by its
text. The lines must all be included and should be ordered and should not include line numbers or
three-letter codes. The texts should be separated by a single line with five characters. The result
should look like the following:
ALC A large rose-tree stood near the entrance of the garden: the roses growing on it were white,
but there were three gardeners at it, busily painting them red. Alice thought this a very curious
thing, and she went nearer to watch them, and just as she came up to them she heard one of them
say, "Look out now, Five! Don't go splashing paint over me like that!" "I couldn't help it," said
Five, in a sulky tone; "Seven jogged my elbow." On which seven looked up and said, "That's
right, Five! Always lay the blame on others!" TRI SQUIRE TRELAWNEY, Dr. Livesey, and the
rest of these gentlemen having asked me to write down the whole particulars about Treasure
Island, from the beginning to the end, keeping nothing back but the bearings of the island, and
that only because there is still treasure not yet lifted, I take up my pen in the year of grace 17_.
and go back to the time when my father kept the Admiral Benbow inn and the brown old seaman
with the sabre cut first took up his lodging under our roof. I remember him as if it were
yesterday, as he came plodding to the inn door, his sea-chest following behind him in a hand-
barrow--a tall, strong, heavy, nut-brown man, his tarry pigtail falling over the WOO All this time
Dorothy and her companions had been walking through the thick woods. The road was still
paved with yellow brick, but these were much covered by dried branches and dead leaves from
the trees, and the walking was not at all good. There were few birds in this part of the forest, for
birds love the open country where there is plenty of sunshine. But now and then there came a
deep growl from some wild animal hidden among the trees. These sounds made the little girl's
heart beat fast, for she did not know what made them; but Toto knew, and he walked close to
Dorothy's side, and did not even bark in return.
In 1-3 sentences, what is this program supposed to do? What are the inputs and outputs to the
program? For each input or output, specify its type and give a plausible example value that the
input or output could take. Consider formatting your output with markdown tables for clarity.
Here is an example table:
Which concepts from class will be useful as you work on this project? How do you anticipate
using these concepts? Consider using markdown formatting. An example follows: # 'print()'
function The 'print()' function will be useful for writing text to the termi Write a pseudocode
outline of your program. Demonstrate that you have decomposed the problem into smaller, more
manageable pieces.
Write three specific, verifiable things that must be true of my program if it is working correctly.
Consider formatting with markdown. An example follows: 1. If the input to my program is 2 ,
the result should be 7. 2. If the input to my program is negative, the program should print

More Related Content

Similar to Im not trying to be rude, but I have had multiple of you experts .pdf

There will-come-soft-rains-mini-scheme
There will-come-soft-rains-mini-schemeThere will-come-soft-rains-mini-scheme
There will-come-soft-rains-mini-schemePato_Ch
 
Grammar Assignment 3 Capitalization, Commas in a Series, and .docx
Grammar Assignment 3 Capitalization, Commas in a Series, and .docxGrammar Assignment 3 Capitalization, Commas in a Series, and .docx
Grammar Assignment 3 Capitalization, Commas in a Series, and .docxjosephineboon366
 
Pin On Fie De Lucru. Online assignment writing service.
Pin On Fie De Lucru. Online assignment writing service.Pin On Fie De Lucru. Online assignment writing service.
Pin On Fie De Lucru. Online assignment writing service.Amy Moore
 
English 111, August 23, 2012
English 111, August 23, 2012English 111, August 23, 2012
English 111, August 23, 2012Miami University
 
Essay Descriptive. How to Write a Descriptive Essay: Tips to Consider
Essay Descriptive. How to Write a Descriptive Essay: Tips to ConsiderEssay Descriptive. How to Write a Descriptive Essay: Tips to Consider
Essay Descriptive. How to Write a Descriptive Essay: Tips to ConsiderMaggie Cooper
 
Pastiche & Defense EssayPastiche & Defense In a nutshell, a pa.docx
Pastiche & Defense EssayPastiche & Defense In a nutshell, a pa.docxPastiche & Defense EssayPastiche & Defense In a nutshell, a pa.docx
Pastiche & Defense EssayPastiche & Defense In a nutshell, a pa.docxherbertwilson5999
 
Spreadsheets are graphs too: Using Neo4J as backend to store spreadsheet info...
Spreadsheets are graphs too: Using Neo4J as backend to store spreadsheet info...Spreadsheets are graphs too: Using Neo4J as backend to store spreadsheet info...
Spreadsheets are graphs too: Using Neo4J as backend to store spreadsheet info...Felienne Hermans
 
Mo fairy tale essay
Mo fairy tale essayMo fairy tale essay
Mo fairy tale essaystaceybarnes
 
Example Of A Capstone Project Paper. Online assignment writing service.
Example Of A Capstone Project Paper. Online assignment writing service.Example Of A Capstone Project Paper. Online assignment writing service.
Example Of A Capstone Project Paper. Online assignment writing service.Crystal Sanchez
 
Project ConceptThe final project allows students to apply diff.docx
Project ConceptThe final project allows students to apply diff.docxProject ConceptThe final project allows students to apply diff.docx
Project ConceptThe final project allows students to apply diff.docxwkyra78
 
Descriptive Essay Beach Vacation.pdf
Descriptive Essay Beach Vacation.pdfDescriptive Essay Beach Vacation.pdf
Descriptive Essay Beach Vacation.pdfKaty Shaw
 
How To Write A Research Essay - PHDessay.Com
How To Write A Research Essay - PHDessay.ComHow To Write A Research Essay - PHDessay.Com
How To Write A Research Essay - PHDessay.ComMichelle Johnson
 
Language Analysis: Language to Persuade
Language Analysis: Language to PersuadeLanguage Analysis: Language to Persuade
Language Analysis: Language to PersuadeMark O'Meara
 

Similar to Im not trying to be rude, but I have had multiple of you experts .pdf (16)

There will-come-soft-rains-mini-scheme
There will-come-soft-rains-mini-schemeThere will-come-soft-rains-mini-scheme
There will-come-soft-rains-mini-scheme
 
Grammar Assignment 3 Capitalization, Commas in a Series, and .docx
Grammar Assignment 3 Capitalization, Commas in a Series, and .docxGrammar Assignment 3 Capitalization, Commas in a Series, and .docx
Grammar Assignment 3 Capitalization, Commas in a Series, and .docx
 
Pin On Fie De Lucru. Online assignment writing service.
Pin On Fie De Lucru. Online assignment writing service.Pin On Fie De Lucru. Online assignment writing service.
Pin On Fie De Lucru. Online assignment writing service.
 
English 111, August 23, 2012
English 111, August 23, 2012English 111, August 23, 2012
English 111, August 23, 2012
 
reading project
reading projectreading project
reading project
 
OpenNLP demo
OpenNLP demoOpenNLP demo
OpenNLP demo
 
Essay Descriptive. How to Write a Descriptive Essay: Tips to Consider
Essay Descriptive. How to Write a Descriptive Essay: Tips to ConsiderEssay Descriptive. How to Write a Descriptive Essay: Tips to Consider
Essay Descriptive. How to Write a Descriptive Essay: Tips to Consider
 
Pastiche & Defense EssayPastiche & Defense In a nutshell, a pa.docx
Pastiche & Defense EssayPastiche & Defense In a nutshell, a pa.docxPastiche & Defense EssayPastiche & Defense In a nutshell, a pa.docx
Pastiche & Defense EssayPastiche & Defense In a nutshell, a pa.docx
 
Spreadsheets are graphs too: Using Neo4J as backend to store spreadsheet info...
Spreadsheets are graphs too: Using Neo4J as backend to store spreadsheet info...Spreadsheets are graphs too: Using Neo4J as backend to store spreadsheet info...
Spreadsheets are graphs too: Using Neo4J as backend to store spreadsheet info...
 
Mo fairy tale essay
Mo fairy tale essayMo fairy tale essay
Mo fairy tale essay
 
Example Of A Capstone Project Paper. Online assignment writing service.
Example Of A Capstone Project Paper. Online assignment writing service.Example Of A Capstone Project Paper. Online assignment writing service.
Example Of A Capstone Project Paper. Online assignment writing service.
 
Project ConceptThe final project allows students to apply diff.docx
Project ConceptThe final project allows students to apply diff.docxProject ConceptThe final project allows students to apply diff.docx
Project ConceptThe final project allows students to apply diff.docx
 
Descriptive Essay Beach Vacation.pdf
Descriptive Essay Beach Vacation.pdfDescriptive Essay Beach Vacation.pdf
Descriptive Essay Beach Vacation.pdf
 
How To Write A Research Essay - PHDessay.Com
How To Write A Research Essay - PHDessay.ComHow To Write A Research Essay - PHDessay.Com
How To Write A Research Essay - PHDessay.Com
 
DESCRIPTIVE.pptx
DESCRIPTIVE.pptxDESCRIPTIVE.pptx
DESCRIPTIVE.pptx
 
Language Analysis: Language to Persuade
Language Analysis: Language to PersuadeLanguage Analysis: Language to Persuade
Language Analysis: Language to Persuade
 

More from maheshkumar12354

In a single strand of DNA, the individual nucleotides are covalenty .pdf
In a single strand of DNA, the individual nucleotides are covalenty .pdfIn a single strand of DNA, the individual nucleotides are covalenty .pdf
In a single strand of DNA, the individual nucleotides are covalenty .pdfmaheshkumar12354
 
In a recent survey conducted, a random sample of adults 18 years of .pdf
In a recent survey conducted, a random sample of adults 18 years of .pdfIn a recent survey conducted, a random sample of adults 18 years of .pdf
In a recent survey conducted, a random sample of adults 18 years of .pdfmaheshkumar12354
 
In a recent survey conducted a random sample of adults 18 years of a.pdf
In a recent survey conducted a random sample of adults 18 years of a.pdfIn a recent survey conducted a random sample of adults 18 years of a.pdf
In a recent survey conducted a random sample of adults 18 years of a.pdfmaheshkumar12354
 
In a hypothetical study, a researcher finds that police officers are.pdf
In a hypothetical study, a researcher finds that police officers are.pdfIn a hypothetical study, a researcher finds that police officers are.pdf
In a hypothetical study, a researcher finds that police officers are.pdfmaheshkumar12354
 
In a 1 to 2 page paper, Times New Roman 12, double spaced, APA forma.pdf
In a 1 to 2 page paper, Times New Roman 12, double spaced, APA forma.pdfIn a 1 to 2 page paper, Times New Roman 12, double spaced, APA forma.pdf
In a 1 to 2 page paper, Times New Roman 12, double spaced, APA forma.pdfmaheshkumar12354
 
In 2017, President Donald Trump was considering a major increase in .pdf
In 2017, President Donald Trump was considering a major increase in .pdfIn 2017, President Donald Trump was considering a major increase in .pdf
In 2017, President Donald Trump was considering a major increase in .pdfmaheshkumar12354
 
In 2021, Lee Jones put the final touches on a product she had worked.pdf
In 2021, Lee Jones put the final touches on a product she had worked.pdfIn 2021, Lee Jones put the final touches on a product she had worked.pdf
In 2021, Lee Jones put the final touches on a product she had worked.pdfmaheshkumar12354
 
In 2000 the Vermont state legislature approved a bill authorizing �c.pdf
In 2000 the Vermont state legislature approved a bill authorizing �c.pdfIn 2000 the Vermont state legislature approved a bill authorizing �c.pdf
In 2000 the Vermont state legislature approved a bill authorizing �c.pdfmaheshkumar12354
 
Implement the class Linked List to create a list of integers. You ne.pdf
Implement the class Linked List to create a list of integers. You ne.pdfImplement the class Linked List to create a list of integers. You ne.pdf
Implement the class Linked List to create a list of integers. You ne.pdfmaheshkumar12354
 
Implement a program in C++ a by creating a list ADT using the Object.pdf
Implement a program in C++ a by creating a list ADT using the Object.pdfImplement a program in C++ a by creating a list ADT using the Object.pdf
Implement a program in C++ a by creating a list ADT using the Object.pdfmaheshkumar12354
 
Implement a singly linked list as a functional data structure in Kot.pdf
Implement a singly linked list as a functional data structure in Kot.pdfImplement a singly linked list as a functional data structure in Kot.pdf
Implement a singly linked list as a functional data structure in Kot.pdfmaheshkumar12354
 
Implementation The starter code includes List.java. You should not c.pdf
Implementation The starter code includes List.java. You should not c.pdfImplementation The starter code includes List.java. You should not c.pdf
Implementation The starter code includes List.java. You should not c.pdfmaheshkumar12354
 
import java.awt.Color; import java.awt.Dimension; import.pdf
import java.awt.Color; import java.awt.Dimension; import.pdfimport java.awt.Color; import java.awt.Dimension; import.pdf
import java.awt.Color; import java.awt.Dimension; import.pdfmaheshkumar12354
 
Implement two project schedules.BENCHMARKSImplement mechanisms t.pdf
Implement two project schedules.BENCHMARKSImplement mechanisms t.pdfImplement two project schedules.BENCHMARKSImplement mechanisms t.pdf
Implement two project schedules.BENCHMARKSImplement mechanisms t.pdfmaheshkumar12354
 
If you were to write an application program that needs to maintain s.pdf
If you were to write an application program that needs to maintain s.pdfIf you were to write an application program that needs to maintain s.pdf
If you were to write an application program that needs to maintain s.pdfmaheshkumar12354
 
Imagine that you are using a learning management system (such as Bla.pdf
Imagine that you are using a learning management system (such as Bla.pdfImagine that you are using a learning management system (such as Bla.pdf
Imagine that you are using a learning management system (such as Bla.pdfmaheshkumar12354
 
Im trying to run make qemu-nox In a putty terminal but it.pdf
Im trying to run  make qemu-nox  In a putty terminal but it.pdfIm trying to run  make qemu-nox  In a putty terminal but it.pdf
Im trying to run make qemu-nox In a putty terminal but it.pdfmaheshkumar12354
 
Im posting this again because the answer wasnt correct.Please .pdf
Im posting this again because the answer wasnt correct.Please .pdfIm posting this again because the answer wasnt correct.Please .pdf
Im posting this again because the answer wasnt correct.Please .pdfmaheshkumar12354
 
Ignacio enters into a game of chance. A bag of money has twelve $1 b.pdf
Ignacio enters into a game of chance. A bag of money has twelve $1 b.pdfIgnacio enters into a game of chance. A bag of money has twelve $1 b.pdf
Ignacio enters into a game of chance. A bag of money has twelve $1 b.pdfmaheshkumar12354
 
imagine a protein that has been engineered to contain a nuclear loca.pdf
imagine a protein that has been engineered to contain a nuclear loca.pdfimagine a protein that has been engineered to contain a nuclear loca.pdf
imagine a protein that has been engineered to contain a nuclear loca.pdfmaheshkumar12354
 

More from maheshkumar12354 (20)

In a single strand of DNA, the individual nucleotides are covalenty .pdf
In a single strand of DNA, the individual nucleotides are covalenty .pdfIn a single strand of DNA, the individual nucleotides are covalenty .pdf
In a single strand of DNA, the individual nucleotides are covalenty .pdf
 
In a recent survey conducted, a random sample of adults 18 years of .pdf
In a recent survey conducted, a random sample of adults 18 years of .pdfIn a recent survey conducted, a random sample of adults 18 years of .pdf
In a recent survey conducted, a random sample of adults 18 years of .pdf
 
In a recent survey conducted a random sample of adults 18 years of a.pdf
In a recent survey conducted a random sample of adults 18 years of a.pdfIn a recent survey conducted a random sample of adults 18 years of a.pdf
In a recent survey conducted a random sample of adults 18 years of a.pdf
 
In a hypothetical study, a researcher finds that police officers are.pdf
In a hypothetical study, a researcher finds that police officers are.pdfIn a hypothetical study, a researcher finds that police officers are.pdf
In a hypothetical study, a researcher finds that police officers are.pdf
 
In a 1 to 2 page paper, Times New Roman 12, double spaced, APA forma.pdf
In a 1 to 2 page paper, Times New Roman 12, double spaced, APA forma.pdfIn a 1 to 2 page paper, Times New Roman 12, double spaced, APA forma.pdf
In a 1 to 2 page paper, Times New Roman 12, double spaced, APA forma.pdf
 
In 2017, President Donald Trump was considering a major increase in .pdf
In 2017, President Donald Trump was considering a major increase in .pdfIn 2017, President Donald Trump was considering a major increase in .pdf
In 2017, President Donald Trump was considering a major increase in .pdf
 
In 2021, Lee Jones put the final touches on a product she had worked.pdf
In 2021, Lee Jones put the final touches on a product she had worked.pdfIn 2021, Lee Jones put the final touches on a product she had worked.pdf
In 2021, Lee Jones put the final touches on a product she had worked.pdf
 
In 2000 the Vermont state legislature approved a bill authorizing �c.pdf
In 2000 the Vermont state legislature approved a bill authorizing �c.pdfIn 2000 the Vermont state legislature approved a bill authorizing �c.pdf
In 2000 the Vermont state legislature approved a bill authorizing �c.pdf
 
Implement the class Linked List to create a list of integers. You ne.pdf
Implement the class Linked List to create a list of integers. You ne.pdfImplement the class Linked List to create a list of integers. You ne.pdf
Implement the class Linked List to create a list of integers. You ne.pdf
 
Implement a program in C++ a by creating a list ADT using the Object.pdf
Implement a program in C++ a by creating a list ADT using the Object.pdfImplement a program in C++ a by creating a list ADT using the Object.pdf
Implement a program in C++ a by creating a list ADT using the Object.pdf
 
Implement a singly linked list as a functional data structure in Kot.pdf
Implement a singly linked list as a functional data structure in Kot.pdfImplement a singly linked list as a functional data structure in Kot.pdf
Implement a singly linked list as a functional data structure in Kot.pdf
 
Implementation The starter code includes List.java. You should not c.pdf
Implementation The starter code includes List.java. You should not c.pdfImplementation The starter code includes List.java. You should not c.pdf
Implementation The starter code includes List.java. You should not c.pdf
 
import java.awt.Color; import java.awt.Dimension; import.pdf
import java.awt.Color; import java.awt.Dimension; import.pdfimport java.awt.Color; import java.awt.Dimension; import.pdf
import java.awt.Color; import java.awt.Dimension; import.pdf
 
Implement two project schedules.BENCHMARKSImplement mechanisms t.pdf
Implement two project schedules.BENCHMARKSImplement mechanisms t.pdfImplement two project schedules.BENCHMARKSImplement mechanisms t.pdf
Implement two project schedules.BENCHMARKSImplement mechanisms t.pdf
 
If you were to write an application program that needs to maintain s.pdf
If you were to write an application program that needs to maintain s.pdfIf you were to write an application program that needs to maintain s.pdf
If you were to write an application program that needs to maintain s.pdf
 
Imagine that you are using a learning management system (such as Bla.pdf
Imagine that you are using a learning management system (such as Bla.pdfImagine that you are using a learning management system (such as Bla.pdf
Imagine that you are using a learning management system (such as Bla.pdf
 
Im trying to run make qemu-nox In a putty terminal but it.pdf
Im trying to run  make qemu-nox  In a putty terminal but it.pdfIm trying to run  make qemu-nox  In a putty terminal but it.pdf
Im trying to run make qemu-nox In a putty terminal but it.pdf
 
Im posting this again because the answer wasnt correct.Please .pdf
Im posting this again because the answer wasnt correct.Please .pdfIm posting this again because the answer wasnt correct.Please .pdf
Im posting this again because the answer wasnt correct.Please .pdf
 
Ignacio enters into a game of chance. A bag of money has twelve $1 b.pdf
Ignacio enters into a game of chance. A bag of money has twelve $1 b.pdfIgnacio enters into a game of chance. A bag of money has twelve $1 b.pdf
Ignacio enters into a game of chance. A bag of money has twelve $1 b.pdf
 
imagine a protein that has been engineered to contain a nuclear loca.pdf
imagine a protein that has been engineered to contain a nuclear loca.pdfimagine a protein that has been engineered to contain a nuclear loca.pdf
imagine a protein that has been engineered to contain a nuclear loca.pdf
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 

Im not trying to be rude, but I have had multiple of you experts .pdf

  • 1. I'm not trying to be rude, but I have had multiple of you "experts" give me wrong answers and explanations or just lie. I am trying to get correct answers and understand these problems so please if you are just going to completely ignore the questions provided below and give different answers then don't bother. Problems to solved/answered (please use python) 1. Library of Congress - Description Expected duration: 36 hours Problem You are working in the Library of Congress as a data entry intern. The library is looking to overhaul some of their older works and wants to make sure that they are correct and get some basic data from each file. As you open your assigned files, you discover that they have all been scrambled together. The lines from each of your three texts have been placed in random order and the only clue that you have is the identifier at the end of each line. Each line in the scrambled file contains the line in the text file, a line number, and a three-letter code that identifies the work. Each of these items is separated by the character. For example, it ran away when it saw mine coming!" 164 ALC cried to the man who trundled the barrow; "bring up alongside and help|27|TRI "Of course he's stuffed," replied Dorothy, who was still angry. 46 woo Your task is to write a program that reads each line in a text file, separates and unscrambles the texts, and collects the basic data you'd first set out to collect. The file name is a command line parameter. For each text, you must determine 1. Its longest line (and the corresponding line number), 2. its shortest line (and corresponding line number), and 3. the average length of the lines in the entire text. If there are multiple lines with the shortest or longest length, use the line number as a tiebreaker: earlier lines are "shorter" and later lines are "longer". The average should be rounded to the closest integer. The summary of data should be stored in a file named The summaries should be sorted by three-letter code and should be formatted as follows: ALC Longest line (107): "No, I didn't," said Alice: "I don't think it's at all a pity. Shortest line (148): to." Average length: 59 woo Longest line (66): of my way. Whenever I've met a man I've been awfully scared; but Shortest line (71): go." Average length: 58 The texts themselves should be stored in a file named . This file should contain the three-letter code for a work followed by its text. The lines must all be included and should be ordered and should not include line numbers or three-letter codes. The texts should be separated by a single line with five characters. The result should look like the following: ALC A large rose-tree stood near the entrance of the garden: the roses growing on it were white, but there were three gardeners at it, busily painting them red. Alice thought this a very curious thing, and she went nearer to watch them, and just as she came up to them she heard one of them
  • 2. say, "Look out now, Five! Don't go splashing paint over me like that!" "I couldn't help it," said Five, in a sulky tone; "Seven jogged my elbow." On which seven looked up and said, "That's right, Five! Always lay the blame on others!" TRI SQUIRE TRELAWNEY, Dr. Livesey, and the rest of these gentlemen having asked me to write down the whole particulars about Treasure Island, from the beginning to the end, keeping nothing back but the bearings of the island, and that only because there is still treasure not yet lifted, I take up my pen in the year of grace 17_. and go back to the time when my father kept the Admiral Benbow inn and the brown old seaman with the sabre cut first took up his lodging under our roof. I remember him as if it were yesterday, as he came plodding to the inn door, his sea-chest following behind him in a hand- barrow--a tall, strong, heavy, nut-brown man, his tarry pigtail falling over the WOO All this time Dorothy and her companions had been walking through the thick woods. The road was still paved with yellow brick, but these were much covered by dried branches and dead leaves from the trees, and the walking was not at all good. There were few birds in this part of the forest, for birds love the open country where there is plenty of sunshine. But now and then there came a deep growl from some wild animal hidden among the trees. These sounds made the little girl's heart beat fast, for she did not know what made them; but Toto knew, and he walked close to Dorothy's side, and did not even bark in return. In 1-3 sentences, what is this program supposed to do? What are the inputs and outputs to the program? For each input or output, specify its type and give a plausible example value that the input or output could take. Consider formatting your output with markdown tables for clarity. Here is an example table: Which concepts from class will be useful as you work on this project? How do you anticipate using these concepts? Consider using markdown formatting. An example follows: # 'print()' function The 'print()' function will be useful for writing text to the termi Write a pseudocode outline of your program. Demonstrate that you have decomposed the problem into smaller, more manageable pieces. Write three specific, verifiable things that must be true of my program if it is working correctly. Consider formatting with markdown. An example follows: 1. If the input to my program is 2 , the result should be 7. 2. If the input to my program is negative, the program should print