At least two optional data fields, Computer Engineering

Assignment Help:

As an XML expert you are needed to model a system for an online furniture shop. After an interview with the shop manager you have the certain information:

  • The detail of the furniture shop contains shop name, address, telephone number, website address (URL), and logo (image).
  • The furniture shop has the following types of objects for sale: beds, sofas, tables, wardrobes, etc. Every item has its name, item number, description, and price.

1) A bed can be single, double or king size bed.  A bed also has information about type (like bed frames, divan bed, adjustable bed, four poster bed) materials (such as wood), manufactory, product country, optionally with mattresses, etc.

2) A sofa can be a one seat, 2 seats or 3 seats sofa, with information of manufactory, product country, size, colour and face material (such as Leather).

3) The table have type (like dining table, coffee table, nest table), materials (like Acre Oak, glass), size, manufactory, and product country. Dining table can optionally have dining chairs, etc.

4) A wardrobe can be 2 doors or 3 doors. It also has information about the size, colour, manufactory, product country, optionally with door mirrored

Task. Examine the above-motioned scenario. Prepare data in XML, and add additional information you wish to record. Sketch your data structure. You should include:

  • 3 pieces of data or more for every item.
  • 2 or more attributes
  • At least two optional data fields.

 


Related Discussions:- At least two optional data fields

What is the relationship between clipping and repainting, When a window is ...

When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that needs repainting.

What is the use of isolated i/o configuration, What is the use of isolated ...

What is the use of isolated I/O configuration.  In isolated I/O configuration the CPU has distinct input and output instructions and each of these instructions is associated wi

How do you create special files like named pipes, How do you create special...

How do you create special files like named pipes and device files? The system call method forms special files in the following sequence. Kernel assigns new inode,

What is a good resolution, Q. What is a good resolution? In fact it rel...

Q. What is a good resolution? In fact it relies on your hardware. Hence it's the maximum your hardware can allow you.  But one odd-looking resolution that has become popular is

Determine a positive logic system logic state level, In a positive logic sy...

In a positive logic system, logic state 1 corresponds to ? Ans. For positive digital logic, we choose two voltages levels. Higher voltage shows logic 1 and a lower voltage sho

Why does microprocessor contain rom chips?, Microprocessor have ROM chip be...

Microprocessor have ROM chip because it have instructions to implement data. It have the monitor program which not only include implementation instruction but also interfacing

Difference between char a[] = "string", What is the difference between char...

What is the difference between char a[] = "string"; and char *p = "string";? Ans) In the first case 6 bytes are assigned to the variable a which is fixed, where as in the secon

What are the modes in which any update tasks work, What are the modes in wh...

What are the modes in which any update tasks work? Synchronous and Asynchronous.

Translate assembly language program to machine , A useful exercise in under...

A useful exercise in understanding assembly language and its relation to machine language is to take a short assembly language program and translate it to machine language by hand.

What do you mean by memory mapped i/o, What do you mean by memory mapped I/...

What do you mean by memory mapped I/O? In Memory mapped I/O, there is no particular input or output instructions. The CPU can manipulate I/O data residing in interface register

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd