Explore topic-wise MCQs in Mahindra Comviva.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Mahindra Comviva knowledge and support exam preparation. Choose a topic below to get started.

1.

Choose the valid statement

A. All variables are initialized to 0 after declaration
B. Only local and static variables have junk values
C. Static and global variables are automatically initialized to zero at the time of declaration
D. All automatic variables are initialized to zero
Answer» D. All automatic variables are initialized to zero
2.

The least frequently used (LFU) page replacement algorithm requires_________

A. the page with the smallest count to be replaced.
B. the page with the longest count to be replaced.
C. the page with the smallest count was brought in, yet to be used.
D. the page with the longest count was brought in, yet to be used.
Answer» B. the page with the longest count to be replaced.
3.

What is the asymptotic worst case complexity of the given pseudo code for(i=0;i { for(j=0;j { c[i][j]=0; for(k=0;k { c[i][j]=c[i][j]+a[i][k]*b[k][j]; } } }

A. O(n)
B. O (1)
C. O(n2)
D. O(n3)
Answer» E.
4.

Merge sort algorithm uses___________________technique

A. Brute force
B. Dynamic programming
C. Greedy
D. Divide and conquer
Answer» E.
5.

If the two networks having different protocols then the device used to communicate between these systems is

A. Bridge
B. Repeater
C. Hub
D. Gateway
Answer» E.
6.

  Reference is__________

A. alias of an object
B. used to rename an object
C. a special operator
D. a pointer to virtual function
Answer» B. used to rename an object