Placement Papers: iNautix Test Paper Pattern C++

Download PDF of This Page (Size: 118K)

Examrace Placement Series prepares you for the toughest placement exams to top companies.

C + + paper:

  1. cin is an

    1. function

    2. object

    3. class.

  2. i con't remember the ques but the ans is Virtual base class

  3. what is the use of scope resolution operator?

  4. advantage of inline function?

  5. copy constructor is ans: Call by value.

  6. ques on vertual destructor?

  7. template one ques?

  8. one q ‘on container class? The order above may be different. There r totally 15 ques its very easy to ans’ r. Rest of the ques r as same as HCL cisco. u can do that. C paper:

    1. How will u terminate the statement? ans:

    2. select the wrong one

      1. a + = 1

      2. a * = 2

      3. a * * = 1 (ans);

      4. a>> = 1

    3. main () { int n, i = 1; switch (n) { case 1: Some stuff; case 2: Some stuff; default: i = 10; } printf ( “i = %d” i); } what will be value of i; ans: Non of the above

    4. pick ut the wrong one #typedef some stuff { }

    5. one questions on do loop?

    6. pick the odd one

      1. malloc

      2. calloc

      3. new (ans)

    7. char * ptr; p = malloc (20); How will u de allocate the memory?

      1. delete.

      2. free.

    There r about 20 questions in this section rest i am un able to remember?

UNIX Paper

  1. Script

  2. How will u do version maintaince-sccs (source code control system)

  3. awk $2

  4. a program in shell script? find the o/p.

  5. which signal u can't catch? ans: Sigkill

  6. core dump is due to? ans: Segmentation fault.

  7. echo “todays date is ‘date’” o/p =?

  8. process synchronisation is done by?

ans: S'phore

There r totally 15 in this section rest r easy to answer.