Laboratory assignments step 4

Objectives for Lab 1-2

After doing ONE lab in this step, where you create and/or use any kind of container, you will have more insight into the underlying functionality of container classes contained in the STL library. You will also have got more practice on adapting your programming to detailed lists of requirements/class diagram or to a larger amount of predefined software.

When choosing lab 1 (A Media application) you have the opportunity to develop a somewhat more independent task with great freedom in designing the solution to suit your ideas. However, there is a strict requirement list as a starting point for application functionality. A class diagram provides support for the development of the program, but you may additionally add any number of classes from the STL library or user-defined ones. In this application, which can be quite extensive, you apply C++ concept supporting encapsulation, generality, reuse, and in general promotes a high quality of your code. This assumes that you understand and without difficulty can apply the mechanisms discussed in the previous step!

If you choose lab 2 (Shortest path) you will solve a well known issue, most often called “the salesman problem”. This lab focuses on that you should familiarize yourself with a relatively large set of existing classes ,and to manage and complement them with the class(es) and application program that are missing. You will also get to implement a stack supporting the attached classes work on solving the “problem”. This task requires you to interpret and adapt your solution to a variety of predefined code, but on the other hand, the lab will require quite a small programming effort from your side.

Instructions

Only ONE of the labs is mandatory to perform. Which lab to choose is up to you, but be welcome to consult your supervisor, if being unsure of what is appropriate. The labs are not specifically linked to any grade level, instead they all have very different compositions and their “difficulties” are in very different areas. Your choice should therefore primarily be guided by interest and in what area you wish to develop yourself.

The software solutions must meet the requirements specified in the lab instructions and work flawlessly together with the (possible) test programs or classes supplied with the labs (see materials in the right menu).

Welcome to CoursePress

en utav Linnéuniversitets lärplattformar. Som inloggad student kan du kommunicera, hålla koll på dina kurser och mycket mer. Du som är gäst kan nå de flesta kurser och dess innehåll utan att logga in.

Läs mer lärplattformar vid Linnéuniversitetet

Student account

To log in you need a student account at Linnaeus University.

Read more about collecting your account

Log in LNU