Time Left - 10:00 mins

Campus Recruitment Tech Quiz-7

Attempt now to get your rank among 144 students!

Question 1

The Output of given C-code is-

int main()

{

int a, b;

if(scanf("%d%d", &a, &b)==2)

printf("True");

else

printf("False");

return 0;

}

[consider a and b values as 10,20]

Question 2

Choose the correct option for the given C code-

void main()

{

int i = 0, j = 0;

for (i = 0; i < 5; i++)

{

for (j = 0; j < 1;)

{

break;

}

printf("Gradeup \n");

}

}

Question 3

What is the average case time complexity of merge sort?

Question 4

What is the best case and worst case complexity of ordered linear search?

Question 5

Which command is used to create a new relation in SQL

  • 144 attempts
  • 0 upvotes
  • 4 comments
May 9GATE & PSU CS