Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Programming Language Expert

Programming C# (Visual Studio Version 2008)

Q1. prepare a GUI program that reads a five-letter word from the user and produces all probable three letter combinations which can be derived from letters of the five-letter word. For illustration, the three-letter words produced from the word “bathe” include the commonly employed 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 generate the opened file. A possible GUI is given below; feel free to design your own GUI.

568_three letter.jpg

 Q2. Assume 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 Streampreparer to create a file called numbers.txt. Each integer must be written using technique prepare. 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, and 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

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

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M91351

Have any Question? 


Related Questions in Programming Language

Programming assignment- implement a udp client and udp

PROGRAMMING ASSIGNMENT- Implement a UDP client and UDP server that support simple timeout-based retransmission with AIMD congestion control: -The client should send as many packets as are in its CURWIN (current window) a ...

Cp1404cp5632 2016 sp22252 assignment 1 - shopping list

CP1404/CP5632 2016 SP2/22/52 Assignment 1 - Shopping List 1.0 Task: You are to plan and then code a console-based program in Python 3, as described in the following information and sample output. This assignment will hel ...

Part a-1 what arguments can you make for the idea of a

Part A- 1. What arguments can you make for the idea of a single programming language for all programming domains? It would be ideal to have a single programming language for all 2. What arguments can you make against the ...

Assignmentcase problem1 - online trivia found on pages

Assignment: Case Problem1 - Online Trivia found on pages 794-795 of your textbook. Complete the web pages and upload them to your 000WebHost account. After uploading the files make sure to update your index.html page to ...

Programming lab assignment set awhat to submitcomplete

Programming Lab Assignment (Set A) What to Submit Complete Problem Solving Steps 1 - 3 (check plan, data analysis, initial algorithm, and refinement algorithm) for the following programs. 1. (Name: lab1a-1.cpp) Write a p ...

The briefyour small development team of ideally three

The Brief Your small development team of (ideally) three people has been asked to implement and test the Human Resource Information System desktop application. Your software product will be a database- backed desktop app ...

Engineering programmingi need this now please accurate

Engineering programming I need this now please accurate answers and must be high rated Problem #1 Write a program that asks the user to input the number of miles and convert the miles to kilometers, and then print the ou ...

Integrative programmingassignment- managing a user account

Integrative Programming Assignment- Managing a User Account List Objective: To manage a user list that can be modified and saved to a text file. Inputs: • Input text file consisting of pairs of usernames and passwords, s ...

Questioncomplete tutorial 10 case problem 2 - ridgewood

Question: Complete Tutorial 10 Case Problem 2 - Ridgewood Herald Tribune found on pages 734-736 of your textbook. Complete the entire website assignment and upload your files to your 000WebHost account. After uploading t ...

Computerscienceprogram-writeallofthefollowingmainprogramcall

Computer Science Program- Write all of the following: main program: Call a function to open an input file. Call a function to read 3 integers in from the input file. Call a function that will find 3 normalized doubles, g ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate