Chat with us, powered by LiveChat CSC 212 Programming Assignment Developing a Photo Management Application - Writeedu

CSC 212 Programming Assignment Developing a Photo Management Application

CSC 212 Programming Assignment Developing a Photo Management Application

College of Computer and Information Sciences King Saud University

Fall 2020

1 Introduction The role of a photo management application is to organize photographs so that they can be easily accessed. In order to help organize photos, the user can provide tags to describe the content of the photos. A tag is a keyword associated with a photo. For example, we can associate the tag ”vacation” to any photo taken during a vacation. In Table 1, you may find some examples of photos and the tags that are used to describe them.

Table 1: Example of photos with associated tags.

hedgehog.jpg animal, hedgehog, apple, grass, green

bear.jpg animal, bear, cub, grass, wind

butterfly1.jpg insect, butterfly, flower, color

butterfly2.jpg insect, butterfly, black, flower

fox.jpg animal, fox, tree, forest, grass

panda.jpg animal, bear, panda, grass

wolf.jpg animal, wolf, mountain, sky, snow, cloud

raccoon.jpg animal, raccoon, log, snow

1

 

 

The photo manager organizes the photos into albums created by the user. An album is identified by a unique name and regroups photos that satisfy certain conditions. For the purpose of this assignment, the conditions used to create albums consist in a sequence of tags separated by ”AND”:

Tag1 AND Tag2 AND Tag3

Photos that contain all specified tags will appear in the album. An empty tag list matches all photos.

Example 1. Using the photos of Table 1, the album with the condition bear, will con- tain two photos (that of the panda and the grizzly bear). The album with the condition animal AND grass will contain four photos (hedgehog, grizzly bear, fox and panda). The albbum with no tags will contain all eight photos.

2 Inverted index In order to accelerate the search for photos, it is possible to store the tags in an inverted index. The idea is that instead of having the photos point to the tags, the inverted index will store all the tags, and each tag will point to all the photos that contain it.

The following is an example showing a partial inverted index for the photos shown above:

animal → hedgehog.jpg, bear.jpg, fox.jpg, panda.jpg, wolf.jpg, racoon.jpg apple → hedgehog.jpg bear → bear.jpg, panda.jpg black → butterfly2.jpg butterfly → butterfly1.jpg, butterfly2.jpg …

You are required to:

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteEdu. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

Do you need help with this question?

Get assignment help from WriteEdu.com Paper Writing Website and forget about your problems.

WriteEdu provides custom & cheap essay writing 100% original, plagiarism free essays, assignments & dissertations.

With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.

Chat with us today! We are always waiting to answer all your questions.

Click here to Place your Order Now