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

 

Mascot Placement Paper -: DATA STRUCTURES Questions And Answers


Advertisements
Advertisements




Mascot Previous Years Solved Sample Placement Papers

  1. What is meant by multiple inheritance?

    A: Deriving a base class from derived class

    B: Deriving a derived class from base class

    C: Deriving a derived class from more than one base class

    D: None of the mentioned

    Ans: C
  2. The signature of a function is its ..... ?

    A: Function code

    B: Prototype

    C: Call

    D: Parameter list

    Ans: B
  3. What is true about inline functions ?

    A: It's a compulsion on the compiler to make function inline

    B: It's a request to the compiler to make the function inline

    C: It's the indication to the compiler that the function is recursive

    D: It's the indication to the compiler that the function is member function

    Ans: B
  4. Which member function of class cannot modify its objects attributes ?

    A: friend functions

    B: Private member functions

    C: Constant member functions

    D: Static member functions

    Ans: C
  5. Which of the following parameter passing mechanism is/are supported by C++ but not in C?

    A: Pass by value

    B: Pass by reference

    C: Pass by value result

    D: All of the above

    Ans: B
  6. Which of the following type of function is an ideal candidate for being declared inline ?

    A: A function that is small and is not called frequently

    B: A function that is small and is called frequently

    C: A function that is not small and is not called frequently

    D: A function that is not small and is called frequently

    Ans: B
  7. One of the disadvantage of pass by reference is that the called function may inadvertently corrupt the called data. This is avoided by ?

    A: passing pointers

    B: declaring the formal parameters constant

    C: declaring the actual parameters constant

    D: all of above

    Ans: B
  8. When an argument is passed by reference:

    A: A variable is created in the function to hold the argument value

    B: The function cannot access the argument value

    C: A temporary variable is created in the calling program to hold the argument's value

    D: None of these

    Ans: A
  9. Overloaded functions:

    A: Are a group of functions with the same value

    B: All have the same number and types of arguments

    C: Make life simpler for programmers

    D: May fail unexpectedly due to stress

    Ans: C
  10. A static function:

    A: Should be called when an object is destroyed

    B: Is closely connected with an individual object of a class

    C: Can be called using the class name and function

    D: Is used when a dummy object must be created

    Ans: C
  11. Dividing a program into functions:

    A: Is the key to object-oriented programming

    B: Makes the program easier to conceptualize

    C: Makes the program run faster

    D: Both B and C

    Ans: C
  12. Static member function:

    A: Can access any other member function & member variables

    B: Can access only static member variables & member functions

    C: Can be called only through the object of the class

    D: Returns only static data

    Ans: B
  13. Which of the following statements is correct?

    A: C++ enables defining functions that take constants as an argument.

    B: We cannot change the argument of functions that are declared as constant.

    C: Both A and B.

    D: We cannot use the constant while defining the function.

    Ans: C
  14. During conversion of infix to postfix pop is done when appears

    a) (

    b) )

    c) ~

    d) ::

    Answer: b) )
  15. Each operator in postfix string refers to its operand in a string

    a) previous 3

    b) next 3

    c) next 2

    d) previous 2

    Answer: d) previous 2
  16. 10, 20, 25, 35, 30, 40 for the list which searching technique can be applied

    a) binary search

    b) linear search

    c) both a and b

    d) none

    Answer: b) linear search
  17. Which operation access each data element exactly once

    a) traversal

    b) insertion

    c) searching

    d) sorting

    Answer: a) traversal
  18. Stack can be represented using

    a) array

    b) linked list

    c) both a and b

    d) none

    Answer: c) both a and b
  19. In binary search when the element is searched either right half or the left half of an array

    a) element is found

    b) search element comparison matches

    c) comparison does not match

    d) low position is less than high position

    Answer: c) comparison does not match
  20. In searching if (loc>=0) is

    a) unsuccessful search

    b) binary search

    c) linear search

    d) successful search

    Answer: d) successful search
  21. Array with one row or one column is a

    a) 1D array

    b) 2D array

    c) multi dimensional array

    d) both a and b

    Answer: a) 1D array




 


.

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