Time Left - 10:00 mins

Campus Recruitment Tech Quiz- 22

Attempt now to get your rank among 249 students!

Question 1

What will be the position of element 5 when a max heap is constructed on the input elements 5, 70, 45, 7, 12, 15, 13, 65, 30, and 25?

Question 2

What is the number of moves required to solve Tower of Hanoi problem for k disks?

Question 3

Merge sort uses :

Question 4

By default, members of a C++ Class are?

Question 5

Consider the following C code
#include<stdio.h>
void main()
{
    int a = 10;
    printf("%d %d", ++a, a);
}

The output of the above program is

(Note: Assume parameters of a function are evaluated from right to left)

  • 249 attempts
  • 0 upvotes
  • 5 comments
Aug 18GATE & PSU CS