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

Assignmenta talent competition has 5 judges each of whom

Assignment A talent competition has 5 judges, each of whom awards a score Resolved Question: A talent competition has 5 judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8 ...

Assignment lispoverviewthe purpose of this assignment is

ASSIGNMENT: LISP Overview The purpose of this assignment is for you to gain some experience designing and implementing LISP programs. This assignment explores only a few of the many interesting LISP features. This assign ...

Suppose a basic block is formed from the c assignment

Suppose a basic block is formed from the C assignment statements x = a + b + c + d + e + f; y = a + c + e; a) Give the three-address statements (only one addition per statement) for this block. b) Use the associative and ...

The exercise for this week is to write a class that

The exercise for this week is to write a class that simulates managing a simple bank account. The account is created with an initial balance. It is possible to deposit and withdraw funds, to add interest, and to find out ...

Assignmenta near expert at introductory problem solving and

Assignment A near expert at introductory problem solving and programming, you've decided to put your skills to good use by volunteering at SecurityCon, a security conference for IT professionals. The conference has space ...

Project on grammarsnbspcourseist 230cmpsc

PROJECT ON GRAMMARS   Course: IST 230/CMPSC 360   Deadline: see the calendar in Canvas for the deadline   Objective: To acquire a comprehensive understanding of the application of grammars and formal language theory to c ...

Program 1the local yogurt shop is expanding its selection

Program #1 The local yogurt shop is expanding its selection of frozen treats, and would like you to modify the program you wrote to calculate and print their customer's bills. You will also write a test plan to test the ...

Figure is code to count the number of primes from 2 to n

Figure is code to count the number of primes from 2 to n, using the sieve method on a suitably large array a. That is, a[i] is TRUE at the end only if there is no prime p i or less that evenly divides i. We initialize al ...

Pseudocodes and flowchartxyz company employees work for 8

Pseudocodes and flowchart XYZ company employees work for 8 hours a day and 40 hours in a week. The employees are paid overtime at the rate of half of the salary. Employees who get more than 15000 must pay a supplementary ...

Question 1 batteriesi want to use a galvanic cell to power

Question 1: Batteries I want to use a galvanic cell to power a 60-watt light bulb. Complete the following steps to determine how long the galvanic cell will power the light bulb before running out. a.) The galvanic cell ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro