SlideShare a Scribd company logo
1 of 10
Student Lab Activity
A. Lab # CIS CIS170A-A1
B. Lab 6 of 7: Arrays
C. Lab Overview – Scenario / Summary:
TCOs:
11. Given a set of program specifications for a simple business
problem that requires the use of a collection of data to solve a
business problem, code and test a program that implements
arrays that meet the specifications and employ best
programming practices.
12. Given a collection of data of a flexible and varying nature,
design, code, and test a program that implements the use of a
dynamic array that meets the specifications and employs best
programming practices.
This lab will familiarize the student with arrays by storing
values for rent in an apartment building in an array and
displaying the correct rent, based on which floor of the building
the unit is on.
D. Deliverables:
Step
Deliverable
Points
5
Program Listing, Output, and Project Files
45
The Dropbox deliverables include the following:
1. 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. 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 VB 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 as part of the zipped project file.
3. Upload each part of the lab into its corresponding weekly
Dropbox.
E. Lab Steps:
Preparation:
If you are using the Citrix remote lab, follow the login
instructions located in the iLab tab in Course Home.
Lab:
Step 1: Create a New Project
Create a Visual Basic Console Project in Visual Studio. Name
the Project CIS170A_Lab06.
Write the program that will use arrays to store rent by floor and
display the rent for the selected floor using the Processing
Logic provided in Step 2.
Step 2: Program Description
In this project, you will create a program, using an array, which
keeps a list of the rent rates for an apartment building. The rent
rate for an apartment depends on which floor the apartment is
located on and every apartment on the same floor has the same
rent rate. The program shall read the name of the apartment
building, how many floors the apartment building has, and get
the rental rates for each of the floors. Once the rental rates are
provided, the program shall list the rates. The program user
shall be able to provide a floor number and the program will
display the apartment building name, the total number of floors,
the requested floor, and how much the rent is for the given
floor.
The customer has several apartment buildings to choose from.
The smallest apartment building has three floors and the largest
apartment building has 20 floors. The program shall validate
that the floor number is between the minimum and maximum
floor values. Also, the minimum rental rate for any building is
$1,000 per month, while the highest rent is $2,500. The program
shall validate that the provided rental rates are within the
minimum and maximum rates.
Design Requirements:
In Week 7, we will expand on this program and in order to
easily modify it, your program will incorporate the following
design features:
1. The design will be modular and the event handlers shall not
contain any processing logic, but only invoke reusable modules.
2. All minimum and maximum values shall be declared as
constants.
3. The user shall not be able to input the floor he or she wants
to search for until after the apartment building name, the
number of floors in the building, and the rent values for each of
the floors in the building have been entered and validated.
4. Declare rentlist, numFloors, and requestedFloor as form level
variables. All other variables should be declared locally as
required.
The following shows the Program Hierarchy:
The following shows the flowchart of the program.
Step 3: Build The Form
The following is the Object, Property, Setting, Event chart for
the form controls, and each input field will have a label/input
field pair. Also, group the related information in the associated
group box.
The form and form controls will be logically placed on the
form, the controls aligned and sized, and a logical tab order will
be assigned to each of the form controls.
Object
Property
Setting
frmRentList
Text
Apartment Rent List
lblHeading
Text
Name, Course Title, Week Number, Lab Title
grpApartmentInfo
Text
Apartment Building Information
lblName
Text
Apartment Name:
txtName
Text
(empty)
lblNumFloors
Text
Number of Floors:
txtNumberFloors
Text
(empty)
lstRents
Items
(empty)
btnRentData
Text
Get Rent List
grpFloorRequest
Text
Floor Request
lblFloor Request
Text
Requested Floor
txtFloorRequest
Text
(empty)
btnGetFloorRent
Text
Get Floor Rent
grpResults
Text
Rent Results
lblRentResults
Text
(empty)
grpOperations
Text
Operations
btnClear
Text
Clear
btnExit
Text
Exit
Step 4: Implement the Event Handlers
Use the following as the design for your event handlers,
referring to the flowchart for rules on input validation and
processing. The final calculation SHOULD NOT be completed
until all the input fields are validated.
Control Name
Event
Task
txtName
Validating
Get apartment name
Validate apartment name
txtNumberFloors
Validating
Get number of floors
Validate number of floors
btnRentData
Click
Collect Floor Rent
Get Data
Add to lstRents
txtFloorRequests
Validating
Get requested floor
Validate requested floor
btnGetFloorRent
Click
Find Floor Data
Display Floor Data
btnClear
Click
Clear all textboxes and output label
btnExit
Click
Close program (Hint: use “Me.close”)
frmRentList
Load
Clear all textboxes and output label (Hint: call the ClearFields
module)
Step 5: Executing the Program
To execute your code, click Start and then start debugging.
Check your output to ensure that you have space(s) where
appropriate. If you need to fix anything, close your execution
window and modify your code as necessary and rebuild.
Step 6: 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_Lab06_LastName_FirstInitial
4. Zip up the Word document along with the complete set of
project files into a single document.
5. Place deliverables in the Dropbox.
END OF LAB
Version 1.0 Page 1 of 9
4/9/2009 Lab Activity MDD WBG310-A1
Page 8 of 10
Lab Activity CIS CIS170A-A5
Apartment Rental
Number of Floors
Validating Event
Validate Number
Input
Get Rent List
button click event
Collect Floor Rent
Data
Floor Request
Validating Event
Validate Number
Input
Name validating
event
Validate String
Input
Get Floor Rent
button click event
Find Floor Data
Display Floor Data
Program Hierarchy Chart
Get DataAdd to display list
Type of service:
Writing from scratch
Work type:
Coursework
Academic level:
College (1-2 years: Freshmen, Sophomore)
Subject or discipline:
Philosophy
Title:
assignment 3a
Number of sources:
2
Provide digital sources used:
No
Paper format:
MLA
# of pages:
2
Spacing:
Double spaced
# of words:
550
# of slides:
ppt icon 0
Paper details:
want the first part titled "Summary." This should be a minimum
of 250 words. I want the second part titled "Reflection." This
should be a minimum of 250 words as well. NO outside sources

More Related Content

Similar to Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docx

.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfoliomwillmer
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfacecis247
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfacesdjdskjd9097
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfacesdjdskjd9097
 
POS 408 Effective Communication - tutorialrank.com
POS 408  Effective Communication - tutorialrank.comPOS 408  Effective Communication - tutorialrank.com
POS 408 Effective Communication - tutorialrank.comBartholomew58
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceccis224477
 
PT1420 File Access and Visual Basic .docx
PT1420 File Access and Visual Basic                      .docxPT1420 File Access and Visual Basic                      .docx
PT1420 File Access and Visual Basic .docxamrit47
 
Pos 408 Social Responsibility - tutorialrank.com
Pos 408  Social Responsibility - tutorialrank.comPos 408  Social Responsibility - tutorialrank.com
Pos 408 Social Responsibility - tutorialrank.comPrescottLunt1008
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startednoahjamessss
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedgovendaagoovenda
 
CS8251_QB_answers.pdf
CS8251_QB_answers.pdfCS8251_QB_answers.pdf
CS8251_QB_answers.pdfvino108206
 
Book management system
Book management systemBook management system
Book management systemSHARDA SHARAN
 
Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Mark Vincent Cantero
 
Notes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculationsNotes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculationsWilliam Olivier
 

Similar to Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docx (20)

.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfolio
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interface
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
 
Csharp
CsharpCsharp
Csharp
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
 
POS 408 Effective Communication - tutorialrank.com
POS 408  Effective Communication - tutorialrank.comPOS 408  Effective Communication - tutorialrank.com
POS 408 Effective Communication - tutorialrank.com
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interface
 
PT1420 File Access and Visual Basic .docx
PT1420 File Access and Visual Basic                      .docxPT1420 File Access and Visual Basic                      .docx
PT1420 File Access and Visual Basic .docx
 
Cp e 214_appendix_c
Cp e 214_appendix_cCp e 214_appendix_c
Cp e 214_appendix_c
 
Pos 408 Social Responsibility - tutorialrank.com
Pos 408  Social Responsibility - tutorialrank.comPos 408  Social Responsibility - tutorialrank.com
Pos 408 Social Responsibility - tutorialrank.com
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-started
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-started
 
Oopp Lab Work
Oopp Lab WorkOopp Lab Work
Oopp Lab Work
 
CS8251_QB_answers.pdf
CS8251_QB_answers.pdfCS8251_QB_answers.pdf
CS8251_QB_answers.pdf
 
Book management system
Book management systemBook management system
Book management system
 
C++ Lab Maual.pdf
C++ Lab Maual.pdfC++ Lab Maual.pdf
C++ Lab Maual.pdf
 
C++ Lab Maual.pdf
C++ Lab Maual.pdfC++ Lab Maual.pdf
C++ Lab Maual.pdf
 
Vb6.0 intro
Vb6.0 introVb6.0 intro
Vb6.0 intro
 
Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)
 
Notes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculationsNotes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculations
 

More from emelyvalg9

you will post on a current political issue that interests you and be.docx
you will post on a current political issue that interests you and be.docxyou will post on a current political issue that interests you and be.docx
you will post on a current political issue that interests you and be.docxemelyvalg9
 
You will examine and summarize the public health responses to your s.docx
You will examine and summarize the public health responses to your s.docxYou will examine and summarize the public health responses to your s.docx
You will examine and summarize the public health responses to your s.docxemelyvalg9
 
You will engage with intercultural communication outside of class..docx
You will engage with intercultural communication outside of class..docxYou will engage with intercultural communication outside of class..docx
You will engage with intercultural communication outside of class..docxemelyvalg9
 
You will create a critical book review. It MUST contain the followin.docx
You will create a critical book review. It MUST contain the followin.docxYou will create a critical book review. It MUST contain the followin.docx
You will create a critical book review. It MUST contain the followin.docxemelyvalg9
 
You will craft a business report that demonstrates the company’s abi.docx
You will craft a business report that demonstrates the company’s abi.docxYou will craft a business report that demonstrates the company’s abi.docx
You will craft a business report that demonstrates the company’s abi.docxemelyvalg9
 
You will create a thread in response to the provided prompt for each.docx
You will create a thread in response to the provided prompt for each.docxYou will create a thread in response to the provided prompt for each.docx
You will create a thread in response to the provided prompt for each.docxemelyvalg9
 
you will choose a social issue affecting the workplace and working.docx
you will choose a social issue affecting the workplace and working.docxyou will choose a social issue affecting the workplace and working.docx
you will choose a social issue affecting the workplace and working.docxemelyvalg9
 
You will accomplish several acid-base titration exercises to complet.docx
You will accomplish several acid-base titration exercises to complet.docxYou will accomplish several acid-base titration exercises to complet.docx
You will accomplish several acid-base titration exercises to complet.docxemelyvalg9
 
You will be creating the front page of The Terrace Gazette. Your.docx
You will be creating the front page of The Terrace Gazette. Your.docxYou will be creating the front page of The Terrace Gazette. Your.docx
You will be creating the front page of The Terrace Gazette. Your.docxemelyvalg9
 
You want to create a study to examine the psychological factors affe.docx
You want to create a study to examine the psychological factors affe.docxYou want to create a study to examine the psychological factors affe.docx
You want to create a study to examine the psychological factors affe.docxemelyvalg9
 
You will be completing a Spotlight on a selected African nation.  .docx
You will be completing a Spotlight on a selected African nation.  .docxYou will be completing a Spotlight on a selected African nation.  .docx
You will be completing a Spotlight on a selected African nation.  .docxemelyvalg9
 
You receive a document (linked below) by certified mail. After readi.docx
You receive a document (linked below) by certified mail. After readi.docxYou receive a document (linked below) by certified mail. After readi.docx
You receive a document (linked below) by certified mail. After readi.docxemelyvalg9
 
You receive a document (linked below) by certified mail. After rea.docx
You receive a document (linked below) by certified mail. After rea.docxYou receive a document (linked below) by certified mail. After rea.docx
You receive a document (linked below) by certified mail. After rea.docxemelyvalg9
 
You recently received a Leader of the Year award from a local ci.docx
You recently received a Leader of the Year award from a local ci.docxYou recently received a Leader of the Year award from a local ci.docx
You recently received a Leader of the Year award from a local ci.docxemelyvalg9
 
Student Name _________________________________ Date _____________SE.docx
Student Name _________________________________  Date _____________SE.docxStudent Name _________________________________  Date _____________SE.docx
Student Name _________________________________ Date _____________SE.docxemelyvalg9
 
Student NameStudent ID No. Assessment Task 2. .docx
Student NameStudent ID No.              Assessment Task 2. .docxStudent NameStudent ID No.              Assessment Task 2. .docx
Student NameStudent ID No. Assessment Task 2. .docxemelyvalg9
 
Student Name Brief #5 Use of Audit Software Review and Survey.docx
Student Name Brief #5 Use of Audit Software Review and Survey.docxStudent Name Brief #5 Use of Audit Software Review and Survey.docx
Student Name Brief #5 Use of Audit Software Review and Survey.docxemelyvalg9
 
Student Instructions.JPGStudent.xlsxDocumentationCBAAuthor.docx
Student Instructions.JPGStudent.xlsxDocumentationCBAAuthor.docxStudent Instructions.JPGStudent.xlsxDocumentationCBAAuthor.docx
Student Instructions.JPGStudent.xlsxDocumentationCBAAuthor.docxemelyvalg9
 
Student Name________________ 1. Article Title, Author, Da.docx
Student Name________________ 1. Article Title, Author, Da.docxStudent Name________________ 1. Article Title, Author, Da.docx
Student Name________________ 1. Article Title, Author, Da.docxemelyvalg9
 
Student ID 52421157 Exam 250758RR - Essentials of Psycho.docx
Student ID 52421157 Exam 250758RR - Essentials of Psycho.docxStudent ID 52421157 Exam 250758RR - Essentials of Psycho.docx
Student ID 52421157 Exam 250758RR - Essentials of Psycho.docxemelyvalg9
 

More from emelyvalg9 (20)

you will post on a current political issue that interests you and be.docx
you will post on a current political issue that interests you and be.docxyou will post on a current political issue that interests you and be.docx
you will post on a current political issue that interests you and be.docx
 
You will examine and summarize the public health responses to your s.docx
You will examine and summarize the public health responses to your s.docxYou will examine and summarize the public health responses to your s.docx
You will examine and summarize the public health responses to your s.docx
 
You will engage with intercultural communication outside of class..docx
You will engage with intercultural communication outside of class..docxYou will engage with intercultural communication outside of class..docx
You will engage with intercultural communication outside of class..docx
 
You will create a critical book review. It MUST contain the followin.docx
You will create a critical book review. It MUST contain the followin.docxYou will create a critical book review. It MUST contain the followin.docx
You will create a critical book review. It MUST contain the followin.docx
 
You will craft a business report that demonstrates the company’s abi.docx
You will craft a business report that demonstrates the company’s abi.docxYou will craft a business report that demonstrates the company’s abi.docx
You will craft a business report that demonstrates the company’s abi.docx
 
You will create a thread in response to the provided prompt for each.docx
You will create a thread in response to the provided prompt for each.docxYou will create a thread in response to the provided prompt for each.docx
You will create a thread in response to the provided prompt for each.docx
 
you will choose a social issue affecting the workplace and working.docx
you will choose a social issue affecting the workplace and working.docxyou will choose a social issue affecting the workplace and working.docx
you will choose a social issue affecting the workplace and working.docx
 
You will accomplish several acid-base titration exercises to complet.docx
You will accomplish several acid-base titration exercises to complet.docxYou will accomplish several acid-base titration exercises to complet.docx
You will accomplish several acid-base titration exercises to complet.docx
 
You will be creating the front page of The Terrace Gazette. Your.docx
You will be creating the front page of The Terrace Gazette. Your.docxYou will be creating the front page of The Terrace Gazette. Your.docx
You will be creating the front page of The Terrace Gazette. Your.docx
 
You want to create a study to examine the psychological factors affe.docx
You want to create a study to examine the psychological factors affe.docxYou want to create a study to examine the psychological factors affe.docx
You want to create a study to examine the psychological factors affe.docx
 
