Software developments for developers to analyze-design

Assignment Help Basic Computer Science
Reference no: EM13763157

Introduction

The goal of real world software developments is for developers to analyze, design, program, and test complete applications that solve the needs of the customer. The iLab exercises you have been given will give you practice with the specific programming techniques you need to complete the course project, but these are small, self-contained, academic programs. Just completing the iLabs will not lead you on a path to becoming a software developer. The objective of the Course Project is to give you practice applying the programming techniques to a complete development project.

The actual programming problem is not too difficult, but in order to be successful with the Course Project you will need to be able to apply the programming techniques and accomplish the analysis and design of the problem as well. This implies that you need to understand the weekly concepts as well as the programming techniques so you can apply both to the software development project.

The course project is divided into four increments and you will complete one new increment each week. Each new increment builds upon the previous weeks, which means that each week you need to be successful in completing the weekly increment requirements; otherwise, you will not be able to add new increments in subsequent weeks. If you cannot get an increment working, then make sure you contact your professor for help.

There are three things that you need to do to be successful in the course project:

• Don't skip analysis and design and go straight to coding; otherwise you will get into a "build and fix" mode of programming which will always, always lengthen the time it takes you to complete the program.

• Complete the weekly iLab exercises before you start the course project coding. You can do the project analysis and design before you start coding, but the iLab exercises will give you practice in the programming techniques you need to complete the project.

• Start analysis and design early; don't wait until the end of the week to figure out what you are supposed to be doing. If you start analysis and design at the beginning of the week, then you will have time to ask questions in the TDAs and get your questions answered early.

Programming Standards

Each increment of the program will adhere to the following standards:

1. Each source file will have a header describing the program, programmers name, date, purpose of the program, and increment.

2. Each source file will adhere to the coding standards provided in the lecture, or given by the Professor.

3. Each program will have an introductory output message introducing the program to the user and providing directions.

4. All program output will be well structured, easy to read, and appropriately formatted.

Test Plan

Your test plan should test for a variety of cases. In your test plan list the values you tested along with a screenshot for each. You should test both incorrect and correct inputs.

Problem Description

You will be creating a Hangman program. In this game, the computer will have a hard coded word and the user will enter one letter at a time until he or she has guesses the correct word. A score will be tallied that will be the number of incorrect guesses the user has. So a smaller score is better.

Initially the word will be displayed as a list of special characters such as '*' or '-'. The user will input one letter at a time and each input will be compared with the word. If the guess is correct the letter will be displayed rather than the special character. Each incorrect guess will increment the score. When the user guesses the correct word the game will be over.

Below is an example of the program running:

  • Sequential Processing

Design and code the program to display the input and output for the Hangman program. Use your last name as the word to guess. Each letter will be a char data type. Start by having the user enter 5 letters to guess. See below:

  •  Conditional Statements

Modify the design and program to test if each letter the user entered is one of the letters in the word. If the letter guessed is in the word, display a message to the user that they guessed correctly, if not display a message that the user guessed incorrectly. Add a score variable that will keep track of the number of incorrect guesses. If the user guesses incorrectly, increment the score variable. Display the score at the end of the program.

  •  Iteration and Arrays

Modify the design and program to allow for iteration. Increase the number of guesses to 10 to solve the word. Display the word to the user with each letter as a special character such as ********. Create an array of correct letters guessed such as: char[] guessed = new char[26];

You will need counter also to keep track of how many letters are in the guessed array. You do not need to keep track of incorrectly guessed letters .

  •  Arrays and Output

This is your final modification to the project. Modify the design and program of the program so that the word is stored as an array. You can use code such as the following: char[] word = "happy".ToCharArray();

Where "happy" is replaced with your name. Add a for loop to display each letter in the word character array. If it has been guessed correctly, display the correct letter, if not display the special character.

Reference no: EM13763157

Questions Cloud

Feature of a common law legal system : Which of the following is a distinguishing feature of a common law legal system?
Explains the components of a formal sdlc process : Explains the components of a formal SDLC process. Include a discussion of the basic elements of the SDLC
Write paper on political influences of rfid technology : Write a paper on Political and legal influences of RFID Technology.
Analyzes a work-related project using systems analysis : analyzes a work-related project using systems analysis for a selected business system at the departmental or divisional level from your workplace, an organization
Software developments for developers to analyze-design : The goal of real world software developments is for developers to analyze, design, program, and test complete applications that solve the needs of the customer.
International business perspective : Evaluate the contemporary problem from an International Business perspective - How has Switzerland overcome its poor natural resource availability and become one of the rich countries on the globe?
The process for removing and collecting the evidence : Aanalysis must reference specific tests, histological staining, microscopes, and other equipment or techniques that should be used.
Define work-related project analysis : Describing the development and implementation stages for the situation specified in previous weeks
Research the judicial selection process : Using the Internet or Strayer databases, research the judicial selection process for different court systems from different states within the U.S. Court System

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Largest problem can be solved if total execution time given

In general, is it possible to solve arbitrarily large problem in a fixed amount of time, given that unlimited number of processing elements is available? Explain why?

  Write a program in vb using repetition

Write a program in VB using repetition's such as a do loop that will display the results when a button is clicked.

  Select and describe in detail the evaluation method

Computer class written assignment. select and describe in detail the evaluation method that you plan to use to compare and contrast the 3 options. Write 250 to 300 words.

  List uses that this type of computer could support

List uses that this type of computer could support for whichever division selected from above.Explain why you think the impact will or will not occur, cite sources when necessary, and justify your position using APA format.

  Use matlab to write a function function

Use Matlab to write a function function, call it fRotate, with a function, an interval, and an angle as its input arguments.

  Who are learning software programming

Discuss when scripting should be taught to individuals

  Sorts rectangle objects

Sorts Rectangle objects

  How these models would facilitate a company in the country

Review the IT diffusion models, select two models, then compare and contrast how these models would facilitate a company in the country and business sector of your choice. Be sure to state your business sector. Then, explain how the IT diffusion m..

  Do the implementations of bfs and dfs handle cycles

Do the implementations of BFS and DFS handle cycles? Explain. Would BFS or DFS be a better search algorithm for the maze game

  Create account ease of use age appropriateness

Go through and find2 NETS standardshttp://www.iste.org/standards/nets-for-studentsfor each of the above lesson plans you chose and explain why they would be met when using this Web 2.0 tool with the lesson plan you chose.

  Question about flight function

An airline vice president in charge of operations requires to determine whether the current estimates of flight times are accurate. because there is a larger possiblity of variations due to wether and air traffic in the longer flights.

  Describe areas where you see disagreement between authors

Include any information you believe adds to the material in the text. Describe any areas where you see disagreement between the two authors.

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