Interview DesK
Click Here to share your interview experience!
|
|
< ABB | Directi > |
Samsung SEL | (Software Engineer) |
Here I am posting some interview questions asked in SAMSUNG which is asked from me:
1. How the operating system taking care of
const int i=5; //tell the implementation
so that we can't alter the value of i?
2. Explain the memory layout of main memory of computer system? Give an example to make
understand the memory layout means in which segment what type of variable will be store?
3. By how many method we can allocate the memory in C and what is the difference between
malloc and calloc. And which is faster and why?
4. Implementation of new() in C++?
5. What is the difference between malloc and new and which one is faster and why?
6. Difference between extern and static and give an example to justify?
7. Is it possible to access the static variable defined in another file, if yes then how?
8. What is the difference between these two statement:
const int *p;
int const *p;
9. For statement const int *p = 5, which is true from given below two statement:
a) int a; p = &a;
b) *p = 0;
10. What is the self referential structure, write an example of self referential structure?
11. Difference between structure and union and what are the pros and cons of both?
12. What is the structure byte padding and how does it form and depend? Is there any concept
of byte padding in union justify your answer?
13. How do we know the linked list is a circular or not?
14. What type of OS is Windows?
15. Difference between UNIX and LINUX?
16. What is the real time operating system?
17. How many types of CPU scheduling are there and explain all. Which one is better and why
and tell the feasibilty also?
18. Is there any ideal CPU scheduling possible? Justify your answer?
19. How to set the priority of any process in windows and in linux?
20. Can you say about the priority of mobile application which one is having higher priority?
HAVE YOUR SAY...