Samsung Interview Questions
- 0of 0 votes
Answers4 subjective questions.
- vaibhav88315 November 09, 2011 in India for Java
Implement blocking queue
Explain Producer Consumer
how to design tweeter like application.| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Java - 0of 0 votes
Answers20 objective based on pattern of SCJP exam. easy
- vaibhav88315 November 09, 2011 in India for Java| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Java - 0of 0 votes
AnswersWrite a MergeSort for Two Different Sorted Link List.. Emphasis on TO and SO with all Error Conditions...
- hprem991 November 07, 2011 in India for SEL| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C - 0of 0 votes
Answers2. write sizeof operator.
I gave the code as#define sizeof(data) {data *p=0; size = abs((p+1) - (p))
He was fine with this.
- Varun November 06, 2011 in India
But then how would we extend this to find sizeof of variables???
PS: sizeof in C that we use works well for both datastruct and variable.| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C - 0of 0 votes
Answerswhat is the return value of the function that returns int, but isn't returning anything explicitly.
for instance output ofint fun() { printf("\ncrap"); } void main() { printf("\n return value of fun %d", fun()); }
i said, should be exit status of 0(success) or value in EPI register, but looks like i wasn't corret. He said, this has something to do with stack unwinding??
- Varun November 06, 2011 in India
Any insights?| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C - 0of 0 votes
AnswerHow do you Design Access Specifier in C.
- hprem991 November 01, 2011 in India| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Application / UI Design - 0of 0 votes
AnswersGiven pointer
- hprem991 November 01, 2011 in India
char *p = <body> <tagname1>Tagvalue1</tagname1>
<tagname2>Tagvalue2</tagname2>
<tagname3>Tagvalue3</tagname3>
..
..
..
<tagnamen>Tagvaluen</tagnamen>
</body>
Write a Program to replace a Tagvalue from existing Value to User Provided New Value..
example : - Your Function Func(TagName,New tagvalue) should replace the existing tagvalue of the Tagname to NewTagName..
Given Constraints :-
1> Function should be granular enough.
2> Its actually a design question so approach is important.
3> Take Care of Error Condition . Like TagName not found etc.
4> Also make sure the conditions like if the Given Tagvalue is not of Same Length that proper handling etc.| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Application / UI Design - 0of 0 votes
AnswersDesign the XML Parser.
- hprem991 November 01, 2011 in India| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Application / UI Design - 0of 0 votes
Answersgive ur introduction why samsung what quality u lack and what u r doing to improve it.
- getjar.com/todotasklist my android app October 06, 2011 in -| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Behavioral - 0of 0 votes
Answershow compiler generates unique names for overloaded functions, if two functions have same name and same parameters but differnt return type , can it be possible i said no he asked why . i explained about the name mangling and showed that return type does not play any role in name mangling.
- getjar.com/todotasklist my android app October 06, 2011 in -| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C++ - 0of 0 votes
Answerstell me about about function pointer , how to call a function using function pointer.
- getjar.com/todotasklist my android app October 06, 2011 in -| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C++ - 0of 0 votes
Answerswhich is faster c or c++.
- getjar.com/todotasklist my android app October 06, 2011 in -| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C++ - 0of 0 votes
Answerswhat are call back functions.Why they are useful.
- getjar.com/todotasklist my android app October 06, 2011 in -| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C++ - 0of 0 votes
Answersif polymorphism is possible in C if yes then how.
- getjar.com/todotasklist my android app October 06, 2011 in -| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C++ - 0of 0 votes
Answerswhat is Vtable explain and give example. design a class and make virtual table for that.
- getjar.com/todotasklist my android app October 06, 2011 in -| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C++ - 0of 0 votes
Answershow to implement stack using BST??
- hasinamjanu September 23, 2011 in India| Report Duplicate | Flag | PURGE
Samsung Developer Program Engineer - 0of 0 votes
Answersmalloc(0)
- munukutlapraveen April 23, 2011| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer C - 0of 0 votes
Answersprinting, deleting linked list and some more questions on linked list, accesing time of binary search
- Bhari April 18, 2011| Report Duplicate | Flag | PURGE
Samsung Developer Program Engineer Data Structures - 0of 0 votes
AnswersExplain the difference between StringBuffer and StringBuilder. Why would you use each?
- Sal June 22, 2010| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Java - 0of 0 votes
AnswersExplain the difference between Shallow Copy and Deep Copy.
- Sal June 22, 2010| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Java - 0of 0 votes
Answerswrite thread safe singleton class
- anony May 23, 2010| Report Duplicate | Flag | PURGE
Samsung - 1of 1 vote
Answerstack pointer vs frame pointer
- anony May 23, 2010| Report Duplicate | Flag | PURGE
Samsung - 0of 0 votes
AnswersUser application will block on IOCTL, in kernel untill interrupt arrives this IOCTL will be blocked. When interrupt comes IOCTL should retun. Desing this mechanism.
- sumeet4linux May 04, 2010| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Linux Kernel - 1of 1 vote
AnswersWhat is IOCTL, how it is used in user and kernel driver code ?
- sumeet4linux May 04, 2010| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Linux Kernel