Assignment incorporates the concepts from prior

Assignment Help Basic Computer Science
Reference no: EM131289178

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, using the Assignment Files tab:

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

Reference no: EM131289178

Questions Cloud

Results of these two experiments are independent : - Experiment 1 is successful with probability 2/3 and fails with probability 1/3. -  Experiment 2 is successful with probability 4/5 and fails with probability 1/5. - The results of these two experiments are independent of each other.
Determine which characters perspective you will adopt : Determine which character's perspective you will adopt. Identify two or more detection questions that define obligation and prohibition within the ethical theory you have chosen.
Python program that replaces text in a file : Python Assignment: Write a python program that replaces text in a file. Your program should prompt the user to enter a filename, an old string, and a new string.
Analyze issues involved in job design-resource planning : Analyze issues involved in job design, resource planning, and recruitment.Evaluate an organization's approaches to and procedures for training employees to meet organizational goals.
Assignment incorporates the concepts from prior : 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.
Would king and queen be liable to efl : Define actual and perceived independence, and explain the importance of each - Would your answer change if EFL had written to King & Queen advising you that they intended to make a loan to Impulse and were relying on the 2012 audited financial rep..
What suggestions would you offer to these organizations : What suggestions would you offer to these organizations regarding the types of compensation and benefit plans that would make their organization more competitive to attract highly skilled job seekers and to retain their existing workforce?
Why does your hr function exist : Who are your customers and what can you do for them that will enrich their lives and contribute to their success, both present and future?
What would your choice of derivative instruments be : What does the filing say about the types of derivative instruments Coca-Cola uses to hedge these risks? If the fi ling does not say anything about the types of derivative instruments used, what would your choice of derivative instruments be?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  The rigor of a methodology be useful

The rigor of a methodology be useful

  What three functions are the most important

DBMS has many functions. What three functions are the most important and why are they most important?

  Write an assembly language program that computes the product

Write an assembly language program that computes the product of two nonnegative integers a x b using IJVM instructions and 8088 MIC-1 MMV simulation environment.

  Write this alternative version of the function

Write this alternative version of the function and test it using the test code in Section 9.2.1 to make sure that your code works as expected.

  Explain intrinsic or extrinsic factors

Review your classmates' posts, and respond to at least two of your peers. Select at least one peer who noted different intrinsic or extrinsic factors than yours. Why do you think their factors are different

  Compute the shortest distance from new york to london

Compute the shortest distance from New York to London

  Explaining threat category

An individual threat can be represented in more than one threat category. If a hacker hacks into a network, copies a few files.

  Write an anonymous block that places a substitution variable

Write an anonymous block that places a substitution variable (&) into a local variable of type character. You should check the value entered in the local variable and output different messages depending on the value provided.

  How would you carry out the practical pricing of this option

How would you carry out the practical pricing of this option?

  Display the total payroll and the average amount paid

Display the total payroll and the average amount paid at the end of the run.

  Identify and characterize the hazards

Conduct a hazard analysis of your community. Based on your analysis, write a 5-10 page paper describing the high and moderate hazards you identified. Follow these steps:

  Location to be available in the new los angeles office

Network engineer for a small company with one local office in New York City. The company has been experiencing tremendous growth in the northeastern United States. As a result of this unprecedented growth, the company's management decides to es..

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