Campus Experience : Commvault

campusplacements
                  Here in this post, sample questions asked and round details of CommVault Campus Drive are added. We wish our readers good career ahead.
CVtwittershade

 Round1: Written test /Online

Questions came from Operating system, C, C++ and data structure. Match the following questions comes from operating system that is based on the keywords such as page, virtual memory and etc.

[Constraint: CGPA above 8

Learn: Operating system, C, C++ and Data structures]

Aptitude Round:

No of questions: 30        Duration: 1 hour           Negative marks: No

Sample Questions:

1. Which algorithm is used to avoid deadlock?

2. Belady anomaly can occur in which page replacement algorithm?

3. #include<stdio.h>

Void main(){

Char *const p1=”computer”;

Const char *p2=”science”;

P2=p1;

Printf(“p1=%s p2=%s”,p1,p2);

}

What is the output?

4. #include<stdio.h>

Void main(){

Char const * p=”Compiler”, *q=”assembler”;

q=”linker”;

Printf(“p=%s q=%s”,p,q);

}

What is the output?

5. Which of the following code prints preorder traversal of a given tree

a)     Void order(Node *root)

{

If(root==NULL) return;

Printf(“%d”,root->data);

Order(root->left);

Order(root->right);

}

b)    Void order(Node *root)

{

If(root==NULL) return ;

Order(root->left);

Printf(“%d”,root->data);

Order(root->right);

}

c)     Void order(Node *root)

{

Printf(“%d”,root->data);

If(root->left!=NULL) order(root->left);

If(root->right!=NULL) order(root->right);

}

d)    Void order(Node *root)

{

If(root==NULL) return;

Order(root->left);

Order(root->right);

Printf(“%d”,root->data);

}

6. Binary tree with n nodes having NULL nodes?

7.       #include<stdio>

Void main() { FILE *f;

F=fopen(“test.txt”,”w”);

If(f=NULL)

{

Printf(“file can.t open”);

exit(0);

}

else

fprintf(f,”file tested”);

fclose(f);

}

What is the output?

8.       Void main()

{

Int *p=new int;

*p=13;

While((*p)–);

Cout<<*p;

Free(p);

}

What is the output?

9. A multiple choice question asked about the difference between malloc,

calloc

10. A program is asked to write the output with the concepts involved memcpy, memset

Round2: Tech Interview Duration: ½ hour

Questions were asked from pointers in C, memory management in operating

system, Compilation and some basic programs. Some of the questions were,

  1. Discussion on pointers. Eg:  Char *p=NULL; *p=.a.; //explain the execution of this statement
  2. Detailed discussion about compiling process (preprocessing, compiling, linking and loading)
  3. Question regarding memory management.
  4.         What is need for virtual memory
  5.         Is the virtual memory needed to run the 3MB program in 512MB RAM? And justify your answer
  6. Program to remove duplicates in strings
  7. Write a code to remove duplicates in integer array.
  8. Discussion on the following concepts
  9.         Assembly code
  10.         Machine code
  11.         Source code
  12.         Address translation
  13.        Address relocation
  14. Explain semaphores..(not just theoretical explanation)
  15. Create a singly linked list, doubly linked list, Circular linked list.
  16. Storage space for variables. Where will they get stored.. How will you represent the memory.(stack, heap, data and code segment stuff)
  17. Given two linked list: “1 2 3 4 5” and “5, 8, 9, 10, 0” Write a function which concatenates the two lists in cross way. No additional variable is allowed. The list should be 1 5 2 8 3 9 4 10 5 0.
  18. Difference between array and heap?
  19. Can two programs run at the same time?
  20. Questions related to the storage of static, global, local variables?
  21.     char *str=”good”;      char *str2;       strcpy(str2,str);   printf(“%s”,str2);         What is the output?
  22. contents of stack after compilation
  23. segments of program
  24. Difference between .obj and .exe files?
  25. Void pointers and its declaration usage?
  26. What is heap and its usage?
  27.  Where **p is used and why?
  28.  Where the function status is stored? When we move from one function to another.
  29.  How calling a library function takes place?

Round2: Tech and HR Duration: ½ hour

  1. Write a program to add two numbers with infinite number of digits
  2. Detailed explanation about virtual destructor
  3. Rotation of tree?
  4. If you got a chance to work in either Microsoft or Commvault, which one you will prefer and why?
  5. If I give you one million dollar what you will do with that money?

To Know more about Commvault Systems, Visit

http://www.commvault.com
http://twitter.com/CommVault
http://www.flickr.com/photos/31256941@N06/
http://delicious.com/commvault
http://www.youtube.com/commvault

Picture Source: Commvault.com

If you find this site useful, please support us. Like our FaceBook Page. You can also contact us by mail : portaltechinfo@gmail.com

Tagged: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: