Friday, March 20, 2009

Advantages and Disadvantages of Pseudocode

Advantages of Using Pseudocode: -

1.               1.    Clarify algorithms in many cases.

  1. Impose increased discipline on the process of documenting detailed design.
  2. Provide additional level at which inspection can be performed.
    1. Help to trap defects before they become code.
    2. Increases product reliability.
  3. May decreases overall costs.

Disadvantages of Using Pseudocode: -

  1. Create an additional level of documentation to maintain.
  2. Introduce error possibilities in translating to code.
  3. May require tool to extract pseudocode and facilitate drawing flowcharts.

Advantages and Disadvantages of Flowchart

Advantages Of Using FLOWCHARTS: -

  1. Communication: - Flowcharts are better way of communicating the logic of a system to all concerned.
  2. Effective analysis: - With the help of flowchart, problem can be analysed in more effective way.
  3. Proper documentation: - Program flowcharts serve as a good program documentation, which is needed for various purposes.
  4. Efficient Coding: - The flowcharts act as a guide or blueprint during the systems analysis and program development phase.
  5. Proper Debugging: - The flowchart helps in debugging process.
  6. Efficient Program Maintenance: - The maintenance of operating program becomes easy with the help of flowchart. It helps the programmer to put efforts more efficiently on that part


Disadvantages Of Using FLOWCHARTS: - 

  1. Complex logic: - Sometimes, the program logic is quite complicated. In that case, flowchart becomes complex and clumsy.
  2. Alterations and Modifications: - If alterations are required the flowchart may require re-drawing completely.
  3. Reproduction: - As the flowchart symbols cannot be typed, reproduction of flowchart becomes a problem.
  4. The essentials of what is done can easily be lost in the technical details of how it is done.

Characterstics of Structured and Object Oriented Language

STRUCTURED PROGRAMMING: -

1.       Structured programming takes on the top-to-bottom approach.

2.       It splits the tasks into modular forms. This makes the program simpler and easier to read with less lines and codes.

3.       This type of program accomplishes certain tasks for that a specific reason.

4.       For example, invoice printers use structured programming. This type has clear, correct, precise descriptions.

5.  For e.g.: - Pseudocode, Flowchart, etc.


OBJECT ORIENTED PROGRAMMING: -

1.       Object Oriented programming takes on the bottom-to-up approach.

2.       This type of programming uses sections in a program to perform certain tasks.

3.       It splits the program into objects that can be reused into other programs.

4.       They are small programs that can be used in other software.

5.       Each object or module has the data and the instruction of what to do with the data in it. This can be reused in other software directly.

6.  For e.g.: - Java, C++, Visual Basic, etc.

Java


History Of JAVA
Java is third generation language (high level language)

Before Java, C++ was the predominant language.

C++ is a system oriented language. Started in 1991 with the name oak (OAK was a tree)

First released in 1995 becomes popular in 1997 and its maost peak time was in the year 1999 but it fell down in 2001 then fter falldown it becomes popular once again in Nov, 2001.

Persons behind Java : - James Gosling with his team.

Company: - Sun Microsystems (http://www.sun.com/)