Create windows form that prompts user survey responses

Assignment Help Visual Basic Programming
Reference no: EM13960369

Programming C# (Visual Studio Version 2008)

Q1. Write a GUI program that reads a five-letter word from the user and produces all possible three letter combinations that can be derived from the letters of the five-letter word. For example, the three-letter words produced from the word "bathe" include the commonly used words "ate," "bat," "bet," "tab," "hat," "the" and "tea," and the 3-letter combinations "bth," "eab," etc. Have a "Save" button and use SaveFileDialog to save the results to a file. Also, have an "Open" button and find the five letters which are used to create the opened file. A possible GUI is given below; feel free to design your own GUI.

534_GUI program.png

Q2. Suppose we wish to process survey results that are stored in a file. First, create a Windows Form that prompts the user for survey responses and outputs each response to a file. Use StreamWriter to create a file called numbers.txt. Each integer should be written using method Write.

Then add a TextBox that will output the frequency of survey responses. You should read the survey responses from numbers.txt. The responses should be read from the file by using a StreamReader. Class string's split method should be used to split the input string into separate responses, then each response should be converted to an integer. The program should continue to read responses until it reaches the end of file. The results should be output to the TextBox.

A possible GUI is given below; feel free to design your own GUI.

GUI DEDIGN:

------------------------------------------------------------------------------------

student poll                                                          __ [] x

-----------------------------------------------------------------------------------

  Enter an Integer (1-10) and press enter

   -------------------

   -------------------        Done (button here)

-------------------------------------------------------------------------------------

GUI DEDIGN:

------------------------------------------------------------------------------------

student poll                                                          __ [] x

-----------------------------------------------------------------------------------

  Enter an Integer (1-10) and press enter

   -------------------

   -------------------        Done (button here)

   -------------------

   -------------------        View Survey Results (click button here)

  Rating              Frequency

   1                         9

   2                         4

   3                         3

   4                         3

   5                         4

   6                         2

   7                         3

   8                         5

   9                         6

   10                       7

-------------------------------------------------------------------------------------

Reference no: EM13960369

Questions Cloud

Step-by-step mrp calculation process : Utilizing the Step-by-Step MRP Calculation Process, students will solve the following MRP problem given: Product A is an end item and is made from two units of B and four of C. B is made of three units of D and two of E. Product C is made of two u..
What is the probabilty of gettin 2 or fewer cubs of 5 cards : Calculate probabilites of gettin from 0 to 5 clubs on a hand
Calculate tension in newtons of cable attached to point c : A single cable supports a solid circular disk A and block B. The masses are 40kg and 25kg respectively. There is no slipping between the disk and cable. After the block is released from rest, determine the angular acceleration in. rad/s2 of the dis..
Leadership skills through a college course or courses : Should leadership be the manager's job, or should leadership be a shared process? Explain your answer. Are you interested in sharing leadership, or do you prefer to be a follower. Explain your answer.
Create windows form that prompts user survey responses : Write a GUI program that reads a five-letter word from the user and produces all possible three letter combinations that can be derived from the letters of the five-letter word.
Distinguish among cost center profit centers : Distinguish among cost centers, profit centers, and investment centers.
What is largest premium that investor will willing to pay : How does the premium change as the parameter ã increases?
With respect to overhead, what is the opportunity cost : Discuss how an allocation of overhead based on opportunity cost would facilitate an appropriate bidding decision.
Employee turnover in the hospitality industry : Employee turnover in the hospitality industry averages 400% annually. This means that, on average, 100% of the staff of a restaurant, hotel, airline, cruise ship, etc. is replaced four (4) times per year.

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  Need help building a vwd website

Need help building a VWD website. This website may not go live. I have little progress as a family tragedy has impeded my time for school.

  To develop a visual basic console application

The aim of the assessment is to develop a Visual Basic console application that performs a number of mathematical functions. The mathematics package will be menu driven, i.e. a number of options will be displayed, and the user will be able to input w..

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Develop vb-net application that includes arrays and loops

Develop a VB.NET application that includes arrays, loops, and IF statements to do the following. Your output must also display the number of applicant(s) being interviewed.

  Visual basic program to accept numeral values

Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.

  Write a visual logic program to accept series of number

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

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