Get To Know IT · Challenge

The Missing Product

Organisation

Get To Know IT

Difficulty

intermediate

Get To Know IT - Status

completed

The problem

What problem needs to be solved?

You are given a list of products from the online shop.

Each product contains information such as:

  • a product ID
  • a name
  • a price
  • a category
  • a stock quantity
  • a status

However, the data is not always correct. Some products may be missing a price, have an invalid category, or contain a negative stock quantity.

Develop an application that checks the product data and identifies invalid entries.

The application should not simply stop when it encounters the first error. It should try to find as many problems as possible and clearly explain what is wrong with each affected product.

Desired outcome

What should be achieved?

At the end, there should be an application that can read a product list and automatically validate it.

For every invalid product, the application should show:

  • which product is affected
  • which data is invalid
  • why the data is invalid

The application should also provide a summary, for example:

The application should continue to work reliably when processing a larger number of products.

The technical implementation is entirely up to you.

Skills

What you can learn.

  • Problem Solving
  • Data Validation
  • Error Handling
  • Data Processing
  • Debugging
  • Logical Thinking