Commvault Placement Questions & Answers :: Commvault

15.45K

Tot. Mock Test: 1


Total Qs: 40+

NA
SHSTTON
28
Solv. Corr.
17
Solv. In. Corr.
45
Attempted
2 M:11 S
Avg. Time

21 / 40

Choose the correct option.

Which of the following algorithm is used for deadlock avoidance?


AGreedy

BBankers

CBackTracking

DDivide and Conquer

 View Answer |  Submit Your Solution | Topic: Process Management | Asked In CommvaultGlobal Edge |

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

NA
SHSTTON
10
Solv. Corr.
12
Solv. In. Corr.
22
Attempted
0 M:0 S
Avg. Time

22 / 40

Which statement is wrong given the following code?
int a[] = {5,  7,  9},  *p =  a, b;

Ab = *p++;

Bb = *++p++;

Cb = *++p;

Db = ++*p, **p++;

 View Answer |  Submit Your Solution | Topic: Arrays | Asked In Commvault |

Answer: Option B

Explanation:

error: lvalue required as increment operand

Submit Your Solution

Tags: Commvault

NA
SHSTTON
7
Solv. Corr.
18
Solv. In. Corr.
25
Attempted
0 M:0 S
Avg. Time

23 / 40

What is the meaning of a static function in C?

AIt is local to a file in which it is declared

BIt is local to main()

CThe set of variables used in the function is 'static'

DAll the linked files can access it

 View Answer |  Submit Your Solution | Topic: Functions | Asked In Commvault |

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
114
Solv. Corr.
78
Solv. In. Corr.
192
Attempted
0 M:6 S
Avg. Time

24 / 40

Choose the correct option.

Which of the following algorithmic paradigm is used in the merge sort?


ADynamic Programming

BBackTracking

CGreedy method

DDivide and Conquer

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
6
Solv. Corr.
14
Solv. In. Corr.
20
Attempted
0 M:0 S
Avg. Time

25 / 40

Choose the correct option.

Which of the following is a valid bit field declaration?


Astruct a {int *var : 5; }test;

Bstruct a {int var : 0; }test;

Cstruct a {int var[3) : 10;}test;

Dstruct a {int : 0;}test;

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
6
Solv. Corr.
15
Solv. In. Corr.
21
Attempted
0 M:0 S
Avg. Time

26 / 40

What is the output of the program?

#include
void main () {
unsigned char C = 32;
printf("%d %d", C^=C, !(C & 128) && !(C & 1));
}


A0 1

B1 0

C0 0

D0 32

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
5
Solv. Corr.
10
Solv. In. Corr.
15
Attempted
0 M:0 S
Avg. Time

27 / 40

What is the output of the program?
#include <stdio.h>
void main () {
int mat [4][5] = {1,2,3,4,5,6,7,8,9,10,11,12};
printf("%d %d ", *mat[*(mat[3] + 2)], 2[5 + 2[mat] - 3]);
}

A1 1

B1 0

C0 1

D0 0

 View Answer |  Submit Your Solution | Topic: Arrays | Asked In Commvault |

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
4
Solv. Corr.
18
Solv. In. Corr.
22
Attempted
0 M:0 S
Avg. Time

28 / 40

What is the output of the program?
#include <stdio.h>
#include<string.h>
void main ()
{
char str[][5] = {{'h','e','l','l'}, {'w','e','l','l'}};
printf("\n %s ", strncpy (*str, *(str + 1), 0));
}

Aell

Bwell

Cwel

Dhell

 View Answer |  Submit Your Solution | Topic: String | Asked In Commvault |

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
6
Solv. Corr.
13
Solv. In. Corr.
19
Attempted
0 M:0 S
Avg. Time

29 / 40

What is the output of the program?
#include <stdio.h>
#include<string.h>

void main () {
char str[][5] = {{'h','e','l','l'}, {'w','e','l','l'}};
char str1[15] =    "All  is  ";
printf ("%s  ", strcat(strchr(str1,  'l'),  *(str+1)));
}

Alwell

Bllwell

Cll is well

Dl is well

 View Answer |  Submit Your Solution | Topic: String | Asked In Commvault |

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
37
Solv. Corr.
9
Solv. In. Corr.
46
Attempted
0 M:50 S
Avg. Time

30 / 40

Choose the correct option.

What is the technique of allocating memory during runtime on demand known as in C++?


ADynamic binding

BDynamic memory allocation

CLate binding

DRuntime polymorphism

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault


Here is the list of questions asked in Commvault Aptitude Test Question with Answers Commvault Mock Test page 3. Practice Commvault Written Test Papers with Solutions and take Q4Interview Commvault Online Test Questions to crack Commvault written round test. Overall the level of the Commvault Online Assessment Test is moderate. Only those candidates who clear the written exam will qualify for the next round, so practic all the questions here and take all the free tests before going for final selection process of Commvault