-Embedded
Whats RTOS, whats Soft RTOS and Hard rtos
-how is it implemented
-What is priority inversion
-how to resolve ^^
-different types of scheduling policies ( i explained RR and multi feedback queue)
C
-Difference between malloc and calloc, syntax of each, and how calloc is used
-inline function, and use of it
-difference between #define and const
-some code that changes value of const, and asked what would happen
MATLAB
-2 matrices of size 3x3 and 4x3 how will you concatenate, and when the sizes are same
-whats the difference between A^2 and A.^2
-how will you plot points (2,11) (2,22),(3,33) on a plane marked with green star, ( these represent X-y coordinates)
-whats the meaning of operator ~.
C++
-Whats a copy constructor?
- Class student {
char * name;
}
-what happens when you initialize -student s1; ?
-what default methods compiler substitutes?
-Whats the difference between Student s1=s2 and s1=s2? ( first will invoke copy constructor and second will invoke operator)
-lets say class student has s1,s2 and s3 objects. is s1=s2+s3 legal in C++?
Other-
Whats a hash table
how will you implement an algorithm to find duplicates in an array, its time complexity, if the array is sorted?