Reference no: EM132292222
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
The following course learning outcomes are assessed by completing this assessment:
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 words only if they are in our list of words.
Attachment:- English Foundations of programming assignment.rar
What would bee dml statement used to query
: What would bee DML statement used to query or retrieve data from the database?
|
Configuring a container network
: You are beginning to implement containers. In your testing, you have used the default network configuration for the containers you have deployed.
|
Create tables within a database that relate to one another
: Can someone please explain how to develop a database, create tables within a database that relate to one another, and insert records into tables?
|
Discuss how an organization institutionalizes its policies
: Discuss how an organization institutionalizes its policies, standards, and practices using education, training, and awareness programs
|
Correct syntax of a common programming language
: Palindromes and Anagrams - Fundamentals of Programming - Explain the importance of programming style concepts (documentation, mnemonic names, indentation)
|
Important part of risk assessment
: An important part of Risk Assessment involves including assets and this brings to mind the importance of creating an inventory of your Information System
|
Give a maximal independent set for graph
: Consider the graph of a square (4 vertices and 4 edges). Label the nodes clockwise a,b,c,d. Give a maximal independent set for this graph.
|
Sorted arrays a and b of size m and n respectively
: There are two sorted arrays A and B of size m and n respectively.
|
Maximum jump length at that position
: Given an array of non-negative integers, you are initially positioned at the first index of the array.
|