Design and implement simple software solutions

Assignment Help Python Programming
Reference no: EM132276566

Assignment - Palindromes and Anagrams

Overview

In this assignment you will be given a plain file containing a large list of English words from which you must select ones that have particular characteristics

Learning Outcomes

Knowledge:

K1. Identify and use the correct syntax of a common programming language.

K2. Recall and use typical programming constructs to design and implement simple software solutions.

K4. Explain the importance of programming style concepts (documentation, mnemonic names, indentation).

Skills:

S1. Utilise pseudocode and/or algorithms as a major program design technique. S2. Write and implement a solution algorithm using basic programming constructs. S4. Describe program functionality based on analysis of given program code.
Application of knowledge and skills:

A1. Develop self-reliance and judgement in adapting algorithms to diverse contexts.

A2. Design and write program solutions to identified problems using accepted design constructs.

Assessment Details

Searching a file for palindromes and anagrams. Given a word list file, English.txt, containing some four hundred thousand words, you are required to search this file to find all possible palindromes and anagrams.

Part 1: Palindromes - words that read the same either way e.g. radar, civic, level, anna

These words can be read from left to right or from right to left with exactly the same result.

Part 2: Anagrams - words made from the letters of another word e.g. cineasts ? acnestis

In this case the word cineast means a person who loves cinema or films so cineasts are people who love films; the word acnestis means a part of the body that you cannot scratch - for example - between your shoulder blades.

One word is made from ALL of the letters of the other word - this is important in this assignment.

These are just examples - we are not so much interested in the definitions of the words1 only if they are in our list of words.

Attachment:- ASSIGNMENT.rar

Reference no: EM132276566

Questions Cloud

Discuss how you may be able to use images : Discuss how you may be able to use images and visuals to communicate in your personal life and career. Summarize what you have learned about the process.
How slavery was instrumental to the development : Identify if and how slavery was instrumental to the development of capitalist economies in Europe.
What types of art activities and projects did you complete : ART 100 What types of art activities and projects did you complete? How much art instruction were you given on techniques of art production?
How often did you receive art instruction : What previous experiences in art have you had, do you remember creating art in the past? In a one to two page, double-spaced typed paper.
Design and implement simple software solutions : ITECH1400 Fundamentals of Programming - Federation University - Develop self-reliance and judgement in adapting algorithms to diverse contexts
Do you believe the french revolution helped : Do you believe the French Revolution helped or hurt the development of democracy in Western Europe? Why or Why not?
Do you agree or disagree with the content : Provide your own assessment of the article. (Did it make sense? Did you learn anything from it? Do you agree or disagree with the content?)
Describe any challenges you anticipate for the remainder : Discuss with your group some of the most interesting things you found in your reading and Internet/media search.
What is difference between general and application controls : What is the difference between general controls and application controls

Reviews

len2276566

4/6/2019 3:12:54 AM

Marking Criteria/Rubric Palindromes Item Mark Algorithm in pseudo-code 10 Implementation of algorithm in code 10 Demonstration that code works correctly using representative samples 15 Correct Output and Discussion 10 Anagrams Algorithm in pseudo-code 10 Implementation of algorithm in code 10 Demonstration that code works correctly using representative samples 15 Correct Output and Discussion 10 Report2 10 TOTAL 100 FINAL MARK /20

len2276566

4/6/2019 3:12:39 AM

Timelines and Expectations Percentage Value of Task: 20% Due: 5 pm Friday the 3rd May (week 7) Minimum time expectation: 20 hours Assessment Details Searching a file for palindromes and anagrams. Given a word list file, English.txt, containing some four hundred thousand words, you are required to search this file to find all possible palindromes and anagrams. You may supply your word processed documentation in either Microsoft Word or LibreOffice/OpenOffice formats only – no proprietary Mac specific formats, please. Assignments will be marked on the basis of fulfilment of the requirements and the quality of the work. In addition to the marking criteria, marks may be deducted for failure to comply with the assignment requirements, including (but not limited to): • Incomplete implementation(s), and • Incomplete submissions (e.g. missing files), and • Poor spelling and grammar.

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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