1. CIS247A iLab 1 of 7Creating a User
Interface
Click this link to get the
tutorial:http://homeworkfox.com/tutorials/general-
questions/4460/cis247a-ilab-1-of-7-creating-a-user-
interface/
iLab 1 of 7: Creating a User Interface
Connect to the iLab here.
Submit your assignment to the Dropbox located on the silver tab at
the top of this page.
(See Syllabus "Due Dates for Assignments & Exams" for due dates.)
iLAB OVERVIEW
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 reuse 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 and then terminates the
application.
Using these methods, you will construct a program that prompts the user for the following:
2. 1. your name, which will be a string data type;
2. your age, which will be an integer data type;
3. the gas mileage for your car, which will be a double data type; and
4. a display of the collected information.
Also, note that the program should contain a well-documented program header.
Deliverables
Step Deliverable
Step Screenshot of running program
4 results
Step
Zip file with entire Lab files
5
Preparation:
If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course
Home.
Locate the Microsoft Visual Studio icon and launch the program.
iLAB STEPS
STEP 1: Review the Design
Download the program description and puesdocode design, and 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 program design.
STEP 2: Construct the Program
1. Start Microsoft Visual Studio and create a new project titled "CIS247C_WK1_Lab_LASTNAME".
2. Using the design, construct the methods.
3. Once the methods are constructed, use the design to create the main program.
STEP 3: Compile and Test
When done, ensure that there are no compile errors. If there are errors, open up the Error list and
fix all listed errors.
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
3. Capture the results of each test and paste them into a Word document. Below is a sample
program output.
Screenshot of a program output that reads: Welcome to your first Object Oriented Program--Employee ClassCIS247C,
Week 2 Lab Name: Prof.Nana Liu *************** Start Program *************** *************** Get Name *************** Please
enter your nameNana Liu Your name is: Nana Liu *************** Get Age *************** Please enter your age100 Your age
is: 100 *************** Get Mileage *************** Please enter your mileage52.16 Your car MPG is: 52.16 The end of the
CIS247C Week1 iLab. Press any key to continue. . .
STEP 5: Submit Deliverables
Put all of the Project files into a zip file.
Put the zip file, test plan, and screen shots (Word document) in the Dropbox.
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.