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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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