.
  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 » GlobalEdge Placement Papers » GlobalEdge Previous Year Placement Paper

 

GlobalEdge Placement Paper - C++ Questions


Advertisements
Advertisements




GlobalEdge Previous Years Solved Sample Placement Papers

  1. If the variable count exceeds 100, a single statement that prints “Too many” is:

    A: if (count < 100) cout << "Too many";

    B: if (count > 100) cout >> "Too many";

    C: if (count > 100) cout << "Too many";

    D: None of these.

    Ans: C
  2. Overloading the function operator:

    A: Requires a class with an overloaded operator.

    B: Requires a class with an overloaded [] operator.

    C: Allows you to create objects that act syntactically like functions.

    D: Usually makes use of a constructor that takes arguments.

    Ans: A
  3. In C++, the range of signed integer type variable is:

    A: 0 to 216

    B: -215 to 215 - 1

    C: -27 to 27 - 1

    D: 0 to 28

    Ans: B
  4. The major goal of inheritance in C++ is:

    A: To facilitate the conversion of data types.

    B: To help modular programming.

    C: To extend the capabilities of a class.

    D: To hide the details of the base class.

    Ans: C
  5. Consider the following class definitions:

        class a {
        };
        class b : protected a {
        };
        

    What happens when we try to compile this class?

    A: Will not compile because the class body of a is not defined.

    B: Will not compile because the class body of b is not defined.

    C: Will not compile because class a is not publicly inherited.

    D: Will compile successfully.

    Ans: D
  6. Which of the following statements are true in C++?

    A: Classes cannot have data as public members.

    B: Structures cannot have functions as members.

    C: Class members are public by default.

    D: None of these.

    Ans: B
  7. The use of the break statement in a switch statement is:

    A: Optional

    B: Compulsory

    C: To check an error

    D: None of the above

    Ans: A
  8. To be called object-oriented, a programming language must allow:

    A: Functions that return only a single value

    B: #include files

    C: Inheritance

    D: All of the above

    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-2025 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy