SlideShare a Scribd company logo
DEVRY ECET 370 Week 1 iLab Array-Based
Implementations NEW
Check this A+ tutorial guideline at
http://www.uopassignments.com/ecet-370-
devry/ecet-370-week-1-ilab-array-based-
implementations-recent
For more classes visit
http://www.uopassignments.com/
iLAB OVERVIEW
Scenario and Summary
The purpose of the iLab exercises is to help the
student acquire skills in developing programs that
require implementation with arrays of abstract
data types, such as lists and bags.
Note!Software Citation Requirements
This course uses open-source software which must
be cited when used for any student work. Citation
requirements are on theOpen Source Applications
page.
Please review the installation instruction files to
complete your assignment
Deliverables
There are four exercises in this iLab, although not
all of them will be required for submission. Be
sure to read the following instructions carefully.
Exercise 1: No submission is required.
Exercise 4 contains parts a, b, c and continues
through part i. Keep in mind that the methods
developed for each of these parts should be within
the same bag class.
Create a folder and name it Week 1 iLab. Inside
this folder, create the subfolders Ex2, Ex3, and Ex4.
Place the solution to each of the three exercises
required for submission in the corresponding
subfolder. Compress the folder Week 1 iLab, and
drop the resulting zipped folder into the Dropbox.
Note that Exercises 2, 3, and 4 require software
development. Place in the corresponding folders
only .java files. Do not submit the .class files or
other files or folders that are generated by the IDE.
Required Software
Eclipse
Access the software at https://lab.devry.edu .
iLAB STEPS
Exercise 1: Review of Array-Based Lists
Back to Top
Create a project using the classes in this zip file
and name it "A Simple ArrayList Class." Compile it,
run it, and review the code that is given carefully.
This code tests the ArrayList class discussed in the
lecture.
Exercise 2: Implementing an Array List
Back to Top
Modify the class ArrayList given in Exercise 1 by
using expandable arrays. That is, if the list is full
when an item is being added to this list, the
elements will be moved to a larger array. The new
array should have twice the size of the original
array.
Exercise 3: Using an Array-Based List
Back to Top
Using the class ArrayList completed in the
previous exercise, write a program to store 1,000
random numbers, each in the interval [0, 500]. The
initial size of the array in the class should be set to
100. Print the numbers.
Exercise 4: Implementing a Bag Class
Back to Top
Create a class bag (multiset) that uses an
expandable array to store the bag items. The item
type must be a Java String type; that is, the bag will
store strings of characters. The class should have
the methods listed below. Create a main class to
test your bag class. This main class should fill a bag
with the keywords of the Java language.
1. Bag(): default constructor
2. boolean isEmpty(): determines whether the bag
is empty
3. void print(): prints the bag elements
4. int getLength(): returns the number of items in
the bag
5. void clear(): removes all of the items from the
bag
6. void add(String item): adds an item to the bag
7. void removeOne(String item): removes item
from the bag; only one occurrence of item should
be removed.
8. void removeAll(String item): removes item from
the bag; all occurrences of item should be
removed.
9. int count(String item): counts the number of
occurrences of item in the bag
7. void removeOne(String item): removes item
from the bag; only one occurrence of item should
be removed.
8. void removeAll(String item): removes item from
the bag; all occurrences of item should be
removed.
9. int count(String item): counts the number of
occurrences of item in the bag

More Related Content

Similar to Devry ecet 370 week 1 i lab array

ECET 370 Inspiring Innovation--ecet370.com
ECET 370 Inspiring Innovation--ecet370.comECET 370 Inspiring Innovation--ecet370.com
ECET 370 Inspiring Innovation--ecet370.com
kopiko106
 
ECET 370 Education Planning--ecet370.com
 ECET 370 Education Planning--ecet370.com ECET 370 Education Planning--ecet370.com
ECET 370 Education Planning--ecet370.com
WindyMiller46
 
ECET 370 Redefined Education--ecet370.com
ECET 370 Redefined Education--ecet370.comECET 370 Redefined Education--ecet370.com
ECET 370 Redefined Education--ecet370.com
agathachristie210
 
ECET 370 Success Begins/Newtonhelp.com
ECET 370 Success Begins/Newtonhelp.comECET 370 Success Begins/Newtonhelp.com
ECET 370 Success Begins/Newtonhelp.com
ledlang1
 
