Create an array of peoples first names

Assignment Help Computer Engineering
Reference no: EM131516724

Assignment: File Processing

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.

Reference no: EM131516724

Questions Cloud

Write extensive research paper on entrepreneurship failure : You will write an extensive research paper on an entrepreneurship failure. As you may be aware, 80% of all small businesses fail within the first five years.
Write a paper about impact of social media on business : Write a five page paper about Impact of Social Media on Business. Why they choose to participate with business through virtual platforms.
What kind of security measures it provides to network : Discuss your chosen topic. Explain what kind of security measures/threats it provides to the network. Identify three security vulnerabilities.
Describe two advantages associated with using coaxial cable : Describe one or two of the advantages and/or disadvantages associated with using each cable type for a business's network infrastructure.
Create an array of peoples first names : 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.
Describe the main objectives of the anba drp : Describe the main objectives of the ANBA DRP. Explain the key ways that ANBA's DRP can help mitigate risk in the organization.
Explain what is meant by information systems : Explain what is meant by information systems (IS). Why is it important to understand the differences between information technology and information systems?
The approaches to anticipate these risks : Explain how the risks and the approaches to anticipate these risks differ for each company.Analyze the kinds of risks that are most intimidating for each.
Create spreadsheet of vulnerabilities and prevention measure : Create a spreadsheet of vulnerabilities and prevention measures for your organization. Categorize by people, process, or technology.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Explain the use of pipelining in computer architecture

Using your learning materials and your own research, you will outline the principles of pipelining and explain the use of pipelining in computer architecture.

  Define role of customer and end-user on an agile process

Define role of customer and end-user on an agile process

  Define the limitations of vb-script

OOP is not about programming as much as it is about thinking in a specific way. When you think of an object, you should see it as a set of properties and processes. Properties are the data, and methods are what you do to the data.

  Develop detailed object-oriented design models

You have the following two choices to develop detailed object-oriented design models. Validating an OO design through the construction of a prototype

  Determine the max value of range for this data set

Values of Q should be accepted in degrees and then converted to radians within the function body for use in the formula. Be sure to structure your function in a way that will accept both scalar and vector inputs.

  What ethical social and political issues arise with the use

information is data that is framed in a specific context. in this sense information is contextual data that has a level

  Dissolve method

It does this by incrementing (by 1) all the three color elements (utilizing the above accessor and mutator methods) as well as alpha component value. Write down the dissolve method.

  Problem on troubleshooting dns records

Problem on Troubleshooting DNS Records

  Describe a current technology that you have chosen to adopt

Describe a current technology that you have chosen to adopt and You should include the specific brand and/or model if it was relevant to your decision.

  Describe the ideal online tool set

The first editing pass must be completed in three days. Describe the ideal online tool set that would enable you to collaborate effectively.

  What is the future of the software

The current practice of a mainly part of water resources engineering is supported by various of commercial software. Pick a specific domain within water resources engineering. What is the software.

  How you could approach stakeholder that might resist project

In your initial post, identify these stakeholders and describe the strategies you would take to get stakeholder buy-in. Also, describe how you could approach stakeholders that might resist the project.

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