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

 

Siemens Placement Paper -: Data Structures Questions With Answers


Advertisements
Advertisements




Siemens Previous Years Solved Sample Placement Papers

  1. 
    void main(void) {
      int y = 128;
      const int x = y;
      printf("%d", x);
    }
        

    A. 128 Answer: Option A

    B. Garbage

    C. 0

    D. Error

  2. When do preprocessor directives get executed?

    A. before compilation Answer: Option A

    B. during compilation

    C. after compilation

    D. none

  3. Which kind of function can access private data members?

    A. friend functions

    B. private member functions

    C. public member function

    D. all Answer: Option D

  4. Which of the following will be automatically generated by the compiler?

    A. default constructor, default destructor, copy constructor, assignment operator

    B. Default constructor, copy constructor

    C. Address operator, assignment operator

    D. B & C Answer: Option D

  5. Difference between C++ struct and C++ class is:

    A. both are the same

    B. Struct defaults to public member access while class defaults to private member access

    C. Struct defaults to public base class inheritance while class defaults to private base class inheritance

    D. B & C Answer: Option D

  6. Static member functions can access "this" pointer

    A. true

    B. false Answer: Option B

    C. compiler dependent

    D. none

  7. 
    main() {
      char arr[12];
      printf("%d", sizeof(arr));
    }
        

    A. 24

    B. 12 Answer: Option B

    C. 36

    D. 2

  8. 
    char *p;
    short i;
    long l;
    (long)i = l;
        

    A. both 1 & 2 are correct

    B. both 1 & 2 are incorrect Answer: Option B

    C. statement 1 is correct

    D. statement 2 is correct

  9. 
    main() {
      int i;
      i = 010;
      printf("%d", i);
    }
        

    A. 2

    B. 8 Answer: Option B

    C. 10

    D. 4

  10. 
    main() {
      const int val = 5;
      const int *ptrval;
      ptrval = &val;
      *ptrval = 10;
      printf("%d", val);
    }
        

    A. 5

    B. 10

    C. Garbage

    D. Error Answer: Option D

  11. 
    void main(void) {
      int x = 2;
      int y = 4;
      cout << x++ << --y;
      cout << x << y;
    }
        

    A. 2 4, 3 4

    B. 3 3, 3 4

    C. 2 3, 2 4

    D. 2 3, 3 3 Answer: Option D

  12. A page fault occurs when:

    A. system crashes due to lack of memory

    B. page referred belongs to a different program

    C. request for the page currently made is not in memory Answer: Option C

    D. 1 & 2




 


.

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