ECET 370 Invent Yourself/newtonhelp.com
ECET 370 Invent Yourself/newtonhelp.comECET 370 Invent Yourself/newtonhelp.com
ECET 370 Invent Yourself/newtonhelp.com
lechenau124
 
ECET 370 HELPS Redefined Education--ecet370helps.com
ECET 370 HELPS Redefined Education--ecet370helps.comECET 370 HELPS Redefined Education--ecet370helps.com
ECET 370 HELPS Redefined Education--ecet370helps.com
GVlaxmi7
 
ECET 370 HELPS Education Counseling--ecet370helps.com
ECET 370 HELPS  Education Counseling--ecet370helps.comECET 370 HELPS  Education Counseling--ecet370helps.com
ECET 370 HELPS Education Counseling--ecet370helps.com
claric64
 
Devry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists newDevry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists new
mailemail
 
Devry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists newDevry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists new
uopassignment
 
Devry ecet 370 week 6 ilab binary trees new
Devry ecet 370 week 6 ilab binary trees newDevry ecet 370 week 6 ilab binary trees new
Devry ecet 370 week 6 ilab binary trees new
mailemail
 
Devry ecet 370 week 6 ilab binary trees new
Devry ecet 370 week 6 ilab binary trees newDevry ecet 370 week 6 ilab binary trees new
Devry ecet 370 week 6 ilab binary trees new
uopassignment
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
mailemail
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
olivergeorg
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
uopassignment
 
Devry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists newDevry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists new
mybrands2
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
nikig6806
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
mybrands2
 
Ecet 370 week 2 lab 2
Ecet 370 week 2 lab 2Ecet 370 week 2 lab 2
Ecet 370 week 2 lab 2
ciosweatousba1971
 
ECET 370 Exceptional Education - snaptutorial.com
ECET 370 Exceptional Education - snaptutorial.com ECET 370 Exceptional Education - snaptutorial.com
ECET 370 Exceptional Education - snaptutorial.com
donaldzs157
 
Ecet 370 Education Organization -- snaptutorial.com
Ecet 370   Education Organization -- snaptutorial.comEcet 370   Education Organization -- snaptutorial.com
Ecet 370 Education Organization -- snaptutorial.com
DavisMurphyB81
 

Similar to Devry ecet 370 week 1 i lab array (20)

ECET 370 Inspiring Innovation--ecet370.com
ECET 370 Inspiring Innovation--ecet370.comECET 370 Inspiring Innovation--ecet370.com
ECET 370 Inspiring Innovation--ecet370.com
 
ECET 370 Education Planning--ecet370.com
 ECET 370 Education Planning--ecet370.com ECET 370 Education Planning--ecet370.com
ECET 370 Education Planning--ecet370.com
 
ECET 370 Redefined Education--ecet370.com
ECET 370 Redefined Education--ecet370.comECET 370 Redefined Education--ecet370.com
ECET 370 Redefined Education--ecet370.com
 
ECET 370 Success Begins/Newtonhelp.com
ECET 370 Success Begins/Newtonhelp.comECET 370 Success Begins/Newtonhelp.com
ECET 370 Success Begins/Newtonhelp.com
 
ECET 370 Invent Yourself/newtonhelp.com
ECET 370 Invent Yourself/newtonhelp.comECET 370 Invent Yourself/newtonhelp.com
ECET 370 Invent Yourself/newtonhelp.com
 
ECET 370 HELPS Redefined Education--ecet370helps.com
ECET 370 HELPS Redefined Education--ecet370helps.comECET 370 HELPS Redefined Education--ecet370helps.com
ECET 370 HELPS Redefined Education--ecet370helps.com
 
ECET 370 HELPS Education Counseling--ecet370helps.com
ECET 370 HELPS  Education Counseling--ecet370helps.comECET 370 HELPS  Education Counseling--ecet370helps.com
ECET 370 HELPS Education Counseling--ecet370helps.com
 
Devry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists newDevry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists new
 
Devry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists newDevry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists new
 
Devry ecet 370 week 6 ilab binary trees new
Devry ecet 370 week 6 ilab binary trees newDevry ecet 370 week 6 ilab binary trees new
Devry ecet 370 week 6 ilab binary trees new
 
