Answered You can buy a ready-made answer or pick a professional tutor to order an original one.

QUESTION

Individual: File Processing / University of Phoenix

Individual: File Processing

    • Due Oct 23, 11:59 PM
    • Not Submitted
    • POINTS 25
  •  Practice/Simulation/Homework/Game

  • 1

Objectives:

  • 5.1
  • 5.2
  • 5.3
  • 5.4
  • Instructions
  • Assignment Files
  • Grading

The following assignment incorporates the concepts from prior weeks (variables, if-else logic, loops, and arrays), along with this week's topic of file input/output process.

Create a Visual Logic® program that will:

  • Create an array of people's first names. Using a loop, read the names from a text (.txt) file, and store each one into the array. The array should allow for a maximum of 100 entries. Continue to read in first names and store them into the array. The last entry in the text file, containing "LastOne," will indicate the end of the list of names. 
  • Prompt the user for a first name.
  • Loop through the array to determine if the first name entered exists in the array. If a match is found, display a message that includes the name and a message indicating that there was a match found. If no match is found, display a message so indicating.
  • Using a loop, continue to prompt the user for first names and determine if a match in the array is found. The loop should continue until the user indicates "stop" as the first name.

Resources/Tips:

  • This program requires the use of nested loops. The outer loop will repeat, prompting the user for a first name until the user indicates to stop. The inner loop will search through the array for a match.
  • Review the Sample Program #3 on pages 83-87 in A Guide to Working with Visual Logic® for an example of using files.
  • Have the TXT files, your Visual Logic® program, the Visual Logic® EXE file, and the VLSig file in the same folder.
  • Put quotes around each name in the text (.txt) file.

Submit the following in a ZIP file to the Assignment Files tab:

  • Text (.txt) file with names
  • Visual Logic® (.vls) file

Materials

  • Sample Program #3, A Guide to Visual Logic

Message expanded.Message readFinal Assignment - Please Read!

posted by Aviv Raveh , Oct 17, 2017, 7:20 PM

All,

As a reminder, we have a large assignment due by the end of the week. This assignment is equal to 25% of your final grade. The assignment itself is not that complicated but might be a little tricky. It is based on reading a text file into your arrays. Throughout the week there are couple of hands on activities to help you prepare for the final assignment. In addition, the YouTube video https://www.youtube.com/watch?v=gx1c3HJlSWc will walk you step-by-step through the process.

I would encourage you all to start working on the final assignment in the next couple of days to allow you time to ask questions and get assistance from your classmates and from me. Waiting for the last minute might be challenging. In addition, starting early would allow you to take advantage of the Arrays Live Labs if you have any specific questions.

Finally, in the final assignment you are evaluated not just on executing your program, I will be also looking at the following competencies:

Programming Fundamentals - If-else Logic, more than one loop, use of arrays and file processing

Problem Solving and Algorithm Development - Well-structured algorithm and meaningful variable names

Programming Logic - Take your logic beyond the minimum requirements, should some originality and add a "WOW" factor

Structures, Verification, and Validation - Make sure to include error checking, meaningful comments to your users

File Processing - You can read and process data from external file

I cannot emphasize enough, don't wait until the last minute! Start working on your program today, develop the logic, write a Pseudocode, write the program, improve the program and ask questions!

Good luck,

Aviv

Show more
Elite2
Elite2
  • @
  • 331 orders completed
ANSWER

Tutor has posted answer for $30.00. See answer's preview

$30.00

**** **********

Click here to download attached files: File Processing.zip
or Buy custom answer
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question