Question

What is harder creating the data structure you thought of or writing the rules that support...

What is harder creating the data structure you thought of or writing the rules that support it? Give a detailed example.

Homework Answers

Answer #1

Writing the rules could be difficult that actually creating the data structure. This is because data structure can be easily created once the rules are set.

For example, if one has to create a library of organized books, there needs to be rules set in place on how many books are there, the way they are structured, that is whether using the name of a book or name of author, etc. and the way a specific book can be found.

One needs to know how a specific data structure works and then use it. The rules define how searching, sorting, deletion, insertion, etc. will occur in the database. It can be a lot easier to create a database when the rules are set.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Define the board space for a four-dimensional Tic Tac Toe board? (in C#) What is harder...
Define the board space for a four-dimensional Tic Tac Toe board? (in C#) What is harder creating the data structure you thought of or writing the rules that support it? Give a detailed example. How do you pass a structure or an array to a function? If I declare a variable as follows: int x; please describe how that variable is represented in memory. What does &(x) return? What does *(x) return? What does *(&(x)) return?
Create UML class diagram extension for an array data structure support of the iterator pattern. •...
Create UML class diagram extension for an array data structure support of the iterator pattern. • Write pseudo code to support iterator pattern for an array data structure
A platinum compound is thought to be [Pt(PF3)(PMe3)(NCS)2]. What is a possible structure and what is...
A platinum compound is thought to be [Pt(PF3)(PMe3)(NCS)2]. What is a possible structure and what is the Pt electron count? What information could you obtain about the structure of the compound via NMR spectroscopy?
Give one example of how you can support a person’s daily wellbeing in the areas detailed...
Give one example of how you can support a person’s daily wellbeing in the areas detailed below A: physical B:phsycological C: Social D: Spiritual E: Cultural F: Financial G: Career or occupation
You have been asked to assist a detective with writing a probable cause affidavit in support...
You have been asked to assist a detective with writing a probable cause affidavit in support of a request for a search warrant. The target of the investigation is a bookkeeper in a small business. You suspect embezzlement. What items might you list for search and seizure?
What is the difference between price and value? How does this relate to creating a model...
What is the difference between price and value? How does this relate to creating a model based on accounting data versus a model designed to deconstruct economic value? Provide either a real world or hypothetical example to support your answers to these questions.
2) So let's analyze giving a gift. There are definitely rules when you want to give...
2) So let's analyze giving a gift. There are definitely rules when you want to give a gift to someone, say a friend, a parent, or a partner. One example might be that you need to give a gift that is a appropriate in value. You don't want to give something too expensive or something too cheap. What are some of the other rules surrounding giving a gift in our culture? How we learn what those rules are, and what...
Give an example of something that distracts you from writing and describe how you might minimize...
Give an example of something that distracts you from writing and describe how you might minimize or eliminate it.
What are the advantages of creating an enumerated data type?
What are the advantages of creating an enumerated data type?
Describe an example of technical writing that you have recently written or encountered at work, home,...
Describe an example of technical writing that you have recently written or encountered at work, home, or school. Describe the characteristics that identify it as technical writing. Using the example you identified analyze the resource with regards to its target audience, the purpose of the writing, and the resource’s overall tone. Comment on the degree to which the resource is relevant to its apparent target audience and purpose. Cite textual evidence to support your analysis and commentary.