CIS170A Lab 2 in VB – Source code, word document and 8 screenshots attached – Guaranteed A+
A. Lab # CIS CIS170A-A1
B. Lab 2 of 7: Input and Output with Variables
C. Lab Overview – Scenario / Summary:
TCOs:
TCO 2 – Given a set of program specifications for a simple business problem requiring the use of input and output, code and test a program that meets the specifications and employs best programming practices.
TCO 3 – Given a set of program specifications for a simple business problem requiring the use of arithmetic expressions and built-in methods, code and test a program that meets the specifications and employs best programming practices.
This lab will accomplish the following:
• Input and output the user’s name
• Input the length of a side of a square and calculate and output the area
• Input the radius of a sphere and calculate and output the volume
D. Deliverables:
Step Deliverable Points
A-5 Project Files and Screen shots 20
B-5 Project Files and Screen shots 25
The dropbox deliverables include the following:
1. For each exercise, include a zipped file with all the files from your Visual Basic project (see directions in Doc Sharing on how to collect and zip files.)
2. For each lab, create a single MS Word document and include the following:
• For each lab, copy and paste your code directly into the MS Word file
• Include screenshot(s) of your test data with test results. Enter enough data to demonstrate that all your code has been tested.
• Include another screenshot of the Visual Basic build output messages. Check your build output to make sure you have a successful build with (0) errors and (0) warnings. NOTE: The build output messages appear at the bottom of your window after you click the Build menu and before you click the Start Without Debugging option. Your build output messages provide a list of compiler warnings or errors and let you know if your program compiled successfully
• Include the Word document for the portion of the as part of the Zipped project file
3. Upload each part of the lab into its corresponding weekly dropbox.
Part A: Basic Input/Output
Step 1: Open a new project
Be sure to have gone over Part A several times before you begin your laboratory assignment. In this part of the lab, you are asked to create a Visual Basic Windows Form application, without providing the specific instructions.
Create a new project in VB.NET. Name your project CIS170A_Lab02_A
Step 2: Program Description
In this project, you will create a Windows Form application that will collect the user’s first name, last name, major, and date of graduation. When the user selects “Display Information” a message box will be displayed that shows the input information and how many days remain before the user graduates from school.
Step 3: Build the Form
The following is a table listing the controls you should include in your final product along with their name and text properties.
Object Property Setting
frmPersonalInfo Text Personal Information
lblHeading Text Name, Course Title, Week Number, Lab Title
lblFirstName Text First Name
txtFirstName Text
lblLastName Text Last Name
txtLastName Text
lblGradDate Text Graduation Date
txtGradDate
lblMajor Text Major
txtMajor Text
btnDisplay Text Display Information
btnClear Text Clear
btnExit Text Exit
You are free to experiment with colors and form design as you see fit. However, your application must meet the listed requirements.
Step 4: Implement the Event Handlers
Use the following as the design for your event handlers:
Control Name Event Task
btnDisplay Click Set output string to FirstName + “ “ + LastName + “: Major = “ + Major + “: Days to graduation = “ + daysToGraduate
Display output string
btnClear Click Clear all textboxes
btnExit Click Close program (Hint: use “Me.close”)
Step 5: Deliverables
1. Capture a screen print of your output [Do a PRINT SCREEN and paste into an MS Word document].
2. Copy your code and Paste it into the same MS Word document that contains the screen print of your output.
3. Save the Word Document as CIS170A_Lab02_A _LastName_FirstInitial
4. Zip up the Word Document along with complete set of project files into a single document.
5. Place deliverables in the dropbox.
END OF PART A
Part B: Arithmetic Operations
Step 1: Create a New Project
Open a new project in VB.NET. Name your project CIS170A_Lab02_B
Step 2: Program Description
In this project, you will create a program that will provide the user the option of calculating the area of a square, area of circle, or the volume of sphere. The program will prompt the user to provide the appropriate side of the square, radius of the circle, and radius of a sphere. The program will then calculate and display the value associated with the selected type of shape.
Step 3: Build the Form
The following is a table listing the controls you should include in your final product along with their name and text properties.
Control Name Text
Form frmShapes Personal Information
Label lblHeading Name, Course Title, Week Number, Lab Title
Button btnSquare Square Area
Button btnCircle Circle Area
Button btnSphere Sphere Volume
Label lblOutput Shape type and calculated value
Button btnClear Clear
Button btnExit Exit
You are free to experiment with colors and form design as you see fit. However, your application must meet the listed requirements.
Step 4: Implement the Event Handlers
. Use the following as the design for your event handlers:
Control Name Event Task
btnSquare Click Set prompt = “Enter sides of the square”
Show Input Box
Convert string input to length
Area = length * length
Set output = “Square of side length “ + length + = “: “ + area
btnCircle Click Set prompt = “Enter radius of the circle”
Show Input Box
Convert string input to radius
Area = 3.14 * radius ^ 2
Set output = “Area of circle with radius “ + radius + = “: “ + area
btnSphere Click Set prompt = “Enter radius of the sphere”
Show Input Box
Convert string input to radius
Volume = (4/3) * 3.14 * radius ^ 3
Set output = “Volume of sphere with radius “ + radius + = “: “ + Volume
btnClear Click Clear output label
btnExit Click Close program (Hint: use “Me.close”)
Step 5: Deliverables
1. Capture a screen print of your output [Do a PRINT SCREEN and paste into an MS Word document].
2. Copy your code and Paste it into the same MS Word document that contains the screen print of your output.
3. Save the Word Document as CIS170A_Lab02_B_LastName_FirstInitial
4. Zip up the Word Document along with complete set of project files into a single document.
5. Place deliverables in the dropbox.
END OF PART B
END OF LAB 2







* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.