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

  How is maintenance planned and controlled

Does your organization collect quantitative data on maintenance activities? If so, what type of data, and how are they used to guide and improve the maintenance process? If not, how is maintenance planned and controlled?

  How tcp is supposed to respond if a fin or an rst arrives

Consider both when the sequence number is within the receive window and when it is not.

  The field of information technology

The main page should have information about the field of information technology and the courses you would take in a typical CIS program. Also, add reasons why you decided to major in CIS. Finally, the main page should have three links. Each link will..

  What are the three goals of green computing

What are the three goals of green computing? -  Identify two basic characteristics of RAM and ROM. -  What is RFID technology?

  What do you mean by data independence

What do you mean by data independence? Explain your answer, paying attention to how data independence is implemented.

  Which design strategy would you recommend

Assume that you are developing a new system for a local real estate agency. The agency wants to keep a database of its own property listing and also wants to have access to the city wide multiple listing service used by all real estate agency. Which ..

  Examine the performance of this program as a function of k

Examine the performance of this program as a function of k.

  The provided assignment submission attach file

Screenshot File Submission: You must submit the screenshot file(s) using the provided Assignment Submission Attach File function located in the Blackboard online course shell. To access Assignment Submission Attach File function, you must select the ..

  How many passes will it take to sort the file completely

How many buffer pages do you need to sort the file completely in just two passes?

  Cloud computing represents a change

The CIO anticipates some resistance because cloud computing represents a change in what people are used to and needs your assistance.

  Classify the following materials into a, b, and cgroups

Classify the following materials into A, B, and Cgroups. Item No: 1 2 34567 8910

  Finding smallest set of vertices that forms a vertex cover

Then try to reduce the running time through the use of any heuristics you can think of. Next, try to find approximate solutions to the problem in the sense of finding the smallest set of vertices that forms a vertex cover.

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