.
  Vyom World.com . Let's Touch the Sky Together!  
.

Home
VyomWorld.com Home
Interview Questions
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!


Home » Placement Papers » LG Placement Papers » LG Previous Year Placement Paper

 

LG Placement Paper -: Object-oriented programming (OOP) Questions And Answers


Advertisements
Advertisements




LG Previous Years Solved Sample Placement Papers

  1. QUESTION: Which of the following is not an extension associated during the creation of a C++ program?

    A: .cpp

    B: .exe

    C: .jpg

    D: .bak

    Ans: C
  2. QUESTION: Why every program begins with main() in C++?

    A: As this is from the compiler knows that program execution actually starts.

    B: Because its name is main

    C: Both A and B

    D: None of above

    Ans: A
  3. QUESTION: The wrapping up of data and functions into a single unit is called?

    A: Inheritance

    B: Polymorphism

    C: Encapsulation

    D: Overloading

    Ans: C
  4. QUESTION: The process by which objects of one class acquire the attributes of another class is known as?

    A: Inheritance

    B: Polymorphism

    C: Data Abstraction

    D: Binding

    Ans: A
  5. QUESTION: The technique by which objects communicate with each other is called?

    A: information passing

    B: function passing

    C: message passing

    D: none of above

    Ans: B
  6. QUESTION: Which of the following is false?

    A: Variable has scope & visibility

    B: Variables having scope may not be visible

    C: Variables having visibility may not have scope

    D: None of these

    Ans: C
  7. QUESTION: For a method to be an interface between the outside world and a class, it has to be declared?

    A: private

    B: protected

    C: public

    D: external

    Ans: C
  8. What is the error in the following code?

    class t
    {
      virtual void print();
    }
        

    A: No error

    B: Function print() should be declared as static.

    C: Function print() should be defined.

    D: Class t should contain data members.

    Ans: A
  9. It is possible to declare as a friend

    A: A member function

    B: A global function

    C: A class

    D: All of the above

    Ans: D
  10. How many types of expressions in C++?

    A: 5

    B: 6

    C: 7

    D: 8

    Ans: C
  11. QUESTION: Dragons have wings like a bird and scales like a lizard. In object-oriented verbiage, we would say this is an example of?

    A: Multilevel Inheritance

    B: Polymorphism

    C: Multiple inheritance

    D: Aggregation

    Ans: C
  12. QUESTION: Which of the following is false about object-oriented?

    A: is block structured language

    B: is not a block structured language

    C: aids in object-oriented programming

    D: is an extension of C

    Ans: A
  13. QUESTION: Polymorphism is implemented through which mechanism in C++?

    A: Late Interpretation

    B: Late Binding

    C: Early Binding

    D: Overloading

    Ans: C




 


.

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

Copyright ©2003-2024 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy