View the step-by-step solution to:

CMSC 201 Spring 2016 Project 2 - Recursive Word Search Assignment: Project 2 - Recursive Word Search Due Date: Wednesday, May 4th, 2016 by 8:59 PM...

I just find out that the output of the file is not complete. I want you to check that.

CMSC 201 – Computer Science I for Majors Page 1 CMSC 201 Spring 2016 Project 2 – Recursive Word Search Assignment: Project 2 – Recursive Word Search Due Date: Wednesday, May 4th, 2016 by 8:59:59 PM Value: 80 points Project 2 is the second and final project assignment in CMSC 201. As in Project 1, you will get the chance to make your own decisions about how you want your program to handle things, what its functions should be called, and how you want to go about designing it. Project 2 will also be substantially longer than any of the single homework assignments you’ve completed so far, so make sure to take the time to plan ahead, and don’t do any “cowboy” coding! Remember to enable Python 3 before you run your programs: scl enable python33 bash Instructions For this assignment, you'll need to follow the class coding standards , a set of rules designed to make your code clear and readable. The class coding standards are on Blackboard under “Course Documents” in a file titled “CMSC 201 - Python Coding Standards.” You should be commenting your code, and using constants in your code (not magic numbers or strings). You should also have a function header comment for every function that is not main() ! Re-read the coding standards! You will lose major points if you do not following the 201 coding standards. A very important piece of following the coding standards is writing a complete file header comment block . Make sure that your file has a comment block at the top (see the coding standards document for an example). NOTE: Your filename for this project must be proj2.py NOTE: You must use main() in your file.
Background image of page 1
CMSC 201 – Computer Science I for Majors Page 2 Details The purpose of this assignment is to give you practice with recursion, using two-dimensional lists, and to do some file handling where it's necessary to detect the end of the file or end of the list. You'll also be getting some experience with using datasets of a variable size. As always, you should continue to practice detailed project design (prior to coding!) and good implementation techniques like incremental programming. A popular form of puzzle is known as the "word search". Besides being good entertainment when waiting at the airport or at the doctor's office, this type of puzzle is often used to help young children build vocabulary and practice spelling. A word search is a 2-dimensional grid or matrix of letters which contains "hidden words". The person working the puzzle is given a list of words that are hidden in the matrix and is asked to locate and circle them. The fun part is that the words may appear horizontally, vertically or diagonally in the grid. Horizontal words may be written left-to-right or right-to-left. Vertically oriented words may be written top-down or bottom-up. Similarly for diagonally oriented words. Puzzles will be any size but they will always be rectangular. Here's a simple word search puzzle for you. (The grid below is 12 x 12.) G J T P B A V K U V L V M N Q H S G M N T C E E Y H I J S G Q E N Y C W G S K M G H C B M U T H R A T V M N V D G V U T E P G U E A B P W Q R T T J C I D D R Q T E E C U P C I S E N G B U O B P S J C I V N F O U N N M P R O J E C T R R A M O H Q T P P D S H A P G C O W U K Q E G I J M S
Background image of page 2
Show entire document
Background image of page 1
Sign up to view the entire interaction

Top Answer

The way to answer this question is ... View the full answer

proj2.py

######################################################
# Assigment No:
# Date:
# Author:
# Description: This program will print the word and it's
# Location if it is found in the puzzle board....

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online