You will be completing a Spotlight on a selected African nation.  .docx
You will be completing a Spotlight on a selected African nation.  .docxYou will be completing a Spotlight on a selected African nation.  .docx
You will be completing a Spotlight on a selected African nation.  .docx
 
You receive a document (linked below) by certified mail. After readi.docx
You receive a document (linked below) by certified mail. After readi.docxYou receive a document (linked below) by certified mail. After readi.docx
You receive a document (linked below) by certified mail. After readi.docx
 
You receive a document (linked below) by certified mail. After rea.docx
You receive a document (linked below) by certified mail. After rea.docxYou receive a document (linked below) by certified mail. After rea.docx
You receive a document (linked below) by certified mail. After rea.docx
 
You recently received a Leader of the Year award from a local ci.docx
You recently received a Leader of the Year award from a local ci.docxYou recently received a Leader of the Year award from a local ci.docx
You recently received a Leader of the Year award from a local ci.docx
 
Student Name _________________________________ Date _____________SE.docx
Student Name _________________________________  Date _____________SE.docxStudent Name _________________________________  Date _____________SE.docx
Student Name _________________________________ Date _____________SE.docx
 
Student NameStudent ID No. Assessment Task 2. .docx
Student NameStudent ID No.              Assessment Task 2. .docxStudent NameStudent ID No.              Assessment Task 2. .docx
Student NameStudent ID No. Assessment Task 2. .docx
 
Student Name Brief #5 Use of Audit Software Review and Survey.docx
Student Name Brief #5 Use of Audit Software Review and Survey.docxStudent Name Brief #5 Use of Audit Software Review and Survey.docx
Student Name Brief #5 Use of Audit Software Review and Survey.docx
 
Student Instructions.JPGStudent.xlsxDocumentationCBAAuthor.docx
Student Instructions.JPGStudent.xlsxDocumentationCBAAuthor.docxStudent Instructions.JPGStudent.xlsxDocumentationCBAAuthor.docx
Student Instructions.JPGStudent.xlsxDocumentationCBAAuthor.docx
 
Student Name________________ 1. Article Title, Author, Da.docx
Student Name________________ 1. Article Title, Author, Da.docxStudent Name________________ 1. Article Title, Author, Da.docx
Student Name________________ 1. Article Title, Author, Da.docx
 
Student ID 52421157 Exam 250758RR - Essentials of Psycho.docx
Student ID 52421157 Exam 250758RR - Essentials of Psycho.docxStudent ID 52421157 Exam 250758RR - Essentials of Psycho.docx
Student ID 52421157 Exam 250758RR - Essentials of Psycho.docx
 

Recently uploaded

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 

