NVidia 2016-17


NVIDIA Graphics Pvt Ltd

Nvidia Corporationis an American technology company based in Santa Clara, California. It designs graphics processing units (GPUs) for the gaming and professional markets, as well as system on a chip units (SOCs) for the mobile computing and automotive market. Its primary GPU product line, labeled "GeForce", is in direct competition with Advanced Micro Devices' (AMD) "Radeon" products. Nvidia expanded its presence in the gaming industry with its handheld SHIELD Portable, SHIELD Tablet and SHIELD Android TV.

Technical Round 1

  1. Tell me something about yourself?
  2. Explain your projects?
  3. Find prime numbers from 0 to a number enter by user.
  4. Sort a char array in alphabetical order using bubble sort.
    int main (void) {
      char string[128], temp;
      int n, i, j;
      printf("\nEnter string: ");
      gets(string);
      n = strlen(string);
      for (i=0; i<n-1; i++) {
        for (j=i+1; j<n; j++) {
          int s = tolower(string[i]) - tolower(string[j]);
          if ( s == 0 ) { 
            // letters are the same... now watch out for case 
            s = string[i] - string[j]; 
          }
          if (s > 0) {
            temp = string[i]; string[i] = string[j]; 
            string[j] = temp; 
          }
        }
      }
      printf("\n%s", string);
      printf("\n");
      return 0;
    }
    
  5. What are various ways of sorting?
  6. What commands you know in Linux/Ubuntu.
  7. What is difference between const char *a & const * char a?
  8. What are OSI Layer?
  9. What are Data Storage class in C?
  10. What is difference between MySQL & MongoDB?
  11. Compiler design – How compiler works?
  12. How to execute C program?
  13. How to create object file with different name?
  14. How to debug a program?
  15. What is -g & gdb?
  16. What is process?
  17. What is thread?
  18. What is context switching?
  19. What is memory fragmentation?
  20. What is Segmentation fault?
  21. How to handle exceptions in C++.
  22. What is finally used for?
  23. What is abstraction?
  24. What is encapsulation?
  25. If your team member doesn’t listen you what will you do?
  26. How to print ‘ ; ’ in C without using symbol ‘ ; ‘.
  27. What is cryptography?
  28. What is AES, DES etc.
  29. What is inheritance?
  30. What are types of it? Draw eg. For each?
  31. What is virtual in C++?
  32. What is difference between malloc , calloc & realloc?

Technical Round 2

  1. Explain your projects?

  2. Memory representation of const char *a & const * char a & which will give error?

  3. Write a program to do a+b and a-b using different threads.

  4. Write a program to do a+b and a-b using different process (Parent and child process).

  5. Write a SQL query to find emp_id,emp_name,emp_manager_name from following table: (employee is table name) | Emp_id | Emp_name | Emp_manager_id | |--------|-----------|-----------------| | 1 | abc | 3 | | 2 | xyz | 3 | | 3 | pqr | 4 | | 4 | def | null |

    select emp_id,emp_name,x.emp_name from employee inner join employee as x where emp_id=x.emp_id;
    
  6. What is output of this:

    #define square(x) x*x int main(){ cout<<square(2+5);return 0;}
    
  7. What is output of following:

    class A {A(){cout<<”A”;} A(int a){cout<<”A”<<a;} };
    class B:class A { B(){cout<< ”B”;} }; 
    int main() { B obj; return 0; }
    
  8. What is output of following:

    class A { A(int a){cout<<”A”<<a;} };
    class B:class A { B(){cout<<”B”;} };
    int main() { B obj; return 0; }
    
  9. How is C program loaded in memory?(BSS-Basic Service Set)

  10. Where are assigned & not assigned variables stored in memory?

  11. Where are pointers stored?

  12. Where are global variables stored?

  13. Where pointers to function is used in C?

  14. How to write pointer to function?

  15. What are system calls in Ubuntu? List some of them.

  16. What is difference between SQL and NoSQL databases?

  17. What is indexing in MySQL? How it is beneficial?

  18. What is Linux booting process?

Sat May 13 2017