Create an array of peoples first names

Assignment Help Computer Engineering
Reference no: EM131184627

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 Logicsfor 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, using the Assignment Files tab:
- Text (txt) file with names
- Visual Logic® (As) file

Reference no: EM131184627

Questions Cloud

Study the characteristics of the two groups : Study the characteristics of the two groups and find that the treatment group has a lower average age than the control group. How could this arise?
What will be the transient current injected into the product : A large metal object has 10 pF of capacitance to an adjacent product in a plastic enclosure. A discharge occurs to the metal object, and its voltage rises to 4000 V in 1 ns. What will be the transient current injected into the product?
Identify and define the combining forms : Identify and define the combining forms and suffixesintroduced. Correctly spell medical terms and major anatomical structures relating to the clinical cases
What is mean by saying correlation does not imply causality : What do we mean when we say that correlation does not imply causality?- What are some of the ways in which an empirical analyst attempts to disentangle the two?
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. The array should allow for a maximum of 100 entries
Is there a way to validate the position of the security : Although companies or individuals are given detail information that is required by the SEC, is there a way to validate the position of the security?
What was the soccer ball beginning upward velocity : If a soccer ball is kicked up into the air and it spends 4.78 seconds to reach the top of the flight, what was the soccer ball's beginning upward velocity?
What is wrong with given analysis : This researcher then concluded that divorce is bad for children's test outcomes.- What is wrong with this analysis?
Describe what is included in property plant and equipment : Describe what is included in Property, Plant, and Equipment. Are there any special rules related to valuation of this group of assets? Evaluate if there any gains or losses included in the income statement balance.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Create a document which defines and describes it

Create a document which defines and describes IT. You may use any resource; however, be sure to cite any resources you use

  Verilogprogram for a sticky-counter state machine

Write an ABEL, VHDL, or Verilogprogram for a sticky-counter state machine with eight states, S0 -S7,that are coded into three bits in binary counting order. Besides CLOCK, the machine should have two inputs, RESET and ENABLE, and one output, DONE...

  A word document with another office-type document

A compound document within Microsoft Office usually consists of a Word document with another office-type document (i.e. Excel, PowerPoint slideshow, etc.) within the Word document.

  Convert the hexadecimal numbers to binary

Convert the following hexadecimal numbers to binary, then add them togather (assume you have an 8 bit processor that uses 2' compliment representation). : -

  Write a program that reads 100 numbers

design a program in python that continually reads in numbers from the user and adds them together until the sum reaches 100. Write another program that reads 100 numbers from the user and prints out the sum.

  Conduct research and provide a two page apa response

1.conduct research and provide a two page apa response. describe and discuss the following topics regarding nonlinear

  Describe the memory and paging sim

Your goal here is to use the simulators to understand these different types of memory caches. To do this, you need to run each type of simulator and document/explain what it is doing. For the three the cache simulators, you need to compare and con..

  Decision making systems

How we may leverage business intelligent to generate meaningful information and decision making systems in order to help the keep cost and the profits.

  A number of lossless text compression algorithms exist

A number of lossless text compression algorithms exist, though , none of these methods is able to consistently reach its theoretical best-case compression ratio.

  Questionyour company has seen significant internal projects

questionyour company has seen significant internal projects go off course during implementation. after-the-fact

  Cryptography in embedded systems

The purpose of this activity is to provide students with an opportunity to practice critiquing scholarly articles, which is a vital research skill.

  How can user context used to more effectively control data

How can user context be used to more effectively control data? Provide specific examples. Identify at least three companies that have software that manages user context.

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