Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C# Programming Language Visual Basics Part 1 and Part 2 listed. Any help is GREA

ID: 3718208 • Letter: C

Question

C# Programming Language Visual Basics

Part 1 and Part 2 listed. Any help is GREATLY appreciated.

Q. This one is really tough!

Write a program that allows you to copy and paste a block of text into a text box on a Visual Basic form. After a button press, calculate the frequency of all the unique words in the text, and post the number of occurrences for each word ( and the word respectively) in another text box. Handle all possible errors you can think of. Omit numbers, or "words" that contain numbers or other non-alphabet characters. At the bottom list the total number of words in the text block.

In order to do this you will have to first parse the text and break it into individual words ( possibly in an array), removing non-words. After that you will need to loop through the array and identify unique words. At that point you can count the repetitions for each word, and post your output to the second text box.

Include screenshots of your working program in your essay, and explain how it works with source code included in the essay. Explain the code line by line.

Optional: include a table that lists the time required to identify unique words based on the text block size. For example, how many milliseconds does it take to calculate 100, 1000, 10000, 100000, and 1000000 words respectively.

Good Luck!!! If you complete this successfully, you can be CONFIDENT of your programming abilities.

Objective Assessment:


(Please include both the questions and the answers at the end of your essay submission.)

1. The ____________________ method of a string object can be used to determine the number of characters in the string.
Answer:
2. True or False: The IndexOf method of a string will return a set of characters at the specified index.
Answer:
3. True or False: The Trim method of a string will remove leading and trailing characters from a string.
Answer:
4. True or False: The Menu control is used to add a menu to a form.
Answer:
5. A(n) ____________________ key is a key sequence that allows you to select a menu item without opening the menu.
Answer:
6. The ____________________ event of a menu item can be used to process code based on the user’s menu selection.
Answer:
7. The ____________________ method is used to compare two strings.
Answer:
8. Which string property can be used to determine if a specific character appears in a string?
Answer:
9. What were the five string methods discussed in this lesson?
Answer:
10. What function would you use to retrieve the rightmost three characters of a string?
Answer:

Q. This one is really tough!

Write a program that allows you to copy and paste a block of text into a text box on a Visual Basic form. After a button press, calculate the frequency of all the unique words in the text, and post the number of occurrences for each word ( and the word respectively) in another text box. Handle all possible errors you can think of. Omit numbers, or "words" that contain numbers or other non-alphabet characters. At the bottom list the total number of words in the text block.

In order to do this you will have to first parse the text and break it into individual words ( possibly in an array), removing non-words. After that you will need to loop through the array and identify unique words. At that point you can count the repetitions for each word, and post your output to the second text box.

Include screenshots of your working program in your essay, and explain how it works with source code included in the essay. Explain the code line by line.

Optional: include a table that lists the time required to identify unique words based on the text block size. For example, how many milliseconds does it take to calculate 100, 1000, 10000, 100000, and 1000000 words respectively.

Good Luck!!! If you complete this successfully, you can be CONFIDENT of your programming abilities.

Explanation / Answer

Hi Friend, I have answered first 4 questions:

1. length() , this method is used to find the length of string
2. False, IndexOf returns the index of particular characters
3. True, yes trim remoes leading and trailling spaces
4. True