<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Prepare 4 interview - Recent questions and answers in Other Interview Questions and Answers</title>
<link>http://prepare4interview.com/qa/other-interview-questions-and-answers</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: Write a function that counts the number of primes in the range [1-N]. Write the test cases for this function.</title>
<link>http://prepare4interview.com/1775/write-function-counts-number-primes-range-write-cases-function#a1805</link>
<description>public int CountPrimes(int n)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;List&amp;lt;int&amp;gt; primes = new List&amp;lt;int&amp;gt;();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;primes.Add(2);&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int i = 1;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (i &amp;lt; n)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int pivot = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bool isPrime = true;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (pivot &amp;lt; primes.Count)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (i % primes[pivot] == 0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isPrime = false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (isPrime)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;primes.Add(i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return primes.Count + 1; // The number 1 is also a prime and is not into array&lt;br /&gt;
}</description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1775/write-function-counts-number-primes-range-write-cases-function#a1805</guid>
<pubDate>Fri, 27 Apr 2012 18:51:56 +0000</pubDate>
</item>
<item>
<title>Answered: Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.</title>
<link>http://prepare4interview.com/1776/write-function-inserts-integer-linked-ascending-function#a1777</link>
<description>Is the linkedlist already in ascending order? or we have to make it ascending after inserting new node</description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1776/write-function-inserts-integer-linked-ascending-function#a1777</guid>
<pubDate>Sat, 06 Aug 2011 01:12:23 +0000</pubDate>
</item>
<item>
<title>How would you deal with a bug that no one wants to fix? Both the SDE and his lead have said they won't fix it.</title>
<link>http://prepare4interview.com/1774/would-deal-with-that-wants-both-and-his-lead-have-said-they-fix</link>
<description></description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1774/would-deal-with-that-wants-both-and-his-lead-have-said-they-fix</guid>
<pubDate>Fri, 05 Aug 2011 17:37:04 +0000</pubDate>
</item>
<item>
<title>How would you deal with changes being made a week or so before the ship date?</title>
<link>http://prepare4interview.com/1773/would-you-deal-with-changes-being-made-week-before-ship-date</link>
<description></description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1773/would-you-deal-with-changes-being-made-week-before-ship-date</guid>
<pubDate>Fri, 05 Aug 2011 17:35:46 +0000</pubDate>
</item>
<item>
<title>Answered: Interview DOs and DON'Ts</title>
<link>http://prepare4interview.com/826/interview-dos-and-don-ts#a827</link>
<description>Interview DOs&lt;br /&gt;
-------------------&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Dress appropriately for the industry; err on the side of being conservative to show you take the interview seriously. Your personal grooming and cleanliness should be impeccable.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Know the exact time and location of your interview; know how long it takes to get there, park, find a rest room to freshen up, etc.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Arrive early; 10 minutes prior to the interview start time.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Treat other people you encounter with courtesy and respect. Their opinions of you might be solicited during hiring decisions.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Offer a firm handshake, make eye contact, and have a friendly expression when you are greeted by your interviewer.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Listen to be sure you understand your interviewer's name and the correct pronunciation.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Even when your interviewer gives you a first and last name, address your interviewer by title (Ms., Mr., Dr.) and last name, until invited to do otherwise.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Maintain good eye contact during the interview.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Sit still in your seat; avoid fidgeting and slouching.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Respond to questions and back up your statements about yourself with specific examples whenever possible.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Ask for clarification if you don't understand a question. &lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Be thorough in your responses, while being concise in your wording.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Be honest and be yourself -- your best professional self. &amp;nbsp;Dishonesty gets discovered and is grounds for withdrawing job offers and for firing. You want a good match between yourself and your employer. If you get hired by acting like someone other than yourself, you and your employer will both be unhappy.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Treat the interview seriously and as though you are truly interested in the employer and the opportunity presented.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Exhibit a positive attitude. The interviewer is evaluating you as a potential co-worker. Behave like someone you would want to work with.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Have intelligent questions prepared to ask the interviewer. Having done your research about the employer in advance, ask questions which you did not find answered in your research.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Evaluate the interviewer and the organization s/he represents. An interview is a two-way street. Conduct yourself cordially and respectfully, while thinking critically about the way you are treated and the values and priorities of the organization.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Do expect to be treated appropriately. If you believe you were treated inappropriately or asked questions that were inappropriate or made you uncomfortable, discuss this with a Career Services advisor or the director.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Make sure you understand the employer's next step in the hiring process; know when and from whom you should expect to hear next. Know what action you are expected to take next, if any.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;When the interviewer concludes the interview, offer a firm handshake and make eye contact. Depart gracefully.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;After the interview, make notes right away so you don't forget critical details.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Write a thank-you letter to your interviewer promptly.&lt;br /&gt;
&lt;br /&gt;
Interview DON'Ts&lt;br /&gt;
-----------------------&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't make excuses. Take responsibility for your decisions and your actions.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't make negative comments about previous employers or professors (or others).&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't falsify application materials or answers to interview questions.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't treat the interview casually, as if you are just shopping around or doing the interview for practice. This is an insult to the interviewer and to the organization.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't give the impression that you are only interested in an organization because of its geographic location.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't give the impression you are only interested in salary; don't ask about salary and benefits issues until the subject is brought up by your interviewer.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't act as though you would take any job or are desperate for employment.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't make the interviewer guess what type of work you are interested in; it is not the interviewer's job to act as a career advisor to you.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't be unprepared for typical interview questions. You may not be asked all of them in every interview, but being unprepared looks foolish.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;A job search can be hard work and involve frustrations; don't exhibit frustrations or a negative attitude in an interview.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't go to extremes with your posture; don't slouch, and don't sit rigidly on the edge of your chair.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't assume that a female interviewer is &amp;quot;Mrs.&amp;quot; or &amp;quot;Miss.&amp;quot; Address her as &amp;quot;Ms.&amp;quot; unless told otherwise. (If she has a Ph.D. or other doctoral degree or medical degree, use &amp;quot;Dr. [lastname]&amp;quot; just as you would with a male interviewer. Marital status of anyone, male or female, is irrelevant to the purpose of the interview.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't chew gum or smell like smoke.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't allow your cell phone to sound during the interview. (If it does, apologize quickly and ignore it.) Don't take a cell phone call. Don't look at a text message.&lt;br /&gt;
* &amp;nbsp;&amp;nbsp;Don't take your parents, your pet (an assistance animal is not a pet in this circumstance), spouse, fiance, friends or enemies to an interview. If you are not grown up and independent enough to attend an interview alone, you're insufficiently grown up and independent for a job. (They can certainly visit your new city, at their own expense, but cannot attend your interview.)</description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/826/interview-dos-and-don-ts#a827</guid>
<pubDate>Sun, 25 Jul 2010 19:44:26 +0000</pubDate>
</item>
<item>
<title>Answered: Good to see ask question box but .....</title>
<link>http://prepare4interview.com/250/good-to-see-ask-question-box-but#a251</link>
<description>Hi Siva, this option is added to avoid duplicate questions and user can refer old questions and answers if their question exists already.. :)&lt;br /&gt;
&lt;br /&gt;
Now this option is removed, as we are brand new site and number of questions is minimum. Lets add that option later!</description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/250/good-to-see-ask-question-box-but#a251</guid>
<pubDate>Tue, 13 Jul 2010 20:00:28 +0000</pubDate>
</item>
<item>
<title>Disadvantage in File Processing System?</title>
<link>http://prepare4interview.com/17/disadvantage-in-file-processing-system</link>
<description>Data redundancy &amp;amp; inconsistency.&lt;br /&gt;
Difficult in accessing data.&lt;br /&gt;
Data isolation.&lt;br /&gt;
Data integrity.&lt;br /&gt;
Concurrent access is not possible.&lt;br /&gt;
Security Problems.</description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/17/disadvantage-in-file-processing-system</guid>
<pubDate>Sat, 19 Jun 2010 20:45:47 +0000</pubDate>
</item>
<item>
<title>Tell something about MS- ACCESS</title>
<link>http://prepare4interview.com/16/tell-something-about-ms--access</link>
<description>This is one of the most popular Microsoft products. Microsoft Access is entry-level database management software. MS Access database is not only an inexpensive but also powerful database for small-scale projects.&lt;br /&gt;
&lt;br /&gt;
MS Access uses the Jet database engine which utilizes a specific SQL language dialect (sometimes referred to as Jet SQL).&lt;br /&gt;
&lt;br /&gt;
MS Access comes with the professional edition of MS Office package. MS Access has easy to use intuitive graphical interface.&lt;br /&gt;
&lt;br /&gt;
History:&lt;br /&gt;
&lt;br /&gt;
1992 - Access version 1.0 was released.&lt;br /&gt;
&lt;br /&gt;
1993 - Access 1.1 release to improve compatibility with include the Access Basic programming language.&lt;br /&gt;
&lt;br /&gt;
The most significant transition was from the Access 97 to the Access 2000&lt;br /&gt;
&lt;br /&gt;
2007 - Access 2007, a new database format was introduced ACCDB which supports complex data types such as multi valued and attachment fields.&lt;br /&gt;
&lt;br /&gt;
Features:&lt;br /&gt;
&lt;br /&gt;
Users can create tables, queries, forms and reports, and connect them together with macros.&lt;br /&gt;
&lt;br /&gt;
The import and export of data to many formats including Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle, ODBC, etc.&lt;br /&gt;
&lt;br /&gt;
There is also the Jet Database format (MDB or ACCDB in Access 2007) which can contain the application and data in one file. This makes it very convenient to distribute the entire application to another user, who can run it in disconnected environments.&lt;br /&gt;
&lt;br /&gt;
Microsoft Access offers parameterized queries. These queries and Access tables can be referenced from other programs like VB6 and .NET through DAO or ADO.&lt;br /&gt;
&lt;br /&gt;
The desktop editions of Microsoft SQL Server can be used with Access as an alternative to the Jet Database Engine.&lt;br /&gt;
&lt;br /&gt;
Microsoft Access is a file server-based database. Unlike client-server relational database management systems (RDBMS), Microsoft Access does not implement database triggers, stored procedures, or transaction logging.</description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/16/tell-something-about-ms--access</guid>
<pubDate>Sat, 19 Jun 2010 20:45:26 +0000</pubDate>
</item>
</channel>
</rss>
