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 using a program like WinZip, and drop the resulting zipped folder into the Dropbox.
Note that Exercises 2, 3, 4, and 5 require software development. Place in the corresponding folders only source files. Do not submit other types of files or folders that are generated by the IDE.
Exercises 1, 2, and 4 should be implemented using the Java programming language, and Exercises 1, 3, and 5 using the C++ programming language.
Required Software
Eclipse
Access the software at https://lab.devry.edu .
Microsoft Visual Studio 2010
Access the software at https://lab.devry.edu .
iLAB STEPS
Exercise 1: Lecture Review—JCF and STL
Back to Top
Create projects using the classes in the Doc Sharing areas labeled JCF array list, JCF linked list, JCF sort, JCF stack, STL doubly linked list, STL stack and queue, and 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 the first 20 factorials: 1!, 2!, 3!, . . . , 20! in a java.util.ArrayList object.
Exercise 3: Using the STL Vector
Back to Top
Write a C++ program to store the first 30 Fibonacci numbers in a vector object.
Exercise 4: Developing an Application with JCF
Back to Top
Design a Java application that maintains the data for a simple social network. Each person in the network should have a profile that contains the person’s name, current status, and a list of friends. Your application should allow a user to join the network, leave the network, create a profile, modify the profile, search for other profiles, and add friends.
Although you will have some freedom in the design of the data types, please note that both the social network and the list of friends for each person are collections.
This exercise is a variation of Exercise 15 in Chapter 13 of the textbook.
Exercise 5: Developing an Application with STL
Back to Top
Implement a C++ solution to Exercise 6 of the Week 3 Lab using the queue data structure of the C++ standard template library.
Write a program to simulate the implementation of a printer interface application. The application should consist of a print server object and document objects to be printed. The print server object should contain a queue to store the documents to be printed (therefore, the item type stored in your queue class should be document). Each document contains the name, length in bytes, time it was sent to the printer, and owner. Test your classes by deciding the next action randomly: a document leaves the queue (job completed), a new document arrives to the queue, or simply do nothing (the state of the system remains the same, printing, or idle).
* 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.