SlideShare a Scribd company logo
DEVRY ECET 370 Week 3 ilab The Stack and the
Queue ADTs NEW
Check this A+ tutorial guideline at
http://www.uopassignments.com/ecet-370-
devry/ecet-370-week-3-ilab-the-stack-and-
the-queue-adts-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
involve the use of the stack and the queue data
structures.
Deliverables
There are six exercises in this iLab, although not
all of them will be required for submission. Be
sure to read the following instructions carefully.
Exercises 1 and 4: No submissions are required.
Create a folder and name it Week 3 iLab. Inside
this folder, create the subfolders Ex2, Ex3, Ex5, and
Ex6. Place the solution to each of the four exercises
required for submission in the corresponding
subfolder. Compress the folder Week 3 iLab using
a program like WinZip, and drop the resulting
zipped folder into the Dropbox.
Note that Exercises 2, 3, 5, and 6 require software
development. Place only .java files in the
corresponding folders. 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 the Stack ADT
Back to Top
Create a project using the classes in "A Simple
Stack Class". Compile the project, run it, and
review the code that is given carefully. This code
tests the stack class provided in the lecture.
Exercise 2: An Improved Stack Class
Back to Top
Modify the stack class to include appropriate error
messages if invalid conditions occur—for example,
trying to pop an item when the stack is empty.
Exercise 3: Using a Stack in an Application
Back to Top
Complete Project 2 at the end of Chapter 5 in our
textbook: Write a Java program that uses a stack to
test whether an input string is a palindrome.
Exercise 11 defines "palindrome" and asks you to
describe a solution to this problem. As you can see,
you will need to read Exercise 11 to find the
meaning of palindrome.
To implement the solution to this problem, use the
stack of characters from the previous exercises (1
and 2).
Exercise 4: Review of the Queue ADT
Back to Top
Create a project using the classes in "A Simple
Queue Class." Compile the project, run it, and
review the code that is given carefully. This code
tests the queue class provided in the lecture.
Exercise 5: An Improved Queue Class
Back to Top
Modify the class queue to include appropriate
error messages if invalid conditions occur—for
example, trying to dequeue an item when the
queue is empty.
Exercise 6: Using a Queue in an Application
Back to Top
Complete Project 4 at the end of Chapter 10 in our
textbook:Simulate a small airport with one
runway. Airplanes waiting to take off join a queue
on the ground. Planes waiting to land join a queue
in the air. Only one plane can use the runway at
any given time. All planes in the air must land
before any plane can take off.

More Related Content

DOC
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
DOCX
ECET 370 Entire Course NEW
PDF
Oop april 2018
DOC
Devry ecet 370 week 1 i lab array
DOC
Devry ecet 370 week 1 i lab array
DOCX
Cis 355 i lab 1 of 6
DOCX
Cis 355 i lab 1 of 6
PDF
Eclipse Tips & Tricks - EclipseCon North America 2014
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
ECET 370 Entire Course NEW
Oop april 2018
Devry ecet 370 week 1 i lab array
Devry ecet 370 week 1 i lab array
Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6
Eclipse Tips & Tricks - EclipseCon North America 2014

What's hot (7)

PDF
Oop sample ktu
PDF
JDT Embraces Lambda Expressions - EclipseCon North America 2014
PDF
Eclipse Luna - What's New!
PDF
Eclipse and Java 8 - Eclipse Day India 2013
PPTX
Project presentation
PPT
Developing For Ubraa
Oop sample ktu
JDT Embraces Lambda Expressions - EclipseCon North America 2014
Eclipse Luna - What's New!
Eclipse and Java 8 - Eclipse Day India 2013
Project presentation
Developing For Ubraa
Ad

Similar to Devry ecet 370 week 3 ilab the stack and the queue ad ts new (20)

DOC
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
PPTX
stacks and queues for public
PPT
05-stack_queue.ppt
PPT
05-stack_basicqueuexample to clear concept.ppt
PPT
Fallsem2015 16 cp1699-20-jul-2015_rm01_stacks_and_queues
PPT
linked list in c++
PPTX
Stacks.pptx in software engineering in simple understanding
PDF
stacks and queues class 12 in c++
PPTX
queue.pptx
PPTX
Data structures and algorithms lab4
PPT
queuesArrays.ppt bbbbbbbbbbbbbbbbbbbbbbbbbb
PDF
UNIT II LINEAR DATA STRUCTURES – STACKS, QUEUES
PDF
ECET 370 Education Planning--ecet370.com
PDF
ECET 370 Redefined Education--ecet370.com
PPTX
Module 2 ppt.pptx
PPTX
Stack & Queue
PPTX
U3.stack queue
PPTX
Stack and Queue by M.Gomathi Lecturer
PDF
Devry ecet 370 week 3 ilab the stack and the queue ad ts new
stacks and queues for public
05-stack_queue.ppt
05-stack_basicqueuexample to clear concept.ppt
Fallsem2015 16 cp1699-20-jul-2015_rm01_stacks_and_queues
linked list in c++
Stacks.pptx in software engineering in simple understanding
stacks and queues class 12 in c++
queue.pptx
Data structures and algorithms lab4
queuesArrays.ppt bbbbbbbbbbbbbbbbbbbbbbbbbb
UNIT II LINEAR DATA STRUCTURES – STACKS, QUEUES
ECET 370 Education Planning--ecet370.com
ECET 370 Redefined Education--ecet370.com
Module 2 ppt.pptx
Stack & Queue
U3.stack queue
Stack and Queue by M.Gomathi Lecturer
Ad

More from olivergeorg (20)

DOC
Uop hcs 131 week 4 teamwork speech new
DOC
Hcr 240 week 9 final project putting it all together
DOC
Uop mkt 571 final exam guide
DOC
Devry ecet 105 week 7 i lab add subtractor using flip-flops new
DOC
Devry ecet 105 week 7 i lab add
DOC
Devry ecet 105 week 3 i lab introduction to digital logic gates new
DOC
Devry ecet 105 week 2 i lab soldering techniques and the electronic die kit new
DOC
Ash ece 430 week 2 journal new
DOC
Ash ece 430 week 2 assignment lesson plan new
DOC
Ash ece 430 week 1 reflective journal new
DOC
Ese 633 week 6 final paper
DOC
Ese 633 week 6 dq 1 course reflection discussion
DOC
Str 581 week 4 individual capstone final exam part 2 new
DOC
Str 581 week 2 individual capstone final exam part 1 new
DOC
Srm 320 week 5 final proposal
DOC
Srm 320 week 1 quiz
DOC
Ash srm 320 week 4 quiz
DOC
Ash srm 320 week 3 quiz
DOC
ACCT 212 entire course new
DOC
Acct 212 final exam
Uop hcs 131 week 4 teamwork speech new
Hcr 240 week 9 final project putting it all together
Uop mkt 571 final exam guide
Devry ecet 105 week 7 i lab add subtractor using flip-flops new
Devry ecet 105 week 7 i lab add
Devry ecet 105 week 3 i lab introduction to digital logic gates new
Devry ecet 105 week 2 i lab soldering techniques and the electronic die kit new
Ash ece 430 week 2 journal new
Ash ece 430 week 2 assignment lesson plan new
Ash ece 430 week 1 reflective journal new
Ese 633 week 6 final paper
Ese 633 week 6 dq 1 course reflection discussion
Str 581 week 4 individual capstone final exam part 2 new
Str 581 week 2 individual capstone final exam part 1 new
Srm 320 week 5 final proposal
Srm 320 week 1 quiz
Ash srm 320 week 4 quiz
Ash srm 320 week 3 quiz
ACCT 212 entire course new
Acct 212 final exam

Recently uploaded (20)

PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Empowerment Technology for Senior High School Guide
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Indian roads congress 037 - 2012 Flexible pavement
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Introduction to Building Materials
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Classroom Observation Tools for Teachers
PDF
IGGE1 Understanding the Self1234567891011
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
RMMM.pdf make it easy to upload and study
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
1_English_Language_Set_2.pdf probationary
Weekly quiz Compilation Jan -July 25.pdf
Complications of Minimal Access Surgery at WLH
Final Presentation General Medicine 03-08-2024.pptx
Empowerment Technology for Senior High School Guide
Final Presentation General Medicine 03-08-2024.pptx
Indian roads congress 037 - 2012 Flexible pavement
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Introduction to Building Materials
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Classroom Observation Tools for Teachers
IGGE1 Understanding the Self1234567891011
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Digestion and Absorption of Carbohydrates, Proteina and Fats
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
RMMM.pdf make it easy to upload and study
Orientation - ARALprogram of Deped to the Parents.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Unit 4 Skeletal System.ppt.pptxopresentatiom
What if we spent less time fighting change, and more time building what’s rig...
1_English_Language_Set_2.pdf probationary

Devry ecet 370 week 3 ilab the stack and the queue ad ts new

  • 1. DEVRY ECET 370 Week 3 ilab The Stack and the Queue ADTs NEW Check this A+ tutorial guideline at http://www.uopassignments.com/ecet-370- devry/ecet-370-week-3-ilab-the-stack-and- the-queue-adts-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 involve the use of the stack and the queue data structures. Deliverables There are six exercises in this iLab, although not all of them will be required for submission. Be sure to read the following instructions carefully. Exercises 1 and 4: No submissions are required.
  • 2. Create a folder and name it Week 3 iLab. Inside this folder, create the subfolders Ex2, Ex3, Ex5, and Ex6. Place the solution to each of the four exercises required for submission in the corresponding subfolder. Compress the folder Week 3 iLab using a program like WinZip, and drop the resulting zipped folder into the Dropbox. Note that Exercises 2, 3, 5, and 6 require software development. Place only .java files in the corresponding folders. 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 the Stack ADT Back to Top Create a project using the classes in "A Simple Stack Class". Compile the project, run it, and review the code that is given carefully. This code tests the stack class provided in the lecture.
  • 3. Exercise 2: An Improved Stack Class Back to Top Modify the stack class to include appropriate error messages if invalid conditions occur—for example, trying to pop an item when the stack is empty. Exercise 3: Using a Stack in an Application Back to Top Complete Project 2 at the end of Chapter 5 in our textbook: Write a Java program that uses a stack to test whether an input string is a palindrome. Exercise 11 defines "palindrome" and asks you to describe a solution to this problem. As you can see, you will need to read Exercise 11 to find the meaning of palindrome. To implement the solution to this problem, use the stack of characters from the previous exercises (1 and 2). Exercise 4: Review of the Queue ADT Back to Top Create a project using the classes in "A Simple Queue Class." Compile the project, run it, and
  • 4. review the code that is given carefully. This code tests the queue class provided in the lecture. Exercise 5: An Improved Queue Class Back to Top Modify the class queue to include appropriate error messages if invalid conditions occur—for example, trying to dequeue an item when the queue is empty. Exercise 6: Using a Queue in an Application Back to Top Complete Project 4 at the end of Chapter 10 in our textbook:Simulate a small airport with one runway. Airplanes waiting to take off join a queue on the ground. Planes waiting to land join a queue in the air. Only one plane can use the runway at any given time. All planes in the air must land before any plane can take off.