<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6551684371196643449</id><updated>2026-03-26T00:46:59.314-07:00</updated><title type='text'>Technical Questions for interview and learning ...</title><subtitle type='html'>This blog tries to cover the latest questions asked in the Technical Interviews of various software companies. Here you will get the interview questions for Oracle BRM(Portal Infranet/Pipeline, Billing and Revenue Management), Yahoo, Accenture,Oracle,RBS(Royal Bank of Scotland),Microsoft et.c. Please try to make it helpful to you as well as others.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-6833273227060731025</id><published>2011-04-25T00:46:00.000-07:00</published><updated>2011-05-31T11:54:01.424-07:00</updated><title type='text'>Oracle interview questions !</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1). How to find that an .so file is linked to how many other .so(s)?&lt;br /&gt;
2). How to read first 10 lines from a file?&lt;br /&gt;
3). How to change a word in a file without opening it?&lt;br /&gt;
4). How do you customize invoice number modification?&lt;br /&gt;
5). How to expose custom fields?&lt;br /&gt;
6). How will you check how many source files are linked to a given library (.so)?&lt;br /&gt;
7). What are the different types of joins?&lt;br /&gt;
Ans: Check this : &lt;a href=&quot;http://en.wikipedia.org/wiki/Join_(SQL)&quot;&gt;http://en.wikipedia.org/wiki/Join_(SQL)&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/6833273227060731025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/6833273227060731025' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/6833273227060731025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/6833273227060731025'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2011/04/oracle-interview-questions.html' title='Oracle interview questions !'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-740733012707161169</id><published>2011-02-24T10:32:00.000-08:00</published><updated>2011-02-24T10:32:32.366-08:00</updated><title type='text'>Roamware interview questions !</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Few questions from Roamware interview . Although it depends on who takes your interview. These were the questions asked to me : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1). Write a program for Binary Search. &lt;br /&gt;
2). Differnce between macro and constant. &lt;br /&gt;
3). what is #? &lt;br /&gt;
4). Difference between index and primary key? &lt;br /&gt;
5). Different types of joins in relational database. &lt;br /&gt;
6). Write a sql query to find the name of employee who gets second highest salary. The tables are : &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpDetail { EmpId, EmpName} &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalaryDetail {EmpId, Salary} &lt;br /&gt;
7). SS7 description &lt;br /&gt;
8). SCP, SSP, MSC, VLR, HLR related basic questions. &lt;br /&gt;
9). Call flow and the various components interfaced during a call flow. &lt;br /&gt;
10). If a subscriber has placed a call to another subscriber, and some oss feature is comes in picture during the call, what would be the process of charging in case of prepaid customer. &lt;br /&gt;
&lt;br /&gt;
But anyways, Roamware will try to ask you more and more difficult questions to lower down your salary expections. They can hire you if you can join them in 10% to 20% hike.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/740733012707161169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/740733012707161169' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/740733012707161169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/740733012707161169'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2011/02/roamware-interview-questions.html' title='Roamware interview questions !'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-5213865838186313730</id><published>2009-11-24T09:26:00.000-08:00</published><updated>2009-11-24T09:43:08.920-08:00</updated><title type='text'>RBS Interview Questions</title><content type='html'>1. Write a program in Java to return fibonacci series in an array upto n numbers of the series :&lt;br /&gt;&lt;br /&gt;   int[] getFibonacci(int n);&lt;br /&gt;&lt;br /&gt;2. Write a program to set a given name-value pair in cache so that the value expires after 5 min, the methods could be :&lt;br /&gt;&lt;br /&gt;String getValue(String name); // Returns value corresponding to given name, if getValue is called after 5 min of calling setValue for the same pair, this will return null&lt;br /&gt;String setValue(String name, String value); // Sets name, value pair in the cache and expires the data from cache after 5 min of upload&lt;br /&gt;&lt;br /&gt;3. Give a design for desktop search engine including different components, data structure used, designs&lt;br /&gt;&lt;br /&gt;4. Design a schema for School Management System for teachers, students and subjects where :&lt;br /&gt;&lt;br /&gt;  a). A teacher can teach to any number of studetns&lt;br /&gt;  b). A student can be taught by any number of teachers&lt;br /&gt;  c). A teacher can teach many subjects and a subject can be taught by many teachers&lt;br /&gt;  d). A student can study any number of subjects &lt;br /&gt;&lt;br /&gt;  Design the schema considering there are 15 subjects, 100 teachers and 1000 students so that the reports can be generated for conditions like &lt;br /&gt;  - Generate report for all the teachers who are teaching a particular subject to students&lt;br /&gt;&lt;br /&gt;5. How can we make a class clonable?&lt;br /&gt;&lt;br /&gt;6. Give a design for a system which has :&lt;br /&gt;  a). A flat-file database system&lt;br /&gt;  b). 10-20 processes reading/updating the DB system&lt;br /&gt;  &lt;br /&gt;  Design this considering in mind that there could be clashes when more than 1 process will update the DB and you&#39;ve to manage this so this conflict can never happen.&lt;br /&gt;&lt;br /&gt;7. Why is java platform independent?&lt;br /&gt;&lt;br /&gt;8. How you will design a system which needs 100 identical processes to perform some tasks? How many threads can be spawned to optimize this without degrading system performance?</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/5213865838186313730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/5213865838186313730' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/5213865838186313730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/5213865838186313730'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2009/11/rbs-interview-questions.html' title='RBS Interview Questions'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-2346653289187263475</id><published>2009-11-24T09:20:00.000-08:00</published><updated>2009-11-24T09:25:25.448-08:00</updated><title type='text'>Amazon Interview Questions</title><content type='html'>1. Write a Java program to find the number of words in a given string, the signature could be like :&lt;br /&gt;&lt;br /&gt;int getWords(String s); or,&lt;br /&gt;int getWords(char[] s);&lt;br /&gt;&lt;br /&gt;2. Modify the above program to print the different words in different lines.&lt;br /&gt;&lt;br /&gt;3. Write a program in O(n) or less order to find a unique character in an array of duplicates, e.g. the content of the array could be like [&#39;a&#39;,&#39;c&#39;,&#39;a&#39;,&#39;b&#39;,&#39;b&#39; ...]&lt;br /&gt;&lt;br /&gt;4. Optimize the above algorithm when the array is sorted.</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/2346653289187263475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/2346653289187263475' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/2346653289187263475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/2346653289187263475'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2009/11/amazon-interview-questions.html' title='Amazon Interview Questions'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-2522896053208506337</id><published>2006-12-06T03:17:00.000-08:00</published><updated>2011-02-24T10:36:56.965-08:00</updated><title type='text'>Agilent Interview Questions !</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Few Questions from Agilent Interview :&lt;br /&gt;
&lt;br /&gt;
1]. What are the default member functions included in the class definition ?&lt;br /&gt;
2]. Does default destructor provided by the compiler?&lt;br /&gt;
3]. How to make a class to restrict its number of instances to 5?&lt;br /&gt;
4]. What is singleton class? Design it.&lt;br /&gt;
5]. What will happen?&lt;br /&gt;
&lt;br /&gt;
main(){&lt;br /&gt;
A a1;&lt;br /&gt;
a1=a1;&lt;br /&gt;
/* Some other code */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
6]. main(){&lt;br /&gt;
int x=5;&lt;br /&gt;
printf(&quot;%d%d%d&quot;,x,++x,x++);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
7]. main(){&lt;br /&gt;
int x=5;&lt;br /&gt;
printf(&quot;%d%d%d&quot;,x,x&amp;lt;&amp;lt;1,x&amp;gt;&amp;gt;1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
8]. What are the various storage classes ?&lt;br /&gt;
A. Extern, Static, Auto, Register&lt;br /&gt;
&lt;br /&gt;
9]. Is this right ? Why or Why not?&lt;br /&gt;
static extern int x;&lt;br /&gt;
&lt;br /&gt;
Ans: No, It will give compilation error. &quot;more than one storage class specified&quot;, Reason is obvious.&lt;br /&gt;
&lt;br /&gt;
10]. What is the need of writing our own copy constructor when it is by default provided by the compiler?&lt;br /&gt;
&lt;br /&gt;
11]. What is object slicing?&lt;br /&gt;
&lt;br /&gt;
12]. What is stack unwinding?&lt;br /&gt;
&lt;br /&gt;
13]. Can we use references as class member variables?&lt;br /&gt;
Ans: Yes, we can. But then it must be initialized in constructor base/member initializer list. e.g.&lt;br /&gt;
&lt;br /&gt;
class A{&lt;br /&gt;
int x;&lt;br /&gt;
int &amp;amp;y;&lt;br /&gt;
public:&lt;br /&gt;
A():x(1),y(x){&lt;br /&gt;
cout&amp;lt;&amp;lt;&quot;A x=&quot;&amp;lt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/2522896053208506337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/2522896053208506337' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/2522896053208506337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/2522896053208506337'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2006/12/agilent.html' title='Agilent Interview Questions !'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-3630809311630815837</id><published>2006-12-01T03:18:00.000-08:00</published><updated>2011-02-24T10:37:23.510-08:00</updated><title type='text'>Freescale Interview Questions !</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;color: #ff6600;&quot;&gt;Hi,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff6600;&quot;&gt;Till now I haven&#39;t got any chances to get interviewed at freescale. So please if you can share some questions please post them.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/3630809311630815837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/3630809311630815837' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/3630809311630815837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/3630809311630815837'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2006/12/freescale.html' title='Freescale Interview Questions !'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-9103172577718555185</id><published>2006-11-27T22:49:00.000-08:00</published><updated>2011-02-24T10:38:39.296-08:00</updated><title type='text'>Yahoo Interview Questions !</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;color: #ff9900;&quot;&gt;1). What is the output?&lt;br /&gt;
main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;char hi[2]=&quot;HI&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;cout&amp;lt;&amp;lt;&lt;hi&lt;&lt;&#39;&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff9900;&quot;&gt; hi&amp;lt;&amp;lt;&#39; &#39;&amp;lt;&amp;lt;&quot;Hello&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;Ans: It will give error. &#39;HI&#39; : array bounds overflow (Because string contains &#39;\0&#39; implicitly. &quot;Hi&quot; is of length 3.&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;2). Write a STRING class. Implement&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;- default constructor,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;- Copy Constructor,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;- Assignment Operator,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;- String length function&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;- String Copy function &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;- String concatenation, &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;- Destructor&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;3). How to find the only unique number from a list of N integers where all are duplicates except one. Find the unique number in O(n) time. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;Ans: start from the first element of the array and keep XORing it with the rest of the elements saving the result. &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;{ &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;j=a[0];&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;for(i=1;i&lt;n;i++)&lt;&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;{&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;j=j^a[i]; &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;}&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;printf(&quot;\n\nThe Unique is %d\n\n&quot;,j); &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;}&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;4). Design patterns in c++&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #ff9900;&quot;&gt;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/9103172577718555185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/9103172577718555185' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/9103172577718555185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/9103172577718555185'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2006/11/yahoo.html' title='Yahoo Interview Questions !'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-5494386376056808136</id><published>2006-11-23T03:16:00.000-08:00</published><updated>2006-11-23T03:39:54.549-08:00</updated><title type='text'>Oracle (C,C++,Unix) Interview Questions !</title><content type='html'>&lt;blockquote id=&quot;16157975&quot;&gt;&lt;table id=&quot;HB_Mail_Container&quot; height=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot; border=&quot;0&quot; unselectable=&quot;on&quot;&gt;&lt;tbody&gt;&lt;tr height=&quot;100%&quot; unselectable=&quot;on&quot; width=&quot;100%&quot;&gt;&lt;td id=&quot;HB_Focus_Element&quot; valign=&quot;top&quot; width=&quot;100%&quot; background=&quot;&quot; height=&quot;250&quot; unselectable=&quot;off&quot;&gt;&lt;span style=&quot;color:#33cc00;&quot;&gt;&lt;strong&gt;Few Questions from Oracle Interview :&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;1. How to initialize a const member variable in a class?&lt;br /&gt;2. Difference between copy constructor &amp; assignment operator.&lt;br /&gt;3. Use of copy constructor.&lt;br /&gt;4. How to prevent singleton class from being copied?&lt;br /&gt;a. By making a private copy constructor&lt;br /&gt;5. Socket programming. Description about client and server. Steps in making client and server.&lt;br /&gt;6. Static and Dynamic Linking. (DLL)&lt;br /&gt;7. How change the value of a const variable.&lt;br /&gt;8. Different views in Rational Clearcase.&lt;br /&gt;9. exec and fork system calls&lt;br /&gt;10. order of Linear and Binary Search, Explain.&lt;br /&gt;11. Different storage classes in c++&lt;br /&gt;12. How to convert integer into String, which API to use (itoa()).&lt;br /&gt;13. size of instance of A when A is&lt;br /&gt;a. class A{&lt;br /&gt;int I;&lt;br /&gt;};&lt;br /&gt;b. class A{&lt;br /&gt;int I;&lt;br /&gt;static int j;&lt;br /&gt;};&lt;br /&gt;c. class A{&lt;br /&gt;int I;&lt;br /&gt;virtual void print();&lt;br /&gt;}&lt;br /&gt;14. Explain the working (taking into account the use of virtual pointer table) :&lt;br /&gt;Class A{&lt;br /&gt;Int A;&lt;br /&gt;Virtual void print();&lt;br /&gt;};&lt;br /&gt;class B{&lt;br /&gt;int b;&lt;br /&gt;void print();&lt;br /&gt;}&lt;br /&gt;main(){&lt;br /&gt;A *a;&lt;br /&gt;B b;&lt;br /&gt;a=&amp;b;&lt;br /&gt;a-&gt;print();&lt;br /&gt;}&lt;br /&gt;15. Benefits of using DLLs.&lt;br /&gt;16. Can static member functions use normal member variables, why or why not?&lt;br /&gt;17. Use of virtual function with examples.&lt;br /&gt;18. How to check for memory leak.&lt;br /&gt;19. What is an inline function?&lt;br /&gt;20. How are the inline functions different from macros?&lt;br /&gt;21. What is the condition when compiler calls inline functions instead of replacing the function call with the function definition?&lt;br /&gt;a. When we make recursive inline functions ( because compiler doesn’t knows the depth of such function call)&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr unselectable=&quot;on&quot; hb_tag=&quot;1&quot;&gt;&lt;td height=&quot;1&quot; unselectable=&quot;on&quot;  style=&quot;font-size:1pt;&quot;&gt;&lt;div id=&quot;hotbar_promo&quot;&gt;&lt;span style=&quot;color:#000099;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/5494386376056808136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/5494386376056808136' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/5494386376056808136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/5494386376056808136'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2006/11/oracle-ccunix-interview-questions.html' title='Oracle (C,C++,Unix) Interview Questions !'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551684371196643449.post-1855536314146956141</id><published>2006-11-23T02:56:00.000-08:00</published><updated>2011-02-24T10:39:56.613-08:00</updated><title type='text'>Ericsson Interview Questions !</title><content type='html'>&lt;table id=&quot;HB_Mail_Container&quot; height=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot; border=&quot;0&quot; unselectable=&quot;on&quot;&gt;&lt;tbody&gt;
&lt;tr height=&quot;100%&quot; unselectable=&quot;on&quot; width=&quot;100%&quot;&gt;&lt;td id=&quot;HB_Focus_Element&quot; valign=&quot;top&quot; width=&quot;100%&quot; background=&quot;&quot; height=&quot;250&quot; unselectable=&quot;off&quot;&gt;&lt;p&gt;&lt;span style=&quot;color:#ffcc66;&quot;&gt;&lt;strong&gt;Ericsson Gurgaon interview questions :&lt;/strong&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
&lt;span style=&quot;color:#ffcc00;&quot;&gt;1). Merits &amp; Demerits of&lt;br /&gt;
- Returning references from functions,&lt;br /&gt;
- Returning pointers from functions.&lt;br /&gt;
&lt;br /&gt;
2). Exception handling in cpp.&lt;br /&gt;
&lt;br /&gt;
3). What is wrong with the following code.&lt;br /&gt;
try{&lt;br /&gt;
int *p=new int[10];&lt;br /&gt;
throw int(10);&lt;br /&gt;
}&lt;br /&gt;
catch (int i){&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
3). For the following code :&lt;br /&gt;
Class A{&lt;br /&gt;
Container *someContainer;&lt;br /&gt;
A(){&lt;br /&gt;
// someContainer = new Container;&lt;br /&gt;
/* Write code so that if someContainer is not initialized properly&lt;br /&gt;
the instances of A wouldn&#39;t get created&lt;br /&gt;
*/&lt;br /&gt;
...&lt;br /&gt;
}&lt;br /&gt;
~A(){}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
4). Questions related to Multithreading in C++&lt;br /&gt;
&lt;br /&gt;
5). Questions related to signals used in Unix/Linux. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#ffcc00;&quot;&gt;6). How to avoid multiple definitions of the same component when the same header file is included in multiple files in a the same project. (Don&#39;t use #ifdef etc preprocessor directive).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#ffcc00;&quot;&gt;7). Difference between extern and static.&lt;br /&gt;
&lt;br /&gt;
Basic funda of the interview was to test for the error handling and multithreaded skills of the candidate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr unselectable=&quot;on&quot; hb_tag=&quot;1&quot;&gt;&lt;td style=&quot;FONT-SIZE: 1pt&quot; height=&quot;1&quot; unselectable=&quot;on&quot;&gt;&lt;div id=&quot;hotbar_promo&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://techinterviewquestions.blogspot.com/feeds/1855536314146956141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551684371196643449/1855536314146956141' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/1855536314146956141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551684371196643449/posts/default/1855536314146956141'/><link rel='alternate' type='text/html' href='http://techinterviewquestions.blogspot.com/2006/11/ericsson.html' title='Ericsson Interview Questions !'/><author><name>Sachid</name><uri>http://www.blogger.com/profile/11822259414693161812</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UalPnC1ZfHS6sIfVj6G1Rcme1JLvWa4eyGbwuQAYcDMmr9x5yx2uedvWVYMeFvDi1V50jZtph7LvUiNUKKxlio2_HnGARW876om1AkeiMrgZy6XL-agr5sbw2dwmivM/s97/sketched_small.jpg'/></author><thr:total>0</thr:total></entry></feed>