Devry ecet 370 week 6 ilab binary trees new
Devry ecet 370 week 6 ilab binary trees newDevry ecet 370 week 6 ilab binary trees new
Devry ecet 370 week 6 ilab binary trees new
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
 
Devry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists newDevry ecet 370 week 2 ilab linked lists new
Devry ecet 370 week 2 ilab linked lists new
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
 
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts newDevry ecet 370 week 3 ilab the stack and the queue ad ts new
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
 
Ecet 370 week 2 lab 2
Ecet 370 week 2 lab 2Ecet 370 week 2 lab 2
Ecet 370 week 2 lab 2
 
ECET 370 Exceptional Education - snaptutorial.com
ECET 370 Exceptional Education - snaptutorial.com ECET 370 Exceptional Education - snaptutorial.com
ECET 370 Exceptional Education - snaptutorial.com
 
Ecet 370 Education Organization -- snaptutorial.com
Ecet 370   Education Organization -- snaptutorial.comEcet 370   Education Organization -- snaptutorial.com
Ecet 370 Education Organization -- snaptutorial.com
 

More from mailemail

Uop ntc 324 week 5 individual systems scenario new
Uop ntc 324 week 5 individual systems scenario newUop ntc 324 week 5 individual systems scenario new
Uop ntc 324 week 5 individual systems scenario new
mailemail
 
Uop ntc 324 week 5 individual lab challenge new
Uop ntc 324 week 5 individual lab challenge newUop ntc 324 week 5 individual lab challenge new
Uop ntc 324 week 5 individual lab challenge new
mailemail
 
Uop ntc 324 week 4 learning team active directory new
Uop ntc 324 week 4 learning team active directory newUop ntc 324 week 4 learning team active directory new
Uop ntc 324 week 4 learning team active directory new
mailemail
 
Uop ntc 324 week 4 individual systems scenario new
Uop ntc 324 week 4 individual systems scenario newUop ntc 324 week 4 individual systems scenario new
Uop ntc 324 week 4 individual systems scenario new
mailemail
 
Uop ntc 324 week 4 individual lab challenge new
Uop ntc 324 week 4 individual lab challenge newUop ntc 324 week 4 individual lab challenge new
Uop ntc 324 week 4 individual lab challenge new
mailemail
 
Uop ntc 324 week 3 individual systems scenario new
Uop ntc 324 week 3 individual systems scenario newUop ntc 324 week 3 individual systems scenario new
Uop ntc 324 week 3 individual systems scenario new
mailemail
 
Uop ntc 324 week 3 individual lab challenge new
Uop ntc 324 week 3 individual lab challenge newUop ntc 324 week 3 individual lab challenge new
Uop ntc 324 week 3 individual lab challenge new
mailemail
 
Uop ntc 324 week 2 learning team hyper
Uop ntc 324 week 2 learning team hyperUop ntc 324 week 2 learning team hyper
Uop ntc 324 week 2 learning team hyper
mailemail
 
Uop ntc 324 week 2 individual lab challenge new
Uop ntc 324 week 2 individual lab challenge newUop ntc 324 week 2 individual lab challenge new
Uop ntc 324 week 2 individual lab challenge new
mailemail
 
Uop ntc 324 week 1 individual lab challenge new
Uop ntc 324 week 1 individual lab challenge newUop ntc 324 week 1 individual lab challenge new
Uop ntc 324 week 1 individual lab challenge new
mailemail
 
Uop ntc 324 entire course new
Uop ntc 324 entire course newUop ntc 324 entire course new
Uop ntc 324 entire course new
mailemail
 
Ntc 324 week 3 individual systems scenario new
Ntc 324 week 3 individual systems scenario newNtc 324 week 3 individual systems scenario new
Ntc 324 week 3 individual systems scenario new
mailemail
 
Uop ntc 320 week 4 team progress report new
Uop ntc 320 week 4 team progress report newUop ntc 320 week 4 team progress report new
Uop ntc 320 week 4 team progress report new
mailemail
 
Uop ntc 320 week 4 route redistribution planning new
Uop ntc 320 week 4 route redistribution planning newUop ntc 320 week 4 route redistribution planning new
Uop ntc 320 week 4 route redistribution planning new
mailemail
 
Uop ntc 320 week 3 team progress report new
Uop ntc 320 week 3 team progress report newUop ntc 320 week 3 team progress report new
Uop ntc 320 week 3 team progress report new
mailemail
 
Uop ntc 320 week 3 branch office wan design new
Uop ntc 320 week 3 branch office wan design newUop ntc 320 week 3 branch office wan design new
Uop ntc 320 week 3 branch office wan design new
mailemail
 
Uop ntc 320 week 2 team project plan new
Uop ntc 320 week 2 team project plan newUop ntc 320 week 2 team project plan new
Uop ntc 320 week 2 team project plan new
mailemail
 
Uop ntc 245 week 5 discussion questions new
Uop ntc 245 week 5 discussion questions newUop ntc 245 week 5 discussion questions new
Uop ntc 245 week 5 discussion questions new
mailemail
 
Uop ntc 245 week 4 discussion questions new
Uop ntc 245 week 4 discussion questions newUop ntc 245 week 4 discussion questions new
Uop ntc 245 week 4 discussion questions new
mailemail
 
Uop ntc 245 week 3 discussion questions new
Uop ntc 245 week 3 discussion questions newUop ntc 245 week 3 discussion questions new
Uop ntc 245 week 3 discussion questions new
mailemail
 

More from mailemail (20)

Uop ntc 324 week 5 individual systems scenario new
Uop ntc 324 week 5 individual systems scenario newUop ntc 324 week 5 individual systems scenario new
Uop ntc 324 week 5 individual systems scenario new
 
Uop ntc 324 week 5 individual lab challenge new
Uop ntc 324 week 5 individual lab challenge newUop ntc 324 week 5 individual lab challenge new
Uop ntc 324 week 5 individual lab challenge new
 
Uop ntc 324 week 4 learning team active directory new
Uop ntc 324 week 4 learning team active directory newUop ntc 324 week 4 learning team active directory new
Uop ntc 324 week 4 learning team active directory new
 
Uop ntc 324 week 4 individual systems scenario new
Uop ntc 324 week 4 individual systems scenario newUop ntc 324 week 4 individual systems scenario new
Uop ntc 324 week 4 individual systems scenario new
 
Uop ntc 324 week 4 individual lab challenge new
Uop ntc 324 week 4 individual lab challenge newUop ntc 324 week 4 individual lab challenge new
Uop ntc 324 week 4 individual lab challenge new
 
Uop ntc 324 week 3 individual systems scenario new
Uop ntc 324 week 3 individual systems scenario newUop ntc 324 week 3 individual systems scenario new
Uop ntc 324 week 3 individual systems scenario new
 
Uop ntc 324 week 3 individual lab challenge new
Uop ntc 324 week 3 individual lab challenge newUop ntc 324 week 3 individual lab challenge new
Uop ntc 324 week 3 individual lab challenge new
 
Uop ntc 324 week 2 learning team hyper
Uop ntc 324 week 2 learning team hyperUop ntc 324 week 2 learning team hyper
Uop ntc 324 week 2 learning team hyper
 
Uop ntc 324 week 2 individual lab challenge new
Uop ntc 324 week 2 individual lab challenge newUop ntc 324 week 2 individual lab challenge new
Uop ntc 324 week 2 individual lab challenge new
 
Uop ntc 324 week 1 individual lab challenge new
Uop ntc 324 week 1 individual lab challenge newUop ntc 324 week 1 individual lab challenge new
Uop ntc 324 week 1 individual lab challenge new
 
Uop ntc 324 entire course new
Uop ntc 324 entire course newUop ntc 324 entire course new
Uop ntc 324 entire course new
 
Ntc 324 week 3 individual systems scenario new
Ntc 324 week 3 individual systems scenario newNtc 324 week 3 individual systems scenario new
Ntc 324 week 3 individual systems scenario new
 
Uop ntc 320 week 4 team progress report new
Uop ntc 320 week 4 team progress report newUop ntc 320 week 4 team progress report new
Uop ntc 320 week 4 team progress report new
 
Uop ntc 320 week 4 route redistribution planning new
Uop ntc 320 week 4 route redistribution planning newUop ntc 320 week 4 route redistribution planning new
Uop ntc 320 week 4 route redistribution planning new
 
Uop ntc 320 week 3 team progress report new
Uop ntc 320 week 3 team progress report newUop ntc 320 week 3 team progress report new
Uop ntc 320 week 3 team progress report new
 
