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

Student, Suppose we have an array-based list A[0..N - 1] and we want to del...

Suppose we have an array-based list A[0..N - 1] and we want to delete all duplicates. LastPosition is initially N - 1, but gets smaller as elements are deleted. Consider the pseudo

Texture - elements of composition, Texture Texture is how artists show...

Texture Texture is how artists show what an object would feel like to touch. This can have a dramatic effect on how an image is perceived. Imagine for instance an image that h

Network properties, Network Properties There are many properties are as...

Network Properties There are many properties are associated with interconnection networks:- 1) Topology: It signify how the nodes a network are organised. A variety of top

C, Write a program to find the area under the curve y = f(x) between x = a ...

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

What is the linkage section used for, The linkage section is used to pass d...

The linkage section is used to pass data from one program to one more program or to pass data from a PROC to a program.

What is the ''blocking factor'' of a file, The "blocking factor" of a file ...

The "blocking factor" of a file is? Ans. The number of logical records in single physical record is called the "blocking factor" of a file.

Name the two operations of stack, Name the two operations of stack A st...

Name the two operations of stack A stack has only two operations and they are insertion and deletion of items. The operation insertion is called push (or push-down) as it can b

What is demand paging, What is major difference between the Historic Unix a...

What is major difference between the Historic Unix and the new BSD release of Unix System V in terms of Memory Management? Historic Unix uses Swapping - Whole process is tran

How to transmits data in the active message buffer, Q. How to Transmits dat...

Q. How to Transmits data in the active message buffer? int pvm_bcast( char *group, int msgtag ) Transmits data in the active message buffer to a group of processes. msgt

How to calculate the logic circuit outputs, How to Calculate the Logic Circ...

How to Calculate the Logic Circuit Outputs? Once the Boolean expression for a circuit output has been acquired, the output logic level can be determined for any set of input le

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