Details of this Paper

CIS247 Lab 1 in C#

Description

solution


Question

iLab 1 of 7: Creating a User Interface;i L A B O V E R V I E W;Scenario and Summary;This program creates the basic user interface code that can be used, in the following week?s iLab assignments. The assignment will help you get started using the programming environment and some practice with coding. You will also be able to re-use much, if not all, of the code in later assignments.;In this program, you will create the following methods;1. DisplayApplicationInformation, which will provide the program user some basic information about the program.;2. DisplayDivider, which will provide a meaningful output separator between different sections of the program output.;3. GetInput, which is a generalized function that will prompt the user for a specific type of information, then return the string representation of the user input.;4. TerminateApplication, which provides a program termination message.;Using these methods, you will construct a program that prompts the user for the following;1. Their name, which will be a string data type;2. Their age, which will be an integer data type;3. The gas mileage for their car, which will be a double data type;D isplay of the collected information;Also, note that the program should contain a well document program header.;Deliverables;Before you post your lab in the dropbox, copy your entire program into a Notepad file and post that. I do not need you to zip the project or give me screen shots of the output.;Preparation;If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course Home.;Locate the Visual Studio 2010 icon and launch the program.;i L A B S T E P S;STEP 1: Review the Design;Download the program description and pseudocode. Make sure you fully understand the program design and ask any questions that you may have BEFORE you start programming.;Click Week 1 Lab Design to download the program design;STEP 2: Construct the Program;1. Start Visual Studio and create a new project titled "CIS247_WK1_Lab_LASTNAME;2. Using the Week 1 Lab Design construct the methods;3. Once the methods are constructed, use the Week 1 Lab Design document to create the Main method.;STEP 3: Compile and Test;When done, compile your code by clicking on Build->Build Solution. Then debug any errors until your code is error-free. If you click on the error in the Error Window, it takes you to the statement in your code, which produced the error. You can then click on F1, which launches the Microsoft Help Library, to see additional information and possible suggestions on how to fix your error.;To execute your code, click Start and then Start Debugging. Check your output to ensure that you have the desired output. If you need to fix anything, close your execution window, modify your code as necessary, and rebuild.;Create a test plan in order to make sure your application runs properly. A test plan is a series of tests you choose to perform, where you predefine the input values and write down the expected output. When you execute your code given the input values, your program should display the expected output. If it does not, this means you need to review your code and correct any mistakes. Creating several scenarios, based on the program complexity, ensures that your code runs properly.;Execute your code and check your output to ensure that you have the desired output. If you need to fix anything, close your execution window, modify your code as necessary, and rebuild.;STEP 4: Screen Prints;The output of your program should resemble the following;Image Description;STEP 5: Submit Deliverables;Before you post your lab in the dropbox, copy your entire program into a Notepad file and post that. I do not need you to zip the project or give me screen shots of the output.;Submit your lab to the Dropbox located on the silver tab at the top of this page. For instructions on how to use the Dropbox, read these Step-by-Step Instructions or watch this Dropbox Tutorial.;See Syllabus "Due Dates for Assignments & Exams" for due date information.

 

Paper#68592 | Written in 18-Jul-2015

Price : $22
SiteLock