Uop ntc 320 week 3 branch office wan design new
Uop ntc 320 week 3 branch office wan design newUop ntc 320 week 3 branch office wan design new
Uop ntc 320 week 3 branch office wan design new
 
Uop ntc 320 week 2 team project plan new
Uop ntc 320 week 2 team project plan newUop ntc 320 week 2 team project plan new
Uop ntc 320 week 2 team project plan new
 
Uop ntc 245 week 5 discussion questions new
Uop ntc 245 week 5 discussion questions newUop ntc 245 week 5 discussion questions new
Uop ntc 245 week 5 discussion questions new
 
Uop ntc 245 week 4 discussion questions new
Uop ntc 245 week 4 discussion questions newUop ntc 245 week 4 discussion questions new
Uop ntc 245 week 4 discussion questions new
 
Uop ntc 245 week 3 discussion questions new
Uop ntc 245 week 3 discussion questions newUop ntc 245 week 3 discussion questions new
Uop ntc 245 week 3 discussion questions new
 

Recently uploaded

Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 

Recently uploaded (20)

Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 

Devry ecet 370 week 1 i lab array

  • 1. DEVRY ECET 370 Week 1 iLab Array-Based Implementations NEW Check this A+ tutorial guideline at http://www.uopassignments.com/ecet-370- devry/ecet-370-week-1-ilab-array-based- implementations-recent For more classes visit http://www.uopassignments.com/ iLAB OVERVIEW Scenario and Summary The purpose of the iLab exercises is to help the student acquire skills in developing programs that require implementation with arrays of abstract data types, such as lists and bags. Note!Software Citation Requirements This course uses open-source software which must be cited when used for any student work. Citation requirements are on theOpen Source Applications page.
  • 2. Please review the installation instruction files to complete your assignment Deliverables There are four exercises in this iLab, although not all of them will be required for submission. Be sure to read the following instructions carefully. Exercise 1: No submission is required. Exercise 4 contains parts a, b, c and continues through part i. Keep in mind that the methods developed for each of these parts should be within the same bag class. Create a folder and name it Week 1 iLab. Inside this folder, create the subfolders Ex2, Ex3, and Ex4. Place the solution to each of the three exercises required for submission in the corresponding subfolder. Compress the folder Week 1 iLab, and drop the resulting zipped folder into the Dropbox. Note that Exercises 2, 3, and 4 require software development. Place in the corresponding folders only .java files. Do not submit the .class files or other files or folders that are generated by the IDE. Required Software Eclipse
  • 3. Access the software at https://lab.devry.edu . iLAB STEPS Exercise 1: Review of Array-Based Lists Back to Top Create a project using the classes in this zip file and name it "A Simple ArrayList Class." Compile it, run it, and review the code that is given carefully. This code tests the ArrayList class discussed in the lecture. Exercise 2: Implementing an Array List Back to Top Modify the class ArrayList given in Exercise 1 by using expandable arrays. That is, if the list is full when an item is being added to this list, the elements will be moved to a larger array. The new array should have twice the size of the original array. Exercise 3: Using an Array-Based List Back to Top Using the class ArrayList completed in the previous exercise, write a program to store 1,000
  • 4. random numbers, each in the interval [0, 500]. The initial size of the array in the class should be set to 100. Print the numbers. Exercise 4: Implementing a Bag Class Back to Top Create a class bag (multiset) that uses an expandable array to store the bag items. The item type must be a Java String type; that is, the bag will store strings of characters. The class should have the methods listed below. Create a main class to test your bag class. This main class should fill a bag with the keywords of the Java language. 1. Bag(): default constructor 2. boolean isEmpty(): determines whether the bag is empty 3. void print(): prints the bag elements 4. int getLength(): returns the number of items in the bag 5. void clear(): removes all of the items from the bag 6. void add(String item): adds an item to the bag
  • 5. 7. void removeOne(String item): removes item from the bag; only one occurrence of item should be removed. 8. void removeAll(String item): removes item from the bag; all occurrences of item should be removed. 9. int count(String item): counts the number of occurrences of item in the bag
  • 6. 7. void removeOne(String item): removes item from the bag; only one occurrence of item should be removed. 8. void removeAll(String item): removes item from the bag; all occurrences of item should be removed. 9. int count(String item): counts the number of occurrences of item in the bag