Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Commvault Placement Questions & Answers :: Commvault

29.77K

Tot. Mock Test: 1


Total Qs: 40+

NA
SHSTTON
37
Solv. Corr.
119
Solv. In. Corr.
156
Attempted
0 M:0 S
Avg. Time

31 / 40

What is the output of the C++ program?
#include <iostream>
using namespace std;
class base {
    int b;
public:
    base (int x) {
        b = x;
        cout << "Base";
    };
};
class derived : public base
{
    double d;
public:
    derived(double x, int y);
    d = x;
    cout << " Derived";
};

int main () {
    derived d(23.5, 10);
}

ADerived

BBase

CBase Derived

DCompilation error: No appropriate base class constructor available

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
68
Solv. Corr.
116
Solv. In. Corr.
184
Attempted
0 M:0 S
Avg. Time

32 / 40

Choose the correct option.

What does the following statement result in?

Two processes want to write a file to a print spool area at the same time and both start writing. As the print spool area is of fixed size, it fills up before either process finishes writing its file, so both wait for more space to become available.


AStarvation

BThrashing

CDeadlock

DBlocking

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

NA
SHSTTON
140
Solv. Corr.
258
Solv. In. Corr.
398
Attempted
0 M:0 S
Avg. Time

33 / 40

Choose the correct option.

Which statement about thread synchronization is wrong?


ASemaphore allows a specified number of threads to access a resource.

BMutex object is to provide exclusive access to a resource and all the threads can belong to different processes.

CA critical section provide exclusive access to a resource and all the threads should belong to the same process.

DMutex object is to provide exclusive access to a resource and all the threads should belong to same processes.

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

NA
SHSTTON
62
Solv. Corr.
155
Solv. In. Corr.
217
Attempted
0 M:38 S
Avg. Time

34 / 40

Choose the correct option.

Which statement about OS booting is wrong?


AA cold boot is when power to a computer is cycled (turned off and then on) or a special reset signal to the processor is triggered.

BA warm reboot is restarting a computer under software control, without removing power or (directly) triggering a reset line.

CA hard reboot is restarting a computer under software control, without removing power or (directly) triggering a reset line.

DA bootstrapping process is one which starts operating systems when the user turns on a computer system.

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
36
Solv. Corr.
173
Solv. In. Corr.
209
Attempted
0 M:47 S
Avg. Time

35 / 40

Choose the correct option.

A computer program or routine is described as reentrant if the routine can be re-entered while it is already running. Which of the following conditions is not correct to be reentrant?


AMust hold no static or global non-constant data

BMust not return the address to static or global non-constant data

CMust not rely on locks to singleton resources

DCan call non-reentrant computer programs or routines

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
136
Solv. Corr.
526
Solv. In. Corr.
662
Attempted
0 M:0 S
Avg. Time

36 / 40

Choose the correct option.

Assume single linked list pseudo code as follows?

struct Node {
data
next
}
record List {
Node firstNode
}

function1(List list) {
obsoleteNode = list.firstNode; list.firstNode = list.firstNode.next; free obsoleteNode;
}

function2(node node) {
obsoleteNode = node.next; node.next= node.next.next; free obsoleteNode;
}

function3(Node node,Node newNode) {
newNode.next = node.next;node.next= newNode
}

function4(List list, Node newNode) {
newNode.next = list.firstNode; list.firstNode = newNode;
}


Afunction1 removes the first node

Bfunction2 removes node past this one

Cfunction3 inserts newNode after node

Dfunction4 inserts newNode after current first node

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

NA
SHSTTON
321
Solv. Corr.
418
Solv. In. Corr.
739
Attempted
0 M:8 S
Avg. Time

37 / 40

Choose the correct option.

Which of the following can a Dynamic Link Library contain?


AOnly Code

BCode and Data Only

CCode and Resources only

DCode, Data and Resources

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
224
Solv. Corr.
174
Solv. In. Corr.
398
Attempted
0 M:38 S
Avg. Time

38 / 40

Choose the correct option.

Which of the following is an invalid path for the following graph?


comvolt-written-graph-1

AC B A

BC D E F G

CC D A C B A

DC D A

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
43
Solv. Corr.
65
Solv. In. Corr.
108
Attempted
0 M:0 S
Avg. Time

39 / 40

What is the output of the program?

#include
#include
void main()
{
char *pl= "word";
char *p2;
p2=(char*)malloc(10);

memset(p2, 'A', 10);
while(*p2++ = *pl++)
printf("%s ", p2);
}


AAAAAAworda AAAAAwordA AAAAwordA AAwordA

BAAAAAAAAA AAAAAAAA AAAAAAA AAAAAA

CAAAAAword AAAAAwor AAAAAwo AAAAAw

DwordAAAAA wordAAAa wordAAA wordAA

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Commvault

NA
SHSTTON
447
Solv. Corr.
385
Solv. In. Corr.
832
Attempted
0 M:15 S
Avg. Time

40 / 40

Choose the correct option.

What is the worst case performance of Selection sort algorithm?


AO(log n)

BO(n* n)

CO(n)

DO(n log n)

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution


Here is the list of questions asked in Placement Papers with Answers Commvault Placement Papers of Commvault. 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