[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Commvault Placement Papers with Answers

80.63K

Tot. Mock Test: 1


Total Qs: 40+

NA
SHSTTON
64
Solv. Corr.
203
Solv. In. Corr.
267
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
122
Solv. Corr.
180
Solv. In. Corr.
302
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
259
Solv. Corr.
597
Solv. In. Corr.
856
Attempted
0 M:4 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
112
Solv. Corr.
289
Solv. In. Corr.
401
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

ShortCut By :: Arjun A

Submit Your Solution

Tags: Commvault

NA
SHSTTON
63
Solv. Corr.
315
Solv. In. Corr.
378
Attempted
0 M:33 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
451
Solv. Corr.
1450
Solv. In. Corr.
1901
Attempted
2 M:5 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

ShortCut By :: Akiteeg

What is the purpose of  clear function provided.

def clear(self):

 self.tail = None

 self.head = None

Select one:

Submit Your Solution

NA
SHSTTON
440
Solv. Corr.
650
Solv. In. Corr.
1090
Attempted
0 M:13 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
320
Solv. Corr.
264
Solv. In. Corr.
584
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
62
Solv. Corr.
109
Solv. In. Corr.
171
Attempted
0 M:14 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
659
Solv. Corr.
551
Solv. In. Corr.
1210
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