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

 

Trilogy Placement Paper -: Programming Questions And Answers


Advertisements
Advertisements




Trilogy Previous Years Solved Sample Placement Papers

  1. What is the output of the following code
    char symbol[3]={„a‟,„b‟,„c‟};
    for (int index=0; index<3; index++)
    cout << symbol [index];

    A: a b c

    B: “abc”

    C: abc

    D: „abc‟

    Ans: C
  2. The process of building new classes from existing one is called ______.

    A: Polymorphism

    B: Structure

    C: Inheritance

    D: Cascading

    Ans: C
  3. If a class C is derived from class B, which is derived from class A, all through public inheritance, then a class C member function can access

    A: protected and public data only in C and B.

    B: protected and public data only in C.

    C: private data in A and B.

    D: protected data in A and B.

    Ans: D
  4. In which operation are array elements shifted into lower-order positions?

    A: Deletion

    B: Insertion

    C: Searching

    D: Sorting

    Ans: A
  5. In a linked list, the position "start" gives the location of the:

    A: First node

    B: Last node

    C: Middle node

    D: Second node

    Ans: A
  6. In a linked list, the pointer "start" position is also called:

    A: NULL

    B: Head

    C: Tail

    D: None

    Ans: B
  7. Which operation is used to change data in data structure

    a) create

    b) destroy

    c) select

    d) update

    Answer: d) update
  8. The study of data structure mainly deals with

    a) implementation of structure on computers

    b) mathematical description of structure

    c) to determine amount of space in memory

    d) all of these

    Answer: d) all of these
  9. The library function exit() causes an exit from:

    A: The loop in which it occurs

    B: The block in which it occurs

    C: The function in which it occurs

    D: The program in which it occurs

    Ans: D
  10. The getche() library function:

    A: Returns a character when any key is pressed

    B: Returns a character when ENTER is pressed

    C: Displays a character on the screen when any key is pressed

    D: Does not display a character on the screen

    Ans: A
  11. The conversion from basic data to class type can be done by .......

    A: Writing constructor

    B: Is not possible

    C: overloaded casting operator

    D: object of a class

    Ans: A
  12. When a base class pointer points to derived class object?

    A: It can access only base class members

    B: It can access only derived class members

    C: Both base class & derived class members

    D: None

    Ans: A
  13. Various application software is based on data structure

    a) linked list

    b) graph

    c) stack

    d) queue

    Answer: c) stack
  14. In which of the following application queue data structure is used

    a) simulation

    b) type scheduling algorithm

    c) print server routine

    d) all of these

    Answer: d) all of these
  15. In which data structure element can be inserted and removed in any position

    a) simple queue

    b) circular queue

    c) priority queue

    d) double ended queue

    Answer: d) double ended queue
  16. In which queue addition and deletion takes place at both the ends

    a) simple queue

    b) circular queue

    c) priority queue

    d) double ended queue

    Answer: d) double ended queue
  17. Which of the following statement is correct?

    A: Overloaded functions can have at most one default argument.

    B: An overloaded function cannot have default argument.

    C: All arguments of an overloaded function can be default.

    D: A function if overloaded more than once cannot have default argument.

    Ans: C
  18. Which of the following statement is correct?

    A: Constructors can have default parameters.

    B: Constructors cannot have default parameters.

    C: Constructors cannot have more than one default parameter.

    D: Constructors can have at most five default parameters.

    Ans: A




 


.

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