Get in touch with us
Send us an e-mail
Question
In this question you will create a simple command line program which will help solve these problems.
STARTING THE PROGRAM
Your program must use command line arguments. Assuming your program has been compiled to Crossword.exe you would run with the following command line arguments.
Crossword [A|P] dictionary letters
[A|P]
This says we must either supply the letter A or the letter P as part of the command line arguments.
A We are looking for words in the dictionary that are an anagram of the letters supplied.
P We are looking for words in the dictionary that match the pattern of letters supplied.
Dictionary
In order to solve the problem you will need a dictionary of words to check your letters against, looking for possible matches. The dictionary will have one word per line of file. As part of the assignment I will supply a dictionary file called dict.txt, which contains about 64000 words to test against. It can be assumed that the dictionary only contains alphabetical letters. It contains no spaces, digits or punctuation characters.
Letters
Letters can be in two forms
1. A set of alphabetical letters. It contains no spaces, digits or other punctuation characters. The letters can be any case. This will be used with the A argument. Your program will find all words in the dictionary that are an anagram of the letters.
2. A set of alphabetical letters and underscores. It contains no spaces, digits or other punctuation characters. The letters can be any case. This will be used with the P argument. Your program will find all words in the dictionary that match the pattern of letters.
OUTPUT
The program will output all the words it finds matching the pattern/anagram plus a count of the words found.
Summary
The question belongs to Computer Science and it discusses about writing a program in .NET which is about using command line arguments in a crossword (A | P) dictionary letters.
Total Word Count 306
1. In-depth research, logical and methodical progression of writing and structured context makes each and every writing assignment help that I have received from the online writing tutors at TheReliableTutor.com truly a masterpiece. My grades have improved and I am much more confident of myself now.
I am very panicky about deadlines. I was using another service prior to TheReliableTutor.com and they often missed the deadlines. That is why I shifted to TheReliableTutor.com and have never had reason to complain again.
The accounting tutors here can surely make the numbers talk. In my freshmen year, I was unable to understand what to put under assets and what under liabilities. It was back then I took their help and also helped me understand why “capital investment†is a liability to the business. I am doing my Masters now and still take their help.
I was really stuck with my human structure assignments when I came across TheReliableTutor.com. To be honest, I was skeptical. Then I got an A in my cardiovascular systems assignment. That was the first work they did for me. From there it only got better. I am now thinking of doing my MSN and will definitely seek their help for that."
Before approaching TheReliableTutor.com, zoology was one of the most difficult things in my life. But after taking sessions from TheReliableTutor.com, zoology has become more fun and more interesting to learn. Thank you guys..!!!
Comments
this is a very good website
I have 50 questions for the same test your page is showing only 28
hi can you please help or guide me to answer my assignments. thanks
hi can anyone help or guide me to my assignments. thanks
This solution is perfect ...thanks
Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes
Perfect bank of solution.
great !
thanks for the quick response. the solution looks good. :)
thnx for the answer. it was perfect. just the way i wanted it.
works fine.