Syntel Interview Questions, Syntel Technical Interview Questions, Syntel Technical Questions 2011
Technical Questions
1. A big code with lots of pointers. There was a struct which contained 2 arrays. Then an array of that structure was declared. The code used these structures and you had to find the values of a variable ‘j’ at various points inside the code.
2. A code which had some declarations of some data items. There were a couple of normal data items(char,int..) and some pointers as well and a malloc call. You have to find the total memory taken up in the stack(Hint:Pointers and all are allocated in heap, not in stack, so dont count them).Also in most of these questions, they were specifying that the OS was 32 bit.
3. A question on nesting of pointers. There was this pointer to a function which returned an array of char pointers…..You had to give the exact definition of the function.
4. Value of 2 particular variables in C(MAXINT and some other constant).
5. What do you need to do to open more than 10 files simultaneously in Microsoft Operating System? -change stdio.h/change CONFIG.SYS/compiler dependent.
6. A question on Macro( consisted of something like CTRL&037)
7. Another question on Macro expansion
8. Yet another question on Macro expansion
9. UNIX question on ‘who’ output and then doing some other operation and then asking you whats the output.
10. UNIX question on ‘awd’ operation.
11. Graphics:Painters algorithm is used for………..
12. Graphics:Why is ‘Lighting’ operations done on World Coordinates?
13. Graphics:One more question
14. Some question on C External Variables.
15. How can you call a function written in FORTRAN from a C program ?
16. Normal question on pointer addition
17. Another question on pointer addition
18. A question on 64 bit OS’s and Virtual Memory it will be having
19. Another question on 64 bit OS
20. A structure was given and it contained normal data as well as some bit-wise data.You had to find the total size taken up by the structure
1. A big code with lots of pointers. There was a struct which contained 2 arrays. Then an array of that structure was declared. The code used these structures and you had to find the values of a variable ‘j’ at various points inside the code.
2. A code which had some declarations of some data items. There were a couple of normal data items(char,int..) and some pointers as well and a malloc call. You have to find the total memory taken up in the stack(Hint:Pointers and all are allocated in heap, not in stack, so dont count them).Also in most of these questions, they were specifying that the OS was 32 bit.
3. A question on nesting of pointers. There was this pointer to a function which returned an array of char pointers…..You had to give the exact definition of the function.
4. Value of 2 particular variables in C(MAXINT and some other constant).
5. What do you need to do to open more than 10 files simultaneously in Microsoft Operating System? -change stdio.h/change CONFIG.SYS/compiler dependent.
6. A question on Macro( consisted of something like CTRL&037)
7. Another question on Macro expansion
8. Yet another question on Macro expansion
9. UNIX question on ‘who’ output and then doing some other operation and then asking you whats the output.
10. UNIX question on ‘awd’ operation.
11. Graphics:Painters algorithm is used for………..
12. Graphics:Why is ‘Lighting’ operations done on World Coordinates?
13. Graphics:One more question
14. Some question on C External Variables.
15. How can you call a function written in FORTRAN from a C program ?
16. Normal question on pointer addition
17. Another question on pointer addition
18. A question on 64 bit OS’s and Virtual Memory it will be having
19. Another question on 64 bit OS
20. A structure was given and it contained normal data as well as some bit-wise data.You had to find the total size taken up by the structure
0 comments:
Post a Comment