Shopping Cart


Categories

ECET 370 Week 7 ilab Collections Framework Latest Guide

  • ECET 370 Week 7 ilab Collections Framework Latest Guide
Model:Latest
  • Price : $12.00 | $10.00

This Tutorial Purchased: 8 Times Tutorial Rating: A+

attachments
This Tutorial contains following Attachments:
  • ECET 370 Week 7 ilab Collections Framework.txt

ECET 370 Week 7 ilab Collections Framework Latest Guide

iLAB OVERVIEW

Scenario and Summary

The purpose of the lab exercises is to help the student acquire skills in developing programs that involve the use of the collections framework.
Deliverables

There are five exercises in this lab, although not all of them will be required for submission. Be sure to read the following instructions carefully.
Exercise 1: No submission is required.

Create a folder and name it Week 7 Lab. Inside this folder, create the subfolders Ex2, Ex3, Ex4, and Ex5. Place the solution to each of the four exercises required for submission in the corresponding subfolder. Compress the folder Week 7 Lab, and drop the resulting zipped folder into the Dropbox.

Note that Exercises 2, 3, 4, and 5 require software development. Place only source files in the corresponding folders. Do not submit other types of files or folders that are generated by the IDE.

Exercises 2 and 4 should be implemented using the Java programming language, and Exercises 3 and 5 should be implemented using the C++ programming language. Exercise 1 requires both.

Required Software

Eclipse

Access the software at https://lab.devry.edu .

Microsoft Visual Studio 2012

Access the software at https://lab.devry.edu .

iLAB STEPS

Exercise 1: Lecture Review—JCF and STL

Back to Top

Create seven projects, JCF array list, JCF linked list, JCF sort,JCF stack, STL doubly linked list, STL stack and queue, and STL vector, using the programs in:

• JCF array list

• JCF linked list

• JCF sort

• JCF stack

• STL doubly linked list

• STL stack and queue

• STL vector

Compile the projects, run them, and review the code that is given carefully. These programs test the code discussed in our lecture.
Exercise 2: Using the JCF ArrayList

Back to Top

Write a Java program to store 1,000 random numbers, each in the interval [0, 500], in a java.util.ArrayList object. Print the numbers.
Exercise 3: Using the STL Vector

Back to Top

Write a C++ program to store the first 20 factorials: 1!, 2!, 3!, . . . , 20! in a vector object.

Exercise 4: Developing an Application with JCF

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. To implement the solution to this problem, use the stack data structure in JCF.

Note that this exercise is a variation of Exercise 3 in the lab of Week 3.

Exercise 5: Developing an Application with C++ ST

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. To implement the solution to this problem, use the queue data structure in C++ STL.

Note that this exercise is a variation of Exercise 6 in the lab of Week 3.

 

Write a review

Note: HTML is not translated!
    Bad           Good
Captcha
Solution Graphics
UOP Materials © 2021 All Rights Reserved