ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Scripts >> PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions (658)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (174)
 VB Script interview questions  VB Script Interview Questions (338)
 JSP interview questions  JSP Interview Questions (99)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
Question
What are the differences between procedure-oriented
languages and object-oriented languages?
 Question Submitted By :: PhpWizz
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the differences between procedure-oriented languages and object-oriented languages?
Answer
# 1
procedure oriented have more code where as object oriented
have less code

 
Is This Answer Correct ?    40 Yes 57 No
Umapathi
 
  Re: What are the differences between procedure-oriented languages and object-oriented languages?
Answer
# 2
In procedural programming the main emphasis is on procedure
while in object oriented the data is important part. on the
same hand data is more secured in object oriented program.
-----------------------------------------------------------
Procedure Oriented Language:
---------------------------
PO Language is fully concentrates on
Procedures/functions/methods. It normally works as a
sequence of actions as seen in flowchart or in any
algorithm. It follows top-down approach. It totally focuses
on methods and not the data which is utilized by methods.
In PO languages if data is used by many methods then its
declared as global data but there is a problem if we do
that, what is that, if we forgot or by mistake if we
consume that data in some other method than it comes with
problem. Mostly these scenarios happen in large systems.

Example: COBOL, PASCAL, C, FORTRAN etc.

Object Oriented Language:
------------------------
OO concepts says it think about data and bind that data and
methods those are manipulating that data into one entity
known as object and then utilize that object into system.

Example: C++, Java, C#, VB.Net etc.

There are some fundamental concepts of OO Language which a
language has to follow to be a truly OO language.

OBJECT
CLASS
ABSTRACTION
ENCAPSULATION
DATA HIDING / INFORMATION HIDING
INHERITANCE
POLYMORPHISM
 
Is This Answer Correct ?    111 Yes 4 No
Kumar
 
 
 
  Re: What are the differences between procedure-oriented languages and object-oriented languages?
Answer
# 3
C employs top down approach which is an procedure oriented,
where as c++ employs bottom up approach which is an object
oriented language.
 
Is This Answer Correct ?    28 Yes 5 No
Sathish
 
  Re: What are the differences between procedure-oriented languages and object-oriented languages?
Answer
# 4
No Procedure Oriented Language Object Oriented Language
1 Procedure Oriented have more code. object oriented have less code

2 In procedural programming the main emphasis is on procedure
in object oriented the data is an important part.

3 PO Language is fully concentrates on
Procedures/functions/methods.
OO concepts says it think about data and bind that data and
methods those are manipulating that data into one entity
known as object and then utilize that object into system.

4 It follows top-down approach.
It follows bottom-up approach.
5 C employs top down approach which is an procedure oriented Language.
C++ employs bottom down approach which is an object oriented language.
6 COBOL, PASCAL, C, FORTRAN
are example of the procedure oriented language. C++, Java, C#, VB.Net are example of the object oriented language.
 
Is This Answer Correct ?    17 Yes 3 No
Abbas Chati
 
  Re: What are the differences between procedure-oriented languages and object-oriented languages?
Answer
# 5
In procedural programming the main emphasis is on procedure
while in object oriented the data is important part. on the
same hand data is more secured in object oriented program.
-----------------------------------------------------------
Procedure Oriented Language:
---------------------------
PO Language is fully concentrates on
Procedures/functions/methods. It normally works as a
sequence of actions as seen in flowchart or in any
algorithm. It follows top-down approach. It totally focuses
on methods and not the data which is utilized by methods.
In PO languages if data is used by many methods then its
declared as global data but there is a problem if we do
that, what is that, if we forgot or by mistake if we
consume that data in some other method than it comes with
problem. Mostly these scenarios happen in large systems.

Example: COBOL, PASCAL, C, FORTRAN etc.

Object Oriented Language:
------------------------
OO concepts says it think about data and bind that data and
methods those are manipulating that data into one entity
known as object and then utilize that object into system.

Example: C++, Java, C#, VB.Net etc.

There are some fundamental concepts of OO Language which a
language has to follow to be a truly OO language.

• OBJECT
• CLASS
• ABSTRACTION
• ENCAPSULATION
• DATA HIDING / INFORMATION HIDING
• INHERITANCE
• POLYMORPHISM
 
Is This Answer Correct ?    6 Yes 4 No
Sourabh
 
  Re: What are the differences between procedure-oriented languages and object-oriented languages?
Answer
# 6
i don't know but these answers are wrong. 
Is This Answer Correct ?    1 Yes 5 No
Manni
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
A company named Pensar Technologies in chennai has offered me a job as Software Trainee in chennai.But they are asking to pay demand draft of Rs.75000/- in the name of the company.They are saying the gross renumeration will pay Rs.90000/- annually.I want to know whether this is good or bad company?Help me out in this.   18
What the difference between WAMP5 1.7.3 and WampServer 2?   3
What is the difference between urlencode and urldecode ?   3
I have written a source code in php but I do not know how to compile that and conduct it with a website please explain me the how to compile that ?   1
How to make a file encrypt and decrypt? 3i-Infotech 4
How can I rotate an image? Rushmore-Consultancy 1
How can I find the colour of a pixel of an image? Rushmore-Consultancy 2
What are the different types of errors in PHP?   5
Draw the architecture of Zend engine?   4
What are the features and advantages of object-oriented programming? HCL 5
how to send mail in php but mail should be send in inbox not in spam.....:( ATS 2
Name the Functions in IMAP, POP3 AND LDAP?   2
 
For more PHP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com