<?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: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-530154680077840529</id><updated>2012-02-16T02:08:05.048-08:00</updated><category term='APTITUDE'/><category term='TECHNICAL QUESTIONS'/><category term='HR INTERVIEW SOLUTIONS'/><category term='C++ Aptitude'/><category term='OS APTITUDE'/><category term='VERBAL APTITUDE'/><category term='NETWORKING APTITUDE'/><category term='C APTITUDE'/><category term='APTITUDE TEST'/><title type='text'>CSE AMARONS</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.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>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-8787424384226278252</id><published>2009-03-04T10:31:00.001-08:00</published><updated>2009-03-04T23:36:53.366-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HR INTERVIEW SOLUTIONS'/><title type='text'>HR INTERVIEW SOLUTIONS</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-style: italic; color: rgb(0, 102, 0);font-family:georgia;" &gt;Below is a list of frequently asked questions in various interviews...&lt;br /&gt;&lt;br /&gt;Click on the questions to view the requisite solutions...&lt;br /&gt;&lt;br /&gt;I would love to receive your comments and suggestions regarding this endeavor of mine... &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Mail me at&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt; &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;sampat.honey@gmail.com&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt; / &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;patnaik.sampat@gmail.com&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:130%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/01-tell-me-about-yourself.html"&gt;01: Tell me about yourself ?&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/02-what-are-your-greatest-strengths.html"&gt;02: What are your greatest strengths ?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/02-what-are-your-greatest-strengths.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/03-what-are-your-greatest-weaknesses.html"&gt;03: What are your greatest weaknesses?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/03-what-are-your-greatest-weaknesses.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/03-what-are-your-greatest-weaknesses.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/04-why-should-i-hire-you.html"&gt;04: Why should I hire you?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/04-why-should-i-hire-you.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/04-why-should-i-hire-you.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/05-what-are-your-short-term-goals.html"&gt;05. What are your Short Term Goals?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/05-what-are-your-short-term-goals.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/05-what-are-your-short-term-goals.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/06-what-are-your-long-term-goals.html"&gt;06: What are your Long Term Goals?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/06-what-are-your-long-term-goals.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/06-what-are-your-long-term-goals.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/07-how-do-you-define-success-and-how-do.html"&gt;07: How do you evaluate success ?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/07-how-do-you-define-success-and-how-do.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/07-how-do-you-define-success-and-how-do.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/08-what-is-your-salary-expectation.html"&gt;08: What is your Salary Expectation ?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/08-what-is-your-salary-expectation.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/08-what-is-your-salary-expectation.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/09-how-many-hours-week-do-you-normally.html"&gt;09: How many hours a week do you normally work?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/09-how-many-hours-week-do-you-normally.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/09-how-many-hours-week-do-you-normally.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/10-are-you-willing-to-travel.html"&gt;10: Are you willing to travel?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/10-are-you-willing-to-travel.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/10-are-you-willing-to-travel.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/33-how-do-you-feel-about-working-nights.html"&gt;11: How do you feel about working nights and weekends?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/33-how-do-you-feel-about-working-nights.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/33-how-do-you-feel-about-working-nights.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/12-silent-treatment.html"&gt;12: The “Silent Treatment”&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/12-silent-treatment.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/12-silent-treatment.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/13-what-good-books-have-you-read-lately.html"&gt;13: What good books have you read lately?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/13-what-good-books-have-you-read-lately.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/13-what-good-books-have-you-read-lately.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/13-where-do-you-see-yourself-five-years.html"&gt;14: Where do you see yourself five years from now?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/13-where-do-you-see-yourself-five-years.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/13-where-do-you-see-yourself-five-years.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/15-describe-your-ideal-company-location.html"&gt;15: Describe your ideal company, location and job.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/15-describe-your-ideal-company-location.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/15-describe-your-ideal-company-location.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/16-who-has-inspired-you-in-your-life.html"&gt;16: Who has inspired you in your life and why?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/16-who-has-inspired-you-in-your-life.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/16-who-has-inspired-you-in-your-life.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/17-why-do-you-want-to-work-for-us.html"&gt;17: Why do you want to work for us?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/17-why-do-you-want-to-work-for-us.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/17-why-do-you-want-to-work-for-us.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/18-what-do-you-know-about-this-company.html"&gt;18: What do you know about this company?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/18-what-do-you-know-about-this-company.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/18-what-do-you-know-about-this-company.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/19-can-you-work-under-pressure.html"&gt;19: Can you work under pressure?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/19-can-you-work-under-pressure.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/19-can-you-work-under-pressure.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/20-what-makes-you-angry.html"&gt;20: What makes you angry?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/20-what-makes-you-angry.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/20-what-makes-you-angry.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/21-arent-you-overqualified-for-this.html"&gt;21: Aren’t you overqualified for this position?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/21-arent-you-overqualified-for-this.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/21-arent-you-overqualified-for-this.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/22-would-you-lie-for-company.html"&gt;22: Would you lie for the company?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/22-would-you-lie-for-company.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/22-would-you-lie-for-company.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/23-tell-me-something-negative-youve.html"&gt;23: Tell me something negative you’ve heard about our company !!!&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/23-tell-me-something-negative-youve.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/23-tell-me-something-negative-youve.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/24-demonstrate-your-skills-sell-this.html"&gt;24 : Demonstrate Your Skills : Sell this stapler,etc or some object on the desk&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/24-demonstrate-your-skills-sell-this.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/24-demonstrate-your-skills-sell-this.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/25-what-are-your-goals.html"&gt;25: What are your goals?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/25-what-are-your-goals.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/25-what-are-your-goals.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/26-what-was-toughest-challenge-youve.html"&gt;26: What was the toughest challenge you’ve ever faced?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/26-what-was-toughest-challenge-youve.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/26-what-was-toughest-challenge-youve.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/27-hypothetical-problem-what-would-you.html"&gt;27: The “Hypothetical Problem” – What would you do if… ?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/27-hypothetical-problem-what-would-you.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/27-hypothetical-problem-what-would-you.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/28-what-do-you-worry-about.html"&gt;28: What do you worry about?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/28-what-do-you-worry-about.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/28-what-do-you-worry-about.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/29-give-me-example-of-your-creativity.html"&gt;29: Give me an example of your creativity (analytical skill…managing ability, etc.)&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/29-give-me-example-of-your-creativity.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/29-give-me-example-of-your-creativity.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/40-how-could-you-have-improved-your.html"&gt;30: How could you have improved your career progress?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/40-how-could-you-have-improved-your.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/40-how-could-you-have-improved-your.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/31-what-was-toughest-decision-you-ever.html"&gt;31: What was the toughest decision you ever had to make?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/31-what-was-toughest-decision-you-ever.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/31-what-was-toughest-decision-you-ever.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/32-looking-back-what-would-you-do.html"&gt;32: Looking back, what would you do differently in your life?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/32-looking-back-what-would-you-do.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/32-looking-back-what-would-you-do.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/33-how-do-you-feel-about-reporting-to.html"&gt;33: How do you feel about reporting to a younger person (minority, woman, etc)?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/33-how-do-you-feel-about-reporting-to.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/33-how-do-you-feel-about-reporting-to.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/34-fatal-flaw-question.html"&gt;34: The “Fatal Flaw” question&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/34-fatal-flaw-question.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/34-fatal-flaw-question.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/35-what-are-your-outside-interests.html"&gt;35: What are your outside interests?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/35-what-are-your-outside-interests.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/35-what-are-your-outside-interests.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/36-what-are-your-career-options-right.html"&gt;36: What are your career options right now?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/36-what-are-your-career-options-right.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/36-what-are-your-career-options-right.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/37-do-you-prefer-to-work-alone-or-as.html"&gt;37: Do you prefer to work alone or as a team player?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/37-do-you-prefer-to-work-alone-or-as.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/37-do-you-prefer-to-work-alone-or-as.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/38-what-made-you-choose-your-major.html"&gt;38: What made you choose your major?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/38-what-made-you-choose-your-major.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/38-what-made-you-choose-your-major.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/39-why-didnt-you-pursue-career-in-your.html"&gt;39: Why didn’t you pursue a career in your major?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/39-why-didnt-you-pursue-career-in-your.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/39-why-didnt-you-pursue-career-in-your.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/40-what-do-you-seek-from-job.html"&gt;40: What do you seek from a job?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/40-what-do-you-seek-from-job.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/40-what-do-you-seek-from-job.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/41-tell-me-about-something-you-did-or.html"&gt;41: Tell me about something you did – or failed to do – that you now feel a little ashamed of.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/41-tell-me-about-something-you-did-or.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/41-tell-me-about-something-you-did-or.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/42-tell-me-about-situation-when-your.html"&gt;42: Tell me about a situation when your work was criticized.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/42-tell-me-about-situation-when-your.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/42-tell-me-about-situation-when-your.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/43-what-changes-would-you-make-if-you.html"&gt;43: What changes would you make if you came on board?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/43-what-changes-would-you-make-if-you.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/43-what-changes-would-you-make-if-you.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/44-im-concerned-that-you-dont-have-as.html"&gt;44: I’m concerned that you don’t have as much experience as we’d like in…&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/44-im-concerned-that-you-dont-have-as.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/44-im-concerned-that-you-dont-have-as.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/45-what-would-you-say-to-your-boss-if.html"&gt;45: What would you say to your boss if he’s crazy about an idea, but you think it stinks?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/45-what-would-you-say-to-your-boss-if.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/45-what-would-you-say-to-your-boss-if.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/46-why-arent-you-earning-more-money-at.html"&gt;46: Why aren’t you earning more money at this stage of your career?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/46-why-arent-you-earning-more-money-at.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/46-why-arent-you-earning-more-money-at.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/47-tell-me-about-most-boring-job-youve.html"&gt;47: Tell me about the most boring job you’ve ever had.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/47-tell-me-about-most-boring-job-youve.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/47-tell-me-about-most-boring-job-youve.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/48-what-do-you-see-as-proper.html"&gt;48: What do you see as the proper role/mission of a good (job title you’re seeking) in serving the community&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/48-what-do-you-see-as-proper.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/48-what-do-you-see-as-proper.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/49-what-would-you-do-if-colleague-wasnt.html"&gt;49: What would you do if a colleague wasn’t pulling his/her weight…and this was hurting your department?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/49-what-would-you-do-if-colleague-wasnt.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/49-what-would-you-do-if-colleague-wasnt.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/50-possible-follow-up-question.html"&gt;50: POSSIBLE FOLLOW-UP QUESTION:&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/50-possible-follow-up-question.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/50-possible-follow-up-question.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/51-whats-most-difficult-part-of-being.html"&gt;51: What’s the most difficult part of being a (job title)?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/51-whats-most-difficult-part-of-being.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/51-whats-most-difficult-part-of-being.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/52-why-are-you-leaving-or-did-you-leave.html"&gt;52: Why are you leaving (or did you leave) this position?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/52-why-are-you-leaving-or-did-you-leave.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/52-why-are-you-leaving-or-did-you-leave.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/53-tell-me-honestly-about-strong-points.html"&gt;53: Tell me honestly about the strong points and weak points of your boss (company, management team, etc.)…&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/53-tell-me-honestly-about-strong-points.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/53-tell-me-honestly-about-strong-points.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/54-confidential-issues.html"&gt;54: CONFIDENTIAL ISSUES&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/54-confidential-issues.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/54-confidential-issues.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/55-could-you-have-done-better-in-your.html"&gt;55: Could you have done better in your last job?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/55-could-you-have-done-better-in-your.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/55-could-you-have-done-better-in-your.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/56-youve-been-with-your-firm-long-time.html"&gt;56: You’ve been with your firm a long time. Won’t it be hard switching to a new company?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/56-youve-been-with-your-firm-long-time.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/56-youve-been-with-your-firm-long-time.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/57-why-have-you-had-so-many-jobs.html"&gt;57: Why have you had so many jobs?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/57-why-have-you-had-so-many-jobs.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/57-why-have-you-had-so-many-jobs.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/58-may-i-contact-your-present-employer.html"&gt;58: May I contact your present employer for a reference?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/58-may-i-contact-your-present-employer.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/58-may-i-contact-your-present-employer.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/59-have-you-considered-starting-your.html"&gt;59: Have you considered starting your own business?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/59-have-you-considered-starting-your.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/60-illegal-question.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/60-illegal-question.html"&gt;60: THE ILLEGAL QUESTION&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/60-illegal-question.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/61-secret-illegal-question.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/61-secret-illegal-question.html"&gt;61: THE SECRET ILLEGAL QUESTION&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/61-secret-illegal-question.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/61-secret-illegal-question.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/62-what-was-toughest-part-of-your-last.html"&gt;62: What was the toughest part of your last job?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/62-what-was-toughest-part-of-your-last.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/62-what-was-toughest-part-of-your-last.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/63-looking-back-on-your-last-position.html"&gt;63: Looking back on your last position, have you done your best work?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/63-looking-back-on-your-last-position.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/63-looking-back-on-your-last-position.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/64-why-should-i-hire-you-from-outside.html"&gt;64: Why should I hire you from the outside when I could promote someone from within?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/64-why-should-i-hire-you-from-outside.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/65-do-you-have-stomach-to-fire-people.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/65-do-you-have-stomach-to-fire-people.html"&gt;65: Do you have the stomach to fire people? Have you had experience firing many people?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/65-do-you-have-stomach-to-fire-people.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/65-do-you-have-stomach-to-fire-people.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/66-what-do-you-for-when-you-hire-people.html"&gt;66: What do you for when you hire people?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/66-what-do-you-for-when-you-hire-people.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/66-what-do-you-for-when-you-hire-people.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/66-have-you-been-absent-from-work-more.html"&gt;67: Have you been absent from work more than a few days in any previous position?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/66-have-you-been-absent-from-work-more.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/66-have-you-been-absent-from-work-more.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/67-why-have-you-been-out-of-work-so.html"&gt;68: Why have you been out of work so long?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/67-why-have-you-been-out-of-work-so.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/67-why-have-you-been-out-of-work-so.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/68-if-you-won-10-million-lottery-would.html"&gt;69: If you won A $10 million lottery, would you still work?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/68-if-you-won-10-million-lottery-would.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/68-if-you-won-10-million-lottery-would.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/70is-there-anything-else-that-we-should.html"&gt;70:Is there anything else that we should know about you that would impact our decision?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/70is-there-anything-else-that-we-should.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/70is-there-anything-else-that-we-should.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/71-during-your-performance-reviews-what.html"&gt;71: During your performance reviews, what criticism do you hear the most?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/71-during-your-performance-reviews-what.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/71-during-your-performance-reviews-what.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/72-if-i-tell-you-you-are-idiot-fool.html"&gt;72: If I tell you, you are an IDIOT, a FOOL, a RASCAL; can you think anything positive about it?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/72-if-i-tell-you-you-are-idiot-fool.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/73-suppose-i-tell-you-i-dont-like-your.html"&gt;73: Suppose I tell you I don’t like your face? Then why should I select you?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/73-suppose-i-tell-you-i-dont-like-your.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/73-suppose-i-tell-you-i-dont-like-your.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/74-what-will-you-do-if-you-are-asked-to.html"&gt;74: What will you do if you are asked to give a bribe?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/74-what-will-you-do-if-you-are-asked-to.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/74-what-will-you-do-if-you-are-asked-to.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/75-if-your-boss-is-taking-all-credits.html"&gt;75: If your boss is taking all the credits for your work, what will you do?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/75-if-your-boss-is-taking-all-credits.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/75-if-your-boss-is-taking-all-credits.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/76-suppose-you-find-yourself-in.html"&gt;76: Suppose you find yourself in a deserted island. What three things you will need to survive?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/76-suppose-you-find-yourself-in.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/76-suppose-you-find-yourself-in.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/77-how-do-you-think-you-conducted-or.html"&gt;77: How do you think you conducted or performed during this interview?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/77-how-do-you-think-you-conducted-or.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/77-how-do-you-think-you-conducted-or.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/78-on-scale-of-one-to-ten-rate-me-as.html"&gt;78: On a scale of one to ten, rate me as an interviewer.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/78-on-scale-of-one-to-ten-rate-me-as.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://hrsolutionsforyou.blogspot.com/2008/12/78-on-scale-of-one-to-ten-rate-me-as.html"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:130%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:130%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-8787424384226278252?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/8787424384226278252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/hr-interview-solutions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/8787424384226278252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/8787424384226278252'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/hr-interview-solutions.html' title='HR INTERVIEW SOLUTIONS'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-2139279044939568260</id><published>2009-03-04T09:59:00.001-08:00</published><updated>2009-03-04T09:59:24.929-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS APTITUDE'/><title type='text'>OS APTITUDE</title><content type='html'>Following are a few basic questions that cover the essentials of OS:&lt;br /&gt;&lt;br /&gt;1. Explain the concept of Reentrancy.&lt;br /&gt;&lt;br /&gt;It is a useful, memory-saving technique for multiprogrammed timesharing systems. A Reentrant Procedure is one in which multiple users can share a single copy of a program during the same period. Reentrancy has 2 key aspects: The program code cannot modify itself, and the local data for each user process must be stored separately. Thus, the permanent part is the code, and the temporary part is the pointer back to the calling program and local variables used by that program. Each execution instance is called activation. It executes the code in the permanent part, but has its own copy of local variables/parameters. The temporary part associated with each activation is the activation record. Generally, the activation record is kept on the stack.&lt;br /&gt;&lt;br /&gt;Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure.&lt;br /&gt;&lt;br /&gt;2. Explain Belady's Anomaly.&lt;br /&gt;&lt;br /&gt;Also called FIFO anomaly. Usually, on increasing the number of frames allocated to a process' virtual memory, the process execution is faster, because fewer page faults occur. Sometimes, the reverse happens, i.e., the execution time increases even when more frames are allocated to the process. This is Belady's Anomaly. This is true for certain page reference patterns.&lt;br /&gt;&lt;br /&gt;3. What is a binary semaphore? What is its use?&lt;br /&gt;&lt;br /&gt;A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.&lt;br /&gt;&lt;br /&gt;4. What is thrashing?&lt;br /&gt;&lt;br /&gt;It is a phenomenon in virtual memory schemes when the processor spends most of its time swapping pages, rather than executing instructions. This is due to an inordinate number of page faults.&lt;br /&gt;&lt;br /&gt;5. List the Coffman's conditions that lead to a deadlock.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Mutual Exclusion: Only one process may use a critical resource at a time.&lt;/li&gt;&lt;li&gt;Hold &amp;amp; Wait: A process may be allocated some resources while waiting for others.&lt;/li&gt;&lt;li&gt;No Pre-emption: No resource can be forcible removed from a process holding it.&lt;/li&gt;&lt;li&gt;Circular Wait: A closed chain of processes exist such that each process holds at least one resource needed by another process in the chain.&lt;/li&gt;&lt;/ul&gt;6. What are short-, long- and medium-term scheduling?&lt;br /&gt;&lt;br /&gt;Long term scheduler determines which programs are admitted to the system for processing. It controls the degree of multiprogramming. Once admitted, a job becomes a process.&lt;br /&gt;&lt;br /&gt;Medium term scheduling is part of the swapping function. This relates to processes that are in a blocked or suspended state. They are swapped out of real-memory until they are ready to execute. The swapping-in decision is based on memory-management criteria.&lt;br /&gt;&lt;br /&gt;Short term scheduler, also know as a dispatcher executes most frequently, and makes the finest-grained decision of which process should execute next. This scheduler is invoked whenever an event occurs. It may lead to interruption of one process by preemption.&lt;br /&gt;&lt;br /&gt;7. What are turnaround time and response time?&lt;br /&gt;&lt;br /&gt;Turnaround time is the interval between the submission of a job and its completion. Response time is the interval between submission of a request, and the first response to that request.&lt;br /&gt;&lt;br /&gt;8. What are the typical elements of a process image?&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;User data: Modifiable part of user space. May include program data, user stack area, and programs that may be modified. &lt;/li&gt;&lt;li&gt;User program: The instructions to be executed.&lt;/li&gt;&lt;li&gt;System Stack: Each process has one or more LIFO stacks associated with it. Used to store parameters and calling addresses for procedure and system calls.&lt;/li&gt;&lt;li&gt;Process control Block (PCB): Info needed by the OS to control processes.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;9. What is the Translation Lookaside Buffer (TLB)?&lt;br /&gt;&lt;br /&gt;In a cached system, the base addresses of the last few referenced pages is maintained in registers called the TLB that aids in faster lookup. TLB contains those page-table entries that have been most recently used. Normally, each virtual memory reference causes 2 physical memory accesses-- one to fetch appropriate page-table entry, and one to fetch the desired data. Using TLB in-between, this is reduced to just one physical memory access in cases of TLB-hit.&lt;br /&gt;&lt;br /&gt;10. What is the resident set and working set of a process?&lt;br /&gt;&lt;br /&gt;Resident set is that portion of the process image that is actually in real-memory at a particular instant. Working set is that subset of resident set that is actually needed for execution. (Relate this to the variable-window size method for swapping techniques.)&lt;br /&gt;&lt;br /&gt;11. When is a system in safe state?&lt;br /&gt;&lt;br /&gt;The set of dispatchable processes is in a safe state if there exists at least one temporal order in which all processes can be run to completion without resulting in a deadlock.&lt;br /&gt;&lt;br /&gt;12. What is cycle stealing?&lt;br /&gt;&lt;br /&gt;We encounter cycle stealing in the context of Direct Memory Access (DMA). Either the DMA controller can use the data bus when the CPU does not need it, or it may force the CPU to temporarily suspend operation. The latter technique is called cycle stealing. Note that cycle stealing can be done only at specific break points in an instruction cycle.&lt;br /&gt;&lt;br /&gt;13. What is meant by arm-stickiness?&lt;br /&gt;&lt;br /&gt;If one or a few processes have a high access rate to data on one track of a storage disk, then they may monopolize the device by repeated requests to that track. This generally happens with most common device scheduling algorithms (LIFO, SSTF, C-SCAN, etc). High-density multisurface disks are more likely to be affected by this than low density ones.&lt;br /&gt;&lt;br /&gt;14. What are the stipulations of C2 level security?&lt;br /&gt;&lt;br /&gt;C2 level security provides for:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Discretionary Access Control&lt;/li&gt;&lt;li&gt;Identification and Authentication&lt;/li&gt;&lt;li&gt;Auditing&lt;/li&gt;&lt;li&gt;Resource reuse&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;15. What is busy waiting?&lt;br /&gt;&lt;br /&gt;The repeated execution of a loop of code while waiting for an event to occur is called busy-waiting. The CPU is not engaged in any real productive activity during this period, and the process does not progress toward completion.&lt;br /&gt;&lt;br /&gt;16. Explain the popular multiprocessor thread-scheduling strategies.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Load Sharing: Processes are not assigned to a particular processor. A global queue of threads is maintained. Each processor, when idle, selects a thread from this queue. Note that load balancing refers to a scheme where work is allocated to processors on a more permanent basis. &lt;/li&gt;&lt;li&gt;Gang Scheduling: A set of related threads is scheduled to run on a set of processors at the same time, on a 1-to-1 basis. Closely related threads / processes may be scheduled this way to reduce synchronization blocking, and minimize process switching. Group scheduling predated this strategy.&lt;/li&gt;&lt;li&gt;Dedicated processor assignment: Provides implicit scheduling defined by assignment of threads to processors. For the duration of program execution, each program is allocated a set of processors equal in number to the number of threads in the program. Processors are chosen from the available pool.&lt;/li&gt;&lt;li&gt;Dynamic scheduling: The number of thread in a program can be altered during the course of execution.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;17. When does the condition 'rendezvous' arise?&lt;br /&gt;&lt;br /&gt;In message passing, it is the condition in which, both, the sender and receiver are blocked until the message is delivered.&lt;br /&gt;&lt;br /&gt;18. What is a trap and trapdoor?&lt;br /&gt;&lt;br /&gt;Trapdoor is a secret undocumented entry point into a program used to grant access without normal methods of access authentication. A trap is a software interrupt, usually the result of an error condition.&lt;br /&gt;&lt;br /&gt;19. What are local and global page replacements?&lt;br /&gt;&lt;br /&gt;Local replacement means that an incoming page is brought in only to the relevant process' address space. Global replacement policy allows any page frame from any process to be replaced. The latter is applicable to variable partitions model only.&lt;br /&gt;&lt;br /&gt;20. Define latency, transfer and seek time with respect to disk I/O.&lt;br /&gt;&lt;br /&gt;Seek time is the time required to move the disk arm to the required track. Rotational delay or latency is the time it takes for the beginning of the required sector to reach the head. Sum of seek time (if any) and latency is the access time. Time taken to actually transfer a span of data is transfer time.&lt;br /&gt;&lt;br /&gt;21. Describe the Buddy system of memory allocation.&lt;br /&gt;&lt;br /&gt;Free memory is maintained in linked lists, each of equal sized blocks. Any such block is of size 2^k. When some memory is required by a process, the block size of next higher order is chosen, and broken into two. Note that the two such pieces differ in address only in their kth bit. Such pieces are called buddies. When any used block is freed, the OS checks to see if its buddy is also free. If so, it is rejoined, and put into the original free-block linked-list.&lt;br /&gt;&lt;br /&gt;22. What is time-stamping?&lt;br /&gt;&lt;br /&gt;It is a technique proposed by Lamport, used to order events in a distributed system without the use of clocks. This scheme is intended to order events consisting of the transmission of messages. Each system 'i' in the network maintains a counter Ci. Every time a system transmits a message, it increments its counter by 1 and attaches the time-stamp Ti to the message. When a message is received, the receiving system 'j' sets its counter Cj to 1 more than the maximum of its current value and the incoming time-stamp Ti. &lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;&lt;br /&gt;23. How are the wait/signal operations for monitor different from those for semaphores?&lt;br /&gt;&lt;br /&gt;If a process in a monitor signal and no task is waiting on the condition variable, the signal is lost. So this allows easier program design. Whereas in semaphores, every operation affects the value of the semaphore, so the wait and signal operations should be perfectly balanced in the program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;24. In the context of memory management, what are placement and replacement algorithms?&lt;br /&gt;&lt;br /&gt;Placement algorithms determine where in available real-memory to load a program. Common methods are first-fit, next-fit, best-fit. Replacement algorithms are used when memory is full, and one process (or part of a process) needs to be swapped out to accommodate a new program. The replacement algorithm determines which are the partitions to be swapped out.&lt;br /&gt;&lt;br /&gt;25. In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?&lt;br /&gt;&lt;br /&gt;For load-time dynamic linking: Load module to be loaded is read into memory. Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.&lt;br /&gt;With run-time dynamic loading: Some of the linking is postponed until actual reference during execution. Then the correct module is loaded and linked.&lt;br /&gt;&lt;br /&gt;26. What are demand- and pre-paging?&lt;br /&gt;&lt;br /&gt;With demand paging, a page is brought into memory only when a location on that page is actually referenced during execution.&lt;br /&gt;&lt;br /&gt;With pre-paging, pages other than the one demanded by a page fault are brought in. The selection of such pages is done based on common access patterns, especially for secondary memory devices.&lt;br /&gt;&lt;br /&gt;27. Paging a memory management function, while multiprogramming a processor management function, are the two interdependent?&lt;br /&gt;&lt;br /&gt;Yes.&lt;br /&gt;&lt;br /&gt;28. What is page cannibalizing?&lt;br /&gt;&lt;br /&gt;Page swapping or page replacements are called page cannibalizing.&lt;br /&gt;&lt;br /&gt;29. What has triggered the need for multitasking in PCs?&lt;br /&gt;&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;ul&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Increased speed and memory capacity of microprocessors together with the support fir virtual memory and&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Growth  of client server computing&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;/ul&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;30. What are the four layers that Windows NT have in order to achieve independence?&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;ul&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Hardware abstraction layer&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Kernel&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Subsystems&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;System Services.&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;/ul&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;31. What is SMP?&lt;br /&gt;&lt;br /&gt;To achieve maximum efficiency and reliability a mode of operation known as symmetric multiprocessing is used. In essence, with SMP any process or threads can be assigned to any processor.&lt;br /&gt;&lt;br /&gt;32. What are the key object oriented concepts used by Windows NT?&lt;br /&gt;&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;ul&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Encapsulation&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Object class and instance&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;/ul&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;33. Is Windows NT a full blown object oriented operating system? Give reasons.&lt;br /&gt;&lt;br /&gt;No Windows NT is not so, because its not implemented in object oriented language and the data structures reside within one executive component and are not represented as objects and it does not support object oriented capabilities .&lt;br /&gt;&lt;br /&gt;34. What is a drawback of MVT?&lt;br /&gt;&lt;br /&gt;It does not have the features like&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;ul&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;ability to support multiple processors&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;virtual storage&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;source level debugging&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;/ul&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;35. What is process spawning?&lt;br /&gt;&lt;br /&gt;When the OS at the explicit request of another process creates a process, this action is called process spawning.&lt;br /&gt;&lt;br /&gt;36. How many jobs can be run concurrently on MVT?&lt;br /&gt;&lt;br /&gt;15 jobs&lt;br /&gt;&lt;br /&gt;37. List out some reasons for process termination.&lt;br /&gt;&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;ul&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Normal completion&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Time limit exceeded&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Memory unavailable&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Bounds violation&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Protection error&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Arithmetic error&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Time overrun&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;I/O failure&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Invalid instruction&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Privileged instruction&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Data misuse&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Operator or OS intervention&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Parent termination.&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;/ul&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;38. What are the reasons for process suspension?&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;ul&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;swapping&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;interactive user request&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;timing&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;parent process request&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;/ul&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;39. What is process migration?&lt;br /&gt;&lt;br /&gt;It is the transfer of sufficient amount of the state of process from one machine to the target machine&lt;br /&gt;&lt;br /&gt;40. What is mutant?&lt;br /&gt;&lt;br /&gt;In Windows NT a mutant provides kernel mode or user mode mutual exclusion with the notion of ownership.&lt;br /&gt;&lt;br /&gt;41. What is an idle thread?&lt;br /&gt;&lt;br /&gt;The special thread a dispatcher will execute when no ready thread is found.&lt;br /&gt;&lt;br /&gt;42. What is FtDisk?&lt;br /&gt;&lt;br /&gt;It is a fault tolerance disk driver for Windows NT.&lt;br /&gt;&lt;br /&gt;43. What are the possible threads a thread can have?&lt;br /&gt;&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;ul&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Ready&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Standby&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Running &lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Waiting&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Transition &lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Terminated.&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;/ul&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;44. What are rings in Windows NT?&lt;br /&gt;&lt;br /&gt;Windows NT uses protection mechanism called rings provides by the process to implement separation between the user mode and kernel mode.&lt;br /&gt;&lt;br /&gt;45. What is Executive in Windows NT?&lt;br /&gt;&lt;br /&gt;In Windows NT, executive refers to the operating system code that runs in kernel mode.&lt;br /&gt;&lt;br /&gt;46. What are the sub-components of I/O manager in Windows NT?&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;ul&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Network redirector/ Server&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Cache manager.&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;File systems &lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Network driver&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;li&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;Device driver&lt;/j.&gt;&lt;/tj&gt;&lt;/li&gt;&lt;/ul&gt;&lt;tj or="" if="" ti="Tj" and="" i=""&gt;&lt;j.&gt;&lt;br /&gt;47. What are DDks? Name an operating system that includes this feature.&lt;br /&gt;&lt;br /&gt;DDks are device driver kits, which are equivalent to SDKs for writing device drivers. Windows NT includes DDks.&lt;br /&gt;&lt;br /&gt;48. What level of security does Windows NT meets?&lt;br /&gt;&lt;br /&gt;C2 level security.&lt;br /&gt;&lt;br /&gt;&lt;/j.&gt;&lt;/tj&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-2139279044939568260?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/2139279044939568260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/os-aptitude_04.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2139279044939568260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2139279044939568260'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/os-aptitude_04.html' title='OS APTITUDE'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-7089053777044416696</id><published>2009-03-04T09:57:00.001-08:00</published><updated>2009-03-04T09:57:52.741-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TECHNICAL QUESTIONS'/><title type='text'>TECHNICAL QUESTIONS</title><content type='html'>1. A 2MB PCM(pulse code modulation) has&lt;br /&gt;&lt;br /&gt;a) 32 channels&lt;br /&gt;b) 30 voice channels &amp;amp; 1 signalling channel.&lt;br /&gt;c) 31 voice channels &amp;amp; 1 signalling channel.&lt;br /&gt;d) 32 channels out of which 30 voice channels, 1 signalling channel, &amp;amp; 1 Synchronizatio channel.&lt;br /&gt;Ans: (c)&lt;br /&gt;2. Time taken for 1 satellite hop in voice communication is&lt;br /&gt;&lt;br /&gt;a) 1/2 second&lt;br /&gt;b) 1 seconds&lt;br /&gt;c) 4 seconds&lt;br /&gt;d) 2 seconds&lt;br /&gt;Ans: (a)&lt;br /&gt;3. Max number of satellite hops allowed in voice communication is :&lt;br /&gt;&lt;br /&gt;a) only one&lt;br /&gt;b) more han one&lt;br /&gt;c) two hops&lt;br /&gt;d) four hops&lt;br /&gt;Ans: (c)&lt;br /&gt;4. What is the max. decimal number that can be accomodated in a byte.&lt;br /&gt;&lt;br /&gt;a) 128&lt;br /&gt;b) 256&lt;br /&gt;c) 255&lt;br /&gt;d) 512&lt;br /&gt;Ans: (c)&lt;br /&gt;5. Conditional results after execution of an instruction in a micro processor is stored in&lt;br /&gt;&lt;br /&gt;a) register&lt;br /&gt;b) accumulator&lt;br /&gt;c) flag register&lt;br /&gt;d) flag register part of PSW(Program Status Word)&lt;br /&gt;Ans: (d)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Frequency at which VOICE is sampled is&lt;br /&gt;&lt;br /&gt;a) 4 Khz&lt;br /&gt;b) 8 Khz&lt;br /&gt;c) 16 Khz&lt;br /&gt;d) 64 Khz&lt;br /&gt;Ans: (a)&lt;br /&gt;7. Line of Sight is&lt;br /&gt;&lt;br /&gt;a) Straight Line&lt;br /&gt;b) Parabolic&lt;br /&gt;c) Tx &amp;amp; Rx should be visible to each other&lt;br /&gt;d) none&lt;br /&gt;Ans: (c)&lt;br /&gt;8. Purpose of PC(Program Counter) in a MicroProcessor is&lt;br /&gt;&lt;br /&gt;a) To store address of TOS(Top Of Stack)&lt;br /&gt;b) To store address of next instruction to be executed.&lt;br /&gt;c) count the number of instructions.&lt;br /&gt;d) to store base address of the stack.&lt;br /&gt;Ans: (b)&lt;br /&gt;9. What action is taken when the processor under execution is interrupted by a non-maskable interrupt?&lt;br /&gt;&lt;br /&gt;a) Processor serves the interrupt request after completing the execution of the current instruction.&lt;br /&gt;b) Processor serves the interupt request after completing the current task.&lt;br /&gt;c) Processor serves the interupt request immediately.&lt;br /&gt;d) Processor serving the interrupt request depends upon the priority of the current task under execution.&lt;br /&gt;Ans: (a)&lt;br /&gt;10. The status of the Kernel is&lt;br /&gt;&lt;br /&gt;a) task&lt;br /&gt;b) process&lt;br /&gt;c) not defined.&lt;br /&gt;d) none of the above.&lt;br /&gt;Ans: (b)&lt;br /&gt;&lt;br /&gt;11. To send a data packet using datagram , connection will be established&lt;br /&gt;&lt;br /&gt;a) before data transmission.&lt;br /&gt;b) connection is not established before data transmission.&lt;br /&gt;c) no connection is required.&lt;br /&gt;d) none of the above.&lt;br /&gt;Ans: (c)&lt;br /&gt;&lt;br /&gt;12. Word allignment is&lt;br /&gt;&lt;br /&gt;a) alligning the address to the next word boundary of the machine.&lt;br /&gt;b) alligning to even boundary.&lt;br /&gt;c) alligning to word boundary.&lt;br /&gt;d) none of the above.&lt;br /&gt;Ans: (a)&lt;br /&gt;13 When a 'C' function call is made, the order in which parameters passed to the function are pushed into the stack is&lt;br /&gt;&lt;br /&gt;a) left to right&lt;br /&gt;b) right to left&lt;br /&gt;c) bigger variables are moved first than the smaller variales.&lt;br /&gt;d) smaller variables are moved first than the bigger ones.&lt;br /&gt;e) none of the above.&lt;br /&gt;Ans: (b)&lt;br /&gt;14 What is the type of signalling used between two exchanges?&lt;br /&gt;&lt;br /&gt;a) inband&lt;br /&gt;b) common channel signalling&lt;br /&gt;c) any of the above&lt;br /&gt;d) none of the above.&lt;br /&gt;Ans: (a)&lt;br /&gt;15 Buffering is&lt;br /&gt;&lt;br /&gt;a) the process of temporarily storing the data to allow for small variation in device speeds&lt;br /&gt;b) a method to reduce cross talks&lt;br /&gt;c) storage of data within transmitting medium until the receiver is ready to receive.&lt;br /&gt;d) a method to reduce routing overhead.&lt;br /&gt;Ans: (a)&lt;br /&gt;&lt;br /&gt;16. Memory allocation of variables declared in a program is&lt;br /&gt;&lt;br /&gt;a) allocated in RAM.&lt;br /&gt;b) allocated in ROM.&lt;br /&gt;c) allocated on stack.&lt;br /&gt;d) assigned to registers.&lt;br /&gt;Ans: (c)&lt;br /&gt;&lt;br /&gt;17. A software that allows a personal computer to pretend as a computer terminal is&lt;br /&gt;&lt;br /&gt;a) terminal adapter&lt;br /&gt;b) bulletin board&lt;br /&gt;c) modem&lt;br /&gt;d) terminal emulation&lt;br /&gt;Ans: (d)&lt;br /&gt;18. Find the output of the following program&lt;br /&gt;int *p,*q;&lt;br /&gt;p=(int *)1000;&lt;br /&gt;q=(int *)2000;&lt;br /&gt;printf("%d",(q-p));&lt;br /&gt;Ans: 500&lt;br /&gt;&lt;br /&gt;19. Which addressing mode is used in the following statements:&lt;br /&gt;(a) MVI  B,55&lt;br /&gt;(b) MOV B,A&lt;br /&gt;(c) MOV M,A&lt;br /&gt;Ans. (a) Immediate addressing mode.&lt;br /&gt;(b) Register Addressing Mode&lt;br /&gt;(c) Direct addressing mode&lt;br /&gt;&lt;br /&gt;20. RS-232C standard is used in _____________.&lt;br /&gt;Ans. Serial I/O&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;21. Memory. Management in Operating Systems is done by&lt;br /&gt;&lt;br /&gt;a) Memory Management Unit&lt;br /&gt;b) Memory management software of the Operating System&lt;br /&gt;c) Kernel&lt;br /&gt;Ans: (b)&lt;br /&gt;&lt;br /&gt;22. What is done for a Push opertion?&lt;br /&gt;Ans: SP is decremented and then the value is stored.&lt;br /&gt;23. Binary equivalent of 52&lt;br /&gt;&lt;br /&gt;Ans. 110100&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;24. Hexadecimal equivalent of 3452&lt;br /&gt;&lt;br /&gt;Ans. 72A&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;25. Explain Just In Time Concept ?&lt;br /&gt;&lt;br /&gt;Ans. Elimination of waste by purchasing manufacturing exactly when needed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;26. A good way of unit testing s/w program is&lt;br /&gt;&lt;br /&gt;Ans. User test&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;27. OOT uses&lt;br /&gt;&lt;br /&gt;Ans. Encapsulated of detect methods&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;28.EDI useful in&lt;br /&gt;&lt;br /&gt;Ans. Electronic Transmission&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;29. MRPII different from MRP&lt;br /&gt;&lt;br /&gt;Ans. Modular version of man redundant initials&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;30. Hard disk time for R/W head to move to correct sector&lt;br /&gt;&lt;br /&gt;Ans. Latency Time&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;31. The percentage of times a page number bound in associate register is called&lt;br /&gt;&lt;br /&gt;Ans. Bit ratio&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;32. Expand MODEM&lt;br /&gt;&lt;br /&gt;Ans. Modulator and Demodulator&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;33. RDBMS file system can be defined as&lt;br /&gt;&lt;br /&gt;Ans. Interrelated&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;34. Super Key is&lt;br /&gt;&lt;br /&gt;Ans. Primary key and Attribute&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;35. Windows 95 supports&lt;br /&gt;&lt;br /&gt;(a) Multiuser&lt;br /&gt;(b) n tasks&lt;br /&gt;(c) Both&lt;br /&gt;(d) None&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;36.In the command scanf, h is used for&lt;br /&gt;&lt;br /&gt;Ans. Short int&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;37.A process is defined as&lt;br /&gt;&lt;br /&gt;Ans. Program in execution&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;38.A thread is&lt;br /&gt;&lt;br /&gt;Ans. Detachable unit of executable code)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;39.What is the advantage of Win NT over Win 95&lt;br /&gt;&lt;br /&gt;Ans. Robust and secure&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;40.How is memory management done in Win95&lt;br /&gt;&lt;br /&gt;Ans. Through paging and segmentation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;41.What is meant by polymorphism&lt;br /&gt;&lt;br /&gt;Ans. Redfinition of a base class method in a derived class&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;42.What is the essential feature of inheritance&lt;br /&gt;&lt;br /&gt;Ans. All properties of existing class are derived&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;43.What does the protocol FTP do&lt;br /&gt;&lt;br /&gt;Ans. Transfer a file b/w stations with user authentification&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;44.In the transport layer ,TCP is what type of protocol&lt;br /&gt;&lt;br /&gt;Ans. Connection oriented&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;45.Why is a gateway used&lt;br /&gt;&lt;br /&gt;Ans. To connect incompatible networks&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;46.How is linked list implemented&lt;br /&gt;&lt;br /&gt;Ans. By referential structures&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;47.What method is used in Win95 in multitasking&lt;br /&gt;&lt;br /&gt;Ans. Non preemptive check&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;48.What is a semaphore&lt;br /&gt;&lt;br /&gt;Ans. A method synchronization of multiple processes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;49.What is the precedence order from high to low ,of the symbols ( ) ++ /&lt;br /&gt;&lt;br /&gt;Ans.( ) , ++, /&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;50.Preorder of A*(B+C)/D-G&lt;br /&gt;&lt;br /&gt;Ans.*+ABC/-DG&lt;br /&gt;&lt;br /&gt;51.What is the efficiency of merge sort&lt;br /&gt;&lt;br /&gt;Ans. O(n log n)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;52.In which layer are routers used&lt;br /&gt;&lt;br /&gt;Ans.In network layer&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;53.Which of the following sorting algorithem has average sorting behavior --&lt;br /&gt;       Bubble sort,merge sort,heap sort,exchange sort&lt;br /&gt;&lt;br /&gt;Ans. Heap sort&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;54.In binary search tree which traversal is used for getting ascending order values--Inorder ,post order,preorder&lt;br /&gt;&lt;br /&gt;Ans.Inorder&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;55.What are device drivers used for&lt;br /&gt;&lt;br /&gt;Ans.To provide software for enabling the hardware&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;56.What is fork command in unix&lt;br /&gt;&lt;br /&gt;Ans. System call used to create process&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;57.What is make command in unix&lt;br /&gt;&lt;br /&gt;Ans. Used forcreation of more than one file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;58.In unix .profile contains&lt;br /&gt;&lt;br /&gt;Ans. Start up program&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;59.In unix 'ls 'stores contents in&lt;br /&gt;&lt;br /&gt;Ans.inode block&lt;br /&gt;&lt;br /&gt;60. Which of the following involves context switch,&lt;br /&gt;(a) system call&lt;br /&gt;(b) priviliged instruction&lt;br /&gt;(c) floating poitnt exception&lt;br /&gt;(d) all the above&lt;br /&gt;(e) none of the above&lt;br /&gt;Ans: (a)&lt;br /&gt;&lt;br /&gt;61. In OST, terminal emulation is done in&lt;br /&gt;(a) sessions layer&lt;br /&gt;(b) application layer&lt;br /&gt;(c) presentation layer&lt;br /&gt;(d) transport layer&lt;br /&gt;Ans: (b)&lt;br /&gt;62. For 1 MB memory, the  number of address lines required,&lt;br /&gt;(a)11&lt;br /&gt;(b)16&lt;br /&gt;(c)22&lt;br /&gt;(d) 24&lt;br /&gt;Ans. (b)&lt;br /&gt;63. Semaphore is used for&lt;br /&gt;(a) synchronization&lt;br /&gt;(b) dead-lock avoidence&lt;br /&gt;(c) box&lt;br /&gt;(d) none&lt;br /&gt;Ans. (a)&lt;br /&gt;64. Which holds true for the following statement&lt;br /&gt;     class c: public A, public B&lt;br /&gt;a) 2 member in class A, B should not have same name&lt;br /&gt;b) 2 member in class A, C should not have same name&lt;br /&gt;c) both&lt;br /&gt;d) none&lt;br /&gt;Ans. (a)&lt;br /&gt;65.Preproconia.. does not do which one of the following&lt;br /&gt;(a) macro&lt;br /&gt;(b) conditional compliclation&lt;br /&gt;(c) in type checking&lt;br /&gt;(d) including load file&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;66. Piggy backing is a technique for&lt;br /&gt;a) Flow control&lt;br /&gt;b) Sequence&lt;br /&gt;c) Acknowledgement&lt;br /&gt;d) retransmition&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;67. Which is not a memory management scheme?&lt;br /&gt;a) buddy system&lt;br /&gt;b) swapping&lt;br /&gt;c) monitors&lt;br /&gt;d) paging&lt;br /&gt;Ans : c&lt;br /&gt;68. There was a circuit given using three nand gates with two inputs and one output.&lt;br /&gt;    Find the output.&lt;br /&gt;a) OR&lt;br /&gt;b) AND&lt;br /&gt;c) XOR&lt;br /&gt;d) NOT&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;69.Iintegrated check value(ICV) are used as:&lt;br /&gt;Ans. The client computes the ICV and then compares it with the senders value.&lt;br /&gt;70. When applets are downloaded from web sites , a byte verifier performs _________?&lt;br /&gt;Ans. Status check.&lt;br /&gt;&lt;br /&gt;71. An IP/IPX packet received by a computer using... having IP/IPX  both how the packet is handled.&lt;br /&gt;Ans. Read the, field in the packet header with to send IP or IPX protocol.&lt;br /&gt;72. The UNIX shell ....&lt;br /&gt;a) does not come with the rest of the system&lt;br /&gt;b) forms the interface between the user and the kernal&lt;br /&gt;c) does not give any scope for programming&lt;br /&gt;d) deos not allow calling one program from with in another&lt;br /&gt;e) all of the above&lt;br /&gt;Ans. (b)&lt;br /&gt;73. In UNIX a files i-node ......?&lt;br /&gt;Ans. Is a data structure that defines all specifications of a file like the file size,&lt;br /&gt;        number of lines to a file, permissions etc.&lt;br /&gt;74. The very first process created by the kernal that runs till the kernal process is halts is&lt;br /&gt;a) init&lt;br /&gt;b) getty&lt;br /&gt;c) both (a) and (b)&lt;br /&gt;d) none of these&lt;br /&gt;Ans. (a)&lt;br /&gt;75. In the process table entry for the kernel process, the process id value is&lt;br /&gt;(a) 0&lt;br /&gt;(b) 1&lt;br /&gt;(c) 2&lt;br /&gt;(d) 255&lt;br /&gt;(e) it does not have a process table entry&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;76. Which of the following API is used to hide a window&lt;br /&gt;a) ShowWindow&lt;br /&gt;b) EnableWindow&lt;br /&gt;c) MoveWindow&lt;br /&gt;d) SetWindowPlacement&lt;br /&gt;e) None of the above&lt;br /&gt;Ans. (a)&lt;br /&gt;77. Which function is the entry point for a DLL in MS Windows 3.1&lt;br /&gt;a) Main&lt;br /&gt;b) Winmain&lt;br /&gt;c) Dllmain&lt;br /&gt;d) Libmain&lt;br /&gt;e) None&lt;br /&gt;Ans. (b)&lt;br /&gt;78. The standard source for standard input, standard output and standard error is&lt;br /&gt;a) the terminal&lt;br /&gt;b) /dev/null&lt;br /&gt;c) /usr/you/input, /usr/you/output/, /usr/you/error respectively&lt;br /&gt;d) None&lt;br /&gt;Ans. (a)&lt;br /&gt;79. The redirection operators &gt; and &gt;&gt;&lt;br /&gt;a) do the same function&lt;br /&gt;b) differ : &gt; overwrites, while &gt;&gt; appends&lt;br /&gt;c) differ : &gt; is used for input while &gt;&gt; is used for output&lt;br /&gt;d) differ : &gt; write to any file while &gt;&gt; write only to standard output&lt;br /&gt;e) None of these&lt;br /&gt;Ans. (b)&lt;br /&gt;80. The command grep first second third /usr/you/myfile&lt;br /&gt;a) prints lines containing the words first, second or third from the file /usr/you/myfile&lt;br /&gt;b) searches for lines containing the pattern first in the files&lt;br /&gt;second, third, and /usr/you/myfile and prints them&lt;br /&gt;c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them&lt;br /&gt;d) replaces the word first with the word second in the files third and /usr/you/myfile&lt;br /&gt;e) None of the above&lt;br /&gt;Ans. (b)&lt;br /&gt;81. You are creating a Index on EMPNO column in the EMPLOYEE table. Which statement will you use?&lt;br /&gt;a) CREATE INdEX emp_empno_idx ON employee, empno;&lt;br /&gt;b) CREATE INdEX emp_empno_idx FOR employee, empno;&lt;br /&gt;c) CREATE INdEX emp_empno_idx ON employee(empno);&lt;br /&gt;d) CREATE emp_empno_idx INdEX ON employee(empno);&lt;br /&gt;&lt;br /&gt;Ans. c&lt;br /&gt;&lt;br /&gt;82. Which program construct must return a value?&lt;br /&gt;a) Package&lt;br /&gt;b) Function&lt;br /&gt;c) Anonymous block&lt;br /&gt;d) Stored Procedure&lt;br /&gt;e) Application Procedure&lt;br /&gt;&lt;br /&gt;Ans. b&lt;br /&gt;&lt;br /&gt;83. Which Statement would you use to remove the EMPLOYEE_Id_PK PRIMARY KEY constraint and all depending constraints fromthe EMPLOYEE table?&lt;br /&gt;a) ALTER TABLE employee dROP PRIMARY KEY CASCAdE;&lt;br /&gt;b) ALTER TABLE employee dELETE PRIMARY KEY CASCAdE;&lt;br /&gt;c) MOdIFY TABLE employee dROP CONSTRAINT employee_id_pk CASCAdE;&lt;br /&gt;d) ALTER TABLE employee dROP PRIMARY KEY employee_id_pk CASCAdE;&lt;br /&gt;e) MOdIFY TABLE employee dELETE PRIMARY KEY employee_id_pk CASCAdE;&lt;br /&gt;&lt;br /&gt;Ans. a&lt;br /&gt;&lt;br /&gt;84. Which three commands cause a transaction to end? (Chosse three)&lt;br /&gt;a) ALTER&lt;br /&gt;b) GRANT&lt;br /&gt;c) DELETE&lt;br /&gt;d) INSERT&lt;br /&gt;e) UPdATE&lt;br /&gt;f) ROLLBACK&lt;br /&gt;Ans. a ,b ,f&lt;br /&gt;85. Under which circumstance should you create an index on a table?&lt;br /&gt;a) The table is small.&lt;br /&gt;b) The table is updated frequently.&lt;br /&gt;c) A columns values are static and contain a narrow range of values&lt;br /&gt;d) Two columns are consistently used in the WHERE clause join condition of SELECT&lt;br /&gt;     statements.&lt;br /&gt;&lt;br /&gt;Ans.d&lt;br /&gt;86. What was the first name given to Java Programming Language.&lt;br /&gt;&lt;br /&gt;a) Oak - Java&lt;br /&gt;b) Small Talk&lt;br /&gt;c) Oak&lt;br /&gt;d) None&lt;br /&gt;&lt;br /&gt;Ans.a&lt;br /&gt;&lt;br /&gt;87.When a bicycle is in motion,the force of friction exerted by the ground on the two wheels is such that it acts&lt;br /&gt;(a) In the backward direction on the front wheel and in the forward direction on the rear wheel.&lt;br /&gt;(b) In the forward direction on the front wheel and in the backward direction on the rear wheel.&lt;br /&gt;(c) In the backward direction on both the front and rear wheels.&lt;br /&gt;(d) In the backward direction on both the front and rear wheels.&lt;br /&gt;Ans. (d)&lt;br /&gt;&lt;br /&gt;88. A certain radioactive element A, has a half life = t seconds.&lt;br /&gt;    In (t/2) seconds the fraction of the initial quantity of the element so far decayed is nearly&lt;br /&gt;(a) 29%&lt;br /&gt;(b) 15%&lt;br /&gt;(c) 10%&lt;br /&gt;(d) 45%&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;89. Which of the following plots would be a straight line ?&lt;br /&gt;(a) Logarithm of decay rate against logarithm of time&lt;br /&gt;(b) Logarithm of decay rate against logarithm of number of decaying nuclei&lt;br /&gt;(c) Decay rate against time&lt;br /&gt;(d) Number of decaying nuclei against time&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;90. A radioactive element x has an atomic number of 100.&lt;br /&gt;    It decays directly into an element y which decays directly into element z.&lt;br /&gt;    In both processes a charged particle is emitted.&lt;br /&gt;    Which of the following statements would be true?&lt;br /&gt;(a) y has an atomic number of 102&lt;br /&gt;(b) y has an atomic number of 101&lt;br /&gt;(c) z has an atomic number of 100&lt;br /&gt;(d) z has an atomic number of 101&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;91. If the sum of the roots of the equation ax2 + bx + c=0 is equal to the sum of the squares of their reciprocals&lt;br /&gt;    then a/c, b/a, c/b are in&lt;br /&gt;(a) AP&lt;br /&gt;(b) GP&lt;br /&gt;(c) HP&lt;br /&gt;(d) None of these&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;92. A man speaks the truth 3 out of 4 times.&lt;br /&gt;    He throws a die and reports it to be a 6.&lt;br /&gt;    What is the probability of it being a 6?&lt;br /&gt;(a) 3/8&lt;br /&gt;(b) 5/8&lt;br /&gt;(c) 3/4&lt;br /&gt;(d) None of the above&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;93. If cos2A + cos2B + cos2C = 1 then ABC is a&lt;br /&gt;(a) Right angle triangle&lt;br /&gt;(b) Equilateral triangle&lt;br /&gt;(c) All the angles are acute&lt;br /&gt;(d) None of these&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;94. Image of point (3,8) in the line  x + 3y = 7 is&lt;br /&gt;(a) (-1,-4)&lt;br /&gt;(b) (-1,4)&lt;br /&gt;(c) (2,-4)&lt;br /&gt;(d) (-2,-4)&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;95. The mass number of a nucleus is&lt;br /&gt;(a) Always less than its atomic number&lt;br /&gt;(b) Always more than its atomic number&lt;br /&gt;(c) Sometimes more than and sometimes equal to its atomic number&lt;br /&gt;(d) None of the above&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;96. The maximum KE of the photoelectron emitted from a surface is dependent on&lt;br /&gt;(a) The intensity of incident radiation&lt;br /&gt;(b) The potential of the collector electrode&lt;br /&gt;(c) The frequency of incident radiation&lt;br /&gt;(d) The angle of incidence of radiation of the surface&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;97. Which of the following is not an essential condition for interference&lt;br /&gt;(a) The two interfering waves must be propagated in almost the same direction or&lt;br /&gt;     the two interfering waves must intersect at a very small angle&lt;br /&gt;(b) The waves must have the same time period and wavelength&lt;br /&gt;(c) Amplitude of the two waves should be the same&lt;br /&gt;(d) The interfering beams of light must originate from the same source&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;98. When X-Ray photons collide with electrons&lt;br /&gt;(a) They slow down&lt;br /&gt;(b) Their mass increases&lt;br /&gt;(c) Their wave length increases&lt;br /&gt;(d) Their energy decreases&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;99. An electron emits energy&lt;br /&gt;(a) Because its in orbit&lt;br /&gt;(b) When it jumps from one energy level to another&lt;br /&gt;(c) Electrons are attracted towards the nucleus&lt;br /&gt;(d) The electrostatic force is insufficient to hold the electrons in orbits&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;100. How many bonds are present in CO2 molecule?&lt;br /&gt;(a) 1&lt;br /&gt;(b) 2&lt;br /&gt;(c) 0&lt;br /&gt;(d) 4&lt;br /&gt;Ans. (d)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-7089053777044416696?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/7089053777044416696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/technical-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/7089053777044416696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/7089053777044416696'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/technical-questions.html' title='TECHNICAL QUESTIONS'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-8336274618906100901</id><published>2009-03-04T07:19:00.000-08:00</published><updated>2009-03-04T10:25:54.162-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='APTITUDE'/><title type='text'>APTITUDE</title><content type='html'>1.If 2x-y=4 then 6x-3y=?&lt;br /&gt;(a)15&lt;br /&gt;(b)12&lt;br /&gt;(c)18&lt;br /&gt;(d)10&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;2.If x=y=2z and xyz=256 then what is the value of x?&lt;br /&gt;&lt;br /&gt;(a)12&lt;br /&gt;(b)8&lt;br /&gt;(c)16&lt;br /&gt;(d)6&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;3. (1/10)18 - (1/10)20 = ?&lt;br /&gt;&lt;br /&gt;(a) 99/1020&lt;br /&gt;(b) 99/10&lt;br /&gt;(c) 0.9&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;4.Pipe A can fill in 20 minutes and Pipe B in 30 mins and Pipe C can empty the same in 40 mins.If all of them work together, find the time taken to fill the tank&lt;br /&gt;&lt;br /&gt;(a) 17 1/7 mins&lt;br /&gt;(b) 20 mins&lt;br /&gt;(c) 8 mins&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;5. Thirty men take 20 days to complete a job working 9 hours a day.How many hour a day should 40 men work to complete the job?&lt;br /&gt;&lt;br /&gt;(a) 8 hrs&lt;br /&gt;(b) 7 1/2 hrs&lt;br /&gt;(c) 7 hrs&lt;br /&gt;(d) 9 hrs&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;6. Find the smallest number in a GP whose sum is 38 and product 1728&lt;br /&gt;&lt;br /&gt;(a) 12&lt;br /&gt;(b) 20&lt;br /&gt;(c) 8&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;7. A boat travels 20 kms upstream in 6 hrs and 18 kms downstream in 4 hrs.Find the speed of the boat in still water and the speed of the water current?&lt;br /&gt;&lt;br /&gt;(a) 1/2 kmph&lt;br /&gt;(b) 7/12 kmph&lt;br /&gt;(c) 5 kmph&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;8. A goat is tied to one corner of a square plot of side 12m by a rope 7m long.Find the area it can graze?&lt;br /&gt;&lt;br /&gt;(a) 38.5 sq.m&lt;br /&gt;(b) 155 sq.m&lt;br /&gt;(c) 144 sq.m&lt;br /&gt;(d) 19.25 sq.m&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;9. Mr. Shah decided to walk down the escalator of a tube station. He found   that if he walks down 26 steps, he requires 30 seconds to reach the bottom. However, if he steps down 34 stairs he would only require 18 seconds to get to the bottom. If the time is measured from the moment the top step begins   to descend to the time he steps off the last step at the bottom, find out the height of the stair way in steps?&lt;br /&gt;&lt;br /&gt;Ans.46 steps.&lt;br /&gt;&lt;br /&gt;10. The average age of 10 members of a committee is the same as it was 4 years ago, because an old member has been replaced by a young member. Find how much younger is the new member ?&lt;br /&gt;&lt;br /&gt;Ans.40 years.&lt;br /&gt;&lt;br /&gt;11. Three containers A, B and C have volumes a, b, and c respectively; and container A is full of water while the other two are empty. If from container A water is poured into container B which becomes 1/3 full, and into container C which becomes 1/2 full, how much water is left in container A?&lt;br /&gt;&lt;br /&gt;12. ABCE is an isosceles trapezoid and ACDE is a rectangle. AB = 10 and EC = 20. What is the length of AE?&lt;br /&gt;&lt;br /&gt;Ans. AE = 10.&lt;br /&gt;&lt;br /&gt;13. In the given figure, PA and PB are tangents to the circle at A and B respectively and   the chord BC is parallel to tangent PA. If AC = 6 cm, and length of the tangent AP   is 9 cm, then what is the length of the chord BC?&lt;br /&gt;&lt;br /&gt;Ans. BC = 4 cm.&lt;br /&gt;&lt;br /&gt;15 Three cards are drawn at random from an ordinary pack of cards. Find the probability that they will consist of a king, a queen and an ace.&lt;br /&gt;&lt;br /&gt;Ans. 64/2210.&lt;br /&gt;&lt;br /&gt;16. A number of cats got together and decided to kill between them 999919   mice. Every cat killed an equal number of mice. Each cat killed more mice   than there were cats. How many cats do you think there were ?&lt;br /&gt;&lt;br /&gt;Ans. 991.&lt;br /&gt;&lt;br /&gt;17. If Log2 x - 5 Log x + 6 = 0, then what would the value / values of x be?&lt;br /&gt;&lt;br /&gt;Ans. x = e2 or e3.&lt;br /&gt;&lt;br /&gt;18. The square of a two digit number is divided by half the number. After   36 is added to the quotient, this sum is then divided by 2. The digits of the resulting number are the same as those in the original number, but they   are in reverse order. The ten's place of the original number is equal to twice   the difference between its digits. What is the number?&lt;br /&gt;&lt;br /&gt;Ans. 46&lt;br /&gt;&lt;br /&gt;19.Can you tender a one rupee note in such a manner that there shall be   total 50 coins but none of them would be 2 paise coins.?&lt;br /&gt;&lt;br /&gt;Ans. 45 one paisa coins, 2 five paise coins, 2 ten paise coins, and 1 twenty-five paise coins.&lt;br /&gt;&lt;br /&gt;20.A monkey starts climbing up a tree 20ft. tall. Each hour, it hops 3ft. and slips back 2ft. How much time would it take the monkey to reach the top?&lt;br /&gt;&lt;br /&gt;Ans.18 hours.&lt;br /&gt;&lt;br /&gt;21. What is the missing number in this series?   8 2 14 6 11 ? 14 6 18 12&lt;br /&gt;&lt;br /&gt;Ans. 9&lt;br /&gt;&lt;br /&gt;22. A certain type of mixture is prepared by mixing brand A at Rs.9 a kg. with brand B at Rs.4 a kg. If the mixture is worth Rs.7 a kg., how many   kgs. of brand A are needed to make 40kgs. of the mixture?&lt;br /&gt;&lt;br /&gt;Ans. Brand A needed is 24kgs.&lt;br /&gt;&lt;br /&gt;23. A wizard named Nepo says "I am only three times my son's age. My father   is 40 years more than twice my age. Together the three of us are a mere 1240   years old." How old is Nepo?&lt;br /&gt;&lt;br /&gt;Ans. 360 years old.&lt;br /&gt;&lt;br /&gt;24. One dog tells the other that there are two dogs in front of me. The other one also shouts that he too had two behind him. How many are they?&lt;br /&gt;&lt;br /&gt;Ans. Three.&lt;br /&gt;&lt;br /&gt;25. A man ate 100 bananas in five days, each day eating 6 more than the previous day. How many bananas did he eat on the first day?&lt;br /&gt;&lt;br /&gt;Ans. Eight.&lt;br /&gt;&lt;br /&gt;26. If it takes five minutes to boil one egg, how long will it take to boil four eggs?&lt;br /&gt;&lt;br /&gt;Ans. Five minutes.&lt;br /&gt;&lt;br /&gt;27. The minute hand of a clock overtakes the hour hand at intervals of 64   minutes of correct time. How much a day does the clock gain or lose?&lt;br /&gt;&lt;br /&gt;Ans. 32 8/11 minutes.&lt;br /&gt;&lt;br /&gt;28. Solve for x and y:   1/x - 1/y = 1/3, 1/x2 + 1/y2 = 5/9.&lt;br /&gt;&lt;br /&gt;Ans. x = 3/2 or -3 and y = 3 or -3/2.&lt;br /&gt;&lt;br /&gt;29. Daal is now being sold at Rs. 20 a kg. During last month its rate was Rs. 16 per&lt;br /&gt;kg. By how much percent should a family reduce its consumption so   as to keep the expenditure fixed?&lt;br /&gt;&lt;br /&gt;Ans. 20 %.&lt;br /&gt;&lt;br /&gt;30. Find the least value of 3x + 4y if x2y3 = 6.&lt;br /&gt;&lt;br /&gt;Ans. 10.&lt;br /&gt;&lt;br /&gt;31. Can you find out what day of the week was January 12, 1979?&lt;br /&gt;&lt;br /&gt;Ans. Friday.&lt;br /&gt;&lt;br /&gt;32. A garrison of 3300 men has provisions for 32 days, when given at a rate of 850 grams per head. At the end of 7 days a reinforcement arrives and it was found that now the provisions will last 8 days less, when given at the rate of 825 grams per head. How, many more men can it feed?&lt;br /&gt;&lt;br /&gt;Ans. 1700 men.&lt;br /&gt;&lt;br /&gt;33. From 5 different green balls, four different blue balls and three   different red balls, how many combinations of balls can be chosen taking at least   one green and one blue ball?&lt;br /&gt;&lt;br /&gt;Ans. 3720.&lt;br /&gt;&lt;br /&gt;34. Three pipes, A, B, &amp;amp; C are attached to a tank. A &amp;amp; B can fill it in 20   &amp;amp; 30 minutes respectively while C can empty it in 15 minutes. If A, B &amp;amp; C   are kept open successively for 1 minute each, how soon will the tank be filled?&lt;br /&gt;&lt;br /&gt;Ans. 167 minutes.&lt;br /&gt;&lt;br /&gt;35. A person walking 5/6 of his usual rate is 40 minutes late. What is his usual time?&lt;br /&gt;&lt;br /&gt;Ans. 3 hours 20 minutes.&lt;br /&gt;&lt;br /&gt;36.&lt;span style="color: rgb(255, 0, 0);"&gt;For a motorist there are three ways going from City A to City C. By way of bridge the distance is 20 miles and toll is $0.75. A tunnel between the two cities is a distance of 10 miles and toll is $1.00 for the vehicle and driver and $0.10 for each passenger. A two-lane highway without toll goes east for 30 miles to city B and then 20 miles in a northwest direction to City C. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Which is the shortest route from B to C&lt;br /&gt;&lt;br /&gt;(a) Directly on toll free highway to City C&lt;br /&gt;(b) The bridge&lt;br /&gt;(c) The Tunnel&lt;br /&gt;(d) The bridge or the tunnel&lt;br /&gt;(e) The bridge only if traffic is heavy on the toll free highway&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. The most economical way of going from City A to City B, in terms of toll and distance is to use the&lt;br /&gt;&lt;br /&gt;(a) tunnel&lt;br /&gt;(b) bridge&lt;br /&gt;(c) bridge or tunnel&lt;br /&gt;(d) toll free highway&lt;br /&gt;(e) bridge and highway&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Jim usually drives alone from City C to City A every working day. His firm deducts a percentage of employee pay for lateness. Which factor would most influence his choice of the bridge or the tunnel ?&lt;br /&gt;&lt;br /&gt;(a) Whether his wife goes with him&lt;br /&gt;(b) scenic beauty on the route&lt;br /&gt;(c) Traffic conditions on the road, bridge and tunnel&lt;br /&gt;(d) saving $0.25 in tolls&lt;br /&gt;(e) price of gasoline consumed in covering additional 10 miles on the bridge&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. In choosing between the use of the bridge and the tunnel the chief factor(s) would be:&lt;br /&gt;I. Traffic and road conditions&lt;br /&gt;II. Number of passengers in the car&lt;br /&gt;III. Location of one's homes in the center or outskirts of one of the cities&lt;br /&gt;IV. Desire to save $0.25&lt;br /&gt;&lt;br /&gt;(a) I only&lt;br /&gt;(b) II only&lt;br /&gt;(c) II and III only&lt;br /&gt;(d) III and IV only&lt;br /&gt;(e) I and II only&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;37.&lt;span style="color: rgb(255, 0, 0);"&gt;The letters A, B, C, D, E, F and G, not necessarily in that order, stand for seven consecutive integers from 1 to 10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;D is 3 less than A&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;B is the middle term&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;F is as much less than B as C is greater than D&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;G is greater than F&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. The fifth integer is&lt;br /&gt;(a) A&lt;br /&gt;(b) C&lt;br /&gt;(c) D&lt;br /&gt;(d) E&lt;br /&gt;(e) F&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. A is as much greater than F as which integer is less than G&lt;br /&gt;(a) A&lt;br /&gt;(b) B&lt;br /&gt;(c) C&lt;br /&gt;(d) D&lt;br /&gt;(e) E&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. If A = 7, the sum of E and G is&lt;br /&gt;(a) 8&lt;br /&gt;(b) 10&lt;br /&gt;(c) 12&lt;br /&gt;(d) 14&lt;br /&gt;(e) 16&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;4. A - F = ?&lt;br /&gt;(a) 1&lt;br /&gt;(b) 2&lt;br /&gt;(c) 3&lt;br /&gt;(d) 4&lt;br /&gt;(e) Cannot be determined&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. An integer T is as much greater than C as C is greater than E. T can be written as A + E. What is D?&lt;br /&gt;(a) 2&lt;br /&gt;(b) 3&lt;br /&gt;(c) 4&lt;br /&gt;(d) 5&lt;br /&gt;(e) Cannot be determined&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. The greatest possible value of C is how much greater than the smallest possible value of D?&lt;br /&gt;(a) 2&lt;br /&gt;(b) 3&lt;br /&gt;(c) 4&lt;br /&gt;(d) 5&lt;br /&gt;(e) 6&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;38.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;1. All G's are H's&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;2. All G's are J's or K's&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;3. All J's and K's are G's&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;4. All L's are K's&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;5. All N's are M's&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;6. No M's are G's&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. If no P's are K's, which of the following must be true?&lt;br /&gt;&lt;br /&gt;(a) All P's are J's&lt;br /&gt;(b) No P is a G&lt;br /&gt;(c) No P is an H&lt;br /&gt;(d) If any P is an H it is a G&lt;br /&gt;(e) If any P is a G it is a J&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Which of the following can be logically deduced from the conditions stated?&lt;br /&gt;&lt;br /&gt;(a) No M's are H's&lt;br /&gt;(b) No M's that are not N's are H's&lt;br /&gt;(c) No H's are M's&lt;br /&gt;(d) Some M's are H's&lt;br /&gt;(e) All M's are H's&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Which of the following is inconsistent with one or more of the conditions?&lt;br /&gt;&lt;br /&gt;(a) All H's are G's&lt;br /&gt;(b) All H's that are not G's are M's&lt;br /&gt;(c) Some H's are both M's and G's&lt;br /&gt;(d) No M's are H's&lt;br /&gt;(e) All M's are H's&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. The statement "No L's are J's" is&lt;br /&gt;I. Logically deducible from the conditions stated&lt;br /&gt;II. Consistent with but not deducible from the conditions stated&lt;br /&gt;III. Deducible from the stated conditions together with the additional statement "No J's are K's"&lt;br /&gt;&lt;br /&gt;(a) I only&lt;br /&gt;(b) II only&lt;br /&gt;(c) III only&lt;br /&gt;(d) II and III only&lt;br /&gt;(e) Neither I, II nor III&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;39.&lt;span style="color: rgb(255, 0, 0);"&gt;In country X, democratic, conservative and justice parties have fought three civil wars in twenty years. TO restore stability an agreement is reached to rotate the top offices President, Prime Minister and Army Chief among the parties so that each party controls one and only one office at all times. The three top office holders must each have two deputies, one from each of the other parties. Each deputy must choose a staff composed of equally members of his or her chiefs party and member of the third party. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. When Justice party holds one of the top offices, which of the following cannot be true&lt;br /&gt;&lt;br /&gt;(a) Some of the staff members within that office are justice party members&lt;br /&gt;(b) Some of the staff members within that office are democratic party members&lt;br /&gt;(c) Two of the deputies within the other offices are justice party members&lt;br /&gt;(d) Two of the deputies within the other offices are conservative party members&lt;br /&gt;(e) Some of the staff members within the other offices are justice party members.&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. When the democratic party holds presidency, the staff of the prime minister's deputies are composed&lt;br /&gt;I. One-fourth of democratic party members&lt;br /&gt;II. One-half of justice party members and one-fourth of conservative party members&lt;br /&gt;III. One-half of conservative party members and one-fourth of justice party members.&lt;br /&gt;&lt;br /&gt;(a) I only&lt;br /&gt;(b) I and II only&lt;br /&gt;(c) II or III but not both&lt;br /&gt;(d) I and II or I and III&lt;br /&gt;(e) None of these&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Which of the following is allowable under the rules as stated:&lt;br /&gt;&lt;br /&gt;(a) More than half of the staff within a given office belonging to a single party&lt;br /&gt;(b) Half of the staff within a given office belonging to a single party&lt;br /&gt;(c) Any person having a member of the same party as his or her immediate superior&lt;br /&gt;(d) Half the total number of staff members in all three offices belonging to a single party&lt;br /&gt;(e) Half the staff members in a given office belonging to parties different from the party of the top office holder in that office.&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. The office of the Army Chief passes from Conservative to Justice party. Which of the following must be fired.&lt;br /&gt;&lt;br /&gt;(a) The democratic deputy and all staff members belonging to Justice party&lt;br /&gt;(b) Justice party deputy and all his or hers staff members&lt;br /&gt;(c) Justice party deputy and half of his Conservative staff members in the chief of staff office&lt;br /&gt;(d) The Conservative deputy and all of his or her staff members belonging to Conservative party&lt;br /&gt;(e) No deputies and all staff members belonging to conservative parties.&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;40.I&lt;span style="color: rgb(255, 0, 0);"&gt;n recommendations to the board of trustees a tuition increase of $500 per year, the president of the university said "There were no student demonstrations over the previous increases of $300 last year and $200 the year before". If the president's statement is accurate then which of the following can be validly inferred from the information given:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;I. Most students in previous years felt that the increases were justified because of increased operating costs.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;II. Student apathy was responsible for the failure of students to protest the previous tuition increases.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;III. Students are not likely to demonstrate over new tuition increases.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(a) I only&lt;br /&gt;(b) II only&lt;br /&gt;(c) I or II but not both&lt;br /&gt;(d) I, II and III&lt;br /&gt;(e) None&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;41. &lt;span style="color: rgb(255, 0, 0);"&gt;The office staff of XYZ corporation presently consists of three bookeepers--A, B, C and 5 secretaries D, E, F, G, H. The management is planning to open a new office in another city using 2 bookeepers and 3 secretaries of the present staff . To do so they plan to seperate certain individuals who don't function well together. The following guidelines were established to set up the new office&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;I. Bookeepers A and C are constantly finding fault with one another and should not be sent together to the new office as a team&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;II. C and E function well alone but not as a team , they should be seperated&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;III. D and G have not been on speaking terms and shouldn't go together&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;IV Since D and F have been competing for promotion they shouldn't be a team&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1.If A is to be moved as one of the bookeepers,which of the following cannot be a possible working unit.&lt;br /&gt;&lt;br /&gt;A.ABDEH&lt;br /&gt;B.ABDGH&lt;br /&gt;C.ABEFH&lt;br /&gt;D.ABEGH&lt;br /&gt;&lt;br /&gt;Ans.B&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.If C and F are moved to the new office,how many combinations are possible&lt;br /&gt;&lt;br /&gt;A.1&lt;br /&gt;B.2&lt;br /&gt;C.3&lt;br /&gt;D.4&lt;br /&gt;&lt;br /&gt;Ans.A&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3.If C is sent to the new office,which member of the staff cannot go with C&lt;br /&gt;&lt;br /&gt;A.B&lt;br /&gt;B.D&lt;br /&gt;C.F&lt;br /&gt;D.G&lt;br /&gt;&lt;br /&gt;Ans.B&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.Under the guidelines developed,which of the following must go to the new office&lt;br /&gt;&lt;br /&gt;A.B&lt;br /&gt;B.D&lt;br /&gt;C.E&lt;br /&gt;D.G&lt;br /&gt;&lt;br /&gt;Ans.A&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5.If D goes to the new office,which of the following is/are true&lt;br /&gt;&lt;br /&gt;I.C cannot go&lt;br /&gt;II.A cannot go&lt;br /&gt;III.H must also go&lt;br /&gt;&lt;br /&gt;A.I only&lt;br /&gt;B.II only&lt;br /&gt;C.I and II only&lt;br /&gt;D.I and III only&lt;br /&gt;&lt;br /&gt;Ans.D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;42.&lt;span style="color: rgb(255, 0, 0);"&gt;After months of talent searching for an administrative assistant to the president of the college the field of applicants has been narrowed down to 5--A, B, C, D, E .It was announced that the finalist would be chosen after a series of all-day group personal interviews were held.The examining committee agreed upon the following procedure&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;I.The interviews will be held once a week&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;II.3 candidates will appear at any all-day interview session&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;III.Each candidate will appear at least once&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;IV.If it becomes necessary to call applicants for additonal interviews, no more 1 such applicant should be asked to appear the next week&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;V.Because of a detail in the written applications,it was agreed that whenever candidate B appears, A should also be present.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;VI.Because of travel difficulties it was agreed that C will appear for only 1 interview.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1.At the first interview the following candidates appear A,B,D.Which of the follwing combinations can be called for the interview to be held next week.&lt;br /&gt;&lt;br /&gt;A.BCD&lt;br /&gt;B.CDE&lt;br /&gt;C.ABE&lt;br /&gt;D.ABC&lt;br /&gt;&lt;br /&gt;Ans.B&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.Which of the following is a possible sequence of combinations for interviews in 2 successive weeks&lt;br /&gt;&lt;br /&gt;A.ABC;BDE&lt;br /&gt;B.ABD;ABE&lt;br /&gt;C.ADE;ABC&lt;br /&gt;D.BDE;ACD&lt;br /&gt;&lt;br /&gt;Ans.C&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3.If A ,B and D appear for the interview and D is called for additional interview the following week,which 2 candidates may be asked to appear with D?&lt;br /&gt;&lt;br /&gt;I. A&lt;br /&gt;II B&lt;br /&gt;III.C&lt;br /&gt;IV.E&lt;br /&gt;A.I and II&lt;br /&gt;B.I and III only&lt;br /&gt;C.II and III only&lt;br /&gt;D.III and IV only&lt;br /&gt;&lt;br /&gt;Ans.D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.Which of the following correctly state(s) the procedure followed by the search committee&lt;br /&gt;&lt;br /&gt;I.After the second interview all applicants have appeared at least once&lt;br /&gt;II.The committee sees each applicant a second time&lt;br /&gt;III.If a third session,it is possible for all applicants to appear at least twice&lt;br /&gt;&lt;br /&gt;A.I only&lt;br /&gt;B.II only&lt;br /&gt;C.III only&lt;br /&gt;D.Both I and II&lt;br /&gt;&lt;br /&gt;Ans.A&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;43. &lt;span style="color: rgb(255, 0, 0);"&gt;A certain city is served by subway lines A,B and C and numbers 1 2 and 3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;When it snows , morning service on B is delayed&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;When it rains or snows , service on A, 2 and 3 are delayed both in the morning and afternoon &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;When temp. falls below 30 degrees farenheit afternoon service is cancelled in either the A line or the 3 line,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;but not both.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;When the temperature rises over 90 degrees farenheit, the afternoon service is cancelled in either the line C or the&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;3 line but not both.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;When the service on the A line is delayed or cancelled, service on the C line which connects the A line, is delayed.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;When service on the 3 line is cancelled, service on the B line which connects the 3 line is delayed.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Q1.  On Jan 10th, with the temperature at 15 degree farenheit, it snows all day. On how many lines will service be&lt;br /&gt;    affected, including both morning and afternoon.&lt;br /&gt;(A) 2&lt;br /&gt;(B) 3&lt;br /&gt;(C) 4&lt;br /&gt;(D) 5&lt;br /&gt;Ans. D&lt;br /&gt;&lt;br /&gt;Q2. On Aug 15th with the temperature at 97 degrees farenheit it begins to rain at 1 PM. What is the minimum number&lt;br /&gt;   of  lines on which service will be affected?&lt;br /&gt;(A) 2&lt;br /&gt;(B) 3&lt;br /&gt;(C) 4&lt;br /&gt;(D) 5&lt;br /&gt;Ans. C&lt;br /&gt;&lt;br /&gt;Q3. On which of the following occasions would service be on the greatest number of lines disrupted.&lt;br /&gt;(A) A snowy afternoon with the temperature at 45 degree farenheit&lt;br /&gt;(B) A snowy morning with the temperature at 45 degree farenheit&lt;br /&gt;(C) A rainy afternoon with the temperature at 45 degree farenheit&lt;br /&gt;(D) A rainy afternoon with the temperature at 95 degree farenheit&lt;br /&gt;Ans. B&lt;br /&gt;&lt;br /&gt;44. &lt;span style="color: rgb(255, 0, 0);"&gt;In a certain society, there are two marriage groups, red and brown. No marriage is permitted within a group. On marriage, males become part of their wives groups; women remain in their own group. Children belong to the same group as their parents. Widowers and divorced males revert to the group of their birth. Marriage to more than one person at the same time and marriage to a direct descendant are forbidden&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Q1.&lt;br /&gt;A brown female could have had&lt;br /&gt;I. A grandfather born Red&lt;br /&gt;II. A grandmother born Red&lt;br /&gt;III Two grandfathers born Brown&lt;br /&gt;&lt;br /&gt;(A) I only&lt;br /&gt;(B) III only&lt;br /&gt;(C) I, II and III&lt;br /&gt;(D) I and II only&lt;br /&gt;Ans. D&lt;br /&gt;&lt;br /&gt;Q2. A male born into the brown group may have&lt;br /&gt;(A) An uncle in either group&lt;br /&gt;(B) A brown daughter&lt;br /&gt;(C) A brown son&lt;br /&gt;(D) A son-in-law born into red group&lt;br /&gt;Ans. A&lt;br /&gt;&lt;br /&gt;Q3. Which of the following is not permitted under the rules as stated.&lt;br /&gt;(A) A brown male marrying his father's sister&lt;br /&gt;(B) A red female marrying her mother's brother&lt;br /&gt;(C) A widower marrying his wife's sister&lt;br /&gt;(D) A widow marrying her divorced daughter's ex-husband&lt;br /&gt;Ans. B&lt;br /&gt;&lt;br /&gt;Q4. If widowers and divorced males retained their group they had upon marrying which of the following would be permissible ( Assume that no previous marriage occurred)&lt;br /&gt;(A) A woman marrying her dead sister's husband&lt;br /&gt;(B) A woman marrying her divorced daughter's ex-husband&lt;br /&gt;(C) A widower marrying his brother's daughter&lt;br /&gt;(D) A woman marrying her mother's brother who is a widower.&lt;br /&gt;Ans. D&lt;br /&gt;&lt;br /&gt;Q5. I. All G's are H's&lt;br /&gt;II. All G's are J's or K's&lt;br /&gt;III All J's and K's are G's&lt;br /&gt;IV All L's are K's&lt;br /&gt;V All N's are M's&lt;br /&gt;VI No M's are G's&lt;br /&gt;&lt;br /&gt;45. &lt;span style="color: rgb(255, 0, 0);"&gt;There are six steps that lead from the first to the second floor. No two people can be on the same step&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Mr. A is two steps below Mr. C&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Mr. B is a step next to Mr. D&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Only one step is vacant ( No one standing on that step )&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Denote the first step by step 1 and second step by step 2 etc. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. If Mr. A is on the first step, Which of the following is true?&lt;br /&gt;(a) Mr. B is on the second step&lt;br /&gt;(b) Mr. C is on the fourth step.&lt;br /&gt;(c) A person Mr. E, could be on the third step&lt;br /&gt;(d) Mr. D is on higher step than Mr. C.&lt;br /&gt;Ans: (d)&lt;br /&gt;&lt;br /&gt;2. If Mr. E was on the third step &amp;amp; Mr. B was on a higher step than Mr. E which step must be vacant&lt;br /&gt;(a) step 1&lt;br /&gt;(b) step 2&lt;br /&gt;(c) step 4&lt;br /&gt;(d) step 5&lt;br /&gt;(e) step 6&lt;br /&gt;Ans: (a)&lt;br /&gt;&lt;br /&gt;3. If Mr. B was on step 1, which step could A be on?&lt;br /&gt;(a) 2&amp;amp;e only&lt;br /&gt;(b) 3&amp;amp;5 only&lt;br /&gt;(c) 3&amp;amp;4 only&lt;br /&gt;(d) 4&amp;amp;5 only&lt;br /&gt;(e) 2&amp;amp;4 only&lt;br /&gt;Ans: (c)&lt;br /&gt;&lt;br /&gt;4. If there were two steps between the step that A was standing and the step that B was standing on, and A was on a higher step than D , A must be on step&lt;br /&gt;(a) 2&lt;br /&gt;(b) 3&lt;br /&gt;(c) 4&lt;br /&gt;(d) 5&lt;br /&gt;(e) 6&lt;br /&gt;Ans: (c)&lt;br /&gt;&lt;br /&gt;5. Which of the following is false&lt;br /&gt;&lt;br /&gt;i. B&amp;amp;D can be both on odd-numbered steps in one configuration&lt;br /&gt;ii. In a particular configuration A and C must either both an odd numbered steps or both an even-numbered steps&lt;br /&gt;iii. A person E can be on a step next to the vacant step.&lt;br /&gt;(a) i only&lt;br /&gt;(b) ii only&lt;br /&gt;(c) iii only&lt;br /&gt;(d) both i and iii&lt;br /&gt;Ans: (c)&lt;br /&gt;&lt;br /&gt;46. &lt;span style="color: rgb(255, 0, 0);"&gt;Six swimmers A, B, C, D, E, F compete in a race. The outcome is as follows. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;i. B does not win.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ii. Only two swimmers separate E &amp;amp; D&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;iii. A is behind D &amp;amp; E&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;iv. B is ahead of E , with one swimmer intervening&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;v. F is a head of D &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Who stood fifth in the race ?&lt;br /&gt;(a) A&lt;br /&gt;(b) B&lt;br /&gt;(c) C&lt;br /&gt;(d) D&lt;br /&gt;(e) E&lt;br /&gt;Ans: (e)&lt;br /&gt;&lt;br /&gt;2. How many swimmers seperate A and F ?&lt;br /&gt;&lt;br /&gt;(a) 1&lt;br /&gt;(b) 2&lt;br /&gt;(c) 3&lt;br /&gt;(d) 4&lt;br /&gt;(e) cannot be determined&lt;br /&gt;&lt;br /&gt;Ans: (d)&lt;br /&gt;&lt;br /&gt;3. The swimmer between C &amp;amp; E is&lt;br /&gt;&lt;br /&gt;(a) none&lt;br /&gt;(b) F&lt;br /&gt;(c) D&lt;br /&gt;(d) B&lt;br /&gt;(e) A&lt;br /&gt;&lt;br /&gt;Ans: (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. If the end of the race, swimmer D is disqualified by the Judges then swimmer B finishes in which place&lt;br /&gt;(a) 1&lt;br /&gt;(b) 2&lt;br /&gt;(c) 3&lt;br /&gt;(d) 4&lt;br /&gt;(e) 5&lt;br /&gt;&lt;br /&gt;Ans: (b)&lt;br /&gt;&lt;br /&gt;47. &lt;span style="color: rgb(255, 0, 0);"&gt;Five houses lettered A,B,C,D, &amp;amp; E are built in a row next to each other. The houses are lined up in the order A,B,C,D, &amp;amp; E. Each of the five houses has a colored chimney. The roof and chimney of each housemust be painted as follows.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;i. The roof must be painted either green,red ,or yellow.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ii. The chimney must be painted either white, black, or red.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;iii. No house may have the same color chimney as the color of roof.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;iv. No house may use any of the same colors that the every next house uses.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;v. House E has a green roof.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;vi. House B has a red roof and a black chimney &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Which of the following is true ?&lt;br /&gt;&lt;br /&gt;(a) At least two houses have black chimney.&lt;br /&gt;(b) At least two houses have red roofs.&lt;br /&gt;(c) At least two houses have white chimneys&lt;br /&gt;(d) At least two houses have green roofs&lt;br /&gt;(e) At least two houses have yellow roofs&lt;br /&gt;&lt;br /&gt;Ans: (c)&lt;br /&gt;&lt;br /&gt;2. Which must be false ?&lt;br /&gt;&lt;br /&gt;(a) House A has a yellow roof&lt;br /&gt;(b) House A &amp;amp; C have different color chimney&lt;br /&gt;(c) House D has a black chimney&lt;br /&gt;(d) House E has a white chimney&lt;br /&gt;(e) House B&amp;amp;D have the same color roof.&lt;br /&gt;&lt;br /&gt;Ans: (b)&lt;br /&gt;&lt;br /&gt;3. If house C has a yellow roof. Which must be true.&lt;br /&gt;&lt;br /&gt;(a) House E has a white chimney&lt;br /&gt;(b) House E has a black chimney&lt;br /&gt;(c) House E has a red chimney&lt;br /&gt;(d) House D has a red chimney&lt;br /&gt;(e) House C has a black chimney&lt;br /&gt;&lt;br /&gt;Ans: (a)&lt;br /&gt;&lt;br /&gt;4. Which possible combinations of roof &amp;amp; chimney can house&lt;br /&gt;&lt;br /&gt;I. A red roof 7 a black chimney&lt;br /&gt;II. A yellow roof &amp;amp; a red chimney&lt;br /&gt;III. A yellow roof &amp;amp; a black chimney&lt;br /&gt;&lt;br /&gt;(a) I only&lt;br /&gt;(b) II only&lt;br /&gt;(c) III only&lt;br /&gt;(d) I &amp;amp; II only&lt;br /&gt;(e) I&amp;amp;II&amp;amp;III&lt;br /&gt;&lt;br /&gt;Ans: (e)&lt;br /&gt;&lt;br /&gt;48. Find x+2y&lt;br /&gt;&lt;br /&gt;(i). x+y=10&lt;br /&gt;(ii). 2x+4y=20&lt;br /&gt;&lt;br /&gt;Ans: (b)&lt;br /&gt;&lt;br /&gt;49. Is angle BAC is a right angle&lt;br /&gt;&lt;br /&gt;(i) AB=2BC&lt;br /&gt;(2) BC=1.5AC&lt;br /&gt;&lt;br /&gt;Ans: (e)&lt;br /&gt;&lt;br /&gt;50. Is x greater than y&lt;br /&gt;&lt;br /&gt;(i) x=2k&lt;br /&gt;(ii) k=2y&lt;br /&gt;&lt;br /&gt;Ans: (e)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-8336274618906100901?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/8336274618906100901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/aptitude-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/8336274618906100901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/8336274618906100901'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/aptitude-questions.html' title='APTITUDE'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-2839467112175187610</id><published>2009-03-04T07:15:00.000-08:00</published><updated>2009-03-04T07:19:06.306-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VERBAL APTITUDE'/><title type='text'>VERBAL APTITUDE</title><content type='html'>1. Depreciation: deflation, depression, devaluation, fall, slump&lt;br /&gt;&lt;br /&gt;2. Deprecate : feel and express disapproval, &lt;br /&gt;&lt;br /&gt;3. Incentive : thing one encourages one to do (stimulus)&lt;br /&gt;&lt;br /&gt;4. Echelon : level of authority or responsibility&lt;br /&gt;&lt;br /&gt;5. Innovation : make changes or introduce new things&lt;br /&gt;&lt;br /&gt;6. Intermittent : externally stopping and then starting&lt;br /&gt;&lt;br /&gt;7. Detrimental: harmful&lt;br /&gt;&lt;br /&gt;8. Conciliation : make less angry or more friendly&lt;br /&gt;&lt;br /&gt;9. Orthodox: conventional or traditional, superstitious&lt;br /&gt;&lt;br /&gt;10. Fallible : liable to error&lt;br /&gt;&lt;br /&gt;11. Volatile : ever changing&lt;br /&gt;&lt;br /&gt;12. Manifest: clear and obvious&lt;br /&gt;&lt;br /&gt;13. Connotation : suggest or implied meaning of expression&lt;br /&gt;&lt;br /&gt;14. Reciprocal: reverse or opposite&lt;br /&gt;&lt;br /&gt;15. Agrarian : related to agriculture&lt;br /&gt;&lt;br /&gt;16. Vacillate : undecided or dilemma&lt;br /&gt;&lt;br /&gt;17. Expedient : fitting proper, desirable&lt;br /&gt;&lt;br /&gt;18. Simulate : produce artificially resembling an existing one.&lt;br /&gt;&lt;br /&gt;19. Access : to approach&lt;br /&gt;&lt;br /&gt;20. Compensation: salary&lt;br /&gt;&lt;br /&gt;21. Truncate : shorten by cutting&lt;br /&gt;&lt;br /&gt;22. Adherence : stick&lt;br /&gt;&lt;br /&gt;23. Heterogeneous: non similar things&lt;br /&gt;&lt;br /&gt;24. Surplus : excessive&lt;br /&gt;&lt;br /&gt;25. Assess : determine the amount or value&lt;br /&gt;&lt;br /&gt;26. Cognizance : knowledge&lt;br /&gt;&lt;br /&gt;27. Retrospective : review&lt;br /&gt;&lt;br /&gt;28. Naive : innocent, rustic&lt;br /&gt;&lt;br /&gt;29. Equivocate : tallying on both sides, lie, mislead&lt;br /&gt;&lt;br /&gt;30. Postulate : frame a theory&lt;br /&gt;&lt;br /&gt;31. Latent : dormant, secret&lt;br /&gt;&lt;br /&gt;32. Fluctuation : wavering,&lt;br /&gt;&lt;br /&gt;33. Eliminate : to reduce&lt;br /&gt;&lt;br /&gt;34. Affinity : strong liking&lt;br /&gt;&lt;br /&gt;35. Expedite : hasten&lt;br /&gt;&lt;br /&gt;36. Console : to show sympathy&lt;br /&gt;&lt;br /&gt;37. Adversary : opposition&lt;br /&gt;&lt;br /&gt;38. Affable : lovable or approachable&lt;br /&gt;&lt;br /&gt;39. Decomposition : rotten&lt;br /&gt;&lt;br /&gt;40. Agregious : apart from the crowd, especially bad&lt;br /&gt;&lt;br /&gt;41. Conglomeration: group, collection&lt;br /&gt;&lt;br /&gt;42. Aberration: deviation&lt;br /&gt;&lt;br /&gt;43. Augury : prediction&lt;br /&gt;&lt;br /&gt;44. Creditability : ability to common belief, quality of being credible&lt;br /&gt;&lt;br /&gt;45. Coincident: incidentally&lt;br /&gt;&lt;br /&gt;46. Constituent : accompanying&lt;br /&gt;&lt;br /&gt;47. Differential : having or showing or making use of&lt;br /&gt;&lt;br /&gt;48. Litigation : engaging in a law suit&lt;br /&gt;&lt;br /&gt;49. Moratorium: legally or officially determined period of delay before&lt;br /&gt;fulfillment of the agreement of paying of debts.&lt;br /&gt;&lt;br /&gt;50. Negotiate : discuss or bargain&lt;br /&gt;&lt;br /&gt;51. Preparation : act of preparing&lt;br /&gt;&lt;br /&gt;52. Preponderant : superiority of power or quality&lt;br /&gt;&lt;br /&gt;53. Relevance : quality of being relevant&lt;br /&gt;&lt;br /&gt;54. Apparatus : appliances&lt;br /&gt;&lt;br /&gt;55. Ignorance : blindness, in experience&lt;br /&gt;&lt;br /&gt;56. Obsession: complex enthusiasm&lt;br /&gt;&lt;br /&gt;57. precipitate : speed, active&lt;br /&gt;&lt;br /&gt;58. corroborative:  refutable&lt;br /&gt;&lt;br /&gt;59. obnoxious : harmless&lt;br /&gt;&lt;br /&gt;60. sanction:  hinder&lt;br /&gt;&lt;br /&gt;61. empirical: experimental&lt;br /&gt;&lt;br /&gt;62. aborigine:  emigrant&lt;br /&gt;&lt;br /&gt;63. corpulent :   emaciated &lt;br /&gt;&lt;br /&gt;64. officious:  pragmate   &lt;br /&gt;&lt;br /&gt;65. Agitator : Firebrand :: Renegade : Turncoat&lt;br /&gt;&lt;br /&gt;66. Burst : Sound :: Tinder : Fire&lt;br /&gt;&lt;br /&gt;67. Star : cluster :: Tree : clump&lt;br /&gt;&lt;br /&gt;68. Piston : Cylinder :: elevator : shaft&lt;br /&gt;&lt;br /&gt;69. Mitigate : punishment :: commute : sentence&lt;br /&gt;&lt;br /&gt;70. Erudite : scholar :: illiterate : ignorant&lt;br /&gt;&lt;br /&gt;71. Fire : Ashes :: explosion : debris &lt;br /&gt;&lt;br /&gt;72. mason : wall :: Author : Book &lt;br /&gt;&lt;br /&gt;73. Fire : Ashes :: Event : memories&lt;br /&gt;&lt;br /&gt;74. (a) cheerleaders : pompoms&lt;br /&gt;(b) audience:seats&lt;br /&gt;(c) team:goalposts&lt;br /&gt;(d) conductor:podium&lt;br /&gt;(e) referee:decision&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;75.  archipelago:islands::&lt;br /&gt;&lt;br /&gt;(a) arbor:bower&lt;br /&gt;(b) garden:flower&lt;br /&gt;(c) mountain:valley&lt;br /&gt;(d) sand:dune&lt;br /&gt;(e) constellation:star&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;76. crow:boastful ::&lt;br /&gt;&lt;br /&gt;(a) smirk:witty&lt;br /&gt;(b) conceal:s;y&lt;br /&gt;(c) pout:sulky&lt;br /&gt;(d) blush:coarse&lt;br /&gt;(e) bluster:unhappy&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;77. bracket:shelf ::&lt;br /&gt;&lt;br /&gt;(a) hammer:anvil&lt;br /&gt;(b) girder:rivet&lt;br /&gt;(c) strut:rafter&lt;br /&gt;(d) valve:pipe&lt;br /&gt;(e) bucket:well&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;78. taxonomy:classification ::&lt;br /&gt;&lt;br /&gt;(a) etymology:derivation&lt;br /&gt;(b) autonomy:authorization&lt;br /&gt;(c) economy:rationalization&lt;br /&gt;(d) tautology:justification&lt;br /&gt;(e) ecology:urbanisation&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;79. moderator:debate ::&lt;br /&gt;&lt;br /&gt;(a) legislator:election&lt;br /&gt;(b) chef:banquet&lt;br /&gt;(c) auditor:lecture&lt;br /&gt;(d) conspirator:plot&lt;br /&gt;(e) umpire:game&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;80. glossary:words ::&lt;br /&gt;&lt;br /&gt;(a) catalogue:dates&lt;br /&gt;(b) atlas:maps&lt;br /&gt;(c) almanac:synonyms&lt;br /&gt;(d) thesaurus:rhymes&lt;br /&gt;(e) lexicon:numbers&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;81. lumber: bear ::&lt;br /&gt;&lt;br /&gt;(a) roost:hen&lt;br /&gt;(b) bray:donkey&lt;br /&gt;(c) waddle:goose&lt;br /&gt;(d) swoop:hawk&lt;br /&gt;(e) chirp:sparrow&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;82. celerity:snail ::&lt;br /&gt;&lt;br /&gt;(a) indolence:sloth&lt;br /&gt;(b) cunning:weasel&lt;br /&gt;(c) curiosity:cat&lt;br /&gt;(d) humility:peacock&lt;br /&gt;(e) obstinacy:mule&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;83. wood:sand ::&lt;br /&gt;&lt;br /&gt;(a) coal:burn&lt;br /&gt;(b) brick:lay&lt;br /&gt;(c) oil:polish&lt;br /&gt;(d) metal:burnish&lt;br /&gt;(e) stone:quarry&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;84. carpenter:saw :: &lt;br /&gt;&lt;br /&gt;(a) stenographer:typist&lt;br /&gt;(b) painter:brush&lt;br /&gt;(c) lawyer:brief&lt;br /&gt;(d) runner:sneakers&lt;br /&gt;(e) seamstress:scissors&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;85. horns:bull :: &lt;br /&gt;&lt;br /&gt;(a) mane:lion&lt;br /&gt;(b) wattles:turkey&lt;br /&gt;(c) antlers:stag&lt;br /&gt;(d) hooves:horse&lt;br /&gt;(e) wings:eagle&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;86. gullible:duped :: &lt;br /&gt;&lt;br /&gt;(a) credible:cheated&lt;br /&gt;(b) careful:cautioned&lt;br /&gt;(c) malleable:moulded&lt;br /&gt;(d) myopic:mislead&lt;br /&gt;(e) articulate:silenced&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;87. marathon:stamina :: &lt;br /&gt;&lt;br /&gt;(a) relay:independence&lt;br /&gt;(b) hurdle:perseverance&lt;br /&gt;(c) sprint:celerity&lt;br /&gt;(d) job:weariness&lt;br /&gt;(e) ramble:directness&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;88. Skin:man ::&lt;br /&gt;&lt;br /&gt;(a) hide:animal&lt;br /&gt;(b) jump:start&lt;br /&gt;(c) peel:potato&lt;br /&gt;(d) eat:food&lt;br /&gt;(e) wool:cloth&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;89. Bamboo:Shoot :: &lt;br /&gt;&lt;br /&gt;(a) Bean:Sprout&lt;br /&gt;(b) Peas:Pod&lt;br /&gt;(c) Potato:Eye&lt;br /&gt;(d) Carrot:Root&lt;br /&gt;(e) Leaf:Stem&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;90. Deflect:Missile :: &lt;br /&gt;&lt;br /&gt;(a) Siege:Castle&lt;br /&gt;(b) Distract:Attraction&lt;br /&gt;(c) Protect:Honour&lt;br /&gt;(d) Drop:Catch&lt;br /&gt;(e) Score:Goal&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;91. Editor:magazine :: &lt;br /&gt;&lt;br /&gt;(a) captain:ship&lt;br /&gt;(b) actor:movie&lt;br /&gt;(c) director:film&lt;br /&gt;(d) player:team&lt;br /&gt;(e) jockey:horse&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;92. Volcano : Lava :: &lt;br /&gt;&lt;br /&gt;(a) Fault:earthquate&lt;br /&gt;(b) crack:wall&lt;br /&gt;(c) tunnel:dig&lt;br /&gt;(d) water:swim&lt;br /&gt;(e) floor:polish&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;93. Disregarded &lt;br /&gt;&lt;br /&gt;(a) heed &lt;br /&gt;(b) hopeful&lt;br /&gt;(c) evade&lt;br /&gt;(d) dense&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;94. Obviate&lt;br /&gt;&lt;br /&gt;(a) becloud&lt;br /&gt;(b) necessitate&lt;br /&gt;(c) rationalize&lt;br /&gt;(d) execute&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;95. Superficial&lt;br /&gt;&lt;br /&gt;(a)  profound&lt;br /&gt;(b) exaggerated&lt;br /&gt;(c) subjective&lt;br /&gt;(d) spirited&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;96. chief : tribe :: governer : state&lt;br /&gt;&lt;br /&gt;97. epaulette : shoulder :: tiara : head &lt;br /&gt;&lt;br /&gt;98. guttural : throat :: gastric : stomach&lt;br /&gt;&lt;br /&gt;99. inept : clever :: languid : active&lt;br /&gt;&lt;br /&gt;100. Erudite : scholar :: illiterate : ignorant&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-2839467112175187610?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/2839467112175187610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/verbal-aptitude.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2839467112175187610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2839467112175187610'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/verbal-aptitude.html' title='VERBAL APTITUDE'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-2712511431718624182</id><published>2009-03-04T07:07:00.000-08:00</published><updated>2009-03-04T07:13:56.541-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C APTITUDE'/><title type='text'>C APTITUDE</title><content type='html'>C  Questions&lt;br /&gt;&lt;br /&gt;Note :     All the programs are tested under Turbo C/C++ compilers.It is assumed that,&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Programs run under DOS environment,&lt;/li&gt;&lt;li&gt;The underlying machine is an x86 system,&lt;/li&gt;&lt;li&gt;Program is compiled using Turbo C/C++ compiler.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The program output may depend on the information based on this assumptions (for example sizeof(int) == 2 may be assumed).&lt;br /&gt;&lt;br /&gt;Predict the output or error(s) for the following:&lt;br /&gt;&lt;br /&gt;1.    void main()&lt;br /&gt;{&lt;br /&gt;    int  const * p=5;&lt;br /&gt;    printf("%d",++(*p));&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        Compiler error: Cannot modify a constant value.&lt;br /&gt;Explanation:   &lt;br /&gt;p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".&lt;br /&gt;&lt;br /&gt;2.    main()&lt;br /&gt;{&lt;br /&gt;    char s[ ]="man";&lt;br /&gt;    int i;&lt;br /&gt;    for(i=0;s[ i ];i++)&lt;br /&gt;    printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;                mmmm&lt;br /&gt;                           aaaa&lt;br /&gt;                           nnnn&lt;br /&gt;Explanation:&lt;br /&gt;s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea. Generally  array name is the base address for that array. Here s is the base address. i is the index number/displacement from the base address. So, indirecting it with * is same as s[i]. i[s] may be surprising. But in the  case of  C  it is same as s[i].&lt;br /&gt;&lt;br /&gt;3.    main()&lt;br /&gt;{&lt;br /&gt;    float me = 1.1;&lt;br /&gt;    double you = 1.1;&lt;br /&gt;    if(me==you)&lt;br /&gt;printf("I love U");&lt;br /&gt;else&lt;br /&gt;        printf("I hate U");&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;I hate U&lt;br /&gt;Explanation:&lt;br /&gt;For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value  represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than long double.&lt;br /&gt;Rule of Thumb:&lt;br /&gt;Never compare or at-least be cautious when using floating point numbers with relational operators (== , &gt;, &lt;, &lt;=, &gt;=,!= ) . &lt;br /&gt;&lt;br /&gt;4.    main()&lt;br /&gt;    {&lt;br /&gt;    static int var = 5;&lt;br /&gt;    printf("%d ",var--);&lt;br /&gt;    if(var)&lt;br /&gt;        main();&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;5 4 3 2 1&lt;br /&gt;            Explanation:&lt;br /&gt;When static storage class is given, it is initialized once. The change in the value of a static variable is retained even between the function calls. Main is also treated like any other ordinary function, which can be called recursively. &lt;br /&gt;&lt;br /&gt;5.    main()&lt;br /&gt;{&lt;br /&gt;     int c[ ]={2.8,3.4,4,6.7,5};&lt;br /&gt;     int j,*p=c,*q=c;&lt;br /&gt;     for(j=0;j&lt;5;j++) {&lt;br /&gt;        printf(" %d ",*c);&lt;br /&gt;           ++q;      }&lt;br /&gt;     for(j=0;j&lt;5;j++){&lt;br /&gt;printf(" %d ",*p);&lt;br /&gt;++p;      }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;                2 2 2 2 2 2 3 4 6 5&lt;br /&gt;             Explanation:&lt;br /&gt;Initially pointer c is assigned to both p and q. In the first loop, since only q is incremented and not c , the value 2 will be printed 5 times. In second loop p itself is incremented. So the values 2 3 4 6 5 will be printed.&lt;br /&gt;   &lt;br /&gt;6.    main()&lt;br /&gt;{&lt;br /&gt;    extern int i;&lt;br /&gt;    i=20;&lt;br /&gt;printf("%d",i);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer: &lt;br /&gt;Linker Error : Undefined symbol '_i'&lt;br /&gt;Explanation:&lt;br /&gt;                 extern storage class in the following declaration,&lt;br /&gt;                               extern int i;&lt;br /&gt;specifies to the compiler that the memory for i is allocated in some other program and that address will be given to the current program at the time of linking. But linker finds that no other variable of name i is available in any other program with memory space allocated for it. Hence a linker error has occurred .&lt;br /&gt;&lt;br /&gt;7.    main()&lt;br /&gt;{&lt;br /&gt;    int i=-1,j=-1,k=0,l=2,m;&lt;br /&gt;    m=i++&amp;amp;&amp;amp;j++&amp;amp;&amp;amp;k++||l++;&lt;br /&gt;    printf("%d %d %d %d %d",i,j,k,l,m);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;                0 0 1 3 1&lt;br /&gt;Explanation :&lt;br /&gt;Logical operations always give a result of 1 or 0 . And also the logical AND (&amp;amp;&amp;amp;) operator has higher priority over the logical OR (||) operator. So the expression  ‘i++ &amp;amp;&amp;amp; j++ &amp;amp;&amp;amp; k++’ is executed first. The result of this expression is 0    (-1 &amp;amp;&amp;amp; -1 &amp;amp;&amp;amp; 0 = 0). Now the expression is 0 || 2 which evaluates to 1 (because OR operator always gives 1 except for ‘0 || 0’ combination- for which it gives 0). So the value of m is 1. The values of other variables are also incremented by 1.&lt;br /&gt;&lt;br /&gt;8.    main()&lt;br /&gt;{&lt;br /&gt;    char *p;&lt;br /&gt;    printf("%d %d ",sizeof(*p),sizeof(p));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;                1 2&lt;br /&gt;Explanation:&lt;br /&gt;The sizeof() operator gives the number of bytes taken by its operand. P is a character pointer, which needs one byte for storing its value (a character). Hence sizeof(*p) gives a value of 1. Since it needs two bytes to store the address of the character pointer sizeof(p) gives 2.&lt;br /&gt;&lt;br /&gt;9.    main()&lt;br /&gt;{&lt;br /&gt;    int i=3;&lt;br /&gt;    switch(i)&lt;br /&gt;     {&lt;br /&gt;        default:printf("zero");&lt;br /&gt;        case 1: printf("one");&lt;br /&gt;           break;&lt;br /&gt;       case 2:printf("two");&lt;br /&gt;          break;&lt;br /&gt;      case 3: printf("three");&lt;br /&gt;          break;&lt;br /&gt;      } &lt;br /&gt;}&lt;br /&gt;Answer :&lt;br /&gt;three&lt;br /&gt;Explanation :&lt;br /&gt;The default case can be placed anywhere inside the loop. It is executed only when all other cases doesn't match.&lt;br /&gt;&lt;br /&gt;10.    main()&lt;br /&gt;{&lt;br /&gt;      printf("%x",-1&lt;&lt;4);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;fff0&lt;br /&gt;Explanation :&lt;br /&gt;-1 is internally represented as all 1's. When left shifted four times the least significant 4 bits are filled with 0's.The %x format specifier specifies that the integer value be printed as a hexadecimal value.&lt;br /&gt;&lt;br /&gt;11.    main()&lt;br /&gt;{&lt;br /&gt;            char string[]="Hello World";&lt;br /&gt;    display(string);&lt;br /&gt;}&lt;br /&gt;void display(char *string)&lt;br /&gt;{&lt;br /&gt;    printf("%s",string);&lt;br /&gt;}&lt;br /&gt;              Answer:&lt;br /&gt;Compiler Error : Type mismatch in redeclaration of function display&lt;br /&gt;              Explanation :&lt;br /&gt;In third line, when the function display is encountered, the compiler doesn't know anything about the function display. It assumes the arguments and return types to be integers, (which is the default type). When it sees the actual function display, the arguments and type contradicts with what it has assumed previously. Hence a compile time error occurs.&lt;br /&gt;&lt;br /&gt;12.    main()&lt;br /&gt;{&lt;br /&gt;    int c=- -2;&lt;br /&gt;    printf("c=%d",c);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;                     c=2;&lt;br /&gt;              Explanation:&lt;br /&gt;Here unary minus (or negation) operator is used twice. Same maths  rules applies, ie. minus * minus= plus.&lt;br /&gt;Note:&lt;br /&gt;However you cannot give like --2. Because -- operator can  only be applied to variables as a decrement operator (eg., i--). 2 is a constant and not a variable.&lt;br /&gt;&lt;br /&gt;13.    #define int char&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;    int i=65;&lt;br /&gt;    printf("sizeof(i)=%d",sizeof(i));&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;                  sizeof(i)=1&lt;br /&gt;Explanation:&lt;br /&gt;Since the #define replaces the string  int by the macro char&lt;br /&gt;&lt;br /&gt;14.    main()&lt;br /&gt;{&lt;br /&gt;int i=10;&lt;br /&gt;i=!i&gt;14;&lt;br /&gt;Printf ("i=%d",i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;i=0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     Explanation:&lt;br /&gt;In the expression !i&gt;14 , NOT (!) operator has more precedence than ‘ &gt;’ symbol.  ! is a unary logical operator. !i (!10) is 0 (not of true is false).  0&gt;14 is false (zero).&lt;br /&gt;&lt;br /&gt;15.    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char s[]={'a','b','c','\n','c','\0'};&lt;br /&gt;char *p,*str,*str1;&lt;br /&gt;p=&amp;amp;s[3];&lt;br /&gt;str=p;&lt;br /&gt;str1=s;&lt;br /&gt;printf("%d",++*p + ++*str1-32);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;77   &lt;br /&gt;Explanation:&lt;br /&gt;p is pointing to character '\n'. str1 is pointing to character 'a' ++*p. "p is pointing to '\n' and that is incremented by one." the ASCII value of '\n' is 10, which is then incremented to 11. The value of ++*p is 11. ++*str1, str1 is pointing to 'a' that is incremented by 1 and it becomes 'b'. ASCII value of 'b' is 98.&lt;br /&gt; Now performing (11 + 98 – 32), we get 77("M");&lt;br /&gt; So we get the output 77 :: "M" (Ascii is 77).&lt;br /&gt;&lt;br /&gt;16.    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int a[2][2][2] = { {10,2,3,4}, {5,6,7,8}  };&lt;br /&gt;int *p,*q;&lt;br /&gt;p=&amp;amp;a[2][2][2];&lt;br /&gt;*q=***a;&lt;br /&gt;printf("%d----%d",*p,*q);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;SomeGarbageValue---1&lt;br /&gt;Explanation:&lt;br /&gt;p=&amp;amp;a[2][2][2]  you declare only two 2D arrays, but you are trying to access the third 2D(which you are not declared) it will print garbage values. *q=***a starting address of a is assigned integer pointer. Now q is pointing to starting address of a. If you print *q, it will print first element of 3D array.&lt;br /&gt;   &lt;br /&gt;17.    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;struct xx&lt;br /&gt;{&lt;br /&gt;      int x=3;&lt;br /&gt;      char name[]="hello";&lt;br /&gt; };&lt;br /&gt;struct xx *s;&lt;br /&gt;printf("%d",s-&gt;x);&lt;br /&gt;printf("%s",s-&gt;name);&lt;br /&gt;}&lt;br /&gt;    Answer:&lt;br /&gt;Compiler Error&lt;br /&gt;Explanation:&lt;br /&gt;You should not initialize variables in declaration&lt;br /&gt;&lt;br /&gt;18.    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;struct xx&lt;br /&gt;{&lt;br /&gt;int x;&lt;br /&gt;struct yy&lt;br /&gt;{&lt;br /&gt;char s;&lt;br /&gt;    struct xx *p;&lt;br /&gt;};&lt;br /&gt;struct yy *q;&lt;br /&gt;};&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error&lt;br /&gt;Explanation:&lt;br /&gt;The structure yy is nested within structure xx. Hence, the elements are of yy are to be accessed through the instance of structure xx, which needs an instance of yy to be known. If the instance is created after defining the structure the compiler will not know about the instance relative to xx. Hence for nested structure yy you have to declare member.&lt;br /&gt;&lt;br /&gt;19.    main()&lt;br /&gt;{&lt;br /&gt;printf("\nab");&lt;br /&gt;printf("\bsi");&lt;br /&gt;printf("\rha");&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;hai&lt;br /&gt;Explanation:&lt;br /&gt;\n  - newline&lt;br /&gt;\b  - backspace&lt;br /&gt;\r  - linefeed&lt;br /&gt;&lt;br /&gt;20.    main()&lt;br /&gt;{&lt;br /&gt;int i=5;&lt;br /&gt;printf("%d%d%d%d%d%d",i++,i--,++i,--i,i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;45545&lt;br /&gt;Explanation:&lt;br /&gt;The arguments in a function call are pushed into the stack from left to right. The evaluation is by popping out from the stack. and the  evaluation is from right to left, hence the result.&lt;br /&gt;&lt;br /&gt;21.    #define square(x) x*x&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int i;&lt;br /&gt;i = 64/square(4);&lt;br /&gt;printf("%d",i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;64&lt;br /&gt;Explanation:&lt;br /&gt;the macro call square(4) will substituted by 4*4 so the expression becomes i = 64/4*4 . Since / and * has equal priority the expression will be evaluated as (64/4)*4 i.e. 16*4 = 64&lt;br /&gt; &lt;br /&gt;22.    main()&lt;br /&gt;{&lt;br /&gt;char *p="hai friends",*p1;&lt;br /&gt;p1=p;&lt;br /&gt;while(*p!='\0') ++*p++;&lt;br /&gt;printf("%s   %s",p,p1);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;ibj!gsjfoet&lt;br /&gt;    Explanation:&lt;br /&gt;        ++*p++ will be parse in the given order&lt;br /&gt;    *p that is value at the location currently pointed by p will be taken&lt;br /&gt;    ++*p the retrieved value will be incremented&lt;br /&gt;    when ; is encountered the location will be incremented that is p++ will be executed&lt;br /&gt;Hence, in the while loop initial value pointed by p is ‘h’, which is changed to ‘i’ by executing ++*p and pointer moves to point, ‘a’ which is similarly changed to ‘b’ and so on. Similarly blank space is converted to ‘!’. Thus, we obtain value in p becomes “ibj!gsjfoet” and since p reaches ‘\0’ and p1 points to p thus p1doesnot print anything.&lt;br /&gt;&lt;br /&gt;23.    #include &lt;stdio.h&gt;&lt;br /&gt;#define a 10&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;#define a 50&lt;br /&gt;printf("%d",a);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;50&lt;br /&gt;Explanation:&lt;br /&gt;The preprocessor directives can be redefined anywhere in the program. So the most recently assigned value will be taken.&lt;br /&gt;&lt;br /&gt;24.    #define clrscr() 100&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;printf("%d\n",clrscr());&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;100&lt;br /&gt;Explanation:&lt;br /&gt;Preprocessor executes as a seperate pass before the execution of the compiler. So textual replacement of clrscr() to 100 occurs.The input  program to compiler looks like this :&lt;br /&gt;        main()&lt;br /&gt;        {&lt;br /&gt;             100;&lt;br /&gt;             printf("%d\n",100);&lt;br /&gt;        }&lt;br /&gt;    Note:   &lt;br /&gt;100; is an executable statement but with no action. So it doesn't give any problem&lt;br /&gt;&lt;br /&gt;25.    main()&lt;br /&gt;{&lt;br /&gt;printf("%p",main);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        Some address will be printed.&lt;br /&gt;Explanation:&lt;br /&gt;     Function names are just addresses (just like array names are addresses).&lt;br /&gt;main() is also a function. So the address of function main will be printed. %p in printf specifies that the argument is an address. They are printed as hexadecimal numbers.&lt;br /&gt;&lt;br /&gt;27)    main()&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;}&lt;br /&gt;clrscr();&lt;br /&gt;   &lt;br /&gt;Answer:&lt;br /&gt;No output/error&lt;br /&gt;Explanation:&lt;br /&gt;The first clrscr() occurs inside a function. So it becomes a function call. In the second clrscr(); is a function declaration (because it is not inside any function).&lt;br /&gt;&lt;br /&gt;28)    enum colors {BLACK,BLUE,GREEN}&lt;br /&gt; main()&lt;br /&gt;{&lt;br /&gt; &lt;br /&gt; printf("%d..%d..%d",BLACK,BLUE,GREEN);&lt;br /&gt;  &lt;br /&gt; return(1);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;0..1..2&lt;br /&gt;Explanation:&lt;br /&gt;enum assigns numbers starting from 0, if not explicitly defined.&lt;br /&gt;&lt;br /&gt;29)    void main()&lt;br /&gt;{&lt;br /&gt; char far *farther,*farthest;&lt;br /&gt; &lt;br /&gt; printf("%d..%d",sizeof(farther),sizeof(farthest));&lt;br /&gt;  &lt;br /&gt; }&lt;br /&gt;Answer:&lt;br /&gt;4..2 &lt;br /&gt;Explanation:&lt;br /&gt;     the second pointer is of char type and not a far pointer&lt;br /&gt;&lt;br /&gt;30)    main()&lt;br /&gt;{&lt;br /&gt; int i=400,j=300;&lt;br /&gt; printf("%d..%d");&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;400..300&lt;br /&gt;Explanation:&lt;br /&gt;printf takes the values of the first two assignments of the program. Any number of printf's may be given. All of them take only the first two values. If more number of assignments given in the program,then printf will take garbage values.&lt;br /&gt;&lt;br /&gt;31)     main()&lt;br /&gt;{&lt;br /&gt; char *p;&lt;br /&gt; p="Hello";&lt;br /&gt; printf("%c\n",*&amp;amp;*p);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;H&lt;br /&gt;Explanation:&lt;br /&gt;* is a dereference operator &amp;amp; is a reference  operator. They can be    applied any number of times provided it is meaningful. Here  p points to  the first character in the string "Hello". *p dereferences it and so its value is H. Again  &amp;amp; references it to an address and * dereferences it to the value H.&lt;br /&gt;&lt;br /&gt;32)     main()&lt;br /&gt;{&lt;br /&gt;    int i=1;&lt;br /&gt;    while (i&lt;=5)&lt;br /&gt;    {&lt;br /&gt;       printf("%d",i);&lt;br /&gt;       if (i&gt;2)&lt;br /&gt;      goto here;&lt;br /&gt;       i++;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;fun()&lt;br /&gt;{&lt;br /&gt;   here:&lt;br /&gt;     printf("PP");&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler error: Undefined label 'here' in function main&lt;br /&gt;Explanation:&lt;br /&gt;Labels have functions scope, in other words The scope of the labels is limited to functions . The label 'here' is available in function fun() Hence it is not visible in function main.&lt;br /&gt;&lt;br /&gt;33)     main()&lt;br /&gt;{&lt;br /&gt;   static char names[5][20]={"pascal","ada","cobol","fortran","perl"};&lt;br /&gt;    int i;&lt;br /&gt;    char *t;&lt;br /&gt;    t=names[3];&lt;br /&gt;    names[3]=names[4];&lt;br /&gt;    names[4]=t;   &lt;br /&gt;    for (i=0;i&lt;=4;i++)&lt;br /&gt;        printf("%s",names[i]);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler error: Lvalue required in function main&lt;br /&gt;Explanation:&lt;br /&gt;Array names are pointer constants. So it cannot be modified.&lt;br /&gt;&lt;br /&gt;34)    void main()&lt;br /&gt;{&lt;br /&gt;    int i=5;&lt;br /&gt;    printf("%d",i++ + ++i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Output Cannot be predicted  exactly.&lt;br /&gt;Explanation:&lt;br /&gt;Side effects are involved in the evaluation of   i&lt;br /&gt;&lt;br /&gt;35)    void main()&lt;br /&gt;{&lt;br /&gt;    int i=5;&lt;br /&gt;    printf("%d",i+++++i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error&lt;br /&gt;Explanation:&lt;br /&gt;The expression i+++++i is parsed as i ++ ++ + i which is an illegal combination of operators.&lt;br /&gt;  &lt;br /&gt;36)    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int i=1,j=2;&lt;br /&gt;switch(i)&lt;br /&gt; {&lt;br /&gt; case 1:  printf("GOOD");&lt;br /&gt;        break;&lt;br /&gt; case j:  printf("BAD");&lt;br /&gt;         break;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error: Constant expression required in function main.&lt;br /&gt;Explanation:&lt;br /&gt;The case statement can have only constant expressions (this implies that we cannot use variable names directly so an error).&lt;br /&gt;    Note:&lt;br /&gt;Enumerated types can be used in case statements.&lt;br /&gt;&lt;br /&gt;37)    main()&lt;br /&gt;{&lt;br /&gt;int i;&lt;br /&gt;printf("%d",scanf("%d",&amp;amp;i));  // value 10 is given as input here&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;1&lt;br /&gt;Explanation:&lt;br /&gt;Scanf returns number of items successfully read and not 1/0.  Here 10 is given as input which should have been scanned successfully. So number of items read is 1.&lt;br /&gt;&lt;br /&gt;38)    #define f(g,g2) g##g2&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int var12=100;&lt;br /&gt;printf("%d",f(var,12));&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;100&lt;br /&gt;&lt;br /&gt;39)    main()&lt;br /&gt;{&lt;br /&gt;int i=0;&lt;br /&gt;&lt;br /&gt;for(;i++;printf("%d",i)) ;&lt;br /&gt;printf("%d",i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;    1&lt;br /&gt;Explanation:&lt;br /&gt;before entering into the for loop the checking condition is "evaluated". Here it evaluates to 0 (false) and comes out of the loop, and i is incremented (note the semicolon after the for loop).&lt;br /&gt;&lt;br /&gt;40)    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;  char s[]={'a','b','c','\n','c','\0'};&lt;br /&gt;  char *p,*str,*str1;&lt;br /&gt;  p=&amp;amp;s[3];&lt;br /&gt;  str=p;&lt;br /&gt;  str1=s;&lt;br /&gt;  printf("%d",++*p + ++*str1-32);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;M&lt;br /&gt;Explanation:&lt;br /&gt;p is pointing to character '\n'.str1 is pointing to character 'a' ++*p meAnswer:"p is pointing to '\n' and that is incremented by one." the ASCII value of '\n' is 10. then it is incremented to 11. the value of ++*p is 11. ++*str1 meAnswer:"str1 is pointing to 'a' that is incremented by 1 and it becomes 'b'. ASCII value of 'b' is 98. both 11 and 98 is added and result is subtracted from 32.&lt;br /&gt;i.e. (11+98-32)=77("M");&lt;br /&gt;   &lt;br /&gt;41)    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;  struct xx&lt;br /&gt;   {&lt;br /&gt;      int x=3;&lt;br /&gt;      char name[]="hello";&lt;br /&gt;   };&lt;br /&gt;struct xx *s=malloc(sizeof(struct xx));&lt;br /&gt;printf("%d",s-&gt;x);&lt;br /&gt;printf("%s",s-&gt;name);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error&lt;br /&gt;Explanation:&lt;br /&gt;Initialization should not be done for structure members inside the structure declaration&lt;br /&gt;&lt;br /&gt;42)    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;struct xx&lt;br /&gt; {&lt;br /&gt;      int x;&lt;br /&gt;      struct yy&lt;br /&gt;       {&lt;br /&gt;         char s;&lt;br /&gt;         struct xx *p;&lt;br /&gt;       };&lt;br /&gt;                 struct yy *q;&lt;br /&gt;                };&lt;br /&gt;              }&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error&lt;br /&gt;Explanation:&lt;br /&gt;in the end of nested structure yy a member have to be declared.&lt;br /&gt;&lt;br /&gt;43)    main()&lt;br /&gt;{&lt;br /&gt; extern int i;&lt;br /&gt; i=20;&lt;br /&gt; printf("%d",sizeof(i));&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Linker error: undefined symbol '_i'.&lt;br /&gt;Explanation:&lt;br /&gt;extern declaration specifies that the variable i is defined somewhere else. The compiler passes the external variable to be resolved by the linker. So compiler doesn't find an error. During linking the linker searches for the definition of i. Since it is not found the linker flags an error.&lt;br /&gt;&lt;br /&gt;44)    main()&lt;br /&gt;{&lt;br /&gt;printf("%d", out);&lt;br /&gt;}&lt;br /&gt;int out=100;&lt;br /&gt;Answer:&lt;br /&gt;Compiler error: undefined symbol out in function main.&lt;br /&gt;Explanation:&lt;br /&gt;The rule is that a variable is available for use from the point of declaration. Even though a is a global variable, it is not available for main. Hence an error.&lt;br /&gt;&lt;br /&gt;45)    main()&lt;br /&gt;{&lt;br /&gt; extern out;&lt;br /&gt; printf("%d", out);&lt;br /&gt;}&lt;br /&gt; int out=100;&lt;br /&gt;Answer:&lt;br /&gt;100   &lt;br /&gt;    Explanation:   &lt;br /&gt;This is the correct way of writing the previous program.&lt;br /&gt;         &lt;br /&gt;46)    main()&lt;br /&gt;{&lt;br /&gt; show();&lt;br /&gt;}&lt;br /&gt;void show()&lt;br /&gt;{&lt;br /&gt; printf("I'm the greatest");&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compier error: Type mismatch in redeclaration of show.&lt;br /&gt;Explanation:&lt;br /&gt;When the compiler sees the function show it doesn't know anything about it. So the default return type (ie, int) is assumed. But when compiler sees the actual definition of show mismatch occurs since it is declared as void. Hence the error.&lt;br /&gt;The solutions are as follows:&lt;br /&gt;1. declare void show() in main() .&lt;br /&gt;2. define show() before main().&lt;br /&gt;3. declare extern void show() before the use of show().&lt;br /&gt;&lt;br /&gt;47)    main( )&lt;br /&gt;{&lt;br /&gt;  int a[2][3][2] = {{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}};&lt;br /&gt;  printf(“%u %u %u %d \n”,a,*a,**a,***a);&lt;br /&gt;      printf(“%u %u %u %d \n”,a+1,*a+1,**a+1,***a+1);&lt;br /&gt;      }&lt;br /&gt;Answer:&lt;br /&gt;100, 100, 100, 2&lt;br /&gt;114, 104, 102, 3&lt;br /&gt;Explanation:&lt;br /&gt;        The given array is a 3-D one. It can also be viewed as a 1-D array.&lt;br /&gt;                                                                                                                                                                           &lt;br /&gt;2    4    7    8    3    4    2    2    2    3    3    4&lt;br /&gt;   100  102  104  106 108   110  112  114  116   118   120   122&lt;br /&gt;&lt;br /&gt;thus, for the first printf statement a, *a, **a  give address of  first element . since the indirection ***a gives the value. Hence, the first line of the output.&lt;br /&gt;for the second printf a+1 increases in the third dimension thus points to value at 114, *a+1 increments in second dimension thus points to 104, **a +1 increments the first dimension thus points to 102 and ***a+1 first gets the value at first location and then increments it by 1. Hence, the output.&lt;br /&gt;&lt;br /&gt;48)    main( )&lt;br /&gt;{&lt;br /&gt;  int a[ ] = {10,20,30,40,50},j,*p;&lt;br /&gt;  for(j=0; j&lt;5; j++)&lt;br /&gt;    {&lt;br /&gt;printf(“%d” ,*a);&lt;br /&gt;a++;&lt;br /&gt;    }&lt;br /&gt;    p = a;&lt;br /&gt;   for(j=0; j&lt;5; j++)&lt;br /&gt;      {&lt;br /&gt;printf(“%d ” ,*p);&lt;br /&gt;p++;&lt;br /&gt;      }&lt;br /&gt; }&lt;br /&gt;Answer:&lt;br /&gt;Compiler error: lvalue required.&lt;br /&gt;       &lt;br /&gt;Explanation:&lt;br /&gt;Error is in line with statement a++. The operand must be an lvalue and may be of any of scalar type for the any operator, array name only when subscripted is an lvalue. Simply array name is a non-modifiable lvalue.&lt;br /&gt;&lt;br /&gt;49)    main( )&lt;br /&gt;{&lt;br /&gt; static int  a[ ]   = {0,1,2,3,4};&lt;br /&gt; int  *p[ ] = {a,a+1,a+2,a+3,a+4};&lt;br /&gt; int  **ptr =  p;&lt;br /&gt; ptr++;&lt;br /&gt; printf(“\n %d  %d  %d”, ptr-p, *ptr-a, **ptr);&lt;br /&gt; *ptr++;&lt;br /&gt; printf(“\n %d  %d  %d”, ptr-p, *ptr-a, **ptr);&lt;br /&gt; *++ptr;&lt;br /&gt; printf(“\n %d  %d  %d”, ptr-p, *ptr-a, **ptr);&lt;br /&gt; ++*ptr;&lt;br /&gt;     printf(“\n %d  %d  %d”, ptr-p, *ptr-a, **ptr);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;    111&lt;br /&gt;    222&lt;br /&gt;    333&lt;br /&gt;    344&lt;br /&gt;Explanation:&lt;br /&gt;Let us consider the array and the two pointers with some address&lt;br /&gt;a   &lt;br /&gt;0    1    2    3    4&lt;br /&gt;   100      102      104      106      108&lt;br /&gt;                         p&lt;br /&gt;100    102    104    106    108&lt;br /&gt;                 1000    1002    1004    1006    1008&lt;br /&gt;         ptr   &lt;br /&gt;1000&lt;br /&gt;2000&lt;br /&gt;After execution of the instruction ptr++ value in ptr becomes 1002, if scaling factor for integer is 2 bytes. Now ptr – p is value in ptr – starting location of array p, (1002 – 1000) / (scaling factor) = 1,  *ptr – a = value at address pointed by ptr – starting value of array a, 1002 has a value 102  so the value is (102 – 100)/(scaling factor) = 1,  **ptr is the value stored in the location pointed by  the pointer of ptr = value pointed by value pointed by 1002 = value pointed by 102 = 1. Hence the output of the firs printf is  1, 1, 1.&lt;br /&gt;After execution of *ptr++ increments value of the value in ptr by scaling factor, so it becomes1004. Hence, the outputs for the second printf are ptr – p = 2, *ptr – a = 2, **ptr = 2.&lt;br /&gt;After execution of *++ptr increments value of the value in ptr by scaling factor, so it becomes1004. Hence, the outputs for the third printf are ptr – p = 3, *ptr – a = 3, **ptr = 3.&lt;br /&gt;After execution of ++*ptr value in ptr remains the same, the value pointed by the value is incremented by the scaling factor. So the value in array p at location 1006 changes from 106 10 108,. Hence, the outputs for the fourth printf are ptr – p = 1006 – 1000 = 3, *ptr – a = 108 – 100 = 4, **ptr = 4.&lt;br /&gt;&lt;br /&gt;50)    main( )&lt;br /&gt;{&lt;br /&gt; char  *q;&lt;br /&gt; int  j;&lt;br /&gt; for (j=0; j&lt;3; j++) scanf(“%s” ,(q+j));&lt;br /&gt; for (j=0; j&lt;3; j++) printf(“%c” ,*(q+j));&lt;br /&gt; for (j=0; j&lt;3; j++) printf(“%s” ,(q+j));&lt;br /&gt;}&lt;br /&gt;Explanation:&lt;br /&gt;Here we have only one pointer to type char and since we take input in the same pointer thus we keep writing over in the same location, each time shifting the pointer value by 1. Suppose the inputs are MOUSE,  TRACK and VIRTUAL. Then for the first input suppose the pointer starts at location 100 then the input one is stored as&lt;br /&gt;M    O    U    S    E    \0&lt;br /&gt;When the second input is given the pointer is incremented as j value becomes 1, so the input is filled in memory starting from 101.&lt;br /&gt;M    T    R    A    C    K    \0&lt;br /&gt;The third input  starts filling from the location 102&lt;br /&gt;M    T    V    I    R    T    U    A    L    \0&lt;br /&gt;This is the final value stored .&lt;br /&gt;The first printf prints the values at the position q, q+1 and q+2  = M T V&lt;br /&gt;The second printf prints three strings starting from locations q, q+1, q+2&lt;br /&gt; i.e  MTVIRTUAL, TVIRTUAL and VIRTUAL.&lt;br /&gt;  &lt;br /&gt;51)    main( )&lt;br /&gt;{&lt;br /&gt; void *vp;&lt;br /&gt; char ch = ‘g’, *cp = “goofy”;&lt;br /&gt; int j = 20;&lt;br /&gt; vp = &amp;ch;&lt;br /&gt; printf(“%c”, *(char *)vp);&lt;br /&gt; vp = &amp;j;&lt;br /&gt; printf(“%d”,*(int *)vp);&lt;br /&gt; vp = cp;&lt;br /&gt; printf(“%s”,(char *)vp + 3);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;    g20fy&lt;br /&gt;Explanation:&lt;br /&gt;Since a void pointer is used it can be type casted to any  other type pointer. vp = &amp;amp;ch  stores address of char ch and the next statement prints the value stored in vp after type casting it to the proper data type pointer. the output is ‘g’. Similarly  the output from second printf is ‘20’. The third printf statement type casts it to print the string from the 4th value hence the output is ‘fy’.&lt;br /&gt;&lt;br /&gt;52)    main ( )&lt;br /&gt;{&lt;br /&gt; static char *s[ ]  = {“black”, “white”, “yellow”, “violet”};&lt;br /&gt; char **ptr[ ] = {s+3, s+2, s+1, s}, ***p;&lt;br /&gt; p = ptr;&lt;br /&gt; **++p;&lt;br /&gt; printf(“%s”,*--*++p + 3);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;    ck&lt;br /&gt;Explanation:&lt;br /&gt;In this problem we have an array of char pointers pointing to start of 4 strings. Then we have ptr which is a pointer to a pointer of type char and a variable p which is a pointer to a pointer to a pointer of type char. p hold the initial value of ptr, i.e. p = s+3. The next statement increment value in p by 1 , thus now value of p =  s+2. In the printf statement the expression is evaluated *++p causes gets value s+1 then the pre decrement is executed and we get s+1 – 1 = s . the indirection operator now gets the value from the array of s and adds 3 to the starting address. The string is printed starting from this position. Thus, the output is ‘ck’.&lt;br /&gt;&lt;br /&gt;53)    main()&lt;br /&gt;{&lt;br /&gt; int  i, n;&lt;br /&gt; char *x = “girl”;&lt;br /&gt; n = strlen(x);&lt;br /&gt; *x = x[n];&lt;br /&gt; for(i=0; i&lt;n; ++i)&lt;br /&gt;   {&lt;br /&gt;printf(“%s\n”,x);&lt;br /&gt;x++;&lt;br /&gt;   }&lt;br /&gt; }&lt;br /&gt;Answer:&lt;br /&gt;(blank space)&lt;br /&gt;irl&lt;br /&gt;rl&lt;br /&gt;l&lt;br /&gt;&lt;br /&gt;Explanation:&lt;br /&gt;Here a string (a pointer to char) is initialized with a value “girl”.  The strlen function returns the length of the string, thus n has a value 4. The next statement assigns value at the nth location (‘\0’) to the first location. Now the string becomes “\0irl” . Now the printf statement prints the string after each iteration it increments it starting position.  Loop starts from 0 to 4. The first time x[0] = ‘\0’ hence it prints nothing and pointer value is incremented. The second time it prints from x[1] i.e “irl” and the third time it prints “rl” and the last time it prints “l” and the loop terminates.&lt;br /&gt;54)    int i,j;&lt;br /&gt;    for(i=0;i&lt;=10;i++)&lt;br /&gt;    {&lt;br /&gt;    j+=5;&lt;br /&gt;    assert(i&lt;5);&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;Runtime error: Abnormal program termination.&lt;br /&gt;            assert failed (i&lt;5),&gt;,&lt;line&gt;&lt;br /&gt;Explanation:&lt;br /&gt;asserts are used during debugging to make sure that certain conditions are satisfied. If assertion fails, the program will terminate reporting the same. After debugging use,&lt;br /&gt;    #undef NDEBUG&lt;br /&gt;and this will disable all the assertions from the source code. Assertion&lt;br /&gt;is a good debugging tool to make use of. &lt;br /&gt; &lt;br /&gt;55)    main()&lt;br /&gt;    {&lt;br /&gt;    int i=-1;&lt;br /&gt;    +i;&lt;br /&gt;    printf("i = %d, +i = %d \n",i,+i);&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt; i = -1, +i = -1&lt;br /&gt;Explanation:&lt;br /&gt;Unary + is the only dummy operator in C. Where-ever it comes you can just ignore it just because it has no effect in the expressions (hence the name dummy operator).&lt;br /&gt;&lt;br /&gt;56)    What are the files which are automatically opened when a C file is executed?&lt;br /&gt;Answer:&lt;br /&gt;stdin, stdout, stderr (standard input,standard output,standard error).&lt;br /&gt;&lt;br /&gt;57) what will be the position of the file marker?&lt;br /&gt;    a: fseek(ptr,0,SEEK_SET);&lt;br /&gt;    b: fseek(ptr,0,SEEK_CUR);&lt;br /&gt;&lt;br /&gt;Answer :&lt;br /&gt;    a: The SEEK_SET sets the file position marker to the starting of the file.&lt;br /&gt;        b: The SEEK_CUR sets the file position marker to the current position&lt;br /&gt;    of the file.&lt;br /&gt;&lt;br /&gt;58)    main()&lt;br /&gt;    {&lt;br /&gt;    char name[10],s[12];&lt;br /&gt;    scanf(" \"%[^\"]\"",s);&lt;br /&gt;    }&lt;br /&gt;    How scanf will execute?&lt;br /&gt;Answer:&lt;br /&gt;First it checks for the leading white space and discards it.Then it matches with a quotation mark and then it  reads all character upto another quotation mark.&lt;br /&gt;&lt;br /&gt;59)    What is the problem with the following code segment?&lt;br /&gt;    while ((fgets(receiving array,50,file_ptr)) != EOF)&lt;br /&gt;            ;&lt;br /&gt;Answer &amp;amp; Explanation:&lt;br /&gt;fgets returns a pointer. So the correct end of file check is checking for != NULL.&lt;br /&gt;&lt;br /&gt;60)    main()&lt;br /&gt;    {&lt;br /&gt;    main();&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt; Runtime error : Stack overflow.&lt;br /&gt;Explanation:&lt;br /&gt;main function calls itself again and again. Each time the function is called its return address is stored in the call stack. Since there is no condition to terminate the function call, the call stack overflows at runtime. So it terminates the program and results in an error.&lt;br /&gt;&lt;br /&gt;61)    main()&lt;br /&gt;    {&lt;br /&gt;    char *cptr,c;&lt;br /&gt;    void *vptr,v;&lt;br /&gt;    c=10;  v=0;&lt;br /&gt;    cptr=&amp;c; vptr=&amp;v;&lt;br /&gt;    printf("%c%v",c,v);&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;Compiler error (at line number 4): size of v is Unknown.&lt;br /&gt;Explanation:&lt;br /&gt;You can create a variable of type void * but not of type void, since void is an empty type. In the second line you are creating variable vptr of type void * and v of type void hence an error.&lt;br /&gt;&lt;br /&gt;62)    main()&lt;br /&gt;    {&lt;br /&gt;    char *str1="abcd";&lt;br /&gt;    char str2[]="abcd";&lt;br /&gt;    printf("%d %d %d",sizeof(str1),sizeof(str2),sizeof("abcd"));&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;2 5 5&lt;br /&gt;Explanation:&lt;br /&gt;In first sizeof, str1 is a character pointer so it gives you the size of the pointer variable. In second sizeof the name str2 indicates the name of the array whose size is 5 (including the '\0' termination character). The third sizeof is similar to the second one.&lt;br /&gt;&lt;br /&gt;63)    main()&lt;br /&gt;    {&lt;br /&gt;    char not;&lt;br /&gt;    not=!2;&lt;br /&gt;    printf("%d",not);&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;0&lt;br /&gt;Explanation:&lt;br /&gt;! is a logical operator. In C the value 0 is considered to be the boolean value FALSE, and any non-zero value is considered to be the boolean value TRUE. Here 2 is a non-zero value so TRUE. !TRUE is FALSE (0) so it prints 0.&lt;br /&gt;&lt;br /&gt;64)    #define FALSE -1&lt;br /&gt;    #define TRUE   1&lt;br /&gt;    #define NULL   0&lt;br /&gt;    main() {&lt;br /&gt;       if(NULL)&lt;br /&gt;        puts("NULL");&lt;br /&gt;       else if(FALSE)&lt;br /&gt;        puts("TRUE");&lt;br /&gt;       else&lt;br /&gt;        puts("FALSE");&lt;br /&gt;       }&lt;br /&gt;Answer:&lt;br /&gt;TRUE&lt;br /&gt;Explanation:&lt;br /&gt;The input program to the compiler after processing by the preprocessor is,&lt;br /&gt;    main(){&lt;br /&gt;        if(0)&lt;br /&gt;            puts("NULL");&lt;br /&gt;    else if(-1)&lt;br /&gt;            puts("TRUE");&lt;br /&gt;    else&lt;br /&gt;            puts("FALSE");&lt;br /&gt;        }&lt;br /&gt;Preprocessor doesn't replace the values given inside the double quotes. The check by if condition is boolean value false so it goes to else. In second if -1 is boolean value true hence "TRUE" is printed.&lt;br /&gt;&lt;br /&gt;65)    main()&lt;br /&gt;    {&lt;br /&gt;    int k=1;&lt;br /&gt;    printf("%d==1 is ""%s",k,k==1?"TRUE":"FALSE");&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;1==1 is TRUE&lt;br /&gt;Explanation:&lt;br /&gt;When two strings are placed together (or separated by white-space) they are concatenated (this is called as "stringization" operation). So the string is as if it is given as "%d==1 is %s". The conditional operator( ?: ) evaluates to "TRUE".&lt;br /&gt;&lt;br /&gt;66)    main()&lt;br /&gt;    {&lt;br /&gt;    int y;&lt;br /&gt;    scanf("%d",&amp;amp;y); // input given is 2000&lt;br /&gt;    if( (y%4==0 &amp;amp;&amp;amp; y%100 != 0) || y%100 == 0 )&lt;br /&gt;         printf("%d is a leap year");&lt;br /&gt;    else&lt;br /&gt;         printf("%d is not a leap year");&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;2000 is a leap year&lt;br /&gt;Explanation:&lt;br /&gt;An ordinary program to check if leap year or not.&lt;br /&gt;&lt;br /&gt;67)      #define max 5&lt;br /&gt;    #define int arr1[max]&lt;br /&gt;    main()&lt;br /&gt;    {&lt;br /&gt;    typedef char arr2[max];&lt;br /&gt;    arr1 list={0,1,2,3,4};&lt;br /&gt;    arr2 name="name";&lt;br /&gt;    printf("%d %s",list[0],name);&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;Compiler error (in the line arr1 list = {0,1,2,3,4})&lt;br /&gt;Explanation:&lt;br /&gt;arr2 is declared of type array of size 5 of characters. So it can be used to declare the variable name of the type arr2. But it is not the case of arr1. Hence an error.&lt;br /&gt;Rule of Thumb:&lt;br /&gt;#defines are used for textual replacement whereas typedefs are used for declaring new types.&lt;br /&gt;&lt;br /&gt;68)    int i=10;&lt;br /&gt;    main()&lt;br /&gt;    {&lt;br /&gt;      extern int i;&lt;br /&gt;                {&lt;br /&gt;         int i=20;&lt;br /&gt;        {&lt;br /&gt;         const volatile unsigned i=30;&lt;br /&gt;         printf("%d",i);&lt;br /&gt;        }&lt;br /&gt;          printf("%d",i);&lt;br /&gt;       }&lt;br /&gt;    printf("%d",i);&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;30,20,10&lt;br /&gt;Explanation:&lt;br /&gt;'{' introduces new block and thus new scope. In the innermost block i is declared as,&lt;br /&gt;    const volatile unsigned&lt;br /&gt;which is a valid declaration. i is assumed of type int. So printf prints 30. In the next block, i has value 20 and so printf prints 20. In the outermost block, i is declared as extern, so no storage space is allocated for it. After compilation is over the linker resolves it to global variable i (since it is the only variable visible there). So it prints i's value as 10.&lt;br /&gt;&lt;br /&gt;69)    main()&lt;br /&gt;    {&lt;br /&gt;        int *j;&lt;br /&gt;        {&lt;br /&gt;         int i=10;&lt;br /&gt;         j=&amp;i;&lt;br /&gt;         }&lt;br /&gt;         printf("%d",*j);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;10&lt;br /&gt;Explanation:&lt;br /&gt;The variable i is a block level variable and the visibility is inside that block only. But the lifetime of i is lifetime of the function so it lives upto the exit of main function. Since the i is still allocated space, *j prints the value stored in i since j points i.&lt;br /&gt;&lt;br /&gt;70)    main()&lt;br /&gt;    {&lt;br /&gt;    int i=-1;&lt;br /&gt;    -i;&lt;br /&gt;    printf("i = %d, -i = %d \n",i,-i);&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;i = -1, -i = 1&lt;br /&gt;Explanation:&lt;br /&gt;-i is executed and this execution doesn't affect the value of i. In printf first you just print the value of i. After that the value of the expression -i = -(-1) is printed.&lt;br /&gt;&lt;br /&gt;71)    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt; {&lt;br /&gt;   const int i=4;&lt;br /&gt;   float j;&lt;br /&gt;   j = ++i;&lt;br /&gt;   printf("%d  %f", i,++j);&lt;br /&gt; }&lt;br /&gt;Answer:&lt;br /&gt;Compiler error&lt;br /&gt;      Explanation:&lt;br /&gt;i is a constant. you cannot change the value of constant&lt;br /&gt;&lt;br /&gt;72)    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;  int a[2][2][2] = { {10,2,3,4}, {5,6,7,8}  };&lt;br /&gt;  int *p,*q;&lt;br /&gt;  p=&amp;amp;a[2][2][2];&lt;br /&gt;  *q=***a;&lt;br /&gt;  printf("%d..%d",*p,*q);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;garbagevalue..1&lt;br /&gt;Explanation:&lt;br /&gt;p=&amp;amp;a[2][2][2]  you declare only two 2D arrays. but you are trying to access the third 2D(which you are not declared) it will print garbage values. *q=***a starting address of a is assigned integer pointer. now q is pointing to starting address of a.if you print *q meAnswer:it will print first element of 3D array.&lt;br /&gt;&lt;br /&gt;73)    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;  {&lt;br /&gt;    register i=5;&lt;br /&gt;    char j[]= "hello";                    &lt;br /&gt;     printf("%s  %d",j,i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;hello 5&lt;br /&gt;Explanation:&lt;br /&gt;if you declare i as register  compiler will treat it as ordinary integer and it will take integer value. i value may be  stored  either in register  or in memory.&lt;br /&gt;&lt;br /&gt;74)    main()&lt;br /&gt;{&lt;br /&gt;      int i=5,j=6,z;&lt;br /&gt;      printf("%d",i+++j);&lt;br /&gt;     }&lt;br /&gt;Answer:&lt;br /&gt;11&lt;br /&gt;Explanation:&lt;br /&gt;the expression i+++j is treated as (i++ + j)   &lt;br /&gt;     &lt;br /&gt;76)    struct aaa{&lt;br /&gt;struct aaa *prev;&lt;br /&gt;int i;&lt;br /&gt;struct aaa *next;&lt;br /&gt;};&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt; struct aaa abc,def,ghi,jkl;&lt;br /&gt; int x=100;&lt;br /&gt; abc.i=0;abc.prev=&amp;jkl;&lt;br /&gt; abc.next=&amp;def;&lt;br /&gt; def.i=1;def.prev=&amp;abc;def.next=&amp;ghi;&lt;br /&gt; ghi.i=2;ghi.prev=&amp;def;&lt;br /&gt; ghi.next=&amp;jkl;&lt;br /&gt; jkl.i=3;jkl.prev=&amp;ghi;jkl.next=&amp;abc;&lt;br /&gt; x=abc.next-&gt;next-&gt;prev-&gt;next-&gt;i;&lt;br /&gt; printf("%d",x);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;2&lt;br /&gt;Explanation:&lt;br /&gt;        above all statements form a double circular linked list;&lt;br /&gt;abc.next-&gt;next-&gt;prev-&gt;next-&gt;i&lt;br /&gt;this one points to "ghi" node the value of at particular node is 2.&lt;br /&gt;&lt;br /&gt;77)    struct point&lt;br /&gt; {&lt;br /&gt; int x;&lt;br /&gt; int y;&lt;br /&gt; };&lt;br /&gt;struct point origin,*pp;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;pp=&amp;origin;&lt;br /&gt;printf("origin is(%d%d)\n",(*pp).x,(*pp).y);&lt;br /&gt;printf("origin is (%d%d)\n",pp-&gt;x,pp-&gt;y);&lt;br /&gt;}&lt;br /&gt;   &lt;br /&gt;Answer:&lt;br /&gt;origin is(0,0)&lt;br /&gt;origin is(0,0)&lt;br /&gt;Explanation:&lt;br /&gt;pp is a pointer to structure. we can access the elements of the structure either with arrow mark or with indirection operator.&lt;br /&gt;Note:&lt;br /&gt;Since structure point  is globally declared x &amp;amp; y are initialized as zeroes&lt;br /&gt;       &lt;br /&gt;78)    main()&lt;br /&gt;{&lt;br /&gt; int i=_l_abc(10);&lt;br /&gt;      printf("%d\n",--i);&lt;br /&gt;}&lt;br /&gt;int _l_abc(int i)&lt;br /&gt;{&lt;br /&gt; return(i++);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;9&lt;br /&gt;Explanation:&lt;br /&gt;return(i++) it will first return i and then increments. i.e. 10 will be returned.&lt;br /&gt;&lt;br /&gt;79)    main()&lt;br /&gt;{&lt;br /&gt; char *p;&lt;br /&gt; int *q;&lt;br /&gt; long *r;&lt;br /&gt; p=q=r=0;&lt;br /&gt; p++;&lt;br /&gt; q++;&lt;br /&gt; r++;&lt;br /&gt; printf("%p...%p...%p",p,q,r);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;0001...0002...0004&lt;br /&gt;Explanation:&lt;br /&gt;++ operator  when applied to pointers increments address according to their corresponding data-types.&lt;br /&gt;&lt;br /&gt; 80)    main()&lt;br /&gt;{&lt;br /&gt; char c=' ',x,convert(z);&lt;br /&gt; getc(c);&lt;br /&gt; if((c&gt;='a') &amp;amp;&amp;amp; (c&lt;='z'))&lt;br /&gt; x=convert(c);&lt;br /&gt; printf("%c",x);&lt;br /&gt;}&lt;br /&gt;convert(z)&lt;br /&gt;{&lt;br /&gt;  return z-32;&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler error&lt;br /&gt;Explanation:&lt;br /&gt;declaration of convert and format of getc() are wrong.&lt;br /&gt;&lt;br /&gt;81)    main(int argc, char **argv)&lt;br /&gt;{&lt;br /&gt; printf("enter the character");&lt;br /&gt; getchar();&lt;br /&gt; sum(argv[1],argv[2]);&lt;br /&gt;}&lt;br /&gt;sum(num1,num2)&lt;br /&gt;int num1,num2;&lt;br /&gt;{&lt;br /&gt; return num1+num2;&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler error.&lt;br /&gt;Explanation:&lt;br /&gt;argv[1] &amp;amp; argv[2] are strings. They are passed to the function sum without converting it to integer values. &lt;br /&gt;&lt;br /&gt;82)    # include &lt;stdio.h&gt;&lt;br /&gt;int one_d[]={1,2,3};&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt; int *ptr;&lt;br /&gt; ptr=one_d;&lt;br /&gt; ptr+=3;&lt;br /&gt; printf("%d",*ptr);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;garbage value&lt;br /&gt;Explanation:&lt;br /&gt;ptr pointer is pointing to out of the array range of one_d.&lt;br /&gt;&lt;br /&gt;83)    # include&lt;stdio.h&gt;&lt;br /&gt;aaa() {&lt;br /&gt;  printf("hi");&lt;br /&gt; }&lt;br /&gt;bbb(){&lt;br /&gt; printf("hello");&lt;br /&gt; }&lt;br /&gt;ccc(){&lt;br /&gt; printf("bye");&lt;br /&gt; }&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;  int (*ptr[3])();&lt;br /&gt;  ptr[0]=aaa;&lt;br /&gt;  ptr[1]=bbb;&lt;br /&gt;  ptr[2]=ccc;&lt;br /&gt;  ptr[2]();&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;bye&lt;br /&gt;Explanation:&lt;br /&gt;ptr is array of pointers to functions of return type int.ptr[0] is assigned to address of the function aaa. Similarly ptr[1] and ptr[2] for bbb and ccc respectively. ptr[2]() is in effect of writing ccc(), since ptr[2] points to ccc.&lt;br /&gt;&lt;br /&gt;85)    #include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;FILE *ptr;&lt;br /&gt;char i;&lt;br /&gt;ptr=fopen("zzz.c","r");&lt;br /&gt;while((i=fgetch(ptr))!=EOF)&lt;br /&gt;printf("%c",i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;contents of zzz.c followed by an infinite loop &lt;br /&gt;    Explanation:&lt;br /&gt;The condition is checked against EOF, it should be checked against NULL.&lt;br /&gt;&lt;br /&gt;86)    main()&lt;br /&gt;{&lt;br /&gt; int i =0;j=0;&lt;br /&gt; if(i &amp;amp;&amp;amp; j++)&lt;br /&gt;       printf("%d..%d",i++,j);&lt;br /&gt;printf("%d..%d,i,j);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;0..0&lt;br /&gt;Explanation:&lt;br /&gt;The value of i is 0. Since this information is enough to determine the truth value of the boolean expression. So the statement following the if statement is not executed.  The values of i and j remain unchanged and get printed.&lt;br /&gt;     &lt;br /&gt;87)    main()&lt;br /&gt;{&lt;br /&gt; int i;&lt;br /&gt; i = abc();&lt;br /&gt; printf("%d",i);&lt;br /&gt;}&lt;br /&gt;abc()&lt;br /&gt;{&lt;br /&gt; _AX = 1000;&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;1000&lt;br /&gt;Explanation:&lt;br /&gt;Normally the return value from the function is through the information from the accumulator. Here _AH is the pseudo global variable denoting the accumulator. Hence, the value of the accumulator is set 1000 so the function returns value 1000.&lt;br /&gt;&lt;br /&gt;88)    int i;&lt;br /&gt;            main(){&lt;br /&gt;int t;&lt;br /&gt;for ( t=4;scanf("%d",&amp;amp;i)-t;printf("%d\n",i))&lt;br /&gt;                 printf("%d--",t--);&lt;br /&gt;                }&lt;br /&gt;    // If the inputs are 0,1,2,3 find the o/p&lt;br /&gt;Answer:&lt;br /&gt;     4--0&lt;br /&gt;        3--1&lt;br /&gt;        2--2    &lt;br /&gt;Explanation:&lt;br /&gt;Let us assume some x= scanf("%d",&amp;amp;i)-t the values during execution&lt;br /&gt;                  will be,&lt;br /&gt;          t        i       x&lt;br /&gt;          4       0      -4&lt;br /&gt;          3       1      -2&lt;br /&gt;          2       2       0&lt;br /&gt;         &lt;br /&gt;89)    main(){&lt;br /&gt;  int a= 0;int b = 20;char x =1;char y =10;&lt;br /&gt;  if(a,b,x,y)&lt;br /&gt;        printf("hello");&lt;br /&gt; }&lt;br /&gt;Answer:&lt;br /&gt;hello&lt;br /&gt;Explanation:&lt;br /&gt;The comma operator has associativity from left to right. Only the rightmost value is returned and the other values are evaluated and ignored. Thus the value of last variable y is returned to check in if. Since it is a non zero value if becomes true so, "hello" will be printed.&lt;br /&gt;&lt;br /&gt;90)    main(){&lt;br /&gt; unsigned int i;&lt;br /&gt; for(i=1;i&gt;-2;i--)&lt;br /&gt;                printf("c aptitude");&lt;br /&gt;}&lt;br /&gt;Explanation:&lt;br /&gt;i is an unsigned integer. It is compared with a signed value. Since the both types doesn't match, signed is promoted to unsigned value. The unsigned equivalent of -2 is a huge value so condition becomes false and control comes out of the loop.&lt;br /&gt;&lt;br /&gt;91)    In the following pgm add a  stmt in the function  fun such that the address of&lt;br /&gt;'a' gets stored in 'j'.&lt;br /&gt;main(){&lt;br /&gt;  int * j;&lt;br /&gt;  void fun(int **);&lt;br /&gt;  fun(&amp;amp;j);&lt;br /&gt; }&lt;br /&gt; void fun(int **k) {&lt;br /&gt;  int a =0;&lt;br /&gt;  /* add a stmt here*/&lt;br /&gt; }&lt;br /&gt;Answer:&lt;br /&gt;        *k = &amp;amp;a&lt;br /&gt;Explanation:&lt;br /&gt;               The argument of the function is a pointer to a pointer.&lt;br /&gt;     &lt;br /&gt;92)    What are the following notations of defining functions known as?&lt;br /&gt;i.      int abc(int a,float b)&lt;br /&gt;                {&lt;br /&gt;                    /* some code */&lt;br /&gt; }&lt;br /&gt;ii.    int abc(a,b)&lt;br /&gt;        int a; float b;&lt;br /&gt;                {&lt;br /&gt;                  /* some code*/&lt;br /&gt;                }&lt;br /&gt;Answer:&lt;br /&gt;i.  ANSI C notation&lt;br /&gt;ii. Kernighan &amp;amp; Ritche notation&lt;br /&gt;&lt;br /&gt;93)    main()&lt;br /&gt;{&lt;br /&gt;char *p;&lt;br /&gt;p="%d\n";&lt;br /&gt;               p++;&lt;br /&gt;               p++;&lt;br /&gt;               printf(p-2,300);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;    300&lt;br /&gt;Explanation:&lt;br /&gt;The pointer points to % since it is incremented twice and again decremented by 2, it points to '%d\n' and 300 is printed.&lt;br /&gt;&lt;br /&gt;94)    main(){&lt;br /&gt; char a[100];&lt;br /&gt; a[0]='a';a[1]]='b';a[2]='c';a[4]='d';&lt;br /&gt; abc(a);&lt;br /&gt;}&lt;br /&gt;abc(char a[]){&lt;br /&gt; a++;&lt;br /&gt;        printf("%c",*a);&lt;br /&gt; a++;&lt;br /&gt; printf("%c",*a);&lt;br /&gt;}&lt;br /&gt;Explanation:&lt;br /&gt;The base address is modified only in function and as a result a points to 'b' then after incrementing to 'c' so bc will be printed.&lt;br /&gt;               &lt;br /&gt;95)    func(a,b)&lt;br /&gt;int a,b;&lt;br /&gt;{&lt;br /&gt; return( a= (a==b) );&lt;br /&gt;}&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int process(),func();&lt;br /&gt;printf("The value of process is %d !\n ",process(func,3,6));&lt;br /&gt;}&lt;br /&gt;process(pf,val1,val2)&lt;br /&gt;int (*pf) ();&lt;br /&gt;int val1,val2;&lt;br /&gt;{&lt;br /&gt;return((*pf) (val1,val2));&lt;br /&gt; }&lt;br /&gt;Answer:&lt;br /&gt;The value if process is 0 !&lt;br /&gt;Explanation:&lt;br /&gt;The function 'process' has 3 parameters - 1, a pointer to another function  2 and 3, integers. When this function is invoked from main, the following substitutions for formal parameters take place: func for pf, 3 for val1 and 6 for val2. This function returns the result of the operation performed by the function 'func'. The function func has two integer parameters. The formal parameters are substituted as 3 for a and 6 for b. since 3 is not equal to 6, a==b returns 0. therefore the function returns 0 which in turn is returned by the function 'process'.&lt;br /&gt;&lt;br /&gt;96)    void main()&lt;br /&gt;{&lt;br /&gt;    static int i=5;&lt;br /&gt;    if(--i){&lt;br /&gt;        main();&lt;br /&gt;        printf("%d ",i);&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt; 0 0 0 0&lt;br /&gt;Explanation:&lt;br /&gt;    The variable "I" is declared as static, hence memory for I will be allocated for only once, as it encounters the statement. The function main() will be called recursively unless I becomes equal to 0, and since main() is recursively called, so the value of static I ie., 0 will be printed every time the control is returned.&lt;br /&gt;&lt;br /&gt;97)    void main()&lt;br /&gt;{&lt;br /&gt;    int k=ret(sizeof(float));&lt;br /&gt;    printf("\n here value is %d",++k);&lt;br /&gt;}&lt;br /&gt;int ret(int ret)&lt;br /&gt;{&lt;br /&gt;    ret += 2.5;&lt;br /&gt;    return(ret);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt; Here value is 7&lt;br /&gt;Explanation:&lt;br /&gt;    The int ret(int ret), ie., the function name and the argument name can be the same.&lt;br /&gt;    Firstly, the function ret() is called in which the sizeof(float) ie., 4 is passed,  after the first expression the value in ret will be 6, as ret is integer hence the value stored in ret will have implicit type conversion from float to int. The ret is returned in main() it is printed after and preincrement.&lt;br /&gt;&lt;br /&gt;98)    void main()&lt;br /&gt;{&lt;br /&gt;    char a[]="12345\0";&lt;br /&gt;    int i=strlen(a);&lt;br /&gt;    printf("here in 3 %d\n",++i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;here in 3 6&lt;br /&gt;Explanation:&lt;br /&gt;    The char array 'a' will hold the initialized string, whose length will be counted from 0 till the null character. Hence the 'I' will hold the value equal to 5, after the pre-increment in the printf statement, the 6 will be printed.&lt;br /&gt;   &lt;br /&gt;99)    void main()&lt;br /&gt;{&lt;br /&gt;    unsigned giveit=-1;&lt;br /&gt;    int gotit;&lt;br /&gt;    printf("%u ",++giveit);&lt;br /&gt;    printf("%u \n",gotit=--giveit);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt; 0 65535&lt;br /&gt;Explanation:&lt;br /&gt;   &lt;br /&gt;100)    void main()&lt;br /&gt;{&lt;br /&gt;    int i;&lt;br /&gt;    char a[]="\0";&lt;br /&gt;    if(printf("%s\n",a))&lt;br /&gt;        printf("Ok here \n");&lt;br /&gt;    else&lt;br /&gt;        printf("Forget it\n");&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt; Ok here&lt;br /&gt;Explanation:&lt;br /&gt;Printf will return how many characters does it print. Hence printing a null character returns 1 which makes the if statement true, thus "Ok here" is printed.&lt;br /&gt;&lt;br /&gt;101)    void main()&lt;br /&gt;{&lt;br /&gt;    void *v;&lt;br /&gt;    int integer=2;&lt;br /&gt;    int *i=&amp;integer;&lt;br /&gt;    v=i;&lt;br /&gt;    printf("%d",(int*)*v);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error. We cannot apply indirection on type void*.&lt;br /&gt;Explanation:&lt;br /&gt;Void pointer is a generic pointer type. No pointer arithmetic can be done on it. Void pointers are normally used for,&lt;br /&gt;1.    Passing generic pointers to functions and returning such pointers.&lt;br /&gt;2.    As a intermediate pointer type.&lt;br /&gt;3.    Used when the exact pointer type will be known at a later point of time.&lt;br /&gt;&lt;br /&gt;102)    void main()&lt;br /&gt;{&lt;br /&gt;    int i=i++,j=j++,k=k++;&lt;br /&gt;printf(“%d%d%d”,i,j,k);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Garbage values.&lt;br /&gt;Explanation:&lt;br /&gt;An identifier is available to use in program code from the point of its declaration.&lt;br /&gt;So expressions such as  i = i++ are valid statements. The i, j and k are automatic variables and so they contain some garbage value. Garbage in is garbage out (GIGO).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;103)    void main()&lt;br /&gt;{&lt;br /&gt;    static int i=i++, j=j++, k=k++;&lt;br /&gt;printf(“i = %d j = %d k = %d”, i, j, k);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;i = 1 j = 1 k = 1&lt;br /&gt;Explanation:&lt;br /&gt;Since static variables are initialized to zero by default.&lt;br /&gt;&lt;br /&gt;104)    void main()&lt;br /&gt;{&lt;br /&gt;    while(1){&lt;br /&gt;        if(printf("%d",printf("%d")))&lt;br /&gt;            break;&lt;br /&gt;        else&lt;br /&gt;            continue;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Garbage values&lt;br /&gt;Explanation:&lt;br /&gt;The inner printf executes first to print some garbage value. The printf returns no of characters printed and this value also cannot be predicted. Still the outer printf  prints something and so returns a non-zero value. So it encounters the break statement and comes out of the while statement.&lt;br /&gt;&lt;br /&gt;104)    main()&lt;br /&gt;{&lt;br /&gt;    unsigned int i=10;&lt;br /&gt;    while(i--&gt;=0)&lt;br /&gt;        printf("%u ",i);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;    10 9 8 7 6 5 4 3 2 1 0 65535 65534…..&lt;br /&gt;Explanation:&lt;br /&gt;Since i is an unsigned integer it can never become negative. So the expression i-- &gt;=0  will always be true, leading to an infinite loop.   &lt;br /&gt;&lt;br /&gt;105)    #include&lt;conio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;    int x,y=2,z,a;&lt;br /&gt;    if(x=y%2) z=2;&lt;br /&gt;    a=2;&lt;br /&gt;    printf("%d %d ",z,x);&lt;br /&gt;}&lt;br /&gt; Answer:&lt;br /&gt;Garbage-value 0&lt;br /&gt;Explanation:&lt;br /&gt;The value of y%2 is 0. This value is assigned to x. The condition reduces to if (x) or in other words if(0) and so z goes uninitialized.&lt;br /&gt;Thumb Rule: Check all control paths to write bug free code.&lt;br /&gt;&lt;br /&gt;106)    main()&lt;br /&gt;{&lt;br /&gt;    int a[10];&lt;br /&gt;    printf("%d",*a+1-*a+3);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;4 &lt;br /&gt;Explanation:&lt;br /&gt;    *a and -*a cancels out. The result is as simple as 1 + 3 = 4 !   &lt;br /&gt;&lt;br /&gt;107)    #define prod(a,b) a*b&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;    int x=3,y=4;&lt;br /&gt;    printf("%d",prod(x+2,y-1));&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;10&lt;br /&gt;Explanation:&lt;br /&gt;    The macro expands and evaluates to as:&lt;br /&gt;    x+2*y-1 =&gt; x+(2*y)-1 =&gt; 10&lt;br /&gt;&lt;br /&gt;108)    main()&lt;br /&gt;{&lt;br /&gt;    unsigned int i=65000;&lt;br /&gt;    while(i++!=0);&lt;br /&gt;    printf("%d",i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt; 1&lt;br /&gt;Explanation:&lt;br /&gt;Note the semicolon after the while statement. When the value of i becomes 0 it comes out of while loop. Due to post-increment on i the value of i while printing is 1.&lt;br /&gt; &lt;br /&gt;109)    main()&lt;br /&gt;{&lt;br /&gt;    int i=0;&lt;br /&gt;    while(+(+i--)!=0)&lt;br /&gt;        i-=i++;&lt;br /&gt;    printf("%d",i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;-1&lt;br /&gt;Explanation:&lt;br /&gt;Unary + is the only dummy operator in C. So it has no effect on the expression and now the while loop is,     while(i--!=0) which is false and so breaks out of while loop. The value –1 is printed due to the post-decrement operator.&lt;br /&gt;    &lt;br /&gt;113)    main()&lt;br /&gt;{&lt;br /&gt;    float f=5,g=10;&lt;br /&gt;    enum{i=10,j=20,k=50};&lt;br /&gt;    printf("%d\n",++k);&lt;br /&gt;    printf("%f\n",f&lt;&lt;2);&lt;br /&gt;    printf("%lf\n",f%g);&lt;br /&gt;    printf("%lf\n",fmod(f,g));&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Line no 5: Error: Lvalue required&lt;br /&gt;Line no 6: Cannot apply leftshift to float&lt;br /&gt;Line no 7: Cannot apply mod to float&lt;br /&gt;Explanation:&lt;br /&gt;        Enumeration constants cannot be modified, so you cannot apply ++.&lt;br /&gt;        Bit-wise operators and % operators cannot be applied on float values.&lt;br /&gt;        fmod() is to find the modulus values for floats as % operator is for ints. &lt;br /&gt;&lt;br /&gt;110)      main()&lt;br /&gt;{&lt;br /&gt;    int i=10;&lt;br /&gt;    void pascal f(int,int,int);&lt;br /&gt;f(i++,i++,i++);&lt;br /&gt;    printf(" %d",i);&lt;br /&gt;}&lt;br /&gt;void pascal f(integer :i,integer:j,integer :k)&lt;br /&gt;{&lt;br /&gt;write(i,j,k);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler error:  unknown type integer&lt;br /&gt;Compiler error:  undeclared function write&lt;br /&gt;Explanation:&lt;br /&gt;Pascal keyword doesn’t mean that pascal code can be used. It means that the function follows Pascal argument passing mechanism in calling the functions.&lt;br /&gt;&lt;br /&gt;111)     void pascal f(int i,int j,int k)&lt;br /&gt;{&lt;br /&gt;printf(“%d %d %d”,i, j, k);&lt;br /&gt;}&lt;br /&gt;void cdecl f(int i,int j,int k)&lt;br /&gt;{&lt;br /&gt;printf(“%d %d %d”,i, j, k);&lt;br /&gt;}&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;    int i=10;&lt;br /&gt;f(i++,i++,i++);&lt;br /&gt;    printf(" %d\n",i);&lt;br /&gt;i=10;&lt;br /&gt;f(i++,i++,i++);&lt;br /&gt;printf(" %d",i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;10 11 12 13&lt;br /&gt;12 11 10 13&lt;br /&gt;Explanation:&lt;br /&gt;Pascal argument passing mechanism forces the arguments to be called from left to right. cdecl is the normal C argument passing mechanism where the arguments are passed from right to left.&lt;br /&gt;&lt;br /&gt;112). What is the output of the program given below&lt;br /&gt;&lt;br /&gt;main()&lt;br /&gt;    {&lt;br /&gt;       signed char i=0;&lt;br /&gt;       for(;i&gt;=0;i++) ;&lt;br /&gt;       printf("%d\n",i);&lt;br /&gt;    }&lt;br /&gt;Answer&lt;br /&gt;        -128&lt;br /&gt;Explanation&lt;br /&gt;Notice the semicolon at the end of the for loop. THe initial value of the i is set to 0. The inner loop executes to increment the value from 0 to 127 (the positive range of char) and then it rotates to the negative value of -128. The condition in the for loop fails and so comes out of the for loop. It prints the current value of i that is -128.&lt;br /&gt;    &lt;br /&gt;113) main()&lt;br /&gt;    {&lt;br /&gt;       unsigned char i=0;&lt;br /&gt;       for(;i&gt;=0;i++) ;&lt;br /&gt;       printf("%d\n",i);&lt;br /&gt;    }&lt;br /&gt;Answer&lt;br /&gt;    infinite loop&lt;br /&gt;Explanation&lt;br /&gt;The difference between the previous question and this one is that the char is declared to be unsigned. So the i++ can never yield negative value and i&gt;=0 never becomes false so that it can come out of the for loop.&lt;br /&gt;&lt;br /&gt;114) main()&lt;br /&gt;        {&lt;br /&gt;       char i=0;&lt;br /&gt;       for(;i&gt;=0;i++) ;&lt;br /&gt;       printf("%d\n",i);&lt;br /&gt;       &lt;br /&gt; }&lt;br /&gt;Answer:&lt;br /&gt;        Behavior is implementation dependent.&lt;br /&gt;Explanation:&lt;br /&gt;The detail if the char is signed/unsigned by default is implementation dependent. If the implementation treats the char to be signed by default the program will print –128 and terminate. On the other hand if it considers char to be unsigned by default, it goes to infinite loop.&lt;br /&gt;Rule:&lt;br /&gt;You can write programs that have implementation dependent behavior. But dont write programs that depend on such behavior.&lt;br /&gt;&lt;br /&gt;115) Is the following statement a declaration/definition. Find what does it mean?&lt;br /&gt;int (*x)[10];&lt;br /&gt;Answer&lt;br /&gt;        Definition.&lt;br /&gt;    x is a pointer to array of(size 10) integers.&lt;br /&gt;&lt;br /&gt;        Apply clock-wise rule to find the meaning of this definition.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;116). What is the output for the program given below&lt;br /&gt;&lt;br /&gt;     typedef enum errorType{warning, error, exception,}error;&lt;br /&gt;     main()&lt;br /&gt;    {&lt;br /&gt;        error g1;&lt;br /&gt;        g1=1;&lt;br /&gt;        printf("%d",g1);&lt;br /&gt;     }&lt;br /&gt;Answer&lt;br /&gt;        Compiler error: Multiple declaration for error&lt;br /&gt;Explanation&lt;br /&gt;The name error is used in the two meanings. One means that it is a enumerator constant with value 1. The another use is that it is a type name (due to typedef) for enum errorType. Given a situation the compiler cannot distinguish the meaning of error to know in what sense the error is used:&lt;br /&gt;    error g1;&lt;br /&gt;g1=error;&lt;br /&gt;    // which error it refers in each case?&lt;br /&gt;When the compiler can distinguish between usages then it will not issue error (in pure technical terms, names can only be overloaded in different namespaces).&lt;br /&gt;Note: the extra comma in the declaration,&lt;br /&gt;enum errorType{warning, error, exception,}&lt;br /&gt;is not an error. An extra comma is valid and is provided just for programmer’s convenience.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;117)             typedef struct error{int warning, error, exception;}error;&lt;br /&gt;     main()&lt;br /&gt;    {&lt;br /&gt;        error g1;&lt;br /&gt;        g1.error =1;&lt;br /&gt;        printf("%d",g1.error);&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;Answer&lt;br /&gt;        1&lt;br /&gt;Explanation&lt;br /&gt;The three usages of name errors can be distinguishable by the compiler at any instance, so valid (they are in different namespaces).&lt;br /&gt;Typedef struct error{int warning, error, exception;}error;&lt;br /&gt;This error can be used only by preceding the error by struct kayword as in:&lt;br /&gt;struct error someError;&lt;br /&gt;typedef struct error{int warning, error, exception;}error;&lt;br /&gt;This can be used only after . (dot) or -&gt; (arrow) operator preceded by the variable name as in :&lt;br /&gt;g1.error =1;&lt;br /&gt;            printf("%d",g1.error);&lt;br /&gt;          typedef struct error{int warning, error, exception;}error;&lt;br /&gt;This can be used to define variables without using the preceding struct keyword as in:&lt;br /&gt;error g1;&lt;br /&gt;Since the compiler can perfectly distinguish between these three usages, it is perfectly legal and valid.&lt;br /&gt;&lt;br /&gt;Note&lt;br /&gt;This code is given here to just explain the concept behind. In real programming don’t use such overloading of names. It reduces the readability of the code. Possible doesn’t mean that we should use it!&lt;br /&gt; &lt;br /&gt;118)    #ifdef something&lt;br /&gt;int some=0;&lt;br /&gt;#endif&lt;br /&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int thing = 0;&lt;br /&gt;printf("%d %d\n", some ,thing);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;        Compiler error : undefined symbol some&lt;br /&gt;Explanation:&lt;br /&gt;This is a very simple example for conditional compilation. The name something is not already known to the compiler making the declaration&lt;br /&gt;int some = 0;&lt;br /&gt;effectively removed from the source code.&lt;br /&gt;&lt;br /&gt;119)     #if something == 0&lt;br /&gt;int some=0;&lt;br /&gt;#endif&lt;br /&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int thing = 0;&lt;br /&gt;printf("%d %d\n", some ,thing);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer&lt;br /&gt;        0 0&lt;br /&gt;Explanation&lt;br /&gt;This code is to show that preprocessor expressions are not the same as the ordinary expressions. If a name is not known the preprocessor treats it to be equal to zero.&lt;br /&gt;&lt;br /&gt;120). What is the output for the following program&lt;br /&gt;&lt;br /&gt;          main()&lt;br /&gt;                            {&lt;br /&gt;      int arr2D[3][3];&lt;br /&gt;       printf("%d\n", ((arr2D==* arr2D)&amp;amp;&amp;amp;(* arr2D == arr2D[0])) );&lt;br /&gt;               }&lt;br /&gt;Answer&lt;br /&gt;1&lt;br /&gt;Explanation&lt;br /&gt;This is due to the close relation between the arrays and pointers. N dimensional arrays are made up of (N-1) dimensional arrays.    &lt;br /&gt;    arr2D is made up of a 3 single arrays that contains 3 integers each .&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The name arr2D refers to the beginning of all the 3 arrays. *arr2D refers to the start of the first 1D array (of 3 integers) that is the same address as arr2D. So the expression (arr2D == *arr2D) is true (1).&lt;br /&gt;Similarly, *arr2D is nothing but *(arr2D + 0), adding a zero doesn’t change the value/meaning. Again arr2D[0] is the another way of telling *(arr2D + 0). So the expression (*(arr2D + 0) == arr2D[0]) is true (1).&lt;br /&gt;Since both parts of the expression evaluates to true the result is true(1) and the same is printed. &lt;br /&gt;&lt;br /&gt;121) void main()&lt;br /&gt;         {&lt;br /&gt;if(~0 == (unsigned int)-1)&lt;br /&gt;printf(“You can answer this if you know how values are represented in memory”);&lt;br /&gt;         }   &lt;br /&gt; Answer&lt;br /&gt;You can answer this if you know how values are represented in memory&lt;br /&gt;Explanation&lt;br /&gt;~ (tilde operator or bit-wise negation operator) operates on 0 to produce all ones to fill the space for an integer. –1 is represented in unsigned value as all 1’s and so both are equal.&lt;br /&gt;&lt;br /&gt;122) int swap(int *a,int *b)&lt;br /&gt;{&lt;br /&gt; *a=*a+*b;*b=*a-*b;*a=*a-*b;&lt;br /&gt;}&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;        int x=10,y=20;&lt;br /&gt;    swap(&amp;amp;x,&amp;amp;y);&lt;br /&gt;        printf("x= %d y = %d\n",x,y);&lt;br /&gt;}&lt;br /&gt;Answer&lt;br /&gt;    x = 20 y = 10&lt;br /&gt;Explanation&lt;br /&gt;This is one way of swapping two values. Simple checking will help understand this.&lt;br /&gt;&lt;br /&gt;123)     main()&lt;br /&gt;{   &lt;br /&gt;char *p = “ayqm”;&lt;br /&gt;printf(“%c”,++*(p++));&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;b    &lt;br /&gt;&lt;br /&gt;124)    main()&lt;br /&gt;    {&lt;br /&gt;     int i=5;&lt;br /&gt;     printf("%d",++i++);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        Compiler error: Lvalue required in function main&lt;br /&gt;Explanation:&lt;br /&gt;        ++i yields an rvalue.  For postfix ++ to operate an lvalue is required.&lt;br /&gt;&lt;br /&gt;125)    main()&lt;br /&gt;{&lt;br /&gt;char *p = “ayqm”;&lt;br /&gt;char c;&lt;br /&gt;c = ++*p++;&lt;br /&gt;printf(“%c”,c);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;b&lt;br /&gt;Explanation:&lt;br /&gt;There is no difference between the expression ++*(p++) and ++*p++. Parenthesis just works as a visual clue for the reader to see which expression is first evaluated.&lt;br /&gt;&lt;br /&gt;126)&lt;br /&gt;int aaa() {printf(“Hi”);}&lt;br /&gt;int bbb(){printf(“hello”);}&lt;br /&gt;iny ccc(){printf(“bye”);}&lt;br /&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int ( * ptr[3]) ();&lt;br /&gt;ptr[0] = aaa;&lt;br /&gt;ptr[1] = bbb;&lt;br /&gt;ptr[2] =ccc;&lt;br /&gt;ptr[2]();&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt; bye&lt;br /&gt;Explanation:&lt;br /&gt;int (* ptr[3])() says that ptr is an array of pointers to functions that takes no arguments and returns the type int. By the assignment ptr[0] = aaa; it means that the first function pointer in the array is initialized with the address of the function aaa. Similarly, the other two array elements also get initialized with the addresses of the functions bbb and ccc. Since ptr[2] contains the address of the function ccc, the call to the function ptr[2]() is same as calling ccc(). So it results in printing  "bye".&lt;br /&gt;&lt;br /&gt;127)&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int i=5;&lt;br /&gt;printf(“%d”,i=++i ==6);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;1&lt;br /&gt;Explanation:&lt;br /&gt;The expression can be treated as i = (++i==6), because == is of higher precedence than = operator. In the inner expression, ++i is equal to 6 yielding true(1). Hence the result.&lt;br /&gt;&lt;br /&gt;128)    main()&lt;br /&gt;{&lt;br /&gt;         char p[ ]="%d\n";&lt;br /&gt;p[1] = 'c';&lt;br /&gt;printf(p,65);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;A&lt;br /&gt;Explanation:&lt;br /&gt;Due to the assignment p[1] = ‘c’ the string becomes, “%c\n”. Since this string becomes the format string for printf and ASCII value of 65 is ‘A’, the same gets printed.&lt;br /&gt;&lt;br /&gt;129)    void ( * abc( int, void ( *def) () ) ) ();&lt;br /&gt;&lt;br /&gt;Answer::&lt;br /&gt; abc is a  ptr to a  function which takes 2 parameters .(a). an integer variable.(b).        a ptrto a funtion which returns void. the return type of the function is  void.&lt;br /&gt;Explanation:&lt;br /&gt;        Apply the clock-wise rule to find the result.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;130)    main()&lt;br /&gt;{&lt;br /&gt;while (strcmp(“some”,”some\0”))&lt;br /&gt;printf(“Strings are not equal\n”);&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;No output&lt;br /&gt;Explanation:&lt;br /&gt;Ending the string constant with \0 explicitly makes no difference. So “some” and “some\0” are equivalent. So, strcmp returns 0 (false) hence breaking out of the while loop.&lt;br /&gt;&lt;br /&gt;131)    main()&lt;br /&gt;{&lt;br /&gt;char str1[] = {‘s’,’o’,’m’,’e’};&lt;br /&gt;char str2[] = {‘s’,’o’,’m’,’e’,’\0’};&lt;br /&gt;while (strcmp(str1,str2))&lt;br /&gt;printf(“Strings are not equal\n”);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;“Strings are not equal”&lt;br /&gt;“Strings are not equal”&lt;br /&gt;….&lt;br /&gt;Explanation:&lt;br /&gt;If a string constant is initialized explicitly with characters, ‘\0’ is not appended automatically to the string. Since str1 doesn’t have null termination, it treats whatever the values that are in the following positions as part of the string until it randomly reaches a ‘\0’. So str1 and str2 are not the same, hence the result.&lt;br /&gt;&lt;br /&gt;132)    main()&lt;br /&gt;{&lt;br /&gt;int i = 3;&lt;br /&gt;for (;i++=0;) printf(“%d”,i);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;        Compiler Error: Lvalue required.&lt;br /&gt;Explanation:&lt;br /&gt;As we know that increment operators return rvalues and  hence it cannot appear on the left hand side of an assignment operation.&lt;br /&gt;&lt;br /&gt;133)    void main()&lt;br /&gt;{&lt;br /&gt;int *mptr, *cptr;&lt;br /&gt;mptr = (int*)malloc(sizeof(int));&lt;br /&gt;printf(“%d”,*mptr);&lt;br /&gt;int *cptr = (int*)calloc(sizeof(int),1);&lt;br /&gt;printf(“%d”,*cptr);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;garbage-value 0&lt;br /&gt;Explanation:&lt;br /&gt;The memory space allocated by malloc is uninitialized, whereas calloc returns the allocated memory space initialized to zeros.&lt;br /&gt;   &lt;br /&gt;134)    void main()&lt;br /&gt;{&lt;br /&gt;static int i;&lt;br /&gt;while(i&lt;=10)&lt;br /&gt;(i&gt;2)?i++:i--;&lt;br /&gt;    printf(“%d”, i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        32767&lt;br /&gt;Explanation:&lt;br /&gt;Since i is static it is initialized to 0. Inside the while loop the conditional operator evaluates to false, executing i--. This continues till the integer value rotates to positive value (32767). The while condition becomes false and hence, comes out of the while loop, printing the i value.&lt;br /&gt;&lt;br /&gt;135)    main()&lt;br /&gt;{&lt;br /&gt;        int i=10,j=20;&lt;br /&gt;    j = i, j?(i,j)?i:j:j;&lt;br /&gt;        printf("%d %d",i,j);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;10 10&lt;br /&gt;Explanation:&lt;br /&gt;        The Ternary operator ( ? : ) is equivalent for if-then-else statement. So the question can be written as:&lt;br /&gt;        if(i,j)&lt;br /&gt;                {&lt;br /&gt;if(i,j)&lt;br /&gt;             j = i;&lt;br /&gt;        else&lt;br /&gt;            j = j;           &lt;br /&gt;        }&lt;br /&gt;       else&lt;br /&gt;        j = j;       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;136)    1. const char *a;&lt;br /&gt;2. char* const a;&lt;br /&gt;3. char const *a;&lt;br /&gt;-Differentiate the above declarations.&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;1. 'const' applies to char * rather than 'a' ( pointer to a constant char )&lt;br /&gt;    *a='F'       : illegal&lt;br /&gt;            a="Hi"       : legal&lt;br /&gt;&lt;br /&gt;2. 'const' applies to 'a'  rather than to the value of a (constant pointer to char )&lt;br /&gt;    *a='F'       : legal&lt;br /&gt;    a="Hi"       : illegal&lt;br /&gt;&lt;br /&gt;3. Same as 1.&lt;br /&gt;&lt;br /&gt;137)    main()&lt;br /&gt;{&lt;br /&gt;        int i=5,j=10;&lt;br /&gt;    i=i&amp;amp;=j&amp;amp;&amp;10;&lt;br /&gt;        printf("%d %d",i,j);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;1 10&lt;br /&gt;Explanation:&lt;br /&gt;The expression can be written as i=(i&amp;amp;=(j&amp;amp;&amp;amp;10)); The inner expression (j&amp;amp;&amp;amp;10) evaluates to 1 because j==10. i is 5. i = 5&amp;amp;1 is 1. Hence the result.&lt;br /&gt;&lt;br /&gt;138)    main()&lt;br /&gt;{&lt;br /&gt;        int i=4,j=7;&lt;br /&gt;    j = j || i++ &amp;amp;&amp;amp; printf("YOU CAN");&lt;br /&gt;        printf("%d %d", i, j);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;4 1&lt;br /&gt;Explanation:&lt;br /&gt;The boolean expression needs to be evaluated only till the truth value of the expression is not known. j is not equal to zero itself means that the expression’s truth value is 1. Because it is followed by || and true || (anything) =&gt; true where (anything) will not be evaluated. So the remaining expression is not evaluated and so the value of i remains the same.&lt;br /&gt;Similarly when &amp;amp;&amp;amp; operator is involved in an expression, when any of the operands become false, the whole expression’s truth value becomes false and hence the remaining expression will not be evaluated.    &lt;br /&gt;    false &amp;amp;&amp;amp; (anything) =&gt; false where (anything) will not be evaluated.&lt;br /&gt;&lt;br /&gt;139)    main()&lt;br /&gt;{&lt;br /&gt;        register int a=2;&lt;br /&gt;    printf("Address of a = %d",&amp;amp;a);&lt;br /&gt;        printf("Value of a   = %d",a);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compier Error: '&amp;amp;' on register variable&lt;br /&gt;Rule to Remember:&lt;br /&gt;         &amp;amp; (address of ) operator cannot be applied on register variables.&lt;br /&gt;   &lt;br /&gt;140)    main()&lt;br /&gt;{&lt;br /&gt;        float i=1.5;&lt;br /&gt;    switch(i)&lt;br /&gt;        {&lt;br /&gt;        case 1: printf("1");&lt;br /&gt;            case 2: printf("2");&lt;br /&gt;            default : printf("0");&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error: switch expression not integral&lt;br /&gt;Explanation:&lt;br /&gt;        Switch statements can be applied only to integral types.&lt;br /&gt;&lt;br /&gt;141)    main()&lt;br /&gt;{   &lt;br /&gt;        extern i;&lt;br /&gt;    printf("%d\n",i);&lt;br /&gt;        {&lt;br /&gt;            int i=20;&lt;br /&gt;        printf("%d\n",i);&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Linker Error : Unresolved external symbol i&lt;br /&gt;Explanation:&lt;br /&gt;The identifier i is available in the inner block and so using extern has no use in resolving it.&lt;br /&gt;&lt;br /&gt;142)    main()&lt;br /&gt;{&lt;br /&gt;        int a=2,*f1,*f2;&lt;br /&gt;    f1=f2=&amp;a;&lt;br /&gt;        *f2+=*f2+=a+=2.5;&lt;br /&gt;    printf("\n%d %d %d",a,*f1,*f2);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;16 16 16&lt;br /&gt;Explanation:&lt;br /&gt;f1 and f2 both refer to the same memory location a. So changes through f1 and f2 ultimately affects only the value of a.&lt;br /&gt;   &lt;br /&gt;143)    main()&lt;br /&gt;{&lt;br /&gt;        char *p="GOOD";&lt;br /&gt;    char a[ ]="GOOD";&lt;br /&gt;printf("\n sizeof(p) = %d, sizeof(*p) = %d, strlen(p) = %d", sizeof(p), sizeof(*p), strlen(p));&lt;br /&gt;    printf("\n sizeof(a) = %d, strlen(a) = %d", sizeof(a), strlen(a));&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        sizeof(p) = 2, sizeof(*p) = 1, strlen(p) = 4&lt;br /&gt;    sizeof(a) = 5, strlen(a) = 4&lt;br /&gt;Explanation:&lt;br /&gt;        sizeof(p) =&gt; sizeof(char*) =&gt; 2&lt;br /&gt;    sizeof(*p) =&gt; sizeof(char) =&gt; 1&lt;br /&gt;        Similarly,&lt;br /&gt;    sizeof(a) =&gt; size of the character array =&gt; 5&lt;br /&gt;When sizeof operator is applied to an array it returns the sizeof the array and it is not the same as the sizeof the pointer variable. Here the sizeof(a) where a is the character array and the size of the array is 5 because the space necessary for the terminating NULL character should also be taken into account.&lt;br /&gt;&lt;br /&gt;144)    #define DIM( array, type) sizeof(array)/sizeof(type)&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int arr[10];&lt;br /&gt;printf(“The dimension of the array is %d”, DIM(arr, int));   &lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;10  &lt;br /&gt;Explanation:&lt;br /&gt;The size  of integer array of 10 elements is 10 * sizeof(int). The macro expands to sizeof(arr)/sizeof(int) =&gt; 10 * sizeof(int) / sizeof(int) =&gt; 10.   &lt;br /&gt;&lt;br /&gt;145)    int DIM(int array[])&lt;br /&gt;{&lt;br /&gt;return sizeof(array)/sizeof(int );&lt;br /&gt;}&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int arr[10];&lt;br /&gt;printf(“The dimension of the array is %d”, DIM(arr));   &lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;1  &lt;br /&gt;Explanation:&lt;br /&gt;Arrays cannot be passed to functions as arguments and only the pointers can be passed. So the argument is equivalent to int * array (this is one of the very few places where [] and * usage are equivalent). The return statement becomes, sizeof(int *)/ sizeof(int) that happens to be equal in this case.&lt;br /&gt;&lt;br /&gt;146)    main()&lt;br /&gt;{&lt;br /&gt;    static int a[3][3]={1,2,3,4,5,6,7,8,9};&lt;br /&gt;    int i,j;&lt;br /&gt;    static *p[]={a,a+1,a+2};&lt;br /&gt;        for(i=0;i&lt;3;i++)&lt;br /&gt;    {&lt;br /&gt;            for(j=0;j&lt;3;j++)&lt;br /&gt;            printf("%d\t%d\t%d\t%d\n",*(*(p+i)+j),&lt;br /&gt;            *(*(j+p)+i),*(*(i+p)+j),*(*(p+j)+i));&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;            1       1       1       1&lt;br /&gt;            2       4       2       4&lt;br /&gt;        3       7       3       7&lt;br /&gt;            4       2       4       2&lt;br /&gt;            5       5       5       5&lt;br /&gt;        6       8       6       8&lt;br /&gt;            7       3       7       3&lt;br /&gt;            8       6       8       6&lt;br /&gt;        9       9       9       9&lt;br /&gt;Explanation:&lt;br /&gt;        *(*(p+i)+j) is equivalent to p[i][j].&lt;br /&gt;&lt;br /&gt;147)    main()&lt;br /&gt;{&lt;br /&gt;        void swap();&lt;br /&gt;    int x=10,y=8;    &lt;br /&gt;        swap(&amp;amp;x,&amp;amp;y);&lt;br /&gt;    printf("x=%d y=%d",x,y);&lt;br /&gt;}&lt;br /&gt;void swap(int *a, int *b)&lt;br /&gt;{&lt;br /&gt;   *a ^= *b,  *b ^= *a, *a ^= *b;&lt;br /&gt;}   &lt;br /&gt;Answer:&lt;br /&gt;x=10 y=8&lt;br /&gt;Explanation:&lt;br /&gt;Using ^ like this is a way to swap two variables without using a temporary variable and that too in a single statement.&lt;br /&gt;Inside main(), void swap(); means that swap is a function that may take any number of arguments (not no arguments) and returns nothing. So this doesn’t issue a compiler error by the call swap(&amp;amp;x,&amp;amp;y); that has two arguments.&lt;br /&gt;This convention is historically due to pre-ANSI style (referred to as Kernighan and Ritchie style) style of function declaration. In that style, the swap function will be defined as follows,&lt;br /&gt;void swap()&lt;br /&gt;int *a, int *b&lt;br /&gt;{&lt;br /&gt;   *a ^= *b,  *b ^= *a, *a ^= *b;&lt;br /&gt;}&lt;br /&gt;where the arguments follow the (). So naturally the declaration for swap will look like, void swap() which means the swap can take any number of arguments.&lt;br /&gt;&lt;br /&gt;148)    main()&lt;br /&gt;{&lt;br /&gt;        int i = 257;&lt;br /&gt;    int *iPtr = &amp;i;&lt;br /&gt;        printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) );&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        1 1&lt;br /&gt;Explanation:&lt;br /&gt;The integer value 257 is stored in the memory as, 00000001 00000001, so the individual bytes are taken by casting it to char * and get printed.&lt;br /&gt;&lt;br /&gt;149)    main()&lt;br /&gt;{&lt;br /&gt;        int i = 258;&lt;br /&gt;    int *iPtr = &amp;i;&lt;br /&gt;        printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) );&lt;br /&gt;}   &lt;br /&gt;Answer:&lt;br /&gt;        2 1&lt;br /&gt;Explanation:&lt;br /&gt;The integer value 257 can be represented in binary as, 00000001 00000001. Remember that the INTEL machines are ‘small-endian’ machines. Small-endian means that the lower order bytes are stored in the higher memory addresses and the higher order bytes are stored in lower addresses. The integer value 258 is stored in memory as: 00000001 00000010.  &lt;br /&gt;&lt;br /&gt;150)    main()&lt;br /&gt;{&lt;br /&gt;        int i=300;&lt;br /&gt;    char *ptr = &amp;i;&lt;br /&gt;        *++ptr=2;&lt;br /&gt;    printf("%d",i);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;556&lt;br /&gt;Explanation:&lt;br /&gt;The integer value 300  in binary notation is: 00000001 00101100. It is  stored in memory (small-endian) as: 00101100 00000001. Result of the expression *++ptr = 2 makes the memory representation as: 00101100 00000010. So the integer corresponding to it  is  00000010 00101100 =&gt; 556.&lt;br /&gt;&lt;br /&gt;151)    #include &lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char * str = "hello";&lt;br /&gt;char * ptr = str;&lt;br /&gt;char least = 127;&lt;br /&gt;while (*ptr++)&lt;br /&gt;                  least = (*ptr&lt;least ) ?*ptr :least;&lt;br /&gt;printf("%d",least);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;0&lt;br /&gt;Explanation:   &lt;br /&gt;After ‘ptr’ reaches the end of the string the value pointed by ‘str’ is ‘\0’. So the value of ‘str’ is less than that of ‘least’. So the value of ‘least’ finally is 0.&lt;br /&gt;&lt;br /&gt;152)    Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?&lt;br /&gt;Answer:&lt;br /&gt;        (char*(*)( )) (*ptr[N])( );&lt;br /&gt;&lt;br /&gt;153)    main()&lt;br /&gt;{&lt;br /&gt;struct student&lt;br /&gt;{&lt;br /&gt;char name[30];&lt;br /&gt;struct date dob;&lt;br /&gt;}stud;&lt;br /&gt;struct date&lt;br /&gt;        {   &lt;br /&gt;         int day,month,year;&lt;br /&gt;         };&lt;br /&gt;     scanf("%s%d%d%d", stud.rollno, &amp;amp;student.dob.day, &amp;amp;student.dob.month,      &amp;amp;student.dob.year);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error: Undefined structure date&lt;br /&gt;Explanation:&lt;br /&gt;Inside the struct definition of ‘student’ the member of type struct date is given. The compiler doesn’t have the definition of date structure (forward  reference is not allowed in C in this case) so it issues an error.&lt;br /&gt;&lt;br /&gt;154)    main()&lt;br /&gt;{&lt;br /&gt;struct date;&lt;br /&gt;struct student&lt;br /&gt;{&lt;br /&gt;char name[30];&lt;br /&gt;struct date dob;&lt;br /&gt;}stud;&lt;br /&gt;struct date&lt;br /&gt;            {&lt;br /&gt;         int day,month,year;&lt;br /&gt; };&lt;br /&gt;scanf("%s%d%d%d", stud.rollno, &amp;amp;student.dob.day, &amp;amp;student.dob.month, &amp;amp;student.dob.year);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Compiler Error: Undefined structure date&lt;br /&gt;Explanation:&lt;br /&gt;Only declaration of struct date is available inside the structure definition of ‘student’ but to have a variable of type struct date the definition of the structure is required.&lt;br /&gt;&lt;br /&gt;155)    There were 10 records stored in “somefile.dat” but the following program printed 11 names. What went wrong?&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;struct student&lt;br /&gt;{   &lt;br /&gt;char name[30], rollno[6];&lt;br /&gt;}stud;&lt;br /&gt;FILE *fp = fopen(“somefile.dat”,”r”);&lt;br /&gt;while(!feof(fp))&lt;br /&gt; {&lt;br /&gt;             fread(&amp;amp;stud, sizeof(stud), 1 , fp);&lt;br /&gt;puts(stud.name);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;Explanation:&lt;br /&gt;fread reads 10 records and prints the names successfully. It will return EOF only when fread tries to read another record and fails reading EOF (and returning EOF). So it prints the last record again. After this only the condition feof(fp) becomes false, hence comes out of the while loop.&lt;br /&gt;&lt;br /&gt;156)    Is there any difference between the two declarations,&lt;br /&gt;1.    int foo(int *arr[]) and&lt;br /&gt;2.    int foo(int *arr[2])&lt;br /&gt;Answer:&lt;br /&gt;No&lt;br /&gt;Explanation:&lt;br /&gt;Functions can only pass pointers and not arrays. The numbers that are allowed inside the [] is just for more readability. So there is no difference between the two declarations.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;157)    What is the subtle error in the following code segment?&lt;br /&gt;void fun(int n, int arr[])&lt;br /&gt;{&lt;br /&gt;int *p=0;&lt;br /&gt;int i=0;&lt;br /&gt;while(i++&lt;n)&lt;br /&gt;        p = &amp;amp;arr[i];&lt;br /&gt;*p = 0;&lt;br /&gt;}&lt;br /&gt;Answer &amp;amp; Explanation:&lt;br /&gt;If the body of the loop never executes p is assigned no address. So p remains NULL where *p =0 may result in problem (may rise to runtime error “NULL pointer assignment” and terminate the program).    &lt;br /&gt;&lt;br /&gt;158)    What is wrong with the following code? &lt;br /&gt;int *foo()&lt;br /&gt;{&lt;br /&gt;int *s = malloc(sizeof(int)100);&lt;br /&gt;assert(s != NULL);&lt;br /&gt;return s;&lt;br /&gt;}&lt;br /&gt;Answer &amp;amp; Explanation:&lt;br /&gt;assert macro should be used for debugging and finding out bugs. The check s != NULL is for error/exception handling and for that assert shouldn’t be used. A plain if and the corresponding remedy statement has to be given.&lt;br /&gt;&lt;br /&gt;159)    What is the hidden bug with the following  statement?&lt;br /&gt;assert(val++ != 0);&lt;br /&gt;Answer &amp;amp; Explanation:&lt;br /&gt;Assert macro is used for debugging and removed in release version. In assert, the experssion involves side-effects. So the behavior of the code becomes different in case of debug version and the release version thus leading to a subtle bug.&lt;br /&gt;Rule to Remember:&lt;br /&gt;Don’t use expressions that have side-effects in assert statements. &lt;br /&gt;&lt;br /&gt;160)    void main()&lt;br /&gt;{&lt;br /&gt;int *i = 0x400;  // i points to the address 400&lt;br /&gt;*i = 0;        // set the value of memory location pointed by i;&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;Undefined behavior&lt;br /&gt;Explanation:&lt;br /&gt;The second statement results in undefined behavior because it points to some location whose value may not be available for modification.  This type of pointer in which the non-availability of the implementation of the referenced location is known as 'incomplete type'.&lt;br /&gt;&lt;br /&gt;161)    #define assert(cond) if(!(cond)) \&lt;br /&gt;  (fprintf(stderr, "assertion failed: %s, file %s, line %d \n",#cond,\&lt;br /&gt; __FILE__,__LINE__), abort())&lt;br /&gt;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int i = 10;&lt;br /&gt;if(i==0)   &lt;br /&gt;    assert(i &lt; 100);&lt;br /&gt;else&lt;br /&gt;    printf("This statement becomes else for if in assert macro");&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;No output&lt;br /&gt;Explanation:&lt;br /&gt;The else part in which the printf is there becomes the else for if in the assert macro. Hence nothing is printed.&lt;br /&gt;The solution is to use conditional operator instead of if statement,&lt;br /&gt;#define assert(cond) ((cond)?(0): (fprintf (stderr, "assertion failed: \ %s, file %s, line %d \n",#cond, __FILE__,__LINE__), abort()))&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;However this problem of “matching with nearest else” cannot be solved by the usual method of placing the if statement inside a block like this,&lt;br /&gt;#define assert(cond) { \&lt;br /&gt;if(!(cond)) \&lt;br /&gt;  (fprintf(stderr, "assertion failed: %s, file %s, line %d \n",#cond,\&lt;br /&gt; __FILE__,__LINE__), abort()) \&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;162)    Is the following code legal?&lt;br /&gt;struct a&lt;br /&gt;    {&lt;br /&gt;int x;&lt;br /&gt; struct a b;&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;        No&lt;br /&gt;Explanation:&lt;br /&gt;Is it not legal for a structure to contain a member that is of the same&lt;br /&gt;type as in this case. Because this will cause the structure declaration to be recursive without end.&lt;br /&gt;&lt;br /&gt;163)    Is the following code legal?&lt;br /&gt;struct a&lt;br /&gt;    {&lt;br /&gt;int x;&lt;br /&gt;            struct a *b;&lt;br /&gt;    }&lt;br /&gt;Answer:&lt;br /&gt;Yes.&lt;br /&gt;Explanation:&lt;br /&gt;*b is a pointer to type struct a and so is legal. The compiler knows, the size of the pointer to a structure even before the size of the structure&lt;br /&gt;is determined(as you know the pointer to any type is of same size). This type of structures is known as ‘self-referencing’ structure.&lt;br /&gt;&lt;br /&gt;164)    Is the following code legal?&lt;br /&gt;typedef struct a&lt;br /&gt;    {&lt;br /&gt;int x;&lt;br /&gt; aType *b;&lt;br /&gt;    }aType&lt;br /&gt;Answer:&lt;br /&gt;        No&lt;br /&gt;Explanation:&lt;br /&gt;The typename aType is not known at the point of declaring the structure (forward references are not made for typedefs).&lt;br /&gt;&lt;br /&gt;165)    Is the following code legal?&lt;br /&gt;typedef struct a aType;&lt;br /&gt;struct a&lt;br /&gt;{&lt;br /&gt;int x;&lt;br /&gt;aType *b;&lt;br /&gt;};&lt;br /&gt;Answer:&lt;br /&gt;    Yes&lt;br /&gt;Explanation:&lt;br /&gt;The typename aType is known at the point of declaring the structure, because it is already typedefined.&lt;br /&gt;&lt;br /&gt;166)    Is the following code legal?&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;typedef struct a aType;&lt;br /&gt;aType someVariable;&lt;br /&gt;struct a&lt;br /&gt;{&lt;br /&gt;int x;&lt;br /&gt;      aType *b;&lt;br /&gt;              };&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        No&lt;br /&gt;Explanation:&lt;br /&gt;        When the declaration,&lt;br /&gt;typedef struct a aType;&lt;br /&gt;is encountered body of struct a is not known. This is known as ‘incomplete types’.&lt;br /&gt;&lt;br /&gt;167)    void main()&lt;br /&gt;{&lt;br /&gt;printf(“sizeof (void *) = %d \n“, sizeof( void *));&lt;br /&gt;    printf(“sizeof (int *)    = %d \n”, sizeof(int *));&lt;br /&gt;    printf(“sizeof (double *)  = %d \n”, sizeof(double *));&lt;br /&gt;    printf(“sizeof(struct unknown *) = %d \n”, sizeof(struct unknown *));&lt;br /&gt;    }&lt;br /&gt;Answer    :&lt;br /&gt;sizeof (void *) = 2&lt;br /&gt;sizeof (int *)    = 2&lt;br /&gt;sizeof (double *)  =  2&lt;br /&gt;sizeof(struct unknown *) =  2&lt;br /&gt;Explanation:&lt;br /&gt;The pointer to any type is of same size.&lt;br /&gt;&lt;br /&gt;168)    char inputString[100] = {0};&lt;br /&gt;To get string input from the keyboard which one of the following is better?&lt;br /&gt;    1) gets(inputString)&lt;br /&gt;    2) fgets(inputString, sizeof(inputString), fp)&lt;br /&gt;Answer &amp;amp; Explanation:&lt;br /&gt;The second one is better because gets(inputString) doesn't know the size of the string passed and so, if a very big input (here, more than 100 chars) the charactes will be written past the input string. When fgets is used with stdin performs the same operation as gets but is safe.&lt;br /&gt;&lt;br /&gt;169)    Which version do you prefer of the following two,&lt;br /&gt;1) printf(“%s”,str);     // or the more curt one&lt;br /&gt;2) printf(str);&lt;br /&gt;Answer &amp;amp; Explanation:&lt;br /&gt;Prefer the first one. If the str contains any  format characters like %d then it will result in a subtle bug.&lt;br /&gt;&lt;br /&gt;170)    void main()&lt;br /&gt;{&lt;br /&gt;int i=10, j=2;&lt;br /&gt;int *ip= &amp;amp;i, *jp = &amp;j;&lt;br /&gt;int k = *ip/*jp;&lt;br /&gt;printf(“%d”,k);&lt;br /&gt;}   &lt;br /&gt;Answer:&lt;br /&gt;Compiler Error: “Unexpected end of file in comment started in line 5”.&lt;br /&gt;Explanation:&lt;br /&gt;The programmer intended to divide two integers, but by the “maximum munch” rule, the compiler treats the operator sequence / and * as /* which happens to be the starting of comment. To force what is intended by the programmer,&lt;br /&gt;int k = *ip/ *jp;   &lt;br /&gt;// give space explicity separating / and *&lt;br /&gt;//or&lt;br /&gt;int k = *ip/(*jp);&lt;br /&gt;// put braces to force the intention &lt;br /&gt;will solve the problem. &lt;br /&gt;&lt;br /&gt;171)    void main()&lt;br /&gt;{&lt;br /&gt;char ch;&lt;br /&gt;for(ch=0;ch&lt;=127;ch++)&lt;br /&gt;printf(“%c   %d \n“, ch, ch);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;    Implementaion dependent&lt;br /&gt;Explanation:&lt;br /&gt;The char type may be signed or unsigned by default. If it is signed then ch++ is executed after ch reaches 127 and rotates back to -128. Thus ch is always smaller than 127.&lt;br /&gt;&lt;br /&gt;172)    Is this code legal?&lt;br /&gt;int *ptr;&lt;br /&gt;ptr = (int *) 0x400; Answer:&lt;br /&gt;        Yes&lt;br /&gt;Explanation:&lt;br /&gt;The pointer ptr will point at the integer in the memory location 0x400.&lt;br /&gt;173)    main()&lt;br /&gt;{&lt;br /&gt;char a[4]="HELLO";&lt;br /&gt;printf("%s",a);&lt;br /&gt;}   &lt;br /&gt;Answer:&lt;br /&gt;        Compiler error: Too many initializers&lt;br /&gt;Explanation:&lt;br /&gt;The array a is of size 4 but the string constant requires 6 bytes to get stored.&lt;br /&gt;&lt;br /&gt;174)    main()&lt;br /&gt;{   &lt;br /&gt;char a[4]="HELL";&lt;br /&gt;printf("%s",a);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        HELL%@!~@!@???@~~!&lt;br /&gt;Explanation:&lt;br /&gt;The character array has the memory just enough to hold the string “HELL” and doesnt have enough space to store the terminating null character. So it prints the HELL correctly and continues to print garbage values till it     accidentally comes across a NULL character.&lt;br /&gt;&lt;br /&gt;175)    main()&lt;br /&gt;{&lt;br /&gt;        int a=10,*j;&lt;br /&gt;    void *k;&lt;br /&gt;        j=k=&amp;a;&lt;br /&gt;      j++; &lt;br /&gt;        k++;&lt;br /&gt;      printf("\n %u %u ",j,k);&lt;br /&gt;}&lt;br /&gt;Answer:&lt;br /&gt;        Compiler error: Cannot increment a void pointer&lt;br /&gt;Explanation:&lt;br /&gt;Void pointers are generic pointers and they can be used only when the type is not known and as an intermediate address storage type. No pointer arithmetic can be done on it and you cannot apply indirection operator (*) on void pointers.&lt;br /&gt;&lt;br /&gt;176)    main()&lt;br /&gt;        {&lt;br /&gt;            extern int i;&lt;br /&gt;        {     int i=20;&lt;br /&gt;         {    &lt;br /&gt;           const volatile unsigned i=30; printf("%d",i);&lt;br /&gt;         }&lt;br /&gt;          printf("%d",i);&lt;br /&gt;        }&lt;br /&gt;          printf("%d",i);&lt;br /&gt;    }   &lt;br /&gt;    int i;&lt;br /&gt;&lt;br /&gt;177)    Printf can be implemented by using  __________ list.&lt;br /&gt;Answer:&lt;br /&gt;        Variable length argument lists&lt;br /&gt;178) char *someFun()&lt;br /&gt;        {&lt;br /&gt;        char *temp = “string constant";&lt;br /&gt;        return temp;&lt;br /&gt;        }&lt;br /&gt;        int main()&lt;br /&gt;        {&lt;br /&gt;        puts(someFun());&lt;br /&gt;        }&lt;br /&gt;Answer:&lt;br /&gt;        string constant&lt;br /&gt;Explanation:&lt;br /&gt;        The program suffers no problem and gives the output correctly because the character constants are stored in code/data area and not allocated in stack, so this doesn’t lead to dangling pointers.&lt;br /&gt;&lt;br /&gt;179)     char *someFun1()&lt;br /&gt;        {&lt;br /&gt;        char temp[ ] = “string";&lt;br /&gt;        return temp;&lt;br /&gt;        }&lt;br /&gt;        char *someFun2()&lt;br /&gt;        {&lt;br /&gt;        char temp[ ] = {‘s’, ‘t’,’r’,’i’,’n’,’g’};&lt;br /&gt;        return temp;&lt;br /&gt;        }&lt;br /&gt;        int main()&lt;br /&gt;        {&lt;br /&gt;        puts(someFun1());&lt;br /&gt;        puts(someFun2());&lt;br /&gt;        }&lt;br /&gt;Answer:&lt;br /&gt;    Garbage values.&lt;br /&gt;Explanation:&lt;br /&gt;    Both the functions suffer from the problem of dangling pointers. In someFun1() temp is a character array and so the space for it is allocated in heap and is initialized with character string “string”. This is created dynamically as the function is called, so is also deleted dynamically on exiting the function so the string data is not available in the calling function main() leading to print some garbage values. The function someFun2() also suffers from the same problem but the problem can be easily identified in this case.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-2712511431718624182?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/2712511431718624182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/c-aptitude.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2712511431718624182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2712511431718624182'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/c-aptitude.html' title='C APTITUDE'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-2468977825203507071</id><published>2009-03-04T07:06:00.000-08:00</published><updated>2009-03-04T07:07:34.058-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NETWORKING APTITUDE'/><title type='text'>NETWORKING APTITUDE</title><content type='html'>1.    What are the two types of transmission technology available?&lt;br /&gt;    (i) Broadcast     and     (ii) point-to-point&lt;br /&gt;&lt;br /&gt;2.    What is subnet?&lt;br /&gt;    A generic term for section of a large networks usually separated by a bridge or router.&lt;br /&gt;&lt;br /&gt;3.    Difference between the communication and transmission.&lt;br /&gt;    Transmission is a physical movement of information and concern issues like bit polarity, synchronisation, clock etc.&lt;br /&gt;    Communication means the meaning full exchange of information between two communication media.&lt;br /&gt;&lt;br /&gt;4.    What are the possible ways of data exchange?&lt;br /&gt;    (i) Simplex    (ii) Half-duplex    (iii) Full-duplex.&lt;br /&gt;&lt;br /&gt;5.    What is SAP?&lt;br /&gt;    Series of interface points that allow other computers to communicate with the other layers of network protocol stack.&lt;br /&gt;&lt;br /&gt;6.    What do you meant by "triple X" in Networks?   &lt;br /&gt;The function of PAD (Packet Assembler Disassembler) is described in a document known as X.3. The standard protocol has been defined between the terminal and the PAD, called X.28; another standard protocol exists between hte PAD and the network, called X.29. Together, these three recommendations are often called "triple X"&lt;br /&gt;&lt;br /&gt;7.    What is frame relay, in which layer it comes?&lt;br /&gt;Frame relay is a packet switching technology. It will operate in the data link layer.&lt;br /&gt;   &lt;br /&gt;8.    What is terminal emulation, in which layer it comes?&lt;br /&gt;    Telnet is also called as terminal emulation. It belongs to application layer.&lt;br /&gt;&lt;br /&gt;9.    What is Beaconing?&lt;br /&gt;    The process that allows a network to self-repair networks problems. The stations on the network notify the other stations on the ring when they are not receiving the transmissions. Beaconing is used in Token ring and FDDI networks.&lt;br /&gt;&lt;br /&gt;10.    What is redirector?&lt;br /&gt;    Redirector is software that intercepts file or prints I/O requests and translates them into network requests. This comes under presentation layer.&lt;br /&gt;&lt;br /&gt;11.    What is NETBIOS and NETBEUI?&lt;br /&gt;    NETBIOS is a programming interface that allows I/O requests to be sent to and received from a remote computer and it hides the networking hardware from applications.&lt;br /&gt;    NETBEUI is NetBIOS extended user interface. A transport protocol designed by microsoft and IBM for the use on small subnets.&lt;br /&gt;&lt;br /&gt;12.    What is RAID?&lt;br /&gt;    A method for providing fault tolerance by using multiple hard disk drives.&lt;br /&gt;&lt;br /&gt;13.    What is passive topology?&lt;br /&gt;    When the computers on the network simply listen and receive the signal, they are referred to as passive because they don’t amplify the signal in any way. Example for passive topology - linear bus.&lt;br /&gt;&lt;br /&gt;14.    What is Brouter?&lt;br /&gt;    Hybrid devices that combine the features of both bridges and routers.&lt;br /&gt;&lt;br /&gt;15.    What is cladding?&lt;br /&gt;    A layer of a glass surrounding the center fiber of glass inside a fiber-optic cable.&lt;br /&gt;&lt;br /&gt;16.    What is point-to-point protocol&lt;br /&gt;    A communications protocol used to connect computers to remote networking services including Internet service providers.&lt;br /&gt;&lt;br /&gt;17.    How Gateway is different from Routers?&lt;br /&gt;    A gateway operates at the upper levels of the OSI model and translates information between two completely different network architectures or data formats&lt;br /&gt;&lt;br /&gt;18.    What is attenuation?&lt;br /&gt;    The degeneration of a signal over distance on a network cable is called attenuation.&lt;br /&gt;&lt;br /&gt;19.    What is MAC address?&lt;br /&gt;    The address for a device as it is identified at the Media Access Control (MAC) layer in the network architecture. MAC address is usually stored in ROM on the network adapter card and is unique.&lt;br /&gt;&lt;br /&gt;20.    Difference between bit rate and baud rate.&lt;br /&gt;     Bit rate is the number of bits transmitted during one second whereas baud rate refers to the number of signal units per second that are required to represent those bits.&lt;br /&gt;baud rate  = bit rate / N&lt;br /&gt;where N is no-of-bits represented by each signal shift.&lt;br /&gt;&lt;br /&gt;21.    What is Bandwidth?&lt;br /&gt;      Every line has an upper limit and a lower limit  on the frequency of signals it can carry. This limited range is called the bandwidth.&lt;br /&gt;&lt;br /&gt;22.    What are the types of Transmission media?&lt;br /&gt;Signals are usually transmitted over some transmission media that are broadly classified in to two categories.&lt;br /&gt;a)    Guided Media:&lt;br /&gt;These are those that provide a conduit from one device to another that include twisted-pair, coaxial cable and fiber-optic cable. A signal traveling along any of these media is directed and is contained by the physical limits of the medium. Twisted-pair and coaxial cable use metallic that accept and transport signals in the form of electrical current. Optical fiber is a glass or plastic cable that accepts and transports signals in the form of light.&lt;br /&gt;           b) Unguided Media:&lt;br /&gt;This is the wireless media that transport electromagnetic waves without using a physical conductor. Signals are broadcast either through air. This is done through radio communication, satellite communication and cellular telephony.&lt;br /&gt;&lt;br /&gt;23.    What is Project 802?&lt;br /&gt;It is a project started by IEEE to set standards to enable intercommunication between equipment from a variety of manufacturers. It is a way for specifying functions of the physical layer, the data link layer and to some extent the network layer to allow for interconnectivity of major LAN&lt;br /&gt;protocols.&lt;br /&gt;It consists of the following:&lt;br /&gt;    802.1 is an internetworking standard for compatibility of different LANs and MANs across protocols.&lt;br /&gt;    802.2 Logical link control (LLC) is the upper sublayer of the data link layer which is non-architecture-specific, that is remains the same for all IEEE-defined LANs.&lt;br /&gt;    Media access control (MAC) is the lower sublayer of the data link layer that contains some distinct modules each carrying proprietary information specific to the LAN product being used. The modules are Ethernet LAN (802.3), Token ring LAN (802.4), Token bus LAN (802.5).&lt;br /&gt;    802.6 is distributed queue dual bus (DQDB) designed to be used in MANs.&lt;br /&gt;&lt;br /&gt;24.    What is Protocol Data Unit?&lt;br /&gt;The data unit in the LLC level is called the protocol data unit (PDU). The PDU contains of four fields a destination service access point (DSAP), a source service access point (SSAP), a control field and an information field. DSAP, SSAP are addresses used by the LLC to identify the protocol stacks on the receiving and sending machines that are generating and using the data. The control field specifies whether the PDU frame is a information frame (I - frame) or a supervisory frame (S - frame) or a unnumbered frame (U - frame).&lt;br /&gt;&lt;br /&gt;25.    What are the different type of networking / internetworking devices?&lt;br /&gt;Repeater:&lt;br /&gt;Also called a regenerator, it is an electronic device that operates only at physical layer. It receives the signal in the network before it becomes weak, regenerates the original bit pattern and puts the refreshed copy back in to the link.&lt;br /&gt;Bridges:&lt;br /&gt;These operate both in the physical and data link layers of LANs of same type. They divide a larger network in to smaller segments. They contain logic that allow them to keep the traffic for each segment separate and thus are repeaters that relay a frame only the side of the segment containing the intended recipent and control congestion.&lt;br /&gt;Routers:&lt;br /&gt;They relay packets among multiple interconnected networks (i.e. LANs of different type). They operate in the physical, data link and network layers. They contain software that enable them to determine which of the several possible paths is the best for a particular transmission.&lt;br /&gt;Gateways:&lt;br /&gt;They relay packets among networks that have different protocols (e.g. between a LAN and a WAN). They accept a packet formatted for one protocol and convert it to a packet formatted for another protocol before forwarding it. They operate in all seven layers of the OSI model.&lt;br /&gt;    &lt;br /&gt;26.    What is ICMP?&lt;br /&gt;ICMP is Internet Control Message Protocol, a network layer protocol of the TCP/IP suite used by hosts and gateways to send notification of datagram problems back to the sender. It uses the echo test / reply to test whether a destination is reachable and responding. It also handles both control and error messages.&lt;br /&gt;&lt;br /&gt;27.    What are the data units at different layers of the TCP / IP protocol suite?&lt;br /&gt;The data unit created at the application layer is called a message, at the transport layer the data unit created is called either a segment or an user datagram, at the network layer the data unit created is called the datagram, at the data link layer the datagram is encapsulated in to a frame and finally transmitted as signals along the transmission media.&lt;br /&gt;&lt;br /&gt;28.    What is difference between ARP and RARP?&lt;br /&gt;The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a router to find the physical address of another host on its network by sending a ARP query packet that includes the IP address of the receiver.&lt;br /&gt;The reverse address resolution protocol (RARP) allows a host to discover its Internet address when it knows only its physical address.&lt;br /&gt;&lt;br /&gt;29.    What is the minimum and maximum length of the header in the TCP segment and IP datagram?&lt;br /&gt;          The header should have a minimum length of 20 bytes and can have a maximum length of 60 bytes.  &lt;br /&gt;                    &lt;br /&gt;30.    What is the range of addresses in the classes of internet addresses?&lt;br /&gt;Class A    0.0.0.0        -    127.255.255.255&lt;br /&gt;Class B    128.0.0.0    -    191.255.255.255&lt;br /&gt;Class C    192.0.0.0    -    223.255.255.255&lt;br /&gt;Class D    224.0.0.0    -     239.255.255.255&lt;br /&gt;Class E    240.0.0.0    -    247.255.255.255   &lt;br /&gt;&lt;br /&gt;31.    What is the difference between TFTP and FTP application layer protocols?&lt;br /&gt;    The Trivial File Transfer Protocol (TFTP) allows a local host to obtain files from a remote host but does not provide reliability or security. It uses the fundamental packet delivery services offered by UDP.&lt;br /&gt;            The File Transfer Protocol (FTP) is the standard mechanism provided by TCP / IP for copying a file from one host to another. It uses the services offer by TCP and so is reliable and secure. It establishes two connections (virtual circuits) between the hosts, one for data transfer and another for control information.&lt;br /&gt;&lt;br /&gt;32.    What are major types of networks and explain?&lt;br /&gt;    Server-based network&lt;br /&gt;    Peer-to-peer network&lt;br /&gt;Peer-to-peer network, computers can act as both servers sharing resources and as clients using the resources.&lt;br /&gt;Server-based networks provide centralized control of network resources and rely on server computers to provide security and network administration&lt;br /&gt;&lt;br /&gt;33.    What are the important topologies for networks?&lt;br /&gt;    BUS topology:&lt;br /&gt;In this each computer is directly connected to primary network cable in a single line.&lt;br /&gt;Advantages:&lt;br /&gt;         Inexpensive, easy to install, simple to understand, easy to extend.&lt;br /&gt;&lt;br /&gt;    STAR topology:&lt;br /&gt;             In this all computers are connected using a central hub.&lt;br /&gt;Advantages:&lt;br /&gt;              Can be inexpensive, easy to install and reconfigure and easy to trouble shoot physical problems.&lt;br /&gt;&lt;br /&gt;    RING topology:&lt;br /&gt;                In this all computers are connected in loop.&lt;br /&gt;Advantages:&lt;br /&gt;               All computers have equal access to network media, installation can be simple, and signal does not degrade as much as in other topologies because each computer regenerates it.&lt;br /&gt;&lt;br /&gt;34.    What is mesh network?&lt;br /&gt;A network in which there are multiple network links between computers to provide multiple paths for data to travel.&lt;br /&gt;&lt;br /&gt;35.    What is difference between baseband and broadband transmission?&lt;br /&gt;In a baseband transmission, the entire bandwidth of the cable is consumed by a single signal. In broadband transmission, signals are sent on multiple frequencies, allowing multiple signals to be sent simultaneously.&lt;br /&gt;&lt;br /&gt;36.    Explain 5-4-3 rule?&lt;br /&gt;In a Ethernet network, between any two points on the network ,there can be no more than five network segments or four repeaters, and of those five segments only three of segments can be populated.&lt;br /&gt;&lt;br /&gt;37.    What MAU?&lt;br /&gt;In token Ring , hub is called Multistation Access Unit(MAU).&lt;br /&gt;&lt;br /&gt;38.    What is the difference between routable and non- routable protocols?&lt;br /&gt;Routable protocols can work with a router and can be used to build large networks. Non-Routable protocols are designed to work on small, local networks and cannot be used with a router&lt;br /&gt;&lt;br /&gt;39.    Why should you care about the OSI Reference Model?&lt;br /&gt;It provides a framework for discussing network operations and design.&lt;br /&gt;&lt;br /&gt;40.    What is logical link control?&lt;br /&gt;One of two sublayers of the data link layer of OSI reference model, as defined by the IEEE 802 standard. This sublayer is responsible for maintaining the link between computers when they are sending data across the physical network connection.&lt;br /&gt;&lt;br /&gt;41.    What is virtual channel?&lt;br /&gt;Virtual channel is normally a connection from one source to one destination, although multicast connections are also permitted. The other name for virtual channel is virtual circuit.&lt;br /&gt;&lt;br /&gt;42.    What is virtual path?&lt;br /&gt;Along any transmission path from a given source to a given destination, a group of virtual circuits can be grouped together into what is called path.&lt;br /&gt;&lt;br /&gt;43.    What is packet filter?&lt;br /&gt;Packet filter is a standard router equipped with some extra functionality. The extra functionality allows every incoming or outgoing packet to be inspected. Packets meeting some criterion are forwarded normally. Those that fail the test are dropped.&lt;br /&gt;&lt;br /&gt;44.    What is traffic shaping?&lt;br /&gt;One of the main causes of congestion is that traffic is often busy. If hosts could be made to transmit at a uniform rate, congestion would be less common. Another open loop method to help manage congestion is forcing the packet to be transmitted at a more predictable rate. This is called traffic shaping.&lt;br /&gt;&lt;br /&gt;45.    What is multicast routing?&lt;br /&gt;Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing.&lt;br /&gt;&lt;br /&gt;46.    What is region?&lt;br /&gt;When hierarchical routing is used, the routers are divided into what we will call regions, with each router knowing all the details about how to route packets to destinations within its own region, but knowing nothing about the internal structure of other regions.&lt;br /&gt;&lt;br /&gt;47.    What is silly window syndrome?&lt;br /&gt;It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time.&lt;br /&gt;&lt;br /&gt;48.    What are Digrams and Trigrams?&lt;br /&gt;The most common two letter combinations are called as digrams. e.g. th, in, er, re and an. The most common three letter combinations are called as trigrams. e.g. the, ing, and, and ion.&lt;br /&gt;&lt;br /&gt;49.    Expand IDEA.&lt;br /&gt;IDEA stands for International Data Encryption Algorithm.&lt;br /&gt;&lt;br /&gt;50.    What is wide-mouth frog?&lt;br /&gt;Wide-mouth frog is the simplest known key distribution center (KDC) authentication protocol.&lt;br /&gt;&lt;br /&gt;51.    What is Mail Gateway?&lt;br /&gt;It is a system that performs a protocol translation between different electronic mail delivery protocols.&lt;br /&gt;&lt;br /&gt;52.    What is IGP (Interior Gateway Protocol)?&lt;br /&gt;It is any routing protocol used within an autonomous system.&lt;br /&gt;&lt;br /&gt;53.    What is EGP (Exterior Gateway Protocol)?&lt;br /&gt;It is the protocol the routers in neighboring autonomous systems use to identify the set of networks that can be reached within or via each autonomous system.&lt;br /&gt;&lt;br /&gt;54.    What is autonomous system?&lt;br /&gt;It is a collection of routers under the control of a single administrative authority and that uses a common Interior Gateway Protocol.&lt;br /&gt;&lt;br /&gt;55.    What is BGP (Border Gateway Protocol)?&lt;br /&gt;It is a protocol used to advertise the set of networks that can be reached with in an autonomous system. BGP enables this information to be shared with the autonomous system. This is newer than EGP (Exterior Gateway Protocol).&lt;br /&gt;&lt;br /&gt;56.    What is Gateway-to-Gateway protocol?&lt;br /&gt;It is a protocol formerly used to exchange routing information between Internet core routers.&lt;br /&gt;&lt;br /&gt;57.    What is NVT (Network Virtual Terminal)?&lt;br /&gt;It is a set of rules defining a very simple virtual terminal interaction. The NVT is used in the start of a Telnet session.&lt;br /&gt;&lt;br /&gt;58.    What is a Multi-homed Host?&lt;br /&gt;It is a host that has a multiple network interfaces and that requires multiple IP addresses is called as a Multi-homed Host.&lt;br /&gt;&lt;br /&gt;59.    What is Kerberos?&lt;br /&gt;It is an authentication service developed at the Massachusetts Institute of Technology. Kerberos uses encryption to prevent intruders from discovering passwords and gaining unauthorized access to files.&lt;br /&gt;&lt;br /&gt;60.    What is OSPF?&lt;br /&gt;It is an Internet routing protocol that scales well, can route traffic along multiple paths, and uses knowledge of an Internet's topology to make accurate routing decisions.&lt;br /&gt;&lt;br /&gt;61.    What is Proxy ARP?&lt;br /&gt;It is using a router to answer ARP requests. This will be done when the originating host believes that a destination is local, when in fact is lies beyond router.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;62.    What is SLIP (Serial Line Interface Protocol)?&lt;br /&gt;It is a very simple protocol used for transmission of IP datagrams across a serial line.&lt;br /&gt;&lt;br /&gt;63.    What is RIP (Routing Information Protocol)?&lt;br /&gt;It is a simple protocol used to exchange information between the routers.&lt;br /&gt;&lt;br /&gt;64.    What is source route?&lt;br /&gt;It is a sequence of IP addresses identifying the route a datagram must follow. A source route may optionally be included in an IP datagram header.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-2468977825203507071?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/2468977825203507071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/networking-aptitude.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2468977825203507071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2468977825203507071'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/networking-aptitude.html' title='NETWORKING APTITUDE'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-2091840924060521961</id><published>2009-03-04T06:49:00.001-08:00</published><updated>2009-03-04T06:58:21.618-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ Aptitude'/><title type='text'>C++ Aptitude Questions</title><content type='html'>1. Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived object,. calling of that virtual method will result in which method being called? &lt;br /&gt;&lt;br /&gt;a. Base method&lt;br /&gt;b. Derived method..&lt;br /&gt;&lt;br /&gt;Ans. b&lt;br /&gt;&lt;br /&gt;2. For the following C program&lt;br /&gt;&lt;br /&gt;#define AREA(x)(3.14*x*x)&lt;br /&gt;main()&lt;br /&gt;{float r1=6.25,r2=2.5,a;&lt;br /&gt;a=AREA(r1);&lt;br /&gt;printf("\n Area of the circle is %f", a);&lt;br /&gt;a=AREA(r2);&lt;br /&gt;printf("\n Area of the circle is %f", a);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;What is the output?&lt;br /&gt;&lt;br /&gt;Ans. Area of the circle is 122.656250&lt;br /&gt;        Area of the circle is  19.625000&lt;br /&gt;&lt;br /&gt;3. What do the following statements indicate. Explain.&lt;br /&gt;•    int(*p)[10]&lt;br /&gt;•    int*f()&lt;br /&gt;•    int(*pf)()&lt;br /&gt;•    int*p[10]&lt;br /&gt;&lt;br /&gt;Refer to:&lt;br /&gt;-- Kernighan &amp;amp; Ritchie page no. 122&lt;br /&gt;-- Schaum series page no. 323&lt;br /&gt;&lt;br /&gt;4.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int d=5;&lt;br /&gt;printf("%f",d);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: Undefined&lt;br /&gt;&lt;br /&gt;5.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int i;&lt;br /&gt;for(i=1;i&lt;4,i++)&lt;br /&gt;switch(i)&lt;br /&gt;case 1: printf("%d",i);break;&lt;br /&gt;{&lt;br /&gt;case 2:printf("%d",i);break;&lt;br /&gt;case 3:printf("%d",i);break;&lt;br /&gt;}&lt;br /&gt;switch(i) case 4:printf("%d",i);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: 1,2,3,4&lt;br /&gt;&lt;br /&gt;6.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;char *s="\12345s\n";&lt;br /&gt;printf("%d",sizeof(s));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: 6&lt;br /&gt;&lt;br /&gt;7.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;unsigned i=1; /* unsigned char k= -1 =&gt; k=255; */&lt;br /&gt;signed j=-1; /* char k= -1 =&gt; k=65535 */&lt;br /&gt;/* unsigned or signed int k= -1 =&gt;k=65535 */&lt;br /&gt;if(i&lt;j)&lt;br /&gt;printf("less");&lt;br /&gt;else&lt;br /&gt;if(i&gt;j)&lt;br /&gt;printf("greater");&lt;br /&gt;else&lt;br /&gt;if(i==j)&lt;br /&gt;printf("equal");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: less&lt;br /&gt;&lt;br /&gt;8.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;float j;&lt;br /&gt;j=1000*1000;&lt;br /&gt;printf("%f",j);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;1. 1000000&lt;br /&gt;2. Overflow&lt;br /&gt;3. Error&lt;br /&gt;4. None&lt;br /&gt;&lt;br /&gt;Ans: 4&lt;br /&gt;&lt;br /&gt;9.  How do you declare an array of N pointers to functions returning&lt;br /&gt;     pointers to functions returning pointers to characters?&lt;br /&gt;&lt;br /&gt;Ans: The first part of this question can be answered in at least&lt;br /&gt;        three ways:&lt;br /&gt;&lt;br /&gt;    1. char *(*(*a[N])())();&lt;br /&gt;&lt;br /&gt;    2. Build the declaration up incrementally, using typedefs:&lt;br /&gt;&lt;br /&gt;        typedef char *pc;    /* pointer to char */&lt;br /&gt;        typedef pc fpc();    /* function returning pointer to char */&lt;br /&gt;        typedef fpc *pfpc;    /* pointer to above */&lt;br /&gt;        typedef pfpc fpfpc();    /* function returning... */&lt;br /&gt;        typedef fpfpc *pfpfpc;    /* pointer to... */&lt;br /&gt;        pfpfpc a[N];         /* array of... */&lt;br /&gt;&lt;br /&gt;    3. Use the cdecl program, which turns English into C and vice versa:&lt;br /&gt;&lt;br /&gt;        cdecl&gt; declare a as array of pointer to function returning pointer to function returning pointer to char        char *(*(*a[])())()&lt;br /&gt;&lt;br /&gt;    cdecl can also explain complicated declarations, help with casts, and indicate which set of parentheses the arguments  go in (for complicated function definitions, like the one above).&lt;br /&gt;    Any good book on C should explain how to read these complicated C declarations "inside out" to understand them ("declaration mimics use").&lt;br /&gt;    The pointer-to-function declarations in the examples above have not included parameter type information. When the parameters have complicated types, declarations can *really* get messy.&lt;br /&gt;    (Modern versions of cdecl can help here, too.)&lt;br /&gt;&lt;br /&gt;10. A structure pointer is defined of the type time . With 3 fields min,sec hours having pointers to integers.    Write the way to initialize the 2nd element to 10.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11. In the above question an array of pointers is declared.Write the statement to initialize the 3rd element of the 2 element to 10&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;12.&lt;br /&gt;int f()&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;f(1);&lt;br /&gt;f(1,2);&lt;br /&gt;f(1,2,3);&lt;br /&gt;}&lt;br /&gt;f(int i,int j,int k)&lt;br /&gt;{&lt;br /&gt;printf("%d %d %d",i,j,k);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;What are the number of syntax errors in the above?&lt;br /&gt;&lt;br /&gt;Ans: None.&lt;br /&gt;&lt;br /&gt;13.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int i=7;&lt;br /&gt;printf("%d",i++*i++);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: 56&lt;br /&gt;&lt;br /&gt;14.&lt;br /&gt;#define one 0&lt;br /&gt;#ifdef one&lt;br /&gt;printf("one is defined ");&lt;br /&gt;#ifndef one&lt;br /&gt;printf("one is not defined ");&lt;br /&gt;&lt;br /&gt;Ans: "one is defined"&lt;br /&gt;&lt;br /&gt;15.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int count=10,*temp,sum=0;&lt;br /&gt;temp=&amp;count;&lt;br /&gt;*temp=20;&lt;br /&gt;temp=&amp;sum;&lt;br /&gt;*temp=count;&lt;br /&gt;printf("%d %d %d ",count,*temp,sum);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: 20 20 20&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;16. what is alloca()&lt;br /&gt;Ans : It allocates and frees memory after use/after getting out of scope&lt;br /&gt;&lt;br /&gt;17.&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;static i=3;&lt;br /&gt;printf("%d",i--);&lt;br /&gt;return i&gt;0 ? main():0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: 321&lt;br /&gt;&lt;br /&gt;18.&lt;br /&gt;char *foo()&lt;br /&gt;{&lt;br /&gt;char result[100]);&lt;br /&gt;strcpy(result,"anything is good");&lt;br /&gt;return(result);&lt;br /&gt;}&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;char *j;&lt;br /&gt;j=foo()&lt;br /&gt;printf("%s",j);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: anything is good.&lt;br /&gt;&lt;br /&gt;19.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;char *s[]={ "dharma","hewlett-packard","siemens","ibm"};&lt;br /&gt;char **p;&lt;br /&gt;p=s;&lt;br /&gt;printf("%s",++*p);&lt;br /&gt;printf("%s",*p++);&lt;br /&gt;printf("%s",++*p);&lt;br /&gt;}&lt;br /&gt;Ans: "harma" (p-&gt;add(dharma) &amp;amp;&amp;amp; (*p)-&gt;harma)&lt;br /&gt;"harma" (after printing, p-&gt;add(hewlett-packard) &amp;amp;&amp;amp;(*p)-&gt;harma)&lt;br /&gt;"ewlett-packard"&lt;br /&gt;20. Output of the following program is&lt;br /&gt;main()&lt;br /&gt;{int i=0;&lt;br /&gt;for(i=0;i&lt;20;i++)&lt;br /&gt;{switch(i)&lt;br /&gt;case 0:i+=5;&lt;br /&gt;case 1:i+=2;&lt;br /&gt;case 5:i+=5;&lt;br /&gt;default i+=4;&lt;br /&gt;break;}&lt;br /&gt;printf("%d,",i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;a) 0,5,9,13,17&lt;br /&gt;b) 5,9,13,17&lt;br /&gt;c) 12,17,22&lt;br /&gt;d) 16,21&lt;br /&gt;e) Syntax error&lt;br /&gt;Ans. (d)&lt;br /&gt;21. What is the ouptut in the following program&lt;br /&gt;main()&lt;br /&gt;{char c=-64;&lt;br /&gt;int i=-32&lt;br /&gt;unsigned int u =-16;&lt;br /&gt;if(c&gt;i)&lt;br /&gt;{printf("pass1,");&lt;br /&gt;if(c&lt;u)&lt;br /&gt;printf("pass2");&lt;br /&gt;else&lt;br /&gt;printf("Fail2");&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;printf("Fail1);&lt;br /&gt;if(i&lt;u)&lt;br /&gt;printf("pass2");&lt;br /&gt;else&lt;br /&gt;printf("Fail2")&lt;br /&gt;}&lt;br /&gt;a) Pass1,Pass2&lt;br /&gt;b) Pass1,Fail2&lt;br /&gt;c) Fail1,Pass2&lt;br /&gt;d) Fail1,Fail2&lt;br /&gt;e) None of these&lt;br /&gt;Ans. (c)&lt;br /&gt;22. What will the following program do?&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int i;&lt;br /&gt;char a[]="String";&lt;br /&gt;char *p="New Sring";&lt;br /&gt;char *Temp;&lt;br /&gt;Temp=a;&lt;br /&gt;a=malloc(strlen(p) + 1);&lt;br /&gt;strcpy(a,p); //Line number:9//&lt;br /&gt;p = malloc(strlen(Temp) + 1);&lt;br /&gt;strcpy(p,Temp);&lt;br /&gt;printf("(%s, %s)",a,p);&lt;br /&gt;free(p);&lt;br /&gt;free(a);&lt;br /&gt;} //Line number 15//&lt;br /&gt;a) Swap contents of p &amp;amp; a and print:(New string, string)&lt;br /&gt;b) Generate compilation error in line number 8&lt;br /&gt;c) Generate compilation error in line number 5&lt;br /&gt;d) Generate compilation error in line number 7&lt;br /&gt;e) Generate compilation error in line number 1&lt;br /&gt;Ans. (b)&lt;br /&gt;23. In the following code segment what will be the result of the function,&lt;br /&gt;value of x , value of y&lt;br /&gt;{unsigned int x=-1;&lt;br /&gt;int y;&lt;br /&gt;y = ~0;&lt;br /&gt;if(x == y)&lt;br /&gt;printf("same");&lt;br /&gt;else&lt;br /&gt;printf("not same");&lt;br /&gt;}&lt;br /&gt;a) same, MAXINT, -1&lt;br /&gt;b) not same, MAXINT, -MAXINT&lt;br /&gt;c) same , MAXUNIT, -1&lt;br /&gt;d) same, MAXUNIT, MAXUNIT&lt;br /&gt;e) not same, MAXINT, MAXUNIT&lt;br /&gt;Ans. (a)&lt;br /&gt;24. What will be the result of the following program ?&lt;br /&gt;char *gxxx()&lt;br /&gt;{static char xxx[1024];&lt;br /&gt;return xxx;&lt;br /&gt;}&lt;br /&gt;main()&lt;br /&gt;{char *g="string";&lt;br /&gt;strcpy(gxxx(),g);&lt;br /&gt;g = gxxx();&lt;br /&gt;strcpy(g,"oldstring");&lt;br /&gt;printf("The string is : %s",gxxx());&lt;br /&gt;}&lt;br /&gt;a) The string is : string&lt;br /&gt;b) The string is :Oldstring&lt;br /&gt;c) Run time error/Core dump&lt;br /&gt;d) Syntax error during compilation&lt;br /&gt;e) None of these&lt;br /&gt;Ans. (b)&lt;br /&gt;25.  Find the output for the following C program&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char *p1="Name";&lt;br /&gt;char *p2;&lt;br /&gt;p2=(char *)malloc(20);&lt;br /&gt;while(*p2++=*p1++);&lt;br /&gt;printf("%s\n",p2);&lt;br /&gt;}&lt;br /&gt; Ans. An empty string&lt;br /&gt;26.  Find the output for the following C program&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int x=20,y=35;&lt;br /&gt;x = y++ + x++;&lt;br /&gt;y = ++y + ++x;&lt;br /&gt;printf("%d %d\n",x,y);&lt;br /&gt;}&lt;br /&gt;Ans. 57 94&lt;br /&gt;27.  Find the output for the following C program&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int x=5;&lt;br /&gt;printf("%d %d %d\n",x,x&lt;&lt;2,x&gt;&gt;2);&lt;br /&gt;}&lt;br /&gt;Ans. 5 20 1&lt;br /&gt;28 Find the output for the following C program&lt;br /&gt;#define swap1(a,b) a=a+b;b=a-b;a=a-b;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;int x=5,y=10;&lt;br /&gt;swap1(x,y);&lt;br /&gt;printf("%d %d\n",x,y);&lt;br /&gt;swap2(x,y);&lt;br /&gt;printf("%d %d\n",x,y);&lt;br /&gt;}&lt;br /&gt;int swap2(int a,int b)&lt;br /&gt;{&lt;br /&gt;int temp;&lt;br /&gt;temp=a;&lt;br /&gt;b=a;&lt;br /&gt;a=temp;&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;Ans. 10 5&lt;br /&gt;&lt;br /&gt;29 Find the output for the following C program&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char *ptr = "Ramco Systems";&lt;br /&gt;(*ptr)++;&lt;br /&gt;printf("%s\n",ptr);&lt;br /&gt;ptr++;&lt;br /&gt;printf("%s\n",ptr);&lt;br /&gt;}&lt;br /&gt;Ans. Samco Systems&lt;br /&gt;&lt;br /&gt;30 Find the output for the following C program&lt;br /&gt;#include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char s1[]="Ramco";&lt;br /&gt;char s2[]="Systems";&lt;br /&gt;s1=s2;&lt;br /&gt;printf("%s",s1);&lt;br /&gt;}&lt;br /&gt;Ans. Compilation error giving it cannot be an modifiable 'lvalue'&lt;br /&gt;&lt;br /&gt;31 Find the output for the following C program&lt;br /&gt;#include&lt;stdio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char *p1;&lt;br /&gt;char *p2;&lt;br /&gt;p1=(char *) malloc(25);&lt;br /&gt;p2=(char *) malloc(25);&lt;br /&gt;strcpy(p1,"Ramco");&lt;br /&gt;strcpy(p2,"Systems");&lt;br /&gt;strcat(p1,p2);&lt;br /&gt;printf("%s",p1);&lt;br /&gt;}&lt;br /&gt; Ans. RamcoSystems&lt;br /&gt;&lt;br /&gt;32.  Find the output for the following C program given that&lt;br /&gt;[1]. The following variable is available in file1.c&lt;br /&gt;static int average_float;&lt;br /&gt;Ans. All the functions in the file1.c can access the variable&lt;br /&gt;&lt;br /&gt;33.  Find the output for the following C program&lt;br /&gt;# define TRUE 0&lt;br /&gt;some code&lt;br /&gt;while(TRUE)&lt;br /&gt;{&lt;br /&gt;some code&lt;br /&gt;}&lt;br /&gt;Ans. This won't go into the loop as TRUE is defined as 0&lt;br /&gt;34. struct list{&lt;br /&gt;       int x;&lt;br /&gt;      struct list *next;&lt;br /&gt;      }*head;&lt;br /&gt;&lt;br /&gt;        the struct head.x =100&lt;br /&gt;&lt;br /&gt;       Is the above assignment to pointer is correct or wrong ?&lt;br /&gt;Ans. Wrong&lt;br /&gt;35.What is the output of the following ?&lt;br /&gt;&lt;br /&gt;      int i;&lt;br /&gt;      i=1;&lt;br /&gt;      i=i+2*i++;&lt;br /&gt;      printf(%d,i);&lt;br /&gt;Ans. 4&lt;br /&gt;36. FILE *fp1,*fp2;&lt;br /&gt;     &lt;br /&gt;      fp1=fopen("one","w")&lt;br /&gt;      fp2=fopen("one","w")&lt;br /&gt;      fputc('A',fp1)&lt;br /&gt;      fputc('B',fp2)&lt;br /&gt;      fclose(fp1)&lt;br /&gt;      fclose(fp2)&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;     Find the Error, If Any?&lt;br /&gt;Ans. no error. But It will over writes on same file.&lt;br /&gt;37. What are the output(s) for the following ?&lt;br /&gt;38. #include&lt;malloc.h&gt;&lt;br /&gt;      char *f()&lt;br /&gt;      {char *s=malloc(8);&lt;br /&gt;        strcpy(s,"goodbye");&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;      main()&lt;br /&gt;      {&lt;br /&gt;      char *f();&lt;br /&gt;      printf("%c",*f()='A');     }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;39. #define MAN(x,y) (x)&gt;(y)?(x):(y)&lt;br /&gt;      {int i=10;&lt;br /&gt;      j=5;&lt;br /&gt;      k=0;&lt;br /&gt;      k=MAX(i++,++j);&lt;br /&gt;      printf(%d %d %d %d,i,j,k);&lt;br /&gt;      }&lt;br /&gt;Ans. 10 5 0&lt;br /&gt;40.&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int i=7;&lt;br /&gt;printf("%d",i++*i++);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ans: 56&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-2091840924060521961?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/2091840924060521961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/c-aptitude-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2091840924060521961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/2091840924060521961'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/c-aptitude-questions.html' title='C++ Aptitude Questions'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530154680077840529.post-4641140308065582064</id><published>2009-03-02T07:43:00.000-08:00</published><updated>2009-03-02T07:56:16.439-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='APTITUDE TEST'/><title type='text'>APTITUDE TEST I</title><content type='html'>1. The ages of two persons differ by 16 years. If 6 years ago, the elder one be 3 times as old as the younger one, find their present ages&lt;br /&gt;&lt;br /&gt;Ans.)14,30&lt;br /&gt;&lt;br /&gt;2. A group consists of equal number of men and women. Of them 10% of men and 45% of women are unemployed. If a person is randomly selected from the group, find the probability for the selected person to be an employee.&lt;br /&gt;&lt;br /&gt;Ans.)29/40&lt;br /&gt;&lt;br /&gt;3. Sandy's chain of used car dealership sold 16,400 cars in 2007. If the chain sold 15,744 cars in 2008, by what percent did the number of cars sold decrease?&lt;br /&gt;&lt;br /&gt;Ans.)4%&lt;br /&gt;&lt;br /&gt;4. A radio when sold at a certain price gives a gain of 20%. What will be the gain percent, if sold for thrice the price?&lt;br /&gt;&lt;br /&gt;Ans.)260&lt;br /&gt;&lt;br /&gt;5. Vivek travelled 1200km by air which formed 2/5 of his trip. One third of the whole trip, he travelled by car and the rest of the journey he performed by train. The distance travelled by train was???&lt;br /&gt;&lt;br /&gt;Ans.)800&lt;br /&gt;&lt;br /&gt;6. Given that on 27th February 2003 is Thursday. What was the day on 27th February 1603?&lt;br /&gt;&lt;br /&gt;Ans.)Thursday&lt;br /&gt;&lt;br /&gt;7. Finding the wrong term in the given series&lt;br /&gt;&lt;br /&gt;7, 28, 63, 124, 215, 342, 511&lt;br /&gt;&lt;br /&gt;Ans.)28&lt;br /&gt;&lt;br /&gt;8. + means * and * means / and / means + what is the value of these. 2+3*5/7.&lt;br /&gt;&lt;br /&gt;Ans.) 8.2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. 4_4_4_4 = 20 . Replace the blanks by +,-,/,*.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans.) / + *&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. (998-1)(998-2)(998-3)…………..(998-n) = _____ when n&gt;1000&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans.) 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11. If x=y=2z and xyz=256 then what is the value of x?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans.) 8&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;12. Thirty men take 20 days to complete a job working 9 hours a day. How many hour a day should 40 men work to complete the job?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans.) 7.5&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;13. If O.T.T.F.F.S.S.E.N.T Is the sequence, predict its next sequence of ten letters.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans.)E.T.T.F.F.S.S.E.N.T&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;14. If the operation,^ is defined by the equation x ^ y = 2x + y,what is the value of a in 2 ^ a = a ^ 3&lt;br /&gt;&lt;br /&gt;Ans.)1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;15. There are 200 questions on a 3 hr examination.Among these questions are 50 mathematics problems.It is suggested that twice as much time be spent on each maths problem as for each other question. How many minutes should be spent on mathematics problems&lt;br /&gt;&lt;br /&gt;Ans.) 72&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;16. A student divided a number by 2/3 when he required to multiply by 3/2. Calculate the percentage of error in his result.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans.) 0&lt;br /&gt;&lt;br /&gt;17. If the value of x lies between 0 &amp;amp; 1 which of the following is the largest?&lt;br /&gt;&lt;br /&gt;Ans.)1/x&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;18. A man walks east and turns right and then from there to his left and then 45degrees to his right. In which direction did he go ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans.) North West&lt;br /&gt;&lt;br /&gt;19. In objective test a correct ans score 4 marks and on a wrong ans 2 marks are ---. a student score 480 marks from 150 question. how many ans were correct?&lt;br /&gt;&lt;br /&gt;Ans.)130&lt;br /&gt;&lt;br /&gt;20. A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposits in the bank amount 50, what is his monthly salary ?&lt;br /&gt;&lt;br /&gt;Ans.)Rs.1000&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530154680077840529-4641140308065582064?l=aptitudeforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aptitudeforyou.blogspot.com/feeds/4641140308065582064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/aptitude-test-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/4641140308065582064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530154680077840529/posts/default/4641140308065582064'/><link rel='alternate' type='text/html' href='http://aptitudeforyou.blogspot.com/2009/03/aptitude-test-i.html' title='APTITUDE TEST I'/><author><name>CSE AMARONS</name><uri>http://www.blogger.com/profile/14096369386759355006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://2.bp.blogspot.com/_2jJRGXnua1Y/SbPvOeFzC0I/AAAAAAAAAAw/kWdqB-_cAKg/S220/jitm.head.jpg'/></author><thr:total>0</thr:total></entry></feed>
