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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
   
 
Categories  >>  Software  >>  Scripts  >>  PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
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 56 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
 
How can we get the browser properties using PHP? Google4
hi to all i am fresher in php and want to learn php and want a fresher job in php. how to total time i expend to learn php and what is freshers salary.  9
Functions in IMAP, POP3 AND LDAP? Rushmore-Consultancy1
Give any ten basic functions in PHP? T3-Softwares4
explain the changes in php version  3
How we can convert dynamic url into static url? plz provide code. Xento1
Is there any function to find repeated value in an array? What is w2 standard  1
How do you develop your own PHP extension ?  2
What types of images that PHP supports?  2
how we can upload and view video files  2
1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ? TCS4
In PHP how many size data can upload by default? PG-Software9
 
For more PHP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2012  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com