GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Programming  >  C++
Go To First  |  Previous Question  |  Next Question 
 C++  |  Question 182 of 185    Print  
Modular Structered and OOPS
Compare Modular Structered Programming and Object Oriented Programming



  
Total Answers and Comments: 2 Last Update: November 17, 2008     Asked by: bijula 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 25, 2008 07:12:46   #1  
veerun14 Member Since: September 2008   Contribution: 4    

RE: Modular Structered and OOPS
In Modular programming everything is broken down into modules performing a constituent task.

Object Oriented programming revolves around a real world object. A Car Object is different from a driver Object yet both of them communicate using messages (or generally termed as methods). The main advantage of Object oriented programming is

encapsulation and Modularity

Users can easily change the car object without even worrying about the driver object even though they are in the same program. And any unwanted Objects (users) cannot access our object. Contrast this to the modular structure theme, if you change some thing in one structure it affects the entire program

 
Is this answer useful? Yes | No
November 15, 2008 15:02:44   #2  
mucdull Member Since: November 2008   Contribution: 6    

RE: Modular Structered and OOPS

Modular programming promotes the separation of a program into components
called modules. Interfaces act as the logical boundaries between modules which
express elements that are provided and required by the module. All elements
defined within a module are visible to other modules.


OO programming is similar to modular programming in the way that the
classes can be viewed as modules. Each class expresses a public interface that
is similar to the interface expressed in a module. However OO programming
introduces three very important concepts on top of modules: encapsulation,
inheritance, and polymorphism.


Simply put, encapsulation allows one to make only part of a class visible
to other classes , protecting the implementation. Inheritance allows one to
create new classes or subclasses that include elements of existing classes or
base classes. Polymorphism allows one to override existing behavior of the
base classes in a subclass.


 
Is this answer useful? Yes | No

 Related Questions

1.different types of languages compare in c++ and other lanuages2.oops concepts in other language oops
Read Answers (1) | Asked by : kannan
Tags : OOPS

Compare Modular Structered Programming and Object Oriented Programming 
Latest Answer : Modular programming promotes the separation of a program into components called modules. Interfaces act as the logical boundaries between modules which express elements that are provided and required by the module. All elements defined within ...
Read Answers (2) | Asked by : bijula


 Sponsored Links

 
Related Articles

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

OOPS Tutorials

Object oriented programming OOP is a computer science term used to characterize a programming language that began development in the 1960’ s The term object oriented programming’ was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

Neuro-linguistic Programming Methods

Neuro linguistic Programming Methods There are several methods used for performing Neuro linguistic Programming on an individual for obtaining insights into the psyche of the person in order to correct to modify certain patterns of behavior These techniques are also used for Neuro linguistic trainin
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

The Difficult Past of Neuro-linguistic programming

The Difficult Past of Neuro linguistic programming Neuro linguistic programming has had a rocky past with a number of lawsuits rivalry unsystematic development and intermittent progress During the 1980s the two founders separated after the lawsuit filed by Bandler Bandler went on to file several law
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape