TCS NQT Practice Test -4:Programming Logic- 22/July/2019
My Dear Students this sample test is conducted to improve the Programming skills of Engineering Students who are participating in TCS Ninja Recruitment Drive.
The organizer of this test is not going to benefit out of this test. This is completely non-profit oriented test.
Let me know for further improvements.
Email *
7. Which type of traversal of binary search tree outputs the value in sorted order? *
1 point
2.What is the output of the following code #include<stdio.h>                                                        int main()                                                                             {                                                                                            int a=10,b=25,i;                                                                                                                                                                          for(int i=1;i<=0;i--)                                                 a=a+b;                                                                         printf(“%d %d”,a,b);                                                               } *
1 point
Roll Number *
Name of the Student *
9. Which of the following represents pointer to the file name in command line arguments
1 point
Clear selection
6. which of the following is the stable sorting algorithm *
1 point
College in abbrevation(GPREC, CRR, SACET Etc) *
4. Consider a hash function that distributes keys uniformly. The hash table sizeis 20. After hashing of how many keys will the probability that any new key hashedcollides with an existing one exceed 0.5. *
1 point
10. which of the following is the keyword used in a function when it returns nothing.
1 point
Clear selection
Branch *
8. Which of the following is NOT a valid storage class in C language? *
1 point
5.  When the worst case occur in linear search algorithm ? *
1 point
Contact Number(Optional)
1.Which of the following is not valid datatype in c language *
1 point
3. realloc () function is used to: *
1 point
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy