Placement Papers - CMC

CMC Ltd.
CMC Placement Paper (Technical Section)
Posted by :
Chandra mouli
(38)
Paper: CMC Placement Paper (Technical Section)

 CMC Technical Questions

1.  what is NFS?
    Ans: Networking File System.

2.  what is BIOS?
   Ans: Basic Input Output System.

3.  What is RPC?
     Ans: Remote procedure Call.

4.  Find shortest Path (graph has given).
Ans:. 45

5.  What is the output ?
    main()
     {
      int i=5;
      if(i>5);
      {
       i=100;
       printf(" %d ",i);
      }
     }
Ans:. 100

6.  On huffman code one question has been given.

7.  No. of comparisions ina merge sort?
Ans:. (2n+1)

8.  Sorting of N elements how many comparisons are required?
    a.n-1.

9.  One question on selection sort (to find third pass of give list)

10.  What is a daemon process?

11.  What is the use of fork system call?
Ans. To create child processes.

12.  In CPU scheduling , Non preemptive or pre emptive which one is best?
Ans. Both have negative as well as positive.

13.  DBMS queries (two questions )

14.  If two entities have m, n elements. what is the result of cross product?
Ans.mn

15.  For every table, IS foreign key mandatory ?
Ans. NO

16.  Three questions on OOPS (Operator over loading, inheritance)

17.  One question on system maintenance.

18.  He has given base address of an array . find the address of given element.

19.  One question on calling main in main.

20.   main()
       {
       int x=32;
       x=x>>6;
       printf("%d",x);
      }
Ans. 0

21.   main()
       {
       int x=5;
       x=x----1;
       printf("%d",x);
      }
Ans.error.

22.   main()
       {
       int x=0xff;
       if(x<<4>>12)
       printf(" ...... ");
       else
       printf(" .... ");
      }

23.   Find number of bytes of a given structure.

24.  On a static variable 5 question have been given.