Warning: mysqli_query(): (HY000/1030): Got error 28 from storage engine in /home/bestuniv/public_html/ukusessays.com/wp-includes/wp-db.php on line 1877
Programming | UK US Essays
  • May 17th, 2015

Programming

Paper, Order, or Assignment Requirements

 

 

Use the problem statement below to explore the strengths of Python (imperative language) and Haskell (declarative) for implementation (LO4, LO5, LO6).
• Critically analyze the differences and similarities of each solution, looking at how the respective languages support expressibility of data and control abstractions. (LO1, LO3, LO4).
• Identify any features of the languages which might have an adverse effect on the quality of the programs. (LO2, LO6).
• Assess the relative efficiencies of the two programs and how these are influenced by the different language paradigms. (LO3, LO4, LO6).

In an appendix, include:
• Readable, well-documented code supported by design diagrams as appropriate
• Data and results related to program testing
• A clear indication of any code that is not working

Problem description:

a) Given a text file, display a list of the words occurring in the file with the number of times each occurs. Normalize for capitalization and ignore connecting words (e.g. “an”, “the”, “for”).
b) Develop this further by displaying the N (e.g. 10) most frequently occurring words and their corresponding frequencies ordered by decreasing value of frequency. It does not matter about the ordering of words occurring with the same frequency.

For example, with the file containing:
“You may seek him in the basement, you may look up in the air”
the output would be:
you 2
may 2
seek 1
him 1
look 1
up 1
air 1

Harvard reference any sources you consult when producing the code and investigating relevant algorithms.

Learning outcomes

  1. critically analyse the support a language provides for data and control abstractions and contemporary design methodologies;
  2. identify and assess features of a language which influence software quality and formal analysis of a program;
  3. evaluate and critically compare high level programming languages and environments;
  4. synthesise the above knowledge and understanding in order to choose appropriate languages for software development, depending on circumstance;
  5. critically analyse, synthesise and evaluate aspects of programming languages through research and experience with practical programming problems;
  6. apply and effectively communicate technical knowledge and skills related to programming that are directly transferable to industry

 

Use theproblem statement below to explore the strengths of the Python and Haskell languages chosen for implementation (LO4, LO5, LO6).

  • Critically analyze the differences and similarities of each solution, looking at how the respective languages support expressibility of data and control abstractions. (LO1, LO3, LO4).
  • Identify any features of the languages which might have an adverse effect on the quality of the programs. (LO2, LO6).
  • Assess the relative efficienciesof the two programs and how these are influenced by the different language paradigms. (LO3, LO4, LO6).

 

Even if you do not fully complete the practical exercise, marks will be awarded for evidence of progress and analysis of the relevant language issues.

 

In an appendix, include:

  • Readable, well-documented code supported by design diagrams as appropriate
  • Data and results related to program testing
  • A clear indication of any code that is not working

 

Latest completed orders:

Completed Orders
# Title Academic Level Subject Area # of Pages Paper Urgency

Fatal error: Uncaught exception 'wfWAFStorageFileException' with message 'Unable to save temporary file for atomic writing.' in /home/bestuniv/public_html/ukusessays.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:29 Stack trace: #0 /home/bestuniv/public_html/ukusessays.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(567): wfWAFStorageFile::atomicFilePutContents('/home/bestuniv/...', '<?php exit('Acc...') #1 [internal function]: wfWAFStorageFile->saveConfig() #2 {main} thrown in /home/bestuniv/public_html/ukusessays.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 29