Recently uploaded (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docx

  • 1. Student Lab Activity A. Lab # CIS CIS170A-A1 B. Lab 6 of 7: Arrays C. Lab Overview – Scenario / Summary: TCOs: 11. Given a set of program specifications for a simple business problem that requires the use of a collection of data to solve a business problem, code and test a program that implements arrays that meet the specifications and employ best programming practices. 12. Given a collection of data of a flexible and varying nature, design, code, and test a program that implements the use of a dynamic array that meets the specifications and employs best programming practices. This lab will familiarize the student with arrays by storing values for rent in an apartment building in an array and displaying the correct rent, based on which floor of the building the unit is on. D. Deliverables: Step Deliverable Points 5 Program Listing, Output, and Project Files
  • 2. 45 The Dropbox deliverables include the following: 1. 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. 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 VB 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 as part of the zipped project file. 3. Upload each part of the lab into its corresponding weekly Dropbox. E. Lab Steps: Preparation: If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course Home. Lab: Step 1: Create a New Project
  • 3. Create a Visual Basic Console Project in Visual Studio. Name the Project CIS170A_Lab06. Write the program that will use arrays to store rent by floor and display the rent for the selected floor using the Processing Logic provided in Step 2. Step 2: Program Description In this project, you will create a program, using an array, which keeps a list of the rent rates for an apartment building. The rent rate for an apartment depends on which floor the apartment is located on and every apartment on the same floor has the same rent rate. The program shall read the name of the apartment building, how many floors the apartment building has, and get the rental rates for each of the floors. Once the rental rates are provided, the program shall list the rates. The program user shall be able to provide a floor number and the program will display the apartment building name, the total number of floors, the requested floor, and how much the rent is for the given floor. The customer has several apartment buildings to choose from. The smallest apartment building has three floors and the largest apartment building has 20 floors. The program shall validate that the floor number is between the minimum and maximum floor values. Also, the minimum rental rate for any building is $1,000 per month, while the highest rent is $2,500. The program shall validate that the provided rental rates are within the minimum and maximum rates. Design Requirements: In Week 7, we will expand on this program and in order to easily modify it, your program will incorporate the following design features:
  • 4. 1. The design will be modular and the event handlers shall not contain any processing logic, but only invoke reusable modules. 2. All minimum and maximum values shall be declared as constants. 3. The user shall not be able to input the floor he or she wants to search for until after the apartment building name, the number of floors in the building, and the rent values for each of the floors in the building have been entered and validated. 4. Declare rentlist, numFloors, and requestedFloor as form level variables. All other variables should be declared locally as required. The following shows the Program Hierarchy: The following shows the flowchart of the program. Step 3: Build The Form The following is the Object, Property, Setting, Event chart for
  • 5. the form controls, and each input field will have a label/input field pair. Also, group the related information in the associated group box. The form and form controls will be logically placed on the form, the controls aligned and sized, and a logical tab order will be assigned to each of the form controls. Object Property Setting frmRentList Text Apartment Rent List lblHeading Text Name, Course Title, Week Number, Lab Title grpApartmentInfo Text Apartment Building Information lblName Text Apartment Name: txtName Text (empty) lblNumFloors Text Number of Floors: txtNumberFloors Text (empty) lstRents Items (empty) btnRentData
  • 6. Text Get Rent List grpFloorRequest Text Floor Request lblFloor Request Text Requested Floor txtFloorRequest Text (empty) btnGetFloorRent Text Get Floor Rent grpResults Text Rent Results lblRentResults Text (empty) grpOperations Text Operations btnClear Text Clear btnExit Text Exit
  • 7. Step 4: Implement the Event Handlers Use the following as the design for your event handlers, referring to the flowchart for rules on input validation and processing. The final calculation SHOULD NOT be completed until all the input fields are validated. Control Name Event Task txtName Validating Get apartment name Validate apartment name txtNumberFloors Validating Get number of floors Validate number of floors btnRentData Click Collect Floor Rent Get Data Add to lstRents txtFloorRequests Validating Get requested floor Validate requested floor btnGetFloorRent Click Find Floor Data Display Floor Data btnClear Click Clear all textboxes and output label btnExit
  • 8. Click Close program (Hint: use “Me.close”) frmRentList Load Clear all textboxes and output label (Hint: call the ClearFields module) Step 5: Executing the Program To execute your code, click Start and then start debugging. Check your output to ensure that you have space(s) where appropriate. If you need to fix anything, close your execution window and modify your code as necessary and rebuild. Step 6: 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_Lab06_LastName_FirstInitial 4. Zip up the Word document along with the complete set of project files into a single document. 5. Place deliverables in the Dropbox. END OF LAB Version 1.0 Page 1 of 9 4/9/2009 Lab Activity MDD WBG310-A1 Page 8 of 10
  • 9. Lab Activity CIS CIS170A-A5 Apartment Rental Number of Floors Validating Event Validate Number Input Get Rent List button click event Collect Floor Rent Data Floor Request Validating Event Validate Number Input Name validating event Validate String Input Get Floor Rent button click event Find Floor Data Display Floor Data Program Hierarchy Chart Get DataAdd to display list Type of service: Writing from scratch Work type: Coursework Academic level: College (1-2 years: Freshmen, Sophomore) Subject or discipline: Philosophy
  • 10. Title: assignment 3a Number of sources: 2 Provide digital sources used: No Paper format: MLA # of pages: 2 Spacing: Double spaced # of words: 550 # of slides: ppt icon 0 Paper details: want the first part titled "Summary." This should be a minimum of 250 words. I want the second part titled "Reflection." This should be a minimum of 250 words as well. NO outside sources