Purchase Solution

Top-down design, bottom-up design, and the this pointer

Not what you're looking for?

Ask Custom Question

1. Why is top down design beneficial. Compare this type of design to another type of design you known.

2. This and that is a powerful keyword used in Java. How is it used and why is it so beneficial? Give an example in your explanation.

Attachments
Purchase this Solution

Solution Summary

This solution provides a detailed discussion of the concept of top-down design and compares that with bottom-up design. It also discusses the use of the "this" keyword in Java.

Solution Preview

1. Why is top down design beneficial. Compare this type of design to another type of design you known.

Top down design is very useful because is allows for a "divide and
conquer" approach to problem solving. The developer starts by looking
at the big picture and defines the major parts to the problem, then
each individual piece is looked at and the process is repeated.

A good non-programming example is the task of traveling from one city
to another by air. At the highest level the tasks are:

1) get from the house to the airport
2) fly from one city to the other
3) get from the airport to the hotel

Now each ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Javscript Basics

Quiz on basics of javascript programming language.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.