Details of this Paper

ECET370 Lab 7 ? Guaranteed 100% score




ECET370 Lab 7;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;Microsoft Visual Studio 2010;Access the software at;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).


Paper#67798 | Written in 18-Jul-2015

Price : $27