Ask Question, Ask an Expert


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.


student poll                                                          __ [] x

  Enter an Integer (1-10) and press enter

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



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

Write an mdi project that is a simple text editor allow the

Write an MDI project that is a simple text editor. Allow the user to open multiple documents, each in a separate child form. For the text editor, use one big textbox control with its multiline property set to True or a R ...

The program will store the realty listings data as a

The program will store the realty listings data as a dynamically allocated LINKED LIST, instead of an array of records. The program will allow the realtors to both maintain and use the listings data. 1. Again, begin the ...

Complete case programming assignment at the end of chapter

Complete Case Programming Assignment at the end of Chapter 4, page 283. Be sure to create an event planning document for each event in the program prior to writing code. Write the code that will execute the program requi ...

Assignmentscenariosummaryin this lab you will create one

Assignment Scenario/Summary In this lab, you will create one project that reads from a file, one project that writes to a file, and one project drawing a snowman. Program files for each of the following programs. Write o ...

Resources appendices a amp dexamine the following

Resources: Appendices A & D Examine the following situation: Your company, Datamax, Inc., is in the process of automating its payroll systems. Your manager has asked you to create a program that calculates overtime pay f ...

Most languages are case sensitive so keywords can be

Most languages are case sensitive, so keywords can be written only one way, and the regular expressions describing their lexemes are very simple. However, some languages, like SQL, are case insensitive, so a keyword can ...

Assignment programming project expression treesthis project

Assignment Programming Project: Expression Trees This project deals with a simple kind of expression trees, in which there are two kinds of nodes: (a) Leaf nodes, which contain a real number as their clement; and (b) Non ...

Assignmentreference this assignment is an object oriented

Assignment Reference: This assignment is an object oriented version of the In-class assignment. The functionality supported for a single vehicle in ICA 01 would be extended to multiple vehicles using a single class Car, ...

First write a program that reads students names followed by

First... Write a program that reads students' names followed by their test scores. The program should output each student's name followed by the test scores and the relevant grade. It should also find and print the highe ...

Module implementation and support1 how methods of top-down

MODULE: IMPLEMENTATION AND SUPPORT 1) How methods of top-down and bottom-up development can be applied to object-oriented software. 2) Ccommon characteristics of the prototyping, spiral, UP, and XP development approaches ...

  • 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