<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6159957720477461094</id><updated>2024-11-06T08:41:21.532+05:30</updated><category term="C#"/><category term="CSHARP"/><category term="CSS"/><category term="JQuery"/><category term="MVC"/><category term="JavaScript"/><category term="Placement Papers"/><category term="ASP.Net"/><category term="HTML"/><category term="SQL"/><category term="IBM REFERRAL DRIVE"/><category term="TECH MAHINDRA OFF CAMPUS DRIVE"/><title type='text'>Study Forums</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default?start-index=26&amp;max-results=25'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-8988819741578710857</id><published>2016-12-16T22:33:00.003+05:30</published><updated>2016-12-16T22:33:51.912+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="TECH MAHINDRA OFF CAMPUS DRIVE"/><title type='text'>TECH MAHINDRA OFF CAMPUS DRIVE FOR 20[14/15/16]  PASSOUT BE/ B.TECH/ MCA CANDIDATES FOR ASSOCIATE SYSTEM ENGINEER ON 21 &amp; 22 DECEMBER 2016</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnAe3lNJIUUfkxpzLFNQd03RkIs4AVHbDvaDIWMQePzEfJQGbdZqUpEZ5afwymGHBIdxrDXSPm0DdeKwQQrJ5OjsEulPQbg7LAm9tXSG0dWTkdMNKPwMieUAeibYN83TDl2xDjqv3efa8/s1600/tech-mahindra-bjs.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnAe3lNJIUUfkxpzLFNQd03RkIs4AVHbDvaDIWMQePzEfJQGbdZqUpEZ5afwymGHBIdxrDXSPm0DdeKwQQrJ5OjsEulPQbg7LAm9tXSG0dWTkdMNKPwMieUAeibYN83TDl2xDjqv3efa8/s1600/tech-mahindra-bjs.jpg&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;TECH MAHINDRA OFF CAMPUS DRIVE FOR 20[14/15/16] &amp;nbsp;PASSOUT BE/ B.TECH/ MCA CANDIDATES FOR ASSOCIATE SYSTEM ENGINEER ON 21 &amp;amp; 22 DECEMBER 2016&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;About Company : &lt;/b&gt;Tech Mahindra is a specialist in digital transformation, consulting and business re-engineering solutions. We are a USD 3.4 billion company with 95,300+ professionals across 51 countries. It is an Indian multinational provider of information technology (IT), networking technology solutions and business support services (BPO) to the telecommunications industry.Tech Mahindra is a part of the Mahindra Group conglomerate. It is head quartered at Mumbai, India.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Company Name : &lt;/b&gt;Tech Mahindra Limited&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Company Website :&lt;/b&gt; www.techmahindra.com&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Positions :&lt;/b&gt; Associate System Engineer – ASE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Experience :&lt;/b&gt; Freshers&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Salary : &lt;/b&gt;Rs 2.6 LPA on training and after completing the probationary period , 3.25 LPA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Job Location : &lt;/b&gt;Across India Offices&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Eligibility Criteria :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Year of Passing Out : 2016 Batches&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;For ELTP (Entry Level Trainee Programmer)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Degree / Specialization :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;BE/B.Tech CSE/IT/ECE/ETC/EEE/Telecom/Mech/Electronics/Electricals/Mechatronics/ Instrumentation) or MCA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Percentage : Minimum of 60% in SSC/10th, 70% in 12th/Diploma, 60% in Non-Engg Graduation (if MCA), 60% in BE/B. Tech &amp;amp; MCA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;For Trained Candidates:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Year of Passing Out :&lt;/b&gt; 2014, 2015 &amp;amp; 2016 Batches&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Qualifying Courses : BE/B. Tech (CS, IT, all Circuit Engg streams, Mech and Mechatronics &amp;amp; Civil) or MCA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Candidate should have passed the Qualifying Course in 2014, ’15 or ‘16 from any AICTE approved institution without any live backlog. Candidates failed to pass engg within 4 yrs academic calendar are not eligible.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Should have scored minimum of 60% in SSC/10th, Non-Engg Graduation (e.g. B. Sc/BCA/BCS, etc., in case done), BE/B. Tech and MCA(where applicable)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Should have scored minimum of 65% in HSC or equivalent and Diploma (in case done)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Gap not to be more than 1 yr between any two course. Loss of an academic year post joining a course for whatsoever reason renders candidate ineligible&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Date of Drive: 21 &amp;amp; 22 December 2016&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Event Venue :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Pimpri Chinchwad college of Engineering (PCCOE),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Near Akurdi Railway Station, Sector 26,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Nigdi Pradhikaran,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Pune-411044&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Selection Process :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Eligible candidate will be required to go through Campus Test (Quantitative + Maths + English), Story Writing in English based on random Image, Tech Evaluation, HR Evaluation with each of the acting as a filter for the next level.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Registration link for trained candidates &lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;: &lt;a href=&quot;https://docs.google.com/forms/d/e/1FAIpQLScEDlFLGSBximQXhNAQQDWj682oORT8y_l1kj25Lx9Nkkf1bg/viewform&quot;&gt;Click here&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Registration link for non-trained Candidates&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;: &lt;a href=&quot;https://docs.google.com/forms/d/e/1FAIpQLSdkIfJRjKwvnCFAANZrtgskppOZectk1OnyR-ioxxbdoIo1Ow/viewform&quot;&gt;Click here&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/8988819741578710857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2016/12/tech-mahindra-off-campus-drive-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/8988819741578710857'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/8988819741578710857'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2016/12/tech-mahindra-off-campus-drive-for.html' title='TECH MAHINDRA OFF CAMPUS DRIVE FOR 20[14/15/16]  PASSOUT BE/ B.TECH/ MCA CANDIDATES FOR ASSOCIATE SYSTEM ENGINEER ON 21 &amp; 22 DECEMBER 2016'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02364581445626465743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnAe3lNJIUUfkxpzLFNQd03RkIs4AVHbDvaDIWMQePzEfJQGbdZqUpEZ5afwymGHBIdxrDXSPm0DdeKwQQrJ5OjsEulPQbg7LAm9tXSG0dWTkdMNKPwMieUAeibYN83TDl2xDjqv3efa8/s72-c/tech-mahindra-bjs.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-5427645789063644648</id><published>2016-12-12T21:42:00.002+05:30</published><updated>2016-12-12T21:42:56.278+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="IBM REFERRAL DRIVE"/><title type='text'>IBM REFERRAL DRIVE FOR Freshers :  2015 &amp; 2016 Batch Passout</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdXoOVVZIdWwQ94JZTp9N7jZKkbLc_8B-Cw38qjxvSl4ACuMwZ_ZTSs4GOvwUw8RbfW5navhUf4Vs8aa-jFvOBS3gS4EM-CcBk4h2jtN4psxlxNPXhOH4gvgvlDQy9BDAYU5TvV3TW9iw/s1600/IBM+BJS.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;127&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdXoOVVZIdWwQ94JZTp9N7jZKkbLc_8B-Cw38qjxvSl4ACuMwZ_ZTSs4GOvwUw8RbfW5navhUf4Vs8aa-jFvOBS3gS4EM-CcBk4h2jtN4psxlxNPXhOH4gvgvlDQy9BDAYU5TvV3TW9iw/s320/IBM+BJS.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;IBM REFERRAL DRIVE FOR FRESHERS : &amp;nbsp;2015 &amp;amp; 2016 Batch Passout&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Guys We Will Try To Refer Genuine Criteria People Only So Please Do Not Fill Out If You Do Not Fulfil Criteria || No Year Gap Allowed&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Note : If You Have Already Applied No Duplicate Data Will Be Created In The Portal As It Is Of No Use So Check Once Before Applying&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Criteria :&lt;/b&gt;&lt;br /&gt;
0 . No Any Year Gap&lt;br /&gt;
1. Only CSE &amp;amp; IT Branch can apply !&lt;br /&gt;
2. min 60 60 65 should have !&lt;br /&gt;
3. Only 2015 &amp;amp; 2016 batch&lt;br /&gt;
Percentage-65% in Bachelors and Post Graduation (BE/B.Tech, ME/M.Tech and MCA) &amp;amp; 60% in School (SSLC or Xth, HSC/PUC/XII, Diploma or Equivalent)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Branches :&lt;/b&gt; Computer Science and Engineering, Information Technology/Information Science Engineering, Software Engineering, Computer Science, Computer Science and information Security, Computer Technology, Computer Technology and Application, Computer Applications in Industrial Drives, Data engineering, Information Security, Software Systems, Web Technology&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Year of Passing : &lt;/b&gt;2016 and 2015&lt;br /&gt;
&lt;br /&gt;
If matching above criteria then REG in this google doc … Team Will Refer You For The Job Code 60180BR (You Can Ask IBM Employee From Your Side Also To Refer You For This Job)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note : &lt;/b&gt;Remember To Check Eligibility Criteria Before Applying&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Link to Apply : &lt;a href=&quot;https://ibmreferrals.reppify.com/ibmreppify/jobs/79798?bpin=1046&amp;amp;com=5&amp;amp;rin=1591420&quot;&gt;Click here&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/5427645789063644648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2016/12/ibm-referral-drive-for-freshers-2015.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/5427645789063644648'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/5427645789063644648'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2016/12/ibm-referral-drive-for-freshers-2015.html' title='IBM REFERRAL DRIVE FOR Freshers :  2015 &amp; 2016 Batch Passout'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02364581445626465743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdXoOVVZIdWwQ94JZTp9N7jZKkbLc_8B-Cw38qjxvSl4ACuMwZ_ZTSs4GOvwUw8RbfW5navhUf4Vs8aa-jFvOBS3gS4EM-CcBk4h2jtN4psxlxNPXhOH4gvgvlDQy9BDAYU5TvV3TW9iw/s72-c/IBM+BJS.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-3152050002780188231</id><published>2016-12-11T13:47:00.000+05:30</published><updated>2016-12-11T13:47:13.214+05:30</updated><title type='text'>Tech Mahindra Offcampus Drive | Any Degree 2014/2015/2016 Batch | 19 December 2016</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Tech Mahindra Offcampus Drive | Any Degree 2014/2015/2016 Batch | 19 December 2016&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;COMPANY PROFILE :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tech Mahindra is a specialist in digital transformation, consulting and business re-engineering solutions. We are a USD 3.4 billion company with 95,300+ professionals across 51 countries. We provide services to 649 global customers including Fortune 500 companies. Our innovative platforms and reusable assets connect across a number of technologies to deliver tangible business value to all our stakeholders. Tech Mahindra is also amongst the Fab 50 companies in Asia as per the Forbes 2014 List. We are part of the USD 16.5 billion Mahindra Group that employs more than 200,000 people in over 100 countries. Mahindra operates in the key industries that drive economic growth, enjoying a leadership position in tractors, utility vehicles, information technology, financial services and vacation ownership.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;COMPANY WEBSITE: www.techmahindra.com&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;FIELD OF WORKING: &amp;nbsp;BPO/KPO Industry&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;JOB ROLE/POSITION: &amp;nbsp;Associate Customer Support&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SALARY OFFERED (CTC) :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Fresher-Rs &amp;nbsp;9,000-15,000 + Allowances&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Experienced-Rs 12,000-16000 + Allowances&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;JOB LOCATION: Across India&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;VENUE DATE: 19 December 2016&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;REQUIRED QUALIFICATION: Any Degree&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;EXPERIENCE REQUIRED: Freshers/Experienced&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CANDIDATE PROFILE:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Candidates should possess Any Degree &amp;nbsp;2016,2014,2015 &amp;nbsp;batch from recognized university&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Excellent communication(Oral &amp;amp; Written)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;APPLY MODE: Online + Off-campus&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;HOW TO APPLY:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Interested and eligible candidates can attend the drive in following venue on 19 December 2016&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;For More details : &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBKMG-jE1iN-tStWCP8bM7Iv_chDm_iwCg5Sw3fEp8ahqK3O5vknu9NCZWMf7E31psr4Ks7LJVDfbjpP3USa_-VRa8MXD8nKeJvZU2XZUI_NCSj06wvXrTSiVEUZKb6WnqI9g53TRXMR8q/s640/EBET+Tech+Mahindra.jpg&quot;&gt;Click here&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;VENUE DATE: 19 December 2016 Time: 9.30 A.M&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;VENUE:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;DC Hall&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;EBET Group of Institutions, Mullipuram Post, Nathakadaiyur,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Kangayam Taluk - 638 108,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Tirupur District, Tamil Nadu&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/3152050002780188231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2016/12/tech-mahindra-offcampus-drive-any.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3152050002780188231'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3152050002780188231'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2016/12/tech-mahindra-offcampus-drive-any.html' title='Tech Mahindra Offcampus Drive | Any Degree 2014/2015/2016 Batch | 19 December 2016'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-1559926766423417502</id><published>2015-02-15T17:58:00.000+05:30</published><updated>2015-03-22T05:24:14.281+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL-Server </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: -webkit-center;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.85pt; text-align: justify;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Truncate
&amp;amp; Delete&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;1.Truncate
a table means data will be lost, but structure of the table will be present in
the database.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Syntax:
Truncate table &amp;lt;table name&amp;gt;;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;2.If you
drop a table then the structure of the table also goes along with the data.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Syntax:
drop table &amp;lt;table name&amp;gt;;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;3.You
can’t delete a table; you can delete the data in a record wise manner.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-bottom: 12pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt; text-transform: uppercase;&quot;&gt;SYNTAX: DELETE FROM &amp;lt;TABLE NAME&amp;gt; WHERE
&amp;lt;CONDITION&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;4.The
difference between the truncate and delete is you can delete the data at a
stretch buy using the truncate, by using the delete you can delete only one
record at a time.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;5.When
you have truncated the table then all the records will lose. Then immediately
if you add a record to that table the row number will be ‘1’ only.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Index:&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 24pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 3pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt;&quot;&gt;1.&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:arial=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:arial=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt; mso-bidi-font-size: 11.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;If you have a clustered index on a column, then also you can
assign a primary key to that column?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 3pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt;&quot;&gt;2.&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:arial=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:arial=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt; mso-bidi-font-size: 11.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;You are having rowid already then why you are going for the index?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 3pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt;&quot;&gt;3.&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:arial=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:arial=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt; mso-bidi-font-size: 11.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;How many non-clustered indexes can be allowed in a table?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Syntax:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Create
index &amp;lt;index name&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 13.5pt;&quot;&gt;On&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;&amp;lt;Table
name (&amp;lt;col1&amp;gt;, &amp;lt;col2&amp;gt;, -------)&amp;gt;;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Syntax:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Drop
index &amp;lt;index name&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Rules&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 24pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;9.Rules
will maintain the domain integrity.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;10.Is it
possible to create a rule at the time of creating a table?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;No.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;11.Is it
possible to drop a rule?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Yes.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;12.What
is the difference between the rule and check constraint?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;If a
check constraint is applied to a table it will enforce the constraint to
previously existing data also. If that data violates the constraint then
constraint statement gives an error message.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;If a rule
is applied on a table it will not apply to the already existing data in the
table. The rule will be imposed from now on the updation and insertion of data.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-bottom: 12pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt; text-transform: uppercase;&quot;&gt;SYNTAX&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Create
rule &amp;lt;rule name&amp;gt; as &amp;lt;condition&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Sp_bindrule
&amp;lt;rule name&amp;gt;, &amp;lt;object name&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Drop rule
&amp;lt;rule name&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;24.What
are the types of replication?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Types of
the replications:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 3pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt; mso-bidi-font-size: 11.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Snapshot Replication&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Option:
Snapshot, with immediate-updating Subscribers&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 3pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt; mso-bidi-font-size: 11.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Transactional Replication&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Option:
Transactional, with immediate-updating Subscribers&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 3pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt; mso-bidi-font-size: 11.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Merge Replication&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Which
type of replication you choose for your application depends on your
requirements for data consistency, site autonomy, and network resources.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;25.Differences
between the SQL-server 2000 and SQL-Server 7.0.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;26.What
is the sql using by the SQL-Server and oracle?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;SQL-Server:
Transact-SQL&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Oracle:
ANSI-SQL&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;28.Is it
possible to create a view with out a base table?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Actually
the answer is NO.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;But this
is possible by using the “FORCED VIEWS”&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Syntax:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Create
force view XYZ&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;As&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Select *
from ZZZ;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;29.Index
is the only second object, which holds data in the database.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;30.
“MODIFY” is a keyword only it is not a clause.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;31.What
will happen if you add a not null constraint on to a column if that column is
already having the null values and what is the status of those null values,
which are already present?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;An error
is given stating that null values are found.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;32.I am
doing a transaction, I am having four activities in those four fourth activity
got some problem, then will be the transaction committed or roll backed?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Automatically
it will rollback, because a transaction is said to be committed when all the
activities of that transaction is perfectly executed.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Joins&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 24pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;33.What
is a join?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;34.How
many types of joins are there?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;35.What
is the difference between the outer join and left outer join?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;36.How to
make a copy of a table (if you have a table with some name X, is it possible to
create a table with a name Y by using the table X?&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Explanation:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;SQL
server&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-bottom: 12pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt; text-transform: uppercase;&quot;&gt;SELECT &amp;lt;COLUMNS&amp;gt; INTO &amp;lt;NEW TABLE&amp;gt; FROM
&amp;lt;OLD TABLE&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Oracle&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Create
table &amp;lt;table name&amp;gt; as select * from &amp;lt;table name&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Write a
query to display the details of employees whose salary is more than the ‘BLAKE’
salary.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Sql&amp;gt;
select B. * from EMP A, EMP B&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Where
A.ename=’BLAKE’&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 3pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11.5pt;&quot;&gt;1.&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:arial=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span color:black=&quot;&quot; mso-bidi-font-family:arial=&quot;&quot; mso-fareast-font-family:=&quot;&quot; new=&quot;&quot; roman=&quot;&quot; serif=&quot;&quot; style=&quot;font-family: &amp;quot;; font-size: 7.0pt; mso-bidi-font-size: 11.0pt;&quot; times=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;Sal &amp;lt; B.sal;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;It is
also called aliasing.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.85pt; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 13.5pt;&quot;&gt;It is a
self-joining concept.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/1559926766423417502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/1559926766423417502'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/1559926766423417502'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/sql-server.html' title='SQL-Server '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-3918937369616903827</id><published>2015-02-15T17:49:00.000+05:30</published><updated>2016-12-11T02:34:06.470+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL Interview Questions And Answers Module -1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l6 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;1.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;What is an Entity?&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;The basic data item stored in database is
called entity. An entity can be any object, item, place, person, concept, or
activity about which data is stored.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;What is an attribute?&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;An attribute is a property of an entity.
It describes a part of an entity. Entity could have one or more attributes.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l4 level1 lfo3; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;What is ER diagram?&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;An Entity Relationship Diagram is
diagrammatic representation of the logical structure of a database system.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l9 level1 lfo4; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;4.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;Describe the concept of keys.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Candidate
key&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;An
attribute that uniquely identifies a row is called candidate key. It is also
called das surrogate key.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Primary
key&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;A
candidate key that you choose to identify rows uniquely is called a primary
key.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Alternate
key&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;If
there are multiple candidate keys in a table, the candidate keys that are
chosen as primary key are called the alternate keys.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Composite
key&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;When
the key that uniquely identifies the rows of a table is made up of more than
one attribute, it is called as a composite key.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Foreign
key&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Two
tables can be related using a common attribute. When a primary key of one table
is also available as an attribute in another related table it is called a
foreign key.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo5; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;5.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;What are joins?&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;Sometimes, data from multiple tables is
to be displayed using select statement. For this purpose, the tables in use
must have a column that is equated. This is termed as simple join or multiple
join.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;Sometimes, you might want to display all
records from one table and some from another. This type of join is called an
outer join. An outer join is only possible between two tables.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;There are two types of outer join, namely
left and right. In a left outer join, all the rows of the first table named in
the FROM clause are displayed. In a right outer join all the rows from the
second table mentioned in the FROM clause are displayed. In either case, all
the matching rows from other table are displayed.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l5 level1 lfo6; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;6.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;What is a sub query?&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;Sometimes the results of one query are
dependant on the results of another query. For this purpose one query is nested
inside another query, this is called as sub query.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l2 level1 lfo7; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;7.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;What are the types of constraints?&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;You
can enforce data integrity by using constraints. Constraints are divided in to
five categories.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Primary
key constraint&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;A
primary key constraint is defined on a column are a set of columns whose values
uniquely identify the rows in a table. It cannot contain null values.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Unique
constraint&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Unique
constraints are used to enforce uniqueness on non-primary key columns. It
allows null values but only one row can have a null value.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Multiple
unique constraints can be created on a table.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Foreign
Key constraint&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;You
can use the foreign key constraint to remove the inconsistency in two tables
when the data in the one table is dependant on the other table.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Check
constraint&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;It
enforces domain integrity by restricting the values to be inserted in a column.
It is possible to define multiple check constraints on a single column. These
are evaluated in the order in which they are defined.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;Default
Constraint&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;A
default constraint can be use to assign a constant value to a column and the
user need not insert values in to that column.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo8; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;8.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;What is a rule?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;The
required integrity can be enforced by specifying a check constraint or by
defining a rule. But check constraint modifies the table structure. The
constraint can there fore be implemented using rules with out changing the
table structure. This rule is applied before an insert or update statement .&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;A
rule must be bound to a column or a user-define d data type. This is done using
stored procedure sp_bindrule. Rules do not apply to data that has already been
inserted in the table. The existing values in tables do not have to meet the
criteria specified by the rule.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l8 level1 lfo9; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;What are indexes?&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;To speed up data retrieval indexes are
used. Indexes also enforce the uniqueness of rows.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;Advantages&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l7 level1 lfo10; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;1.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;Improves the speed
of execution.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l7 level1 lfo10; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;2.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;Enforces uniqueness
of data.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l7 level1 lfo10; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;3.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;Speeds up joins
between tables.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;Disadvantages&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;1.Takes disk space to store.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;2.Data modification takes longer.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;3.Takes time to create index.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;Types of indexes&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;Clustered index&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;1.The data is physically sorted&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;2.One clustered index can be created per
table, so you should build it on attributes that have a high percentage of
unique values and that are not modified often.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;Nonclustered index&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;1.The physical order of the rows is not
the same as the index order.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;2.There can be as many as 249
nonclustered indexes per column.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l3 level1 lfo11; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;10.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;What are views?&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;A view is a virtual table, which gives
access to a subset of columns from one or more tables. It is a query stored as
an object in the database. Hence a view is an object that derives it data from
one or more tables.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt;&quot;&gt;Advantages&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;1.A view serves as a security mechanism.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style=&quot;background: white; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Garamond, serif; font-size: 12pt; font-weight: normal;&quot;&gt;2.A view simplifies the usage of complex
queries.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/3918937369616903827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/sql-interview-questions-and-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3918937369616903827'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3918937369616903827'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/sql-interview-questions-and-answers.html' title='SQL Interview Questions And Answers Module -1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-376699095109422096</id><published>2015-02-15T17:48:00.000+05:30</published><updated>2015-03-22T05:16:47.715+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL Interview Questions And Answers Module -2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ol start=&quot;11&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What are store procedures and its advantages?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A stored procedure is collection or batch of Transact-SQL statements and control flow language that is stored under one name, and executed as single unit. It helps in improving the performance of a query. It is a precompiled object. As it is ready to execute no time is needed for parsing and compiling the procedure.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Advantages&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Improved performance – Applications do not have to compile the procedure over and over again.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Reduction in network congestion – applications need not submit multiple SQL statements to server for the purpose of processing.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Enhanced accuracy – SQL statements included in a procedure are designed by experienced programmers and are therefore more efficient, error free, and tested.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Better security mechanism – users can be granted permission to execute a stored procedure even if they do not own it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Types of stored procedures&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1.User-defined&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2.System defined&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;These are prefixed with sp_. These are for administrative purpose and are stored in the database and are accessible to all users.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3.Temporary&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;These are prefixed with #, stored in tempdb and are automatically dropped when connection terminates.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;4.Remote&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;These are created and stored in remote servers and can accessed by users with appropriate permissions.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;5.Extended&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;These are dlls that are executed outside SQL Server. They are prefixed by xp_.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;12&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Explain about BCP and DTS.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;BCP&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The transfer data from an external source to SQL Server is performed using Bulk Copy Program utility. The external source is a flat file. Data transfer from external source to SQL Server in BCP IN. The transfer of data from SQL Server to external source is BCP OUT.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;DTS&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Data transformation services can be used to import and export data between heterogeneous data sources and SQL Server. The external data sources include Visual FoxPro, MS Excel, Paradox, MS Access, Dbase, and text files.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; margin: 0px; position: relative;&quot;&gt;&lt;/h1&gt;&lt;ol start=&quot;13&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What are transactions and their properties?&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A transaction is a sequence of operations performed together as a single unit of logical work. It has four properties.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Atomicity – it states that either all the data modifications are performed or none are performed.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Consistency - it states that all the data is in a consistent state after a successful completion of transaction.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Isolation – it states any data modification made my concurrent transactions must be isolated from the modifications made by other concurrent transaction.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Durability – it states that ay change made by a completed transaction remains permanently in the system.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;ol start=&quot;14&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Locking mechanism.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SQL Server uses the concept of locking to ensure transactional integrity and database consistency. Locking, by functionally prevents users from accessing information being changed by other users. In a multi-user environment, Locking prevents users from changing the same data at the same time. In SQL Server locking is implemented automatically.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SQL Server implements multi-granular locking, which allows transactions to lock different types of resources at different levels. SQL Server can lock the following resources.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;RID – is a row identifier that individually locks a row in a table.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Key – is a rowlock with in an index.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Page – is an 8k page or an index page.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Extent – is a contiguous group of 8k data pages or index pages.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Table – is the entire table, including all data and indexes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Database – is the complete database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Shared Locks&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It is used for operations that do not change or update the data. This allows concurrent transactions to read a resource and no other transaction can modify the data on that resource.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Update Locks&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This lock is implemented when a transaction modify a row. Only one update lock is allowed on a resource at a time.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Exclusive locks&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Intent locks&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Schema Locks&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;15&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What is deadlock?&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A dead lock is a situation in which two users (or transactions) have locks on separate objects, and each user is waiting for a lock on the other’s object. It usually occurs in a multi-user environment.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol start=&quot;16&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What are triggers?&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A trigger is a block of code that constitutes&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;with&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;a set of T-SQL statements that are activated in response to certain actions. A trigger can also be interpreted as a special kind of stored procedure that is executed whenever an action, such as data modification, takes place.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A trigger is always defined on a table, and is said to have fired whenever the data in the underlying table is affected by any of the Data Manipulation Language (DML) statements-INSERT, UPDATE, or DELETE. A trigger fires in response to an event like insertion, updation, and deletion of data.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Triggers help in maintaining consistent, reliable, and correct data in tables. They enable the performance of complex actions and cascade these actions to other dependant tables.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Characteristics of a trigger:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;ul style=&quot;line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It can be associated with tables.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It cannot be defined on temporary tables or views. However, it can reference temporary tables and views.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Whenever any data modification statement is issued then SQL Server fires it automatically.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It cannot be explicitly invoked or executed, as in the case of stored procedures.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Triggers can be nested up to 16 levels. The nesting of triggers occurs when a trigger performs an action that initiates another trigger.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It prevents incorrect, unauthorized, and inconsistent changes in data.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It cannot return data to the user.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;There are three types of triggers&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1) INSERT&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2) DELETE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3) UPDATE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;17&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What is Normalization? Explain three normal forms?&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Normalization is a scientific method of breaking down complex table structures in to simple table structures by using certain rules. Hence reduce redundancy in a table and eliminate inconsistency problems and disk space usage.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;First Normal Form&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A table is said to be in 1NF when each cell of the table contains precisely one value.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Functional dependency&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If you have two attribute A and B, A is said to be functionally dependant on B, if for each value of B, there is exactly one value of A.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Second Normal Form&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Identify the functionally dependent keys and place them in a different table.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Third Normal Form&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A relation is said to be 3NF when every non-key attribute is functionally dependant only on the primary key.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;ol start=&quot;18&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What are Cursors and types of cursors?&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h1 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-weight: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A cursor is a work area called private SQL area, which executes SQL statements and stores the results.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h2 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 12px; font-stretch: normal; margin: 0px 0px 1em; position: relative; text-transform: uppercase;&quot;&gt;&lt;/h2&gt;&lt;h2 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 12px; font-stretch: normal; margin: 0px 0px 1em; position: relative; text-transform: uppercase;&quot;&gt;&lt;/h2&gt;&lt;h2 align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 12px; font-stretch: normal; margin: 0px 0px 1em; position: relative; text-transform: uppercase;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;CURSOR TYPES&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;So you can specify the four-cursor types for Transact-SQL cursors. These cursors vary in their ability to detect changes to the result set and in the resources, such as memory and space in tempdb, they consume. The four API server cursor types supported by SQL Server are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Static cursors&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Dynamic cursors&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Forward-only cursors&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Key set-driven cursors&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Static cursors detect few or no changes but consume relatively few resources while scrolling, although they store the entire cursor in tempdb.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Dynamic cursors detect all changes but consume more resources while scrolling, although they make the lightest use of tempdb.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Key set-driven cursors lie in between, detecting most changes but at less expense than dynamic cursors.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Although the database API cursor models consider a forward-only cursor to be a distinct type of cursor, SQL Server does not. SQL Server considers both Forward only and scroll to be options that can be applied to static, key set-driven, and dynamic cursors.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;19&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What is Encryption option in SQL Server?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Encryption is a method for keeping sensitive information confidential by changing data into an unreadable form. Encryption ensures that data remains secure by keeping the information hidden from everyone, even if the encrypted data is viewed directly. Decryption is the process of changing encrypted data back into its original form and so authorized users can view it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;20&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What are time-stamped data types?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align=&quot;JUSTIFY&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.1999998092651px; line-height: 18.4799995422363px; margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It is a database-wide unique number. The storage size is 8 bytes. A table can have only one timestamp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;column. The value in the timestamp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;column is updated every time a row containing a timestamp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Garamond, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;column is inserted or updated. This property makes a timestamp column a poor candidate for keys, especially primary keys. Any update made to the row changes the timestamp value, thereby changing the key value. If the column is in a primary key, the old key value is no longer valid, and foreign keys referencing the old value are no longer valid. If the table is referenced in a dynamic cursor, all updates change the position of the rows in the cursor. If the column is in an index key, all updates to the data row also generate updates of the index.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/376699095109422096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/sql-interview-questions-and-answers_15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/376699095109422096'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/376699095109422096'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/sql-interview-questions-and-answers_15.html' title='SQL Interview Questions And Answers Module -2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-6087548382428007599</id><published>2015-02-15T16:59:00.001+05:30</published><updated>2015-03-22T05:16:47.885+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>MVC Interview Questions and Module -4</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is ViewData, ViewBag and TempData?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;MVC provides us&amp;nbsp;ViewData,&amp;nbsp;ViewBag&amp;nbsp;and&amp;nbsp;TempData&amp;nbsp;for passing data from controller, view and in next requests as well.&amp;nbsp;ViewData&amp;nbsp;and&amp;nbsp;ViewBag&amp;nbsp;are similar to some extent but&amp;nbsp;TempData&amp;nbsp;performs additional roles.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are the roles and similarities between ViewData and ViewBag?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin: 0in 0in 0.0001pt; text-align: justify; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Maintains data when move from controller to view.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin: 0in 0in 0.0001pt; text-align: justify; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Passes data from controller to respective view.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin: 0in 0in 0.0001pt; text-align: justify; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Their value becomes null when any redirection occurs, because their role is to provide a way to communicate between controllers and views. It’s a communication mechanism within the server call.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are the differences between ViewData and ViewBag?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;(taken from a blog)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin: 0in 0in 0.0001pt; text-align: justify; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ViewData&amp;nbsp;is a dictionary of objects that is derived from&amp;nbsp;ViewDataDictionary&amp;nbsp;class and accessible using strings as keys.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin: 0in 0in 0.0001pt; text-align: justify; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ViewBag&amp;nbsp;is a dynamic property that takes advantage of the new dynamic features in C# 4.0.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin: 0in 0in 0.0001pt; text-align: justify; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ViewData&amp;nbsp;requires typecasting for complex data type and check for null values to avoid error.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin: 0in 0in 0.0001pt; text-align: justify; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ViewBag&amp;nbsp;doesn’t require typecasting for complex data type.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif; line-height: 19pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is TempData?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;TempData&amp;nbsp;is a dictionary derived from the&amp;nbsp;&lt;b&gt;TempDataDictionary&lt;/b&gt;&amp;nbsp;class and stored in short lives session. It is a string key and object value.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;It keep the information for the time of an HTTP Request. This means only from one page to another. It helps to maintain data when we move from one controller to another controller or from one action to other action. In other words, when we redirect&amp;nbsp;Tempdata&amp;nbsp;helps to maintain data between those redirects. It internally uses session variables. Temp data use during the current and subsequent request only means it is use when we are sure that next request will be redirecting to next view. It requires typecasting for complex data type and check for null values to avoid error. Generally it is used to store only one time messages like error messages, validation messages.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;How can you define a dynamic property with the help of viewbag in ASP.NET MVC?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Assign a key name with syntax,&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ViewBag.[Key]=[ Value]&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;and value using equal to operator.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;For example, you need to assign list of students to the dynamic Students property&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;of ViewBag.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;List&amp;lt;string&amp;gt; students = new List&amp;lt;string&amp;gt;();&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;countries.Add(&quot;Akhil&quot;);&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;countries.Add(&quot;Ekta&quot;);&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ViewBag.Students = students;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;//Students is a dynamic property associated with ViewBag.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are Scaffold template?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;These templates use the Visual Studio T4 templating system to generate a view based on the model type selected.&lt;i&gt;Scaffolding&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333;&quot;&gt;in ASP.NET MVC can generate the boilerplate code we need for create, read, update,and delete (CRUD) functionality in an application. The scaffolding templates can examine the type definition for, and then generate a controller and the controller’s associated views. The scaffolding knows how to name controllers, how to name views, what code needs to go in each component, and where to place all these pieces in the project for the application to work.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are the types of Scaffolding Templates?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Various types are as follows,&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;SCAFFOLD &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DESCRIPTION&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Empty &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Creates empty view. Only the model type is specified using the model syntax.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Create &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Creates a view with a form for creating new instances of the model.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Generates a label and input field for each property of the model type.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Delete &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Creates a view with a form for deleting existing instances of the model.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Displays a label and the current value for each property of the model.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Details &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Creates a view that displays a label and the value for each property of the&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;model type.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Edit &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Creates a view with a form for editing existing instances of the model.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Generates a label and input fi eld for each property of the model type.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;List &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Creates a view with a table of model instances. Generates a column&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for each property of the model type. Make sure to pass an IEnumerable&amp;lt;YourModelType&amp;gt; to this view from your action method.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The view also contains links to actions for performing the create/edit/delete &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;operations.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Show an example of difference in syntax in Razor and WebForm View?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Razor &amp;lt;span&amp;gt;@model.Message&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Web Forms &amp;lt;span&amp;gt;&amp;lt;%: model.Message %&amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Code expressions in Razor are always HTML encoded. This Web Forms syntax also automatically HTML encodes the value.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are Code Blocks in Views?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Unlike code expressions, which are evaluated and outputted to the response, blocks of code are simply sections of code that are executed. They are useful for declaring variables that we may need to use later.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Razor&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;@{&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;int x = 123;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;string y = ˝because.˝;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Web Forms&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;int x = 123;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;string y = &quot;because.&quot;;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is HelperPage.IsAjax Property?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;HelperPage.IsAjax&amp;nbsp; gets a value that indicates whether Ajax is being used during the request of the Web page.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Namespace&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;: System.Web.WebPages&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Assembly&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;: System.Web.WebPages.dll&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;However, same can be achieved by checking requests header directly:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Request[&quot;X-Requested-With&quot;] == “XmlHttpRequest”.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Explain combining text and markup in Views with the help of an example?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This example shows what intermixing text and markup looks like using Razor as compared to Web Forms:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Razor&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;@foreach (var item in items) {&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;span&amp;gt;Item @item.Name.&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Web Forms&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;% foreach (var item in items) { %&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;span&amp;gt;Item &amp;lt;%: item.Name %&amp;gt;.&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;% } %&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/6087548382428007599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/6087548382428007599'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/6087548382428007599'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-4.html' title='MVC Interview Questions and Module -4'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-24304443752645459</id><published>2015-02-15T16:59:00.000+05:30</published><updated>2015-03-22T05:16:47.800+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>MVC Interview Questions and Module -5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;Explain Repository Pattern in ASP.NET MVC?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;In simple terms, a repository basically works as a mediator between our business logic layer and our data access layer of the application. Sometimes, it would be troublesome to expose the data access mechanism directly to business logic layer, it may result in redundant code for accessing data for similar entities or it may result in a code that is hard to test or understand. To overcome these kinds of issues, and to write an Interface driven and test driven code to access data, we use Repository Pattern. The repository makes queries to the data source for the data, thereafter maps the data from the data source to a business entity/domain object, finally and persists the changes in the business entity to the data source. According to MSDN, a repository separates the business logic from the interactions with the underlying data source or Web service. The separation between the data and business tiers has three benefits:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; It centralizes the data logic or Web service access logic.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; It provides a substitution point for the unit tests.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; It provides a flexible architecture that can be adapted as the overall design of the application evolves.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;In Repository, we write our whole business logic of CRUD operations with the help of Entity Framework classes, that will not only result in meaningful test driven code but will also reduce our controller code of accessing data.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;How can you call a javascript function/method on the change of Dropdown List in MVC?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Create a java-script method:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;function selectedIndexChanged() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Invoke the method:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;%:Html.DropDownListFor(x =&amp;gt; x.SelectedProduct,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;new SelectList(Model.Users, &quot;Value&quot;, &quot;Text&quot;),&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&quot;Please Select a User&quot;, new { id = &quot;ddlUsers&quot;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;onchange=&quot;selectedIndexChanged()&quot; })%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;Explain Routing in MVC?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;A route is a URL pattern that is mapped to a handler. The handler can be a physical&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;file, such as an .aspx file in a Web Forms application. Routing module is responsible for mapping incoming browser requests to particular MVC controller actions.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Routing within the ASP.NET MVC framework serves two main purposes:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; It matches incoming requests that would not otherwise match a file on the file system and maps the requests to a controller action.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; It constructs outgoing URLs that correspond to controller actions.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;How route table is created in ASP.NET MVC?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;When an MVC application first starts, the Application_Start() method in global.asax is called. This method, calls the RegisterRoutes() method. The RegisterRoutes() method creates the route table for MVC application.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;What are Layouts in ASP.NET MVC Razor?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Layouts in Razor help maintain a consistent look and feel across multiple views within our application.As compared to Web Forms Web Forms, layouts serve the same purpose as master pages, but offer both a simpler syntax and greater flexibility.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;We can use a layout to define a common template for your site (or just part of it). This template contains one or more placeholders that the other views in your application provide content for. In some ways, it’s like an abstract base class for your views.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;e.g. declared at the top of view as,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;nbsp;@{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Layout = &quot;~/Views/Shared/SiteLayout.cshtml&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;What is ViewStart?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;For group of views that all use the same layout, this can get a bit redundant and harder to maintain.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;The _ViewStart.cshtml page can be used to remove this redundancy. The code within this file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;is executed before the code in any view placed in the same directory. This fi le is also recursively applied to any view within a subdirectory.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;When we create a default ASP.NET MVC project, we find there is already a _ViewStart&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;.cshtml fi le in the Views directory. It specifi es a default layout:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;@{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Layout = &quot;~/Views/Shared/_Layout.cshtml&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Because this code runs before any view, a view can override the Layout property and choose a different one. If a set of views shares common settings, the _ViewStart.cshtml file is a useful place to consolidate these common view settings. If any view needs to override any of the common settings, the view can set those values to another value.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Note: Some of the content has been taken from various books/articles.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;What are HTML Helpers?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;HTML helpers are methods we can invoke on the Html property of a view. We also have&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;access to URL helpers (via the Url property), and AJAX helpers (via the Ajax property). All&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;these helpers have the same goal: to make views easy to author. The URL helper is also available from within the controller.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Most of the helpers, particularly the HTML helpers, output HTML markup. For example, the&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;BeginForm helper is a helper we can use to build a robust form tag for our search&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;form, but without using lines and lines of code:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;@using (Html.BeginForm(&quot;Search&quot;, &quot;Home&quot;, FormMethod.Get)) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;input type=&quot;text&quot; name=&quot;q&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;input type=&quot;submit&quot; value=&quot;Search&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;What is Html.ValidationSummary?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;The ValidationSummary helper displays an unordered list of all validation errors in the ModelState dictionary. The Boolean parameter you are using (with a value of true) is telling the helper to exclude property-level errors. In other words, you are telling the summary to display only the errors in ModelState associated with the model itself, and exclude any errors associated with a specific model property. We will be displaying property-level errors separately.Assume you have the following code somewhere in the controller action rendering the edit view:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;ModelState.AddModelError(&quot;&quot;, &quot;This is all wrong!&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;ModelState.AddModelError(&quot;Title&quot;, &quot;What a terrible name!&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;The first error is a model-level error, because you didn’t provide a key (or provided an empty key) to associate the error with a specifi c property. The second error you associated with the Title property, so in your view it will not display in the validation summary area (unless you remove the parameter to the helper method, or change the value to false). In this scenario, the helper renders the following HTML:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;div class=&quot;validation-summary-errors&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;li&amp;gt;This is all wrong!&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Other overloads of the ValidationSummary helper enable you to provide header text and set specific HTML attributes.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;NOTE By convention, the ValidationSummary helper renders the CSS class validation-summary-errors along with any specifi c CSS classes you provide.The default MVC project template includes some styling to display these items in red, which you can change in styles.css.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;What are Validation Annotations?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Data annotations are attributes you can find in System.ComponentModel.DataAnnotations&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;namespace.These attributes provide server-side validation, and the framework also supports client-side validation when you use one of the attributes on a model property. You can use four attributes in the DataAnnotations namespace to cover common validation scenarios,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;Required, String Length, Regular Expression, Range.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;What is Html.Partial?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;The Partial helper renders a partial view into a string. Typically, a partial view contains reusable markup you want to render from inside multiple different views. Partial has four overloads:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;public void Partial(string partialViewName);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;public void Partial(string partialViewName, object model);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;public void Partial(string partialViewName, ViewDataDictionary viewData);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;public void Partial(string partialViewName, object model,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;ViewDataDictionary viewData);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;What is Html.RenderPartial?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;The RenderPartial helper is similar to Partial, but RenderPartial writes directly to the response output stream instead of returning a string. For this reason, you must place RenderPartial inside a code block instead of a code expression. To illustrate, the following two lines of code render the same output to the output stream:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;@{Html.RenderPartial(&quot;AlbumDisplay &quot;); }&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;@Html.Partial(&quot;AlbumDisplay &quot;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;If they are same then which one to use?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;In general, you should prefer Partial to RenderPartial because Partial is more convenient (you don’t have to wrap the call in a code block with curly braces). However, RenderPartial may result in better performance because it writes directly to the response stream, although it would require a lot of use (either high site traffic or repeated calls in a loop) before the difference would be noticeable.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;How do you return a partial view from controller?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;return PartialView(options); //options could be Model or View name&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;&lt;b&gt;What are different ways of returning a View?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 25.3333339691162px;&quot;&gt;There are different ways for returning/rendering a view in MVC Razor.E.g. return View(), return RedirectToAction(), return Redirect() and return RedirectToRoute().&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;line-height: 19pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/24304443752645459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/24304443752645459'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/24304443752645459'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-5.html' title='MVC Interview Questions and Module -5'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-6116445683144390056</id><published>2015-02-15T16:54:00.000+05:30</published><updated>2015-03-22T05:16:47.969+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>MVC Interview Questions and Module -3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are the various types of Application Templates used to create an MVC application?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The various templates are as follows,&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;1.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Internet Application template:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This contains the beginnings of an MVC web&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;application — enough so that you can run the application immediately after creating it&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;and see a few pages. This template also includes some basic account management functions which run against the ASP.NET Membership .&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;2.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Intranet Application template:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Intranet Application template was added as part of&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;the ASP.NET MVC 3 Tools Update. It is similar to the Internet Application template,but the account management functions run against Windows accounts rather than the ASP.NET Membership system.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;3.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Basic template:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This template is pretty minimal. It still has the basic folders, CSS, and&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;MVC application infrastructure in place, but no more. Running an application created using&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;the Empty template just gives you an error message.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Why use Basic template?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Basic template is intended for experienced MVC developers&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;who want to set up and configure things exactly how they want them.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;4.The Empty template:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Basic template used to be called the Empty template, but developers complained that it wasn’t quite empty enough. With MVC 4, the previous Empty&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;template was renamed Basic, and the new Empty template is about as empty as we can get.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19pt; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;It has the assemblies and basic folder structure in place, but that’s about it.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;5.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Mobile Application template:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Mobile Application template is preconfigured with jQuery Mobile to jump-start creating a mobile only website. It includes mobile visual themes, a touch-optimized UI, and support for Ajax navigation.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;6.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Web API template:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ASP.NET Web API is a framework for creating HTTP services.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The Web API template is similar to the Internet Application template but is streamlined for Web API development. For instance, there is no user account management functionality, as Web API account management is often signify-cantly different from standard MVC account management. Web API functionality is also available in the other MVC project templates, and even in non-MVC project types.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are the default Top level directories created when adding MVC4 application?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Default Top level Directories are:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;DIRECTORY&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;PURPOSE&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/Controllers &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To put Controller classes that handle URL requests&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/Models &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;To put classes that represent and manipulate data and business objects&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/Views &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; To put UI template files that are responsible for rendering output like HTML.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/Scripts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To put JavaScript library files and scripts (.js)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/Images &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To put images used in your site&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/Content &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; To put CSS and other site content, other than scripts and images&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/Filters &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;To put filter code.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/App_Data &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;To store data files you want to read/write&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;/App_Start &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; To put configuration code for features like Routing, Bundling, Web API.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is namespace of asp.net mvc?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ASP.NET MVC namespaces as well as classes are located in assembly System.Web.Mvc.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #111111;&quot;&gt;Note&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #111111;&quot;&gt;: Some of the content has been taken from various books/articles.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is System.Web.Mvc namespace?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This namespace contains classes and interfaces that support the MVC pattern for ASP.NET Web applications. This namespace includes classes that represent controllers, controller&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;factories, action results, views, partial views, and model binders.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is System.Web.Mvc.Ajax namespace?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;System.Web.Mvc.Ajax namespace contains classes that supports Ajax scripting in an ASP.NET MVC application. The namespace includes support for Ajax scripts and Ajax option settings as well.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is System.Web.Mvc.Async namespace?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;System.Web.Mvc.Async namespace contains classes and interfaces that support asynchronous actions in an ASP.NET MVC application.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is System.Web.Mvc.Html namespace?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;                               &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;System.Web.Mvc.Html namespace&amp;nbsp; contains classes that help render HTML controls in an MVC application. This namespace includes classes that support forms, input controls, links, partial views, and validation.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/6116445683144390056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/6116445683144390056'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/6116445683144390056'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-3.html' title='MVC Interview Questions and Module -3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-3342407188478220466</id><published>2015-02-15T16:50:00.000+05:30</published><updated>2015-03-22T05:16:48.054+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>MVC Interview Questions and  Module -2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is JSON Binding?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;MVC 3 included JavaScript Object Notation (JSON) binding support via the new&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;JsonValueProviderFactory, enabling the action methods to accept and model-bind data in JSON format. This is especially useful in advanced Ajax scenarios like client templates and data binding that need to post data back to the server.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is Dependency Resolution?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;MVC 3 introduced a new concept called a&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #333333;&quot;&gt;dependency resolver&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333;&quot;&gt;, which greatly simplified the use of dependency injection in your applications. This made it easier to decouple application components, making them more configurable and easier to test.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Support was added for the following scenarios:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in; text-indent: -.25in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Controllers (registering and injecting controller factories, injecting controllers)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Views (registering and injecting view engines, injecting dependencies into view pages)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Action fi lters (locating and injecting fi lters)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Model binders (registering and injecting)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Model validation providers (registering and injecting)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Model metadata providers (registering and injecting)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Value providers (registering and injecting)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are Display Modes in MVC4?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Display modes use a convention-based approach to allow selecting different views based on the browser making the request. The default view engine fi rst looks for views with names ending with .Mobile.cshtml when the browser’s user agent indicates a known mobile device. For example, if we have a generic view titled Index.cshtml and a mobile view titled Index.Mobile.cshtml, MVC 4 will automatically use the mobile view when viewed in a mobile browser.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Additionally, we can register your own custom device modes that will be based on your own custom criteria — all in just one code statement. For example, to register a WinPhone device mode that would serve views ending with .WinPhone.cshtml to Windows Phone devices, you’d use the following code in the Application_Start method of your Global.asax:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;DisplayModeProvider.Instance.Modes.Insert(0, new DefaultDisplayMode(&quot;WinPhone&quot;)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;ContextCondition = (context =&amp;gt; context.GetOverriddenUserAgent().IndexOf&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;(&quot;Windows Phone OS&quot;, StringComparison.OrdinalIgnoreCase) &amp;gt;= 0)&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What is AuthConfig.cs in MVC4?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;AuthConfig.cs&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;is used to configure security settings, including sites for OAuth login.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;What is BundleConfig.cs in MVC4?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;BundleConfig.cs in MVC4 is used to register bundles used by the bundling and minification&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;system. Several bundles are added by default, including jQuery, jQueryUI, jQuery &amp;nbsp;validation, Modernizr, and default CSS references.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;b&gt;What is FilterConfig.cs in MVC4?&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;This is used to register global MVC filters. The only filter registered by default is the &amp;nbsp;&amp;nbsp;&amp;nbsp;HandleErrorAttribute, but this is a great place to put other filter registrations.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;What is&amp;nbsp; RouteConfig.cs in MVC4?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;RouteConfig.cs holds the granddaddy of the MVC config statements, Route configuration.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;What is WebApiConfig.cs in MVC4?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;Used to register Web API routes, as well as set any additional Web API configuration settings.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What’s new in adding controller in MVC4 application?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Previously(in MVC3 and MVC2), the Visual Studio Add Controller menu item only displayed when we right-clicked on the Controllers folder. However, the use of the Controllers folder was purely for organization. (MVC will recognize any class that implements the IController interface as a Controller, regardless of its location in your application.) The MVC 4 Visual Studio tooling has been modified to display the Add Controller menu item for any folder in your MVC project. This allows us to organize your controllers however you would like, perhaps separating them into logical groups or separating MVC and Web API controllers.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;What are the software requirements of ASP.NET MVC 4 application?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;MVC 4 runs on the following Windows client operating systems:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in; text-indent: -.25in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; Windows XP&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; Windows Vista&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; Windows 7&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; Windows 8&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;It runs on the following server operating systems:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in; text-indent: -.25in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; Windows Server 2003&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; Windows Server 2008&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;·&lt;span style=&quot;font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; Windows Server 2008 R2&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;MVC 4 development tooling is included with Visual Studio 2012 and can be installed on Visual&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Studio 2010 SP1/Visual Web Developer 2010 Express SP1.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/3342407188478220466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3342407188478220466'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3342407188478220466'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-2.html' title='MVC Interview Questions and  Module -2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-2070490711535490634</id><published>2015-02-15T16:46:00.000+05:30</published><updated>2015-03-22T05:16:48.145+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>MVC Interview Questions and  Module -1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;What is MVC?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;MVC is a framework pattern that splits an application’s implementation logic into&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;three component roles: models, views, and controllers.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-list: l6 level1 lfo1; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Model&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;:&amp;nbsp;The business entity on which the overall application operates. Many applications use a persistent storage mechanism (such as a database) to store data. MVC does not specifically mention the data access layer because it is understood to be encapsulated by the Model.&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-list: l6 level1 lfo1; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;View&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;:&amp;nbsp;The user interface that renders the Model into a form of interaction.&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-list: l6 level1 lfo1; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Controller&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;:&amp;nbsp;Handles a request from a View and updates the Model that results in a change&amp;nbsp;of the Model&#39;s state.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;To implement MVC in .NET we need mainly three classes (View, Controller and the Model).&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Explain MVC Architecture?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: #9966cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-no-proof: yes; text-decoration: none; text-underline: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot;  coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot;  filled=&quot;f&quot; stroked=&quot;f&quot;&gt; &lt;v:stroke joinstyle=&quot;miter&quot;/&gt; &lt;v:formulas&gt;  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt; &lt;/v:formulas&gt; &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt; &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot;  alt=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhp-CzVuTq9v3x2HTiipI5wxLA2oGcyH8Nun99CmWnW8uU5HUTVMD0sWjVql9EzajBwBQha2RfkvBeuj5ra4x305mX8bpmcoK7faIR5FSDyZNnzy4aDoOECwTV9RQYzG_AH4c_xC3ITP9/s1600/1.jpg&quot;  href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhp-CzVuTq9v3x2HTiipI5wxLA2oGcyH8Nun99CmWnW8uU5HUTVMD0sWjVql9EzajBwBQha2RfkvBeuj5ra4x305mX8bpmcoK7faIR5FSDyZNnzy4aDoOECwTV9RQYzG_AH4c_xC3ITP9/s1600/1.jpg&quot;  style=&#39;width:425.25pt;height:167.25pt;visibility:visible;mso-wrap-style:square&#39;  o:button=&quot;t&quot;&gt; &lt;v:imagedata src=&quot;file:///C:\Users\ADROIT~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg&quot;   o:title=&quot;1&quot;/&gt;&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-BKQcYpD8rXqbNFkQ2tPFREFGqF6eIL0P0fcdnXB7kA0Twuo4lzoNCZ59f0Gr-CLx5NjZR0NQLK7-tqRxfW2fP6G8GPNd7KikqGYWcQm-vWTb8yx4F00_9C-rWWdO4wnhq6njgra-H7BN/s1600/mvc+architecture.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-BKQcYpD8rXqbNFkQ2tPFREFGqF6eIL0P0fcdnXB7kA0Twuo4lzoNCZ59f0Gr-CLx5NjZR0NQLK7-tqRxfW2fP6G8GPNd7KikqGYWcQm-vWTb8yx4F00_9C-rWWdO4wnhq6njgra-H7BN/s1600/mvc+architecture.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif; font-size: 14pt; line-height: 19pt;&quot;&gt;The architecture is self explanatory. The browser (as usual) sends a request to IIS, IIS searches for the route defined in MVC application and passes the request to the controller as per route, the controller communicates with the model and passes the populated model (entity) to View (front end), Views are populated with model properties, and are rendered on the browser, passing the response to browser through IIS via controllers which invoked the particular View.&lt;/span&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;What are the new features of MVC2?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ASP.NET MVC 2 was released in March 2010. Its main features are:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l4 level1 lfo2; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;1.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Introduction of UI helpers with automatic scaffolding with customizable templates.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l4 level1 lfo2; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;2.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Attribute-based model validation on both client and server.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l4 level1 lfo2; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;3.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Strongly typed HTML helpers.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l4 level1 lfo2; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;4.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Improved Visual Studio tooling&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l4 level1 lfo2; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;5.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;There were also lots of API enhancements and “pro” features, based on feedback from developers building a variety of applications on ASP.NET MVC 1, such as:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt 1in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Support for partitioning large applications into&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;areas.&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt 1in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Asynchronous controllers support.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt 1in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Support for rendering subsections of a page/site using Html.RenderAction.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt 1in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Lots of new helper functions, utilities, and API enhancements&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt 1in; text-indent: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in; text-indent: -.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;What are the new features of MVC3?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ASP.NET MVC 3 shipped just 10 months after MVC 2 in Jan 2011.Some of the top features in MVC 3 included:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;The Razor view engine.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Support for .NET 4 Data Annotations.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Improved model validation&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Greater control and flexibility with support for dependency resolution and global action filters.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Better JavaScript support with unobtrusive JavaScript, jQuery Validation, and JSON binding.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Use of NuGet to deliver software and manage dependencies throughout the platform.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;What are the new features of MVC4?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Following are the top features of MVC4:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ASP.NET Web API.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Enhancements to default project templates.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Mobile project template using jQuery Mobile.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Display Modes.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Task support for Asynchronous Controllers.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0in 0in 3pt; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 13.5pt; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 7.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Bundling and minification.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Explain “page lifecycle” of an ASP.NET MVC?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Following process are performed by ASP.Net MVC page:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l5 level1 lfo6; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;1.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;App initialization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l5 level1 lfo6; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;2.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Routing&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l5 level1 lfo6; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;3.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Instantiate and execute controller&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l5 level1 lfo6; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;4.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Locate and invoke controller action&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l5 level1 lfo6; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;5.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Instantiate and render view&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Advantages of MVC Framework?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo7; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;1.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Provides a clean separation of concerns between UI (Presentation layer), model (Transfer objects/Domain Objects/Entities) and Business Logic (Controller).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo7; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;2.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Easy to UNIT Test.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo7; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;3.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Improved reusability of views/model. One can have multiple views which can point tosame model and vice versa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: 3.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo7; tab-stops: list .5in; text-indent: 0in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: Arial;&quot;&gt;4.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Improved structuring of the code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;What do you mean by Separation of Concerns?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;As per Wikipedia &#39;the process of breaking a computer program into distinct features that overlap in functionality as little as possible&#39;. MVC design pattern aims to separate content from presentation and data-processing from content.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Where do we see Separation of Concerns in MVC?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Between the data-processing (&lt;i&gt;Model&lt;/i&gt;) and the rest of the application.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;When we talk about Views and Controllers, their ownership itself explains separation. The views are just the presentation form of an application, it does not have to know specifically about the requests coming from controller. The Model is independent of View and Controllers, it only holds business entities that can be passed to any View by the controller as required for exposing them to the end user. The controller is independent of Views and Models, its sole purpose is to handle requests and pass it on as per the routes defined and as per the need of rendering views. Thus our business entities (model), business logic (controllers) and presentation logic (views) lie in logical/physical layers independent of each other.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;What is Razor View Engine?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Razor is the first major update to render HTML in MVC3.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Sabon-Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 9.5pt; mso-bidi-font-family: Arial; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Razor was designed specifically as a view engine syntax. It has one main focus:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;code&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;-&lt;i&gt;focused templating for HTML generation&lt;/i&gt;. Here’s how that same markup would be generated using Razor:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;background: yellow; color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;@model&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;MvcMusicStore&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;.Models.Genre&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;background: yellow; color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;@{&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ViewBag.Title =&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&quot;Browse Albums&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;;&lt;span style=&quot;background: yellow;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;=&quot;genre&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;em&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: yellow; color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Model.&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Name&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;em&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Albums&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;=&quot;album-list&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;background: yellow; color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;foreach&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;album&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;in&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Model.&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Albums&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;=&quot;&lt;/span&gt;&lt;span style=&quot;background: yellow; color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Url.Action(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&quot;Details&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;, new { id = album.&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;AlbumId&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;})&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;=&quot;&lt;/span&gt;&lt;span style=&quot;background: yellow; color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;album.&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Title&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;=&quot;&lt;/span&gt;&lt;span style=&quot;background: yellow; color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;album.&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;AlbumArtUrl&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: yellow; color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;album.&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Title&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The Razor syntax is easier to type, and easier to read. Razor doesn’t have the XML-like heavy syntax.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;of the Web Forms view engine.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;What is Unobtrusive JavaScript?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Unobtrusive JavaScript is a general term that conveys a general philosophy, similar to the term&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;REST (Representational State Transfer). The high-level description is that unobtrusive JavaScript doesn’t intermix JavaScript code in your page markup. For example, rather than hooking in via event attributes like onclick and onsubmit, the unobtrusive JavaScript attaches to elements by their ID or class, often based on the presence of other attributes (such as HTML5 data- attributes).&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;It’s got semantic meaning, and all of it — the tag structure, element attributes, and so on — should have a precise meaning. Strewing JavaScript gunk across the page to facilitate interaction (I’m looking at you, __doPostBack!) harms the content of the document.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 19.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/2070490711535490634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/2070490711535490634'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/2070490711535490634'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/mvc-interview-questions-and-module-1.html' title='MVC Interview Questions and  Module -1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-BKQcYpD8rXqbNFkQ2tPFREFGqF6eIL0P0fcdnXB7kA0Twuo4lzoNCZ59f0Gr-CLx5NjZR0NQLK7-tqRxfW2fP6G8GPNd7KikqGYWcQm-vWTb8yx4F00_9C-rWWdO4wnhq6njgra-H7BN/s72-c/mvc+architecture.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-5975755190109602365</id><published>2015-02-15T16:32:00.000+05:30</published><updated>2016-12-11T02:40:03.347+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'>JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;41).Is jQuery a W3C standard?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;No&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;42).What is the use of jquery .each() function?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Basically, the jQuery .each() function is used to loop through each element of the target jQuery object. Very useful for multi element DOM manipulation, looping arrays and object properties.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Example:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;In this example alert box will open 3 times because dom contain 3 &amp;lt;li&amp;gt; tags&lt;/span&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$(document).ready(function(){&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;$(&quot;button&quot;).click(function(){&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&quot;li&quot;).each(function(){&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert($(this).text())&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;});&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;li&amp;gt;Coffee&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;li&amp;gt;Milk&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;li&amp;gt;Soda&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;43).If you have a server control(asp.net server control, Button) and on the click of button you want to call a jquery function, So how you will call a jquery function without postback?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;ASP.NET provides the OnClientClick property to handle button clicks. You can use this property on Button, LinkButton and ImageButton. The same OnClientClick property also allows you to cancel a postback.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;So I can use OnClientClick property and Jquery function will return false.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Example&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function callMe()&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert(&#39;Hello&#39;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; OnClientClick=&quot;return callMe();&quot; Text=&quot;Button&quot; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;44).What is the use of .Size() method in Jquery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Jquery&#39;s .size() method returns number of element in the object. That means that you can count the number of elements within an object.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;45).What is the difference between jquery.size() and jquery.length?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Jquery.size() and jquery.length both returns the number of element found in the object. But, jquery.length is faster than jquery.size() because size() is a method but length is a property.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;46).How you can debug Jquery code/What are the technique to debug jquery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Add the keyword &quot;debugger;&quot; to the line from where we want to start the debugging and then run the Visual Studio in Debug mode by pressing F5 or using the Debug button.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;47).Difference between jQuery-x.x.x.js and jQuery.x.x.x min.js?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;jQuery-x.x.x.js = Pretty and easy to read&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot;  coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot;  filled=&quot;f&quot; stroked=&quot;f&quot;&gt; &lt;v:stroke joinstyle=&quot;miter&quot;/&gt; &lt;v:formulas&gt;  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt; &lt;/v:formulas&gt; &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt; &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_2&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot;  alt=&quot;Smile&quot; style=&#39;width:15.75pt;height:15.75pt;visibility:visible;  mso-wrap-style:square&#39;&gt; &lt;v:imagedata src=&quot;file:///C:\Users\ADROIT~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.gif&quot;   o:title=&quot;Smile&quot;/&gt;&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Smile&quot; height=&quot;21&quot; src=&quot;file:///C:/Users/ADROIT~1/AppData/Local/Temp/msohtmlclip1/01/clip_image001.gif&quot; v:shapes=&quot;Picture_x0020_2&quot; width=&quot;21&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;Read this one.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;jQuery.x.x.x min.js = Looks like jibberish! But has a smaller file size. Put this one on your site for fast loading and less size.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;48).How to get the server response from an AJAX request using Jquery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;When invoking functions that have asynchronous behavior We must provide a callback function to capture the desired result. This is especially important with AJAX in the browser because when a remote request is made, it is indeterminate when the response will be received.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Below an example of making an AJAX call and alerting the response (or error):&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$.ajax({&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;url: &#39;pcdsEmpRecords.php&#39;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;success: function(response) {&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;alert(response);&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;},&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;error: function(xhr) {&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;alert(&#39;Error! Status = &#39; + xhr.status);&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;49).Do we need to add the JQuery file both at the Master page and Content page as well?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;No, if the Jquery file has been added to the master page then we can access the content page directly without adding any reference to it.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;This can be done using this simple example&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;jQuery-1.4.1-min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;50).Difference between onload() and document.ready() function used in jQuery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;We can add more than one document.ready() function in a page.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;we can have only one onload function.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Document.ready() function is called as soon as DOM is loaded.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;body.onload() function is called when everything (DOM, images)gets loaded on the page.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/5975755190109602365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/5975755190109602365'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/5975755190109602365'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers.html' title='JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -5'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-1711179885152925273</id><published>2015-02-15T16:16:00.000+05:30</published><updated>2016-12-11T02:40:03.338+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'>JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -4</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;31).What is difference between jQuery&#39;s ready and holdReady?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;jQuery&#39;s ready is an event which gets triggered automatically when DOM is ready while holdReady is a signal/flag to hold this triggering. holdReady was included in 1.6 version and it works only if used before the execution/triggering of ready event. Once ready event is fired, it has nothing to do. It is useful in dynamically loading scripts before the ready starts. It release ready event execution when used with a true parameter.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;32).What is Jquery $.ajax() method?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;The Jquery ajax() method is used to perform an AJAX (asynchronous HTTP) request.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;33).Name any four&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14.6666669845581px; line-height: 16.8666667938232px;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;&amp;nbsp;of Jquery ajax method?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;url : Specifies the URL to send the request to. Default is the current page&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;type : Specifies the type of request. (GET or POST)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;data : Specifies data to be sent to the server&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;cache: A Boolean value indicating whether the browser should cache the requested pages. Default is true&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;beforeSend(xhr): A function to run before the request is sent&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;34).When can you use jQuery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;JQuery can be used to perform&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;1.Call methods on specific events&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;2.Traverse the documents&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;3.For apply CSS&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;4.Manipulation purpose and&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;5.To add effects too.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;6.For apply animations&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;7.For give attractive look (dialog box etc)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;8.For asynchronous calls ($.ajax())&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;35).What is the use of noConflict() method in Jquery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;36).How to select combobox&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14.6666669845581px; line-height: 16.8666667938232px;&quot;&gt;selectedvalue&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;&amp;nbsp;and text using Jquery?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;Example:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;var StateID = $(&quot;#StateCbx&quot;).val(); // Or you can use it $(&quot;#iStateID&quot;).val();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;var StateName = $(&quot;#StateCbx option:selected&quot;).text();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;alert(&quot;Selected combobox text is= &quot; + StateName + &quot; and value is= &quot; + StateID);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;37).JQuery html() method works for both HTML and XML documents?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;No, It only works for HTML&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;38).Can you call C#&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14.6666669845581px; line-height: 16.8666667938232px;&quot;&gt;code behind&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;&amp;nbsp;method using Jquery?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;Yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;39).How can you call a method inside code-behind using jQuery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;By $.ajax and by declaring method a WebMethod&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;40).What is the use of jQuery.data()?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;jQuery’s data method gives us the ability to associate arbitrary data with DOM nodes and JavaScript objects. This makes our code more concise and clean.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/1711179885152925273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers_15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/1711179885152925273'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/1711179885152925273'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers_15.html' title='JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -4'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-3932104440287445987</id><published>2015-02-15T16:14:00.000+05:30</published><updated>2016-12-11T02:40:03.344+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'>JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas;&quot;&gt;21).Write the code for setting datetimepicker on textbox click.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;If below is our textbox&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;lt;input type=&quot;text&quot; id=&quot;abc&quot; name=%26quot%3Bacc%26quot%3B value=&quot;Select Date&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;then Jquery code will be&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;$(&quot;#abc&quot;).datepicker();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;22).If you have a table, how you will apply the two differt color on alternate rows using Jquery?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;table border=&quot;1&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Vikas Ahlawat&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Edwin George&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Rohit Khurana&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Gyan Singh&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/table&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Ans :&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;script src=&quot;jquery.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$(document).ready(function()&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;$(&quot;tr:even&quot;).css(&quot;background-color&quot;, &quot;#f4f4f8&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;$(&quot;tr:odd&quot;).css(&quot;background-color&quot;, &quot;#ffffff&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;23).Name the Jquery method which is used to hide selected elements?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: .hide()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;24).Name the Jquery methods which are used for apply css class?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;$(&quot;#Id1&quot;).addClass(&#39;YourClassName&#39;); // for apply class&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;$(&quot;#Id1&quot;).removeClass(&#39;YourClassName&#39;); // for remove class&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;25).What is the use of attr() method in Jquery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;The attr() method sets or returns attributes and values of the selected elements.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;When this method is used to return the attribute value, it returns the value of the first matched element.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;When this method is used to set attribute values, it sets one or more attribute/value pairs for the set of matched elements.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$(selector).attr(attribute) //it will return the value of an attribute&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$(selector).attr(attribute,value) //it will set the value of an attribute&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$(selector).attr({attribute:value, attribute:value,...}) //for set multiple attribute&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;26).Can we use both jQuery and AJAX together?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;27).Tell the name of jQuery method which is used to perform an asynchronous HTTP request?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: jQuery.ajax()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;28).What is the use of jquery load() method?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;The jQuery load() method is a powerful AJAX method.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;The load() method loads data from a server and puts the returned data into the selected element without reload the complate page.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ex:The following example loads the content of the file &quot;demo_test.txt&quot; into a specific &amp;lt;div&amp;gt; element&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;$(&quot;#div1&quot;).load(&quot;demo_test.txt&quot;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;29).Can we use our own specific charactor in the place of $ sigh in Jquery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: Yes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;You can also create your own shortcut very easily. The noConflict() method returns a reference to jQuery, that you can save in a variable, for later use. Here is an example:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;var vikas = $.noConflict();&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;vikas(document).ready(function(){&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;vikas(&quot;button&quot;).click(function(){&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vikas(&quot;p&quot;).text(&quot;jQuery is still working!&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;});&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;30).Name the 5 Jquery events?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery Events&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery click() event.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery dblclick() event.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery mouseenter() event.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery mouseleave() event.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery mousedown() event.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery mouseup() event.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery hover() event.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;jQuery focus() and blur() events.&lt;/span&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/3932104440287445987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3932104440287445987'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3932104440287445987'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers_20.html' title='JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-606172267836071806</id><published>2015-02-15T16:13:00.000+05:30</published><updated>2016-12-11T02:40:03.349+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'>JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas;&quot;&gt;11).Where Jquery code execute? On client browser or server browser?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;On client browser&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;12).Write the code for selecting the&lt;br /&gt;1st div element, 4th div element&lt;br /&gt;last div, and for even and odd div elemets also.&lt;br /&gt;one by one?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;apply the red color on the above div.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;div class=&quot;questions&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;box&quot;&amp;gt; Question&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;box&quot;&amp;gt; Question&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;box&quot;&amp;gt; Question&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;box&quot;&amp;gt; Question&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;box&quot;&amp;gt; Question&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;box&quot;&amp;gt; Question&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Code for first div&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : $(&quot;div.questions &amp;gt; div:first&quot;).css(&quot;color&quot;, &quot;red&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Code for 4th div&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : $(&quot;div.questions &amp;gt; div:nth-child(4)&quot;).css(&quot;color&quot;, &quot;red&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Code for last div&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: $(&quot;div.questions &amp;gt; div:last&quot;).css(&quot;color&quot;, &quot;red&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Code for even div&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: $(&quot;div.questions &amp;gt; div:even&quot;).css(&quot;color&quot;, &quot;red&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Code for odd div&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : $(&quot;div.questions &amp;gt; div:odd&quot;).css(&quot;color&quot;, &quot;red&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;13).Write the code for select second last div element?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Code for second last div : $(&quot;div.questions &amp;gt; div::nth-last-child(2)&quot;).css(&quot;color&quot;, &quot;red&quot;); &amp;lt;!-- Introduced in CSS3 --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;14).What are the advantages of using jQuery over JavaScript in ASP.NET web application&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Below are the advatages of using jQery over JavaScript&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;a&amp;gt;.Jquery is well written optimised javascript code so&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;it will be faster in execution unless we write same standard optimised javascript code.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;b&amp;gt;.Jquery is concise java script code ,means minimal ammount of code&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;is to be written for the same functionality than the javascript.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;c&amp;gt;.Javascript related Development is fast using Jquery because most of the&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;functionality is already written in the library and we just need to use that.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;d&amp;gt;.Jquery has cross browser support ,so we save time for supporting all the browsers.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;15).What is Chaining in jQuery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;In jQuery, Chaining means to connect multiple functions, events on selectors. look at Sample Code 1 and 2.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Sample Code 1&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Cambria Math&#39;, serif; font-size: 10pt;&quot;&gt;​&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$(document).ready(function(){&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&#39;#dvContent&#39;).addClass(&#39;dummy&#39;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&#39;#dvContent&#39;).css(&#39;color&#39;, &#39;red&#39;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&#39;#dvContent&#39;).fadeIn(&#39;slow&#39;);&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Cambria Math&#39;, serif; font-size: 10pt;&quot;&gt;​&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Sample Code 2 (using Chaining)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Cambria Math&#39;, serif; font-size: 10pt;&quot;&gt;​&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$(document).ready(function(){&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&#39;#dvContent&#39;).addClass(&#39;dummy&#39;)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.css(&#39;color&#39;, &#39;red&#39;)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.fadeIn(&#39;slow&#39;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Cambria Math&#39;, serif; font-size: 10pt;&quot;&gt;​&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background: white; font-family: Consolas;&quot;&gt;Both the sample codes above will perform the exact same thing but the only difference is that Sample code 2 is using Chaining. But Code 2 is faster and shorter then Code 1.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;The problem with the Sample Code 1 is that for every statement, jQuery has to search the entire DOM and find the element and after that executes the attached function on it. But when chaining is used, then jQuery has to find the element only once and it will execute all the attached functions one by one. This is the advantage of Chaining.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;For read more click on the below link&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;a href=&quot;http://jquerybyexample.blogspot.com/2012/06/what-is-chaining-in-jquery.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; text-decoration: none;&quot;&gt;http://jquerybyexample.blogspot.com/2012...query.html&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;a href=&quot;http://tobiasahlin.com/blog/quick-guide-chaining-in-jquery/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; text-decoration: none;&quot;&gt;http://tobiasahlin.com/blog/quick-guide-...in-jquery/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;16).Is jQuery a library for client scripting or server scripting?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: Client Script&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;17).What is jQuery &amp;amp; its significance? Why it is so popular?...&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;18).What are features of JQuery&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;&lt;br /&gt;or&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;&lt;br /&gt;What can be done using JQuery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Features of Jquery&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;1. One can easily provide effects and can do animations.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;2. Applying / Changing CSS.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;3. Cool plugins.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;4. Ajax support&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;5. DOM selection events&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;6. Event Handling&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;19).How to check Jquery UI loaded or not?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: // Checking if jQuery UI is loaded or not&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;if($.ui){&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// jQuery UI is loaded&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}else {&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// jQuery UI is not loaded&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;20).How check currently loaded jQuery UI version on the page?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: // Returns jQuery UI version (ex: 1.8.2) or undefined&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;$.ui.version&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/606172267836071806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers_21.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/606172267836071806'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/606172267836071806'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers_21.html' title='JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-1838766525297553260</id><published>2015-02-15T16:12:00.000+05:30</published><updated>2016-12-11T02:40:03.341+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'>JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas;&quot;&gt;1).What is Jquery?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;jquery is javascript library which required a jquery.js file. After that you can write the jquery as fallows. It uses &quot;$&quot; as the short hand to write jquery code.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Simple Syntax is&lt;/span&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;$(document).ready(function()&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function body&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;2).When Jquery founded and by whome?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;It was released in January 2006 at BarCamp NYC by John Resig(Jquery founder).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;3).What scripting language is jQuery written in?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: JavaScript&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;4).Write a basic code for add jquery library to pages?&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;jquery.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;// You can write the code here&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;a href=&quot;http://www.tutoriz.com/&quot;&amp;gt;Jquery Interview Questions and Answers&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;5).What is jQuery Selectors? Give some examples.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: Selectors are used in jQuery to find out DOM elements. Selectors can find the elements via ID, CSS, Element name and hierarchical position of the element.&lt;/span&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Selector &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Example&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Selects&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$(&quot;*&quot;) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; All elements&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;#id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&quot;#lastname&quot;) &amp;nbsp; The element with id=lastname&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;.class &amp;nbsp; &amp;nbsp; &amp;nbsp; $(&quot;.intro&quot;) &amp;nbsp; &amp;nbsp; &amp;nbsp;All elements with class=&quot;intro&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;element&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&quot;p&quot;) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; All p elements&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;6).What $(&quot;div.tutoriz&quot;) will select?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: All the div element with tutoriz class.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;7).jQuery uses CSS selectors and XPath expressions to select elements true or false?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans:- True&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;8).What are the fastest selectors in Jquery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: ID and element selectors are the fastest selectors&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;9).What are the slower selecoters in Jquery?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: Class selectors are slower&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;10).Which one is faster Jquery ID selector or JavaScript getElementById()?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;(Jquery ID selector vs JavaScript getElementById())&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: JavaScript getElementById() is faster than Jquery Id ($(&quot;#elementID&quot;)) selector&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/1838766525297553260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/1838766525297553260'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/1838766525297553260'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/jquery-interview-questions-and-answers_28.html' title='JQUERY INTERVIEW QUESTIONS AND ANSWERS Module -1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-2184391795657583184</id><published>2015-02-15T16:05:00.000+05:30</published><updated>2015-03-22T05:16:48.574+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.Net"/><title type='text'>Asp.Net  State Management Interview Questions Module -2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b style=&quot;font-family: Consolas; font-size: 14.6666669845581px; line-height: 16.8666667938232px;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;11).What are the session modes available in asp.net?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Off&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;InProc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;StateServer(Out-Proc)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;SQLServer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Custom&lt;/span&gt;&lt;br /&gt;&lt;br style=&quot;font-family: Consolas; font-size: 14.6666669845581px; line-height: 16.8666667938232px;&quot; /&gt;&lt;b style=&quot;font-family: Consolas; font-size: 14.6666669845581px; line-height: 16.8666667938232px;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;12).What is the default session modes in asp.net?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: InProc&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;13).What are the disadvantages of using InProc session mode?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: Its stores session information in the current Application Domain.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;So it will lose data if we restart the server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;14).Session_End() event is supported by which session mode only?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: Session_End() event is supported by InProc mode only.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;15).What do you understand by StateServer(Out-Proc) mode?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: StateServer session mode is also called Out-Proc session mode. StateServer uses a stand-alone Windows Service which is independent of IIS and can also be run on a separate server. This session state is totally managed by aspnet_state.exe. This server may run on the same system, but it&#39;s outside of the main application domain where your web application is running. This means if you restart your ASP.NET process, your session data will still be alive.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;16).Under StateServer(Out-Proc) mode the session state is managed by?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: aspnet_state.exe&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;17).What are the advantages and disadvantages of StateServer(Out-Proc) Session mode?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: Advantages:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;It keeps data separate from IIS so any issues with IIS will not hamper session data.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;It is useful in web farm and web garden scenarios.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Disadvantages:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Process is slow due to serialization and de-serialization.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;State Server always needs to be up and running.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;18).Under SQLServer Session Mode where the session data store?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: In SQLServersession mode, session data is serialized and stored in A SQL Server database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;19).What is the big disadvantage of SqlServer Session mode?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: The main disadvantage of SqlServer Session mode storage method is the overhead related with data serialization and de-serialization.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;20).What are the advantages and disadvantages of SqlServer Session mode?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: Advantages:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Session data not affected if we restart IIS.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;The most reliable and secure session management.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;It keeps data located centrally, is easily accessible from other applications.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Very useful in web farms and web garden scenarios.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Disadvantages:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Processing is very slow in nature.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Object serialization and de-serialization creates overhead for the application.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;As the session data is handled in a different server, we have to take care of SQL Server. It should be always up and running.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/2184391795657583184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/aspnet-state-management-interview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/2184391795657583184'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/2184391795657583184'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/aspnet-state-management-interview.html' title='Asp.Net  State Management Interview Questions Module -2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-8367823083124180183</id><published>2015-02-15T16:02:00.000+05:30</published><updated>2015-03-22T05:16:48.585+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.Net"/><title type='text'>Asp.Net  State Management Interview Questions Module-1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas;&quot;&gt;1).What is state management?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: State management is the process by which you maintain state and page information over multiple requests for the same or different pages.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;2).Http is stateless, What does this mean?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: Stateless protocol is a communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;3).What is Session?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: We know that Http is stateless, means when we open a webpage and fill some information and then move to next page then the data which we have entered will lost.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;It happed do to Http protocol stateless nature. So here session come into existence, Session provide us the way of storing data in server memory. So you can store your page data into server&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;memory and retrieve it back during page postbacks.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;4).What are the Advantage and disadvantage of Session?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: Advantages:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Session provide us the way of maintain user state/data.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;It is very easy to implement.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;One big advantage of session is that we can store any kind of object in it. :eg, datatabe, dataset.. etc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;By using session we don&#39;t need to worry about data collesp, because it store every client data separately.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Session is secure and transparent from the user.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Disadvantages:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Performance overhead in case of large volumes of data/user, because session data is stored in server memory.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Overhead involved in serializing and de-serializing session data, because in the case of StateServer and SQLServer session modes, we need to serialize the objects before storing them.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;5).What is Session ID in Asp.net?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: Asp.Net use 120 bit identifier to track each session. This is secure enough and can&#39;t be reverse engineered. When client communicate with server, only session id is transmitted, between them. When client request for data, ASP.NET looks on to session ID and retrieves corresponding data.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;6).By default where the sessions ID&#39;s are stored ?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: By default, the unique identifier for a session is stored in a non-expiring session cookie in the browser. You can specify that session identifiers not be stored in a cookie by setting the cookieless attribute to true in the sessionState configuration element.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;We can also configure our application to store it in the url by specifying a &quot;cookieless&quot; session&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;The ASP Session cookie has this format:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;ASPSESSIONIDACSSDCCC=APHELKLDMNKNIOJONJACDHFN&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;7).Where does session stored if cookie is disabled on client’s machine?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans: If you want to disable the use of cookies in your ASP.NET application and still make use of session state, you can configure your application to store the session identifier in the URL instead of a cookie by setting the cookieless attribute of the sessionState configuration element to true, or to UseUri, in the Web.config file for your application.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;The following code example shows a Web.config file that configures session state to use cookieless session identifiers.&lt;/span&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;configuration&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;system.web&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;sessionState&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cookieless=&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;regenerateExpiredSessionId=&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;timeout=&quot;30&quot; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/system.web&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/configuration&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;8).Can you describe all the property set in web.config under session state?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;Ans:&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;Code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;configuration&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;sessionstate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mode=&quot;inproc&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cookieless=&quot;false&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;timeout=&quot;20&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sqlconnectionstring=&quot;data source=127.0.0.1;user id=&amp;lt;user id&amp;gt;;password=&amp;lt;password&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;server=&quot;127.0.0.1&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;port=&quot;42424&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;/configuration&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;Mode: The mode setting supports three options: inproc, sqlserver, and stateserver. As stated earlier, ASP.NET supports two modes: in process and out of process. There are also two options for out-of-process state management: memory based (stateserver), and SQL Server based (sqlserver). We&#39;ll discuss implementing these options shortly.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Cookieless: The cookieless option for ASP.NET is configured with this simple Boolean setting.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Timeout: This option controls the length of time a session is considered valid. The session timeout is a sliding value; on each request the timeout period is set to the current time plus the timeout value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Sqlconnectionstring: The sqlconnectionstring identifies the database connection string that names the database used for mode sqlserver.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Server: In the out-of-process mode stateserver, it names the server that is running the required Windows NT service: ASPState.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Port: The port setting, which accompanies the server setting, identifies the port number that corresponds to the server setting for mode stateserver.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;9).What are Session Events?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: There are two types of session events available in ASP.NET:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Session_Start&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Session_End&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;You can handle both these events in the global.asax file of your web application. When a new session initiates, the session_start event is raised, and the Session_End event raised when a session is abandoned or expires.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;10).How you can disable session?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: If we set session Mode=&quot;off&quot; in web.config, session will be disabled in the application. For this, we need to configure web.config the following way:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;br /&gt;11).What are the session modes available in asp.net?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Off&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;InProc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;StateServer(Out-Proc)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;SQLServer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Custom&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;12).What is the default session modes in asp.net?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: InProc&lt;/span&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/8367823083124180183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/aspnet-state-management-interview_15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/8367823083124180183'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/8367823083124180183'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/aspnet-state-management-interview_15.html' title='Asp.Net  State Management Interview Questions Module-1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-6738558811892520696</id><published>2015-02-15T16:00:00.000+05:30</published><updated>2015-03-22T05:16:48.656+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.Net"/><title type='text'> Asp.Net View State Interview Questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Asp.net View State Interview Questions&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;If you are preparing for Interview then, this set of questions will help you.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;1). What is View State in Asp.net?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: View state is nothing but a method that the ASP.NET use to preserve page and control values between postbacks. When the HTML markup for the page is rendered, the current state of the page and values that must be retained during postback are serialized into base64-encoded strings. This information is then put into the view state hidden field.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;2). View state is client-side or server side state management technique?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: View state is client-side state management techenique&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;3). What are the client-side state management technique supported by ASP.NET?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: View state&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Control state&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Hidden fields&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Cookies&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Query strings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;4). View state is used by Asp.net page atomatically or we need to apply it manuly?&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: View state is used automatically by the ASP.NET page framework to persist information that must be preserved between postbacks.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;5). When you can use(take advantage of vs) view state?&lt;br /&gt;or What you can do by use view state?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: a) Keep values between postbacks without storing them in session state or in a user profile.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;b) Store the values of page or control properties that you define.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;c) Create a custom view state provider that lets you store view state information in a SQL Server database or in another data store.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;6). What are the advantages of using view state?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: No server resources are required : The view state is contained in a structure within the page code.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Simple implementation : View state does not require any custom programming to use. It is on by default to maintain state data on controls.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Enhanced security features : The values in view state are hashed, compressed, and encoded for Unicode implementations, which provides more security than using hidden fields.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;7). What are the limitations of view state?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Ans: Limitations:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Because view state is stored in the page, it results in a larger total page size.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;ASP.NET uses view state only with page and control properties.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;View state isn&#39;t a good place to store sensitive information that the client shouldn&#39;t be allowed to see.&lt;/span&gt;&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/6738558811892520696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/aspnet-view-state-interview-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/6738558811892520696'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/6738558811892520696'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/aspnet-view-state-interview-questions.html' title=' Asp.Net View State Interview Questions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-8982335180678247842</id><published>2015-02-15T12:47:00.000+05:30</published><updated>2015-03-22T05:16:48.666+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>CSS Objective Questions and Answers Module-6</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span class=&quot;style53&quot; style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;How do I make my div 100% height?&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;You need to know what the 100% is of, so the parent div must have a height set. One problem that people often come up against is making the main page fill the screen if there&#39;s little content. You can do that like this :&lt;br /&gt;CSS&lt;br /&gt;body, html {&lt;br /&gt;height:100%;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;body {&lt;br /&gt;margin:0;&lt;br /&gt;padding:0;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;#wrap {&lt;br /&gt;position:relative;&lt;br /&gt;min-height:100%;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;* html #wrap {&lt;br /&gt;height:100%;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Here, the #wrap div goes around your whole page - it&#39;s like a sub-body.&lt;br /&gt;&lt;br /&gt;You need to use &#39;min-height&#39; rather than &#39;height&#39; for Firefox because otherwise it will set it to 100% of the viewport and no more. Internet Explorer, being well... crap, treats &#39;height&#39; as it should be treating &#39;min-height&#39; which it doesn&#39;t recognise. (You can target IE by preceding your code with &#39; * html &#39;).&lt;br /&gt;&lt;br /&gt;To make floated divs within this #wrap div 100% of the #wrap div... well that&#39;s more difficult. I think the best way is to use the &#39;faux columns&#39; technique which basically means that you put the background in your body rather than your columns. If the body has columns and your floats don&#39;t then it looks like your floated content is in a column that stretches to the bottom of the page. I&#39;ve used this technique in my layout demos.&lt;br /&gt;&lt;br /&gt;The problem is often not that the columns aren&#39;t 100% height, but that they&#39;re not equal lengths. Columns usually don&#39;t start from the top of the page and end at the bottom - there&#39;s often a header and a footer or sometimes, more interesting designs don&#39;t have a recognisable columnar layout, but do require div boxes to be equal heights. This can be done with the aid of a couple of images and some css or with some javascript.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is property?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Property is a stylistic parameter (attribute) that can be influenced through CSS, e.g. FONT or WIDTH. There must always be a corresponding value or values set to each property, e.g. font: bold or font: bold san-serif.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span class=&quot;style53&quot; style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;How do I write my style sheet so that it gracefully cascades with user&#39;s personal sheet ?&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;You can help with this by setting properties in recommended places. Style rules that apply to the whole document should be set in the BODY element -- and only there. In this way, the user can easily modify document-wide style settings.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What are pseudo-elements?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Pseudo-elements are fictional elements that do not exist in HTML. They address the element&#39;s sub-part (non-existent in HTML) and not the element itself. In CSS1 there are two pseudo-elements: &#39;first-line pseudo-element&#39; and &#39;first-letter pseudo-element&#39;. They can be attached to block-level elements (e.g. paragraphs or headings) to allow typographical styling of their sub-parts. Pseudo-element is created by a colon followed by pseudo-element&#39;s name, e.g:&lt;br /&gt;&lt;br /&gt;P:first-line&lt;br /&gt;H1:first-letter&lt;br /&gt;&lt;br /&gt;and can be combined with normal classes; e.g:&lt;br /&gt;&lt;br /&gt;P.initial:first-line&lt;br /&gt;&lt;br /&gt;First-line pseudo-element allows sub-parting the element&#39;s first line and attaching specific style exclusively to this sub-part; e.g.:&lt;br /&gt;&lt;br /&gt;P.initial:first-line {text-transform: uppercase}&lt;br /&gt;&lt;br /&gt;&amp;lt;P class=initial&amp;gt;The first line of this paragraph will be displayed in uppercase letters&amp;lt;/P&amp;gt;&lt;br /&gt;&lt;br /&gt;First-letter pseudo-element allows sub-parting the element&#39;s first letter and attaching specific style exclusively to this sub-part; e.g.:&lt;br /&gt;&lt;br /&gt;P.initial:first-letter { font-size: 200%; color: red}&lt;br /&gt;&lt;br /&gt;&amp;lt;P class=initial&amp;gt;The first letter of this paragraph will be displayed in red and twice as large as the remaining letters&amp;lt;/P&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;How can I make a page look the same in e.g. NS and MSIE ?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;The simple answer is, you can&#39;t, and you shouldn&#39;t waste your time trying to make it exactly the same. Web browsers are allowed, per definition, to interpret a page as they like, subject to the general rules set down in the HTML and CSS specifications. As a web author you can not have a prior knowledge of the exact situation and/or medium that will be used to render your page, and it&#39;s almost always rather counterproductive to try to control that process. There is no necessity for a well-written page to look the same in different browsers. You may want to strive to ensure that it looks good in more than one browser, even if the actual display (in the case of graphical browsers) comes out a bit different. &quot;Looking good&quot; can be achieved by adopting sensible design and guidelines, such as not fixing the size or face of your fonts, not fixing the width of tables, etc… Don&#39;t fight the medium; most web users only use one browser and will never know, or bother to find out, that your page looks different, or even &quot;better&quot;, in any other browser.&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;Is there anything that CAN&#39;T be replaced by Style Sheets?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Quite a bit actually. Style sheets only specify information that controls display and rendering information. Virtual style elements that convey the NATURE of the content can not be replaced by style sheets, and hyperlinking and multimedia object insertion is not a part of style sheet functionality at all (although controlling how those objects appear IS part of style sheets functionality.) The CSS1 specification has gone out of its way to absorb ALL of the HTML functionality used in controlling display and layout characteristics. For more information on the possible properties in CSS, see the Index DOT Css Property Index.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Rule of Thumb: if an HTML element or attribute gives cues as to how its contents should be displayed, then some or all of its functionality has been absorbed by style sheets.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/8982335180678247842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/8982335180678247842'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/8982335180678247842'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers.html' title='CSS Objective Questions and Answers Module-6'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-256891855431797782</id><published>2015-02-15T12:11:00.000+05:30</published><updated>2015-03-22T05:16:48.724+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>CSS Objective Questions and Answers Module-5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span class=&quot;style54&quot; style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;How do I get rid of the gap under my image?&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;Images are inline elements, which means they are treated in the same way as text. Most people kind of know this - they know that if you use &#39;text-align:center&#39; on an image it will be centred. What many people don&#39;t realise is that this means you will have a gap underneath an image. This gap is for the descenders of letters like j,q,p,y and g. To get rid of this gap you need to make the image block-level - like this :&lt;br /&gt;&lt;br /&gt;CSS&lt;br /&gt;img {display:block;}&lt;br /&gt;&lt;br /&gt;One problem that this can cause is when you want to have a few images next to each other - if they are block-level, they won&#39;t be next to each other. To get around that, you can use float:left. Of course, this might present another problem - maybe you don&#39;t want the image to float left. In this case, you can use an unordered list like this :&lt;br /&gt;&lt;br /&gt;CSS&lt;br /&gt;ul, li {&lt;br /&gt;list-style-type:none;&lt;br /&gt;padding:0;&lt;br /&gt;margin:0 auto;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;ul {&lt;br /&gt;width:150px;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;li {&lt;br /&gt;float:left;&lt;br /&gt;}&lt;br /&gt;HTML&lt;/span&gt;&amp;lt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;ul&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;img src=&quot;wine.jpg&quot; height=&quot;50&quot; width=&quot;50&quot; alt=&quot;wine&quot; /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;Why use Style Sheets?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Style sheets allow a much greater degree of layout and display control than has ever been possible thus far in HTML. The amount of format coding necessary to control display characteristics can be greatly reduced through the use of external style sheets which can be used by a group of documents. Also, multiple style sheets can be integrated from different sources to form a cohesive tapestry of styles for a document. Style sheets are also backward compatible - They can be mixed with HTML styling elements and attributes so that older browsers can view content as intended.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What does the &quot;Cascading&quot; in &quot;Cascading Style Sheets&quot; mean?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Style Sheets allow style information to be specified from many locations. Multiple (partial) external style sheets can be referenced to reduce redundancy, and both authors as well as readers can specify style preferences. In addition, three main methods can be employed by an author to add style information to HTML documents, and multiple approaches for style control are available in each of these methods. In the end, style can be specified for a single element using any, or all, of these methods. What style is to be used when there is a direct conflict between style specifications for an element?&lt;br /&gt;Cascading comes to the rescue. A document can have styles specified using all of these methods, but all the information will be reduced to a single, cohesive &quot;virtual&quot; Style Sheet. Conflict resolution is based on each style rule having an assigned weight according to its importance in the scheme of things. A rule with a higher overall importance will carry a higher weight. This will be used in place of a competing style rule with a lower weight/importance. A hierarchy of competing styles is thus formed creating a &quot;cascade&quot; of styles according to their assigned weights. The algorithm used to determine this cascading weight scale is fairly complex.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is CSS rule &#39;at-rule&#39;?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;There are two types of CSS rules: ruleset and at-rule. At-rule is a rule that applies to the whole style sheet and not to a specific selector only (like in ruleset). They all begin with the @ symbol followed by a keyword made up of letters a-z, A-Z, digits 0-9, dashes and escaped characters, e.g. @import or @font-face.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is selector?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;CSS selector is equivalent of HTML element(s). It is a string identifying to which element(s) the corresponding declaration(s) will apply and as such the link between the HTML document and the style sheet.&lt;br /&gt;For example in P {text-indent: 10pt} the selector is P and is called type selector as it matches all instances of this element type in the document.&lt;br /&gt;in P, UL {text-indent: 10pt} the selector is P and UL (see grouping); in .class {text-indent: 10pt} the selector is .class (see class selector).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is CLASS selector?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Class selector is a &quot;stand alone&quot; class to which a specific style is declared. Using the CLASS attribute the declared style can then be associated with any HTML element. The class selectors are created by a period followed by the class&#39;s name. The name can contain characters a-z, A-Z, digits 0-9, period, hyphen, escaped characters, Unicode characters 161-255, as well as any Unicode character as a numeric code, however, they cannot start with a dash or a digit. (Note: in HTML the value of the CLASS attribute can contain more characters).It is a good practice to name classes according to their function than their appearance.&lt;br /&gt;&lt;br /&gt;.footnote {font: 70%} /* class as selector */&lt;br /&gt;&lt;br /&gt;&amp;lt;ADDRESS CLASS=footnote/&amp;gt;This element is associated with the CLASS footnote&amp;lt;/ADDRESS&amp;gt;&lt;br /&gt;&amp;lt;P CLASS=footnote&amp;gt;And so is this&amp;lt;/P&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is CSS declaration?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;CSS declaration is style attached to a specific selector. It consists of two parts; property which is equivalent of HTML attribute, e.g. text-indent: and value which is equivalent of HTML value, e.g. 10pt. NOTE: properties are always ended with a colon.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is &#39;important&#39; declaration?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Important declaration is a declaration with increased weight. Declaration with increased weight will override declarations with normal weight. If both reader&#39;s and author&#39;s style sheet contain statements with important declarations the author&#39;s declaration will override the reader&#39;s.&lt;br /&gt;&lt;br /&gt;BODY {background: white ! important; color: black}&lt;br /&gt;&lt;br /&gt;In the example above the background property has increased weight while the color property has normal.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is cascade?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;style54&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 900;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Cascade is a method of defining the weight (importance) of individual styling rules thus allowing conflicting rules to be sorted out should such rules apply to the same selector.&lt;br /&gt;&lt;br /&gt;Declarations with increased weight take precedence over declaration with normal weight:&lt;br /&gt;&lt;br /&gt;P {color: white ! important} /* increased weight */&lt;br /&gt;P (color: black} /* normal weight */&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;Are Style Sheets case sensitive?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;No. Style sheets are case insensitive. Whatever is case insensitive in HTML is also case insensitive in CSS. However, parts that are not under control of CSS like font family names and URLs can be case sensitive - IMAGE.gif and image.gif is not the same file.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/256891855431797782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/256891855431797782'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/256891855431797782'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_14.html' title='CSS Objective Questions and Answers Module-5'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-3965335733594167368</id><published>2015-02-15T12:07:00.000+05:30</published><updated>2015-03-22T05:16:48.735+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>CSS Objective Questions and Answers Module-4</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;style53&quot; style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;How do I place text over an image?&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;To place text or image over an image you use the position property. The below example is supported by IE 4.0. All you have to do is adapt the units to your need.&lt;br /&gt;&lt;br /&gt;&amp;lt;div style=&quot;position: relative; width: 200px; height: 100px&quot;&amp;gt;&lt;br /&gt;&amp;lt;div style=&quot;position: absolute; top: 0; left: 0; width: 200px&quot;&amp;gt;&lt;br /&gt;&amp;lt;image&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div style=&quot;position: absolute; top: 20%; left: 20%; width: 200px&quot;&amp;gt;&lt;br /&gt;Text that nicely wraps&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;what CSS is, why not start coding?&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;CSS is sort of like scripting language made for the web. In contrary with HTML, DHTML, JavaScript, VBScript and many others. CSS is strictly for formatting your web-page and now many new browser support it. (NOTE: Older browser do not support CSS, so please check your browser version and make sure whether it supports it or not. You may have to update your current Browser.)&lt;br /&gt;&lt;br /&gt;The way the code goes into your Web-page is through a variety of ways. The way CSS works is that is the code is set between the&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt; tags. You can put the CSS code after &amp;lt;/title&amp;gt; which is what most people do. Now, here are the following ways of making your webpage with CSS enabled features:&lt;br /&gt;&lt;br /&gt;1.) Writing your CSS code within your HTML source code. This is how it would look like:&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;My First CSS!&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;!-- Now begin the CSS coding! --&amp;gt;&lt;br /&gt;&amp;lt;STYLE TYPE = &quot;text/css&quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;body {&lt;br /&gt;background-color: #eeeee;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;p {&lt;br /&gt;text-align: left;&lt;br /&gt;color: black;&lt;br /&gt;font: Verdana;&lt;br /&gt;font-size: 80%;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;a {&lt;br /&gt;text-decoration: none;&lt;br /&gt;color: black;&lt;br /&gt;font-weight: bold;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;a:hover {&lt;br /&gt;text-decoration: underline;&lt;br /&gt;color: red;&lt;br /&gt;font-weight: bold;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;lt;/STYLE&amp;gt;&lt;br /&gt;&amp;lt;!-- End CSS code --&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;2.) Linking to your CSS file. This tells the webpage to find the .css file and use it as the CSS code. Here is the code that would allow you to do:&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;CSS&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;link href=&quot;style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&amp;lt;body /&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;As you can see from the code above, the &amp;lt;link&amp;gt; tag is pretty helpful. What it does is that it links to the style.css file which has all the css code. Just like embedding an image throught he &amp;lt;img&amp;gt; tag.&lt;br /&gt;&lt;br /&gt;Now to explain a bit from the first example. CSS code isn&#39;t very hard to understand.Take for example the body { ..} part. What it does is that it formats how the &amp;lt;body&amp;gt; tag in HTML would work. That is a very simple way of formatting the body tag with the CSS. To help you understand better, here is a simple syntax for CSS:&lt;br /&gt;&lt;br /&gt;selector { property1: value1; property2: value2;}&lt;br /&gt;&lt;br /&gt;The &quot;selector&quot; sort of relates to the html tags used for outputting etc...&lt;br /&gt;&lt;br /&gt;We all know that &amp;lt;a&amp;gt; is a tag used for links. You will see in the example about a:hover and a itself. &amp;lt;br&amp;gt;What a does it just sets the characteristics of the format. You can set how you want a link to appear using the font size, weight etc..&lt;br /&gt;&lt;br /&gt;Then comes the &quot;a:hover&quot;. What does is also pretty self explanatory. It acts on when a person moves the mouse cursor over the links.&lt;br /&gt;&lt;br /&gt;ADVANCED CSS FEATURES:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;CSS can be even used to change the appearance of the scroll bar at your right side. Unfortunately, that only works with IE. You have to be using IE in order for this to work. Here is how to change some appearances of your scroll bar:&lt;br /&gt;&lt;br /&gt;The CSS statements for doing this are:&lt;br /&gt;1) scrollbar-3dlight-color&lt;br /&gt;2)scrollbar-arrow-color&lt;br /&gt;3) scrollbar-base-color&lt;br /&gt;4) scrollbar-dark shadow-color&lt;br /&gt;5) scrollbar-face-color&lt;br /&gt;6) scrollbar-highlight-color&lt;br /&gt;7) scrollbar-shadow-color&lt;br /&gt;8) scrollbar-track-color&lt;br /&gt;&lt;br /&gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;BODY {&lt;br /&gt;scrollbar-arrow-color: green;&lt;br /&gt;scrollbar-face-color: #FFFFFF;&lt;br /&gt;scrollbar-track-color: rgb(12,35,244);&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&lt;br /&gt;How to customize your textboxes.&lt;br /&gt;Here is the code on how to do it:&lt;br /&gt;&lt;br /&gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;BODY {&lt;br /&gt;scrollbar-arrow-color: green;&lt;br /&gt;scrollbar-face-color: #FFFFFF;&lt;br /&gt;scrollbar-track-color: rgb(12,35,244);&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;TEXTAREA {&lt;br /&gt;scrollbar-arrow-color: green;&lt;br /&gt;scrollbar-face-color: #FFFFFF;&lt;br /&gt;scrollbar-track-color: rgb(12,35,244);&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&lt;br /&gt;That above code, has some similarities. The textbox area is treated with the same function statements as for the scrollbar. The scrollbar statements goes in the BODY selector.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;Why does my content shift to the left on some pages (in FF)?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;That&#39;ll be the pages with more content? The ones that have a vertical scrollbar? If you look in IE there&#39;s probably a white space on the right where there would be a scrollbar if there were enough content to require one. In Firefox, the scrollbar appears when it&#39;s needed and the viewport becomes about 20px smaller, so the content seems to shift to the left when you move from a page with little content to one with lots of content. It&#39;s not a bug or something that needs to be fixed, but it does confuse and irritate some developers.&lt;br /&gt;&lt;br /&gt;If, for some reason, you&#39;d like Firefox to always have scrollbars - whether they&#39;re needed or not - you can do this :&lt;br /&gt;&lt;br /&gt;CSS html {&lt;br /&gt;height:100.1%;&lt;/span&gt;}&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/3965335733594167368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_40.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3965335733594167368'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3965335733594167368'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_40.html' title='CSS Objective Questions and Answers Module-4'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-5391900694259589094</id><published>2015-02-15T12:04:00.000+05:30</published><updated>2015-03-22T05:16:48.799+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>CSS Objective Questions and Answers Module-3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span class=&quot;style53&quot; style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;Why do style sheets exist?&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;SGML (of which HTML is a derivative) was meant to be a device-independent method for conveying a document&#39;s structural and semantic content (its meaning.) It was never meant to convey physical formatting information. HTML has crossed this line and now contains many elements and attributes which specify visual style and formatting information. One of the main reasons for style sheets is to stop the creation of new HTML physical formatting constructs and once again separate style information from document content.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What are the advantages/disadvantages of the various style methods?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;External Style Sheets&lt;br /&gt;Advantages&lt;br /&gt;&lt;br /&gt;* Can control styles for multiple documents at once&lt;br /&gt;* Classes can be created for use on multiple HTML element types in many documents&lt;br /&gt;* Selector and grouping methods can be used to apply styles under complex contexts&lt;br /&gt;&lt;br /&gt;Disadvantages&lt;br /&gt;&lt;br /&gt;* An extra download is required to import style information for each document&lt;br /&gt;* The rendering of the document may be delayed until the external style sheet is loaded&lt;br /&gt;* Becomes slightly unwieldy for small quantities of style definitions&lt;br /&gt;&lt;br /&gt;Embedded Style Sheets&lt;br /&gt;Advantages&lt;br /&gt;&lt;br /&gt;* Classes can be created for use on multiple tag types in the document&lt;br /&gt;* Selector and grouping methods can be used to apply styles under complex contexts&lt;br /&gt;* No additional downloads necessary to receive style information&lt;br /&gt;&lt;br /&gt;Disadvantages&lt;br /&gt;&lt;br /&gt;* This method can not control styles for multiple documents at once&lt;br /&gt;&lt;br /&gt;Inline Styles&lt;br /&gt;Advantages&lt;br /&gt;&lt;br /&gt;* Useful for small quantities of style definitions&lt;br /&gt;* Can override other style specification methods at the local level so only exceptions need to be listed in conjunction with other style methods&lt;br /&gt;&lt;br /&gt;Disadvantages&lt;br /&gt;&lt;br /&gt;* Does not distance style information from content (a main goal of SGML/HTML)&lt;br /&gt;* Can not control styles for multiple documents at once&lt;br /&gt;* Author can not create or control classes of elements to control multiple element types within the document&lt;br /&gt;* Selector grouping methods can not be used to create complex element addressing scenarios&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is inline style? How to link?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Inline style is the style attached to one specific element. The style is specified directly in the start tag as a value of the STYLE attribute and will apply exclusively to this specific element occurrence.&lt;br /&gt;&lt;br /&gt;&amp;lt;P STYLE=&quot;text-indent: 10pt&quot;&amp;gt;Indented paragraph&amp;lt;/P&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span class=&quot;style53&quot; style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;What is imported Style Sheet? How to link?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;Imported Style Sheet is a sheet that can be imported to (combined with) another sheet. This allows creating one main sheet containing declarations that apply to the whole site and partial sheets containing declarations that apply to specific elements (or documents) that may require additional styling. By importing partial sheets to the main sheet a number of sources can be combined into one.&lt;br /&gt;To import a style sheet or style sheets include the @import notation or notations in the STYLE element. The @import notations must come before any other declaration. If more than one sheet is imported they will cascade in order they are imported - the last imported sheet will override the next last; the next last will override the second last, and so on. If the imported style is in conflict with the rules declared in the main sheet then it will be overridden.&lt;br /&gt;&lt;br /&gt;&amp;lt;LINK REL=STYLESHEET HREF=&quot;main.css&quot; TYPE=&quot;text/css&quot;&amp;gt;&lt;br /&gt;&amp;lt;STYLE TYPE=&quot;text=css&quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;@import url(http://www.and.so.on.partial1.css);&lt;br /&gt;@import url(http://www.and.so.on.partial2.css);&lt;br /&gt;.... other statements&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;lt;/STYLE&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is a Style Sheet?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Style sheets are the way that standards-compliant Web designers define the layout, look-and-feel, and design of their pages. They are called Cascading Style Sheets or CSS. With style sheets, a designer can define many aspects of a Web page:&lt;br /&gt;&lt;br /&gt;* fonts&lt;br /&gt;* colors&lt;br /&gt;* layout&lt;br /&gt;* positioning&lt;br /&gt;* imagery&lt;br /&gt;* accessibility&lt;br /&gt;&lt;br /&gt;Style sheets give you a lot of power to define how your pages will look. And another great thing about them is that style sheets make it really easy to update your pages when you want to make a new design. Simply load in a new style sheet onto your pages and you&#39;re done.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is alternate Style Sheet? How to link?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Alternate Style Sheet is a sheet defining an alternate style to be used in place of style(s) declared as persistent and/or preferred .&lt;br /&gt;Persistent style is a default style that applies when style sheets are enabled but can disabled in favor of an alternate style, e.g.:&lt;br /&gt;&lt;br /&gt;&amp;lt;LINK REL=Stylesheet HREF=&quot;style.css&quot; TYPE=&quot;text/css&quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;Preferred style is a default style that applies automatically and is declared by setting the TITLE attribute to the LINK element. There can only be one preferred style, e.g.:&lt;br /&gt;&lt;br /&gt;&amp;lt;LINK REL=Stylesheet HREF=&quot;style2.css&quot; TYPE=&quot;text/css&quot; TITLE=&quot;appropriate style description&quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;Alternate style gives an user the choice of selecting an alternative style - a very convenient way of specifying a media dependent style. Note: Each group of alternate styles must have unique TITLE, e.g.:&lt;br /&gt;&lt;br /&gt;&amp;lt;LINK REL=&quot;Alternate Stylesheet&quot; HREF=&quot;style3.css&quot; TYPE=&quot;text/css&quot; TITLE=&quot;appropriate style description&quot; MEDIA=screen&amp;gt;&lt;br /&gt;&amp;lt;LINK REL=&quot;Alternate Stylesheet&quot; HREF=&quot;style4.css&quot; TYPE=&quot;text/css&quot; TITLE=&quot;appropriate style description&quot; MEDIA=print&amp;gt;&lt;br /&gt;&lt;br /&gt;Alternate stylesheet are not yet supported.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;How can you set a minimum width for IE?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;To set a minimum width, the CSS property is &#39;min-width&#39;. This can be very useful and works well in good browsers. IE doesn&#39;t understand &#39;min-width&#39;. However, it has a proprietary property called &#39;expression&#39; which allows us to feed it javascript via a stylesheet. Below is how to set a (780px) minimum width for IE...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!--[if gte IE 5]&amp;gt; &amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;br /&gt;body {&lt;br /&gt;width:expression(documentElement.clientWidth &amp;lt; 780 ? (documentElement.clientWidth == 0 ? (body.clientWidth &amp;lt; 780 ? &quot;780px&quot; : &quot;auto&quot;) : &quot;780px&quot;) : &quot;auto&quot; );&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;![endif]--&amp;gt;&lt;br /&gt;&lt;br /&gt;As the property is non-standard, it won&#39;t validate with the W3C validator, so if we put it in the head like this (above) - in an IE conditional comment - the validator will ignore it and the page will get a clean bill of health.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;Which browsers support CSS?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;It depends on your definition of &quot;support.&quot; If you are interested in those browsers which makes some attempt at supporting CSS, no matter how partial or bug-ridden, then the list is:&lt;br /&gt;&lt;br /&gt;* Internet Explorer 3.0 and above&lt;br /&gt;* Navigator 4.0 and above&lt;br /&gt;* Opera 3.6 and above&lt;br /&gt;* Konqueror&lt;br /&gt;* Arena&lt;br /&gt;* Emacs-w3&lt;br /&gt;* Amaya&lt;br /&gt;* Lexicon&lt;br /&gt;* XPublish by Media Design in·Progress&lt;br /&gt;&lt;br /&gt;If instead you&#39;re interested in those browsers which are known to do a credible job of bug-free and mostly completel support for CSS1, then the list narrows somewhat dramatically:&lt;br /&gt;&lt;br /&gt;* Internet Explorer 5.0 for Macintosh and above&lt;br /&gt;* Internet Exporer 5.5 for Windows and above&lt;br /&gt;* Netscape Navigator 6.0 and above&lt;br /&gt;* Opera 4.0 and above&lt;br /&gt;&lt;br /&gt;While none of these browser can be claimed to have a perfect implementation of CSS1, they are all quite good and can be relied upon to operate in a consistent fashion for most of CSS1.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/5391900694259589094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_74.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/5391900694259589094'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/5391900694259589094'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_74.html' title='CSS Objective Questions and Answers Module-3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-3293743873736773642</id><published>2015-02-15T12:00:00.000+05:30</published><updated>2015-03-22T05:16:48.810+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>CSS Objective Questions and Answers Module-2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;KonaBody&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;style56&quot; style=&quot;border-collapse: collapse; float: left; text-align: justify;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;KonaBody&quot;&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;color: red;&quot;&gt;&lt;span class=&quot;style53&quot; style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;Three selectors: h1, .warning and #footer, what they do ?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;An element points at a HTML-tag somewhere on your page. In the example above we want to style the &amp;lt;h1&amp;gt;-tag. Note that using an element like that affects all tags with that name, so using p { margin-left: 100px; } gives all &amp;lt;p&amp;gt;-tags a left-margin.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Using a class is just as simple. When writing .your_class you style all tags with a class with the name “your_class”. In the example above we have .warning which will style e.g. &amp;lt;div class=&quot;warning&quot;&amp;gt; and &amp;lt;em class=&quot;warning&quot;&amp;gt;, that is, any element with the class warning. Classes are used when you want to style just a few of your tags in a way, perhaps you want some of your links red? Add a class to all those links.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;You need one more building block: the id. This time you style an element with the attribute “id” set to the id you have chosen. Ids work exactly like classes except for one thing; you can only have one id with a certain name in each of your HTML documents. In the example above we style &amp;lt;div id=&quot;footer&quot;&amp;gt;. If you look at the example it does make sense: a HTML document may contain several warnings but only one footer. Ids should be used when you want to style just one specific tag.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Using those three building blocks will take you far but when you get to more advanced layouts you might want to combine the building blocks into more advanced selectors. Just to give you two examples of what you can do: em.warning to style only those &amp;lt;em&amp;gt;-tags with the class .warning set. You can also use #footer a to style only the links that are nested inside the tag with id “footer.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Each of the selectors has a set of declarations tied to them. Each declaration has a property, describing what we want to change and a value, what we should change it to. An example: a { color: Blue; font-size: 3em; }. You have the selector a there, so all links in your document will be styled. We have two declarations: color: Blue and font-size: 3em;. Lastly each declaration consists of two parts: the property color and the value Blue.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;there is a LOT of things you can style and play with. Additionally (close to) all tags are equal in CSS, so you can set e.g. borders and colors of any element just like you could with a table if you used only HTML.&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What are Style Sheets?&lt;/span&gt;&lt;span style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;Style Sheets are templates, very similar to templates in desktop publishing applications, containing a collection of rules declared to various selectors (elements).&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is CSS rule &#39;ruleset&#39;?&lt;/span&gt;&lt;span style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;answers&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px; text-align: justify;&quot;&gt;&lt;span class=&quot;answers&quot;&gt;There are two types of CSS rules: ruleset and at-rule. Ruleset identifies selector or selectors and declares style which is to be attached to that selector or selectors. For example P {text-indent: 10pt} is a CSS rule. CSS rulesets consist of two parts: selector, e.g. P and declaration, e.g. {text-indent: 10pt}.&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;answers&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;P {text-indent: 10pt} - CSS rule (ruleset)&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;{text-indent: 10pt} - CSS declaration&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;text-indent - CSS property&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;10pt - CSS value&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;&#39;Fixed&#39; Background?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;There is the possibility to use the HTML tag bgproperties=&quot;fixed&quot;, but that is IE proprietary, and dependent upon the &#39;background&#39; attribute (deprecated in HTML 4).&lt;br /&gt;&lt;br /&gt;With CSS, you can declare the background like:&lt;br /&gt;&lt;br /&gt;BODY {&lt;br /&gt;font-family : &quot;Trebuchet MS&quot;, Verdana, Arial, Helvetica, sans-serif;&lt;br /&gt;background-image: url(images/myimage.gif);&lt;br /&gt;background-repeat: no-repeat; /*no-tiling background*/&lt;br /&gt;background-position: center;&lt;br /&gt;background-attachment: fixed;&lt;br /&gt;background-color: #hexcolor;&lt;br /&gt;color : #hexcolor;&lt;br /&gt;margin: 10px;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;that shows a background-image in the center of the &amp;lt;BODY&amp;gt; element, non-scrolling and non-repeating - in IE or NN6. NN 4.xx gets the non-repeat-part right, but stuffs the picture in the upper left corner and scrolls ...&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is embedded style? How to link?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Embedded style is the style attached to one specific document. The style information is specified as a content of the STYLE element inside the HEAD element and will apply to the entire document.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;STYLE TYPE=&quot;text/css&quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;P {text-indent: 10pt}&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;lt;/STYLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&lt;br /&gt;Note: The styling rules are written as a HTML comment, that is, between &amp;lt;!-- and --&amp;gt; to hide the content in browsers without CSS support which would otherwise be displayed.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is ID selector?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;ID selector is an individually identified (named) selector to which a specific style is declared. Using the ID attribute the declared style can then be associated with one and only one HTML element per document as to differentiate it from all other elements. ID selectors are created by a character # followed by the selector&#39;s name. The name can contain characters a-z, A-Z, digits 0-9, period, hyphen, escaped characters, Unicode characters 161-255, as well as any Unicode character as a numeric code, however, they cannot start with a dash or a digit.&lt;br /&gt;&lt;br /&gt;#abc123 {color: red; background: black}&lt;br /&gt;&lt;br /&gt;&amp;lt;P ID=abc123&amp;gt;This and only this element can be identified as abc123 &amp;lt;/P&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is contextual selector?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Contextual selector is a selector that addresses specific occurrence of an element. It is a string of individual selectors separated by white space, a search pattern, where only the last element in the pattern is addressed providing it matches the specified context.&lt;br /&gt;&lt;br /&gt;TD P CODE {color: red}&lt;br /&gt;&lt;br /&gt;The element CODE will be displayed in red but only if it occurs in the context of the element P which must occur in the context of the element TD.&lt;br /&gt;&lt;br /&gt;TD P CODE, H1 EM {color: red}&lt;br /&gt;&lt;br /&gt;The element CODE will be displayed in red as described above AND the element EM will also be red but only if it occurs in the context of H1&lt;br /&gt;&lt;br /&gt;P .footnote {color: red}&lt;br /&gt;&lt;br /&gt;Any element with CLASS footnote will be red but only if it occurs in the context of P&lt;br /&gt;&lt;br /&gt;P .footnote [lang]{color: red}&lt;br /&gt;&lt;br /&gt;Any element with attribute LANG will be red but only if it is classed as &quot;footnote&quot; and occurs in the context of P&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;How do I have a background image that isn&#39;t tiled?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Specify the background-repeat property as no-repeat. You can also use the background property as a shortcut for specifying multiple background-* properties at once. Here&#39;s an example:&lt;br /&gt;&lt;br /&gt;BODY {background: #FFF url(watermark.jpg) no-repeat;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What does \ABCD (and \ABCDE) mean?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;CSS allows Unicode characters to be entered by number. For example, if a CLASS value in some Russian document contains Cyrillic letters EL PE (Unicode numbers 041B and 041F) and you want to write a style rule for that class, you can put that letter into the style sheet by writing:&lt;br /&gt;&lt;br /&gt;.\041B\041F {font-style: italic;}&lt;br /&gt;This works on all keyboards, so you don&#39;t need a Cyrillic keyboard to write CLASS names in Russian or another language that uses that script.&lt;br /&gt;&lt;br /&gt;The digits and letters after the backslash (\) are a hexadecimal number. Hexadecimal numbers are made from ordinary digits and the letters A to F (or a to f). Unicode numbers consist of four such digits.&lt;br /&gt;&lt;br /&gt;If the number starts with a 0, you may omit it. The above could also be written as:&lt;br /&gt;&lt;br /&gt;.\41B\41F {font-style: italic;}&lt;br /&gt;But be careful if the next letter after the three digits is also a digit or a letter a to f! This is OK: .\41B-\41F, since the dash (-) cannot be mistaken for a hexadecimal digit, but .\41B9\41F is only two letters, not three.&lt;br /&gt;&lt;br /&gt;Four digits is the maximum, however, so if you write:&lt;br /&gt;.\041B9\041F {font-style: italic;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/3293743873736773642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_58.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3293743873736773642'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/3293743873736773642'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_58.html' title='CSS Objective Questions and Answers Module-2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6159957720477461094.post-668701202251779998</id><published>2015-02-15T11:57:00.000+05:30</published><updated>2015-03-22T05:16:48.868+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>CSS Objective Questions and Answers Module-1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;h1 style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;interview-heading&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 15pt; font-weight: bolder;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;CSS Interview Questions and Answers Module-1&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;KonaBody&quot; style=&quot;text-align: start;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;style56&quot; style=&quot;border-collapse: collapse; float: left;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;KonaBody&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span class=&quot;style53&quot; style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;What is CSS?&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;1. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. Every element type as well as every occurrence of a specific element within that type can be declared an unique style, e.g. margins, positioning, color or size.&lt;br /&gt;&lt;br /&gt;2. CSS is a web standard that describes style for XML/HTML documents.&lt;br /&gt;&lt;br /&gt;3. CSS is a language that adds style (colors, images, borders, margins…) to your site. It’s really that simple. CSS is not used to put any content on your site, it’s just there to take the content you have and make it pretty. First thing you do is link a CSS-file to your HTML document. Do this by adding this line:&lt;br /&gt;&lt;br /&gt;&amp;lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot;&lt;br /&gt;type=&quot;text/css&quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;The line should be placed in between your &amp;lt;head&amp;gt; and &amp;lt;/head&amp;gt; tags. If you have several pages you could add the exact same line to all of them and they will all use the same stylesheet, but more about that later. Let’s look inside the file “style.css” we just linked to.&lt;br /&gt;&lt;br /&gt;h1 {&lt;br /&gt;font-size: 40px;&lt;br /&gt;height: 200px;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;.warning {&lt;br /&gt;color: Red;&lt;br /&gt;font-weight: bold;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;#footer {&lt;br /&gt;background-color: Gray;&lt;/span&gt;}&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;4. Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents. This is also where information meets the artistic abilities of a web-designer. CSS helps you spice up your web-page and make it look neat in wide variety of aspects.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What are Cascading Style Sheets?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;A Cascading Style Sheet (CSS) is a list of statements (also known as rules) that can assign various rendering properties to HTML elements. Style rules can be specified for a single element occurrence, multiple elements, an entire document, or even multiple documents at once. It is possible to specify many different rules for an element in different locations using different methods. All these rules are collected and merged (known as a &quot;cascading&quot; of styles) when the document is rendered to form a single style rule for each element.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;How do I center block-elements with CSS1?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;There are two ways of centering block level elements:&lt;br /&gt;&lt;br /&gt;1. By setting the properties margin-left and margin-right to auto and width to some explicit value:&lt;br /&gt;&lt;br /&gt;BODY {width: 30em; background: cyan;}&lt;br /&gt;P {width: 22em; margin-left: auto; margin-right: auto}&lt;br /&gt;&lt;br /&gt;In this case, the left and right margins will each be four ems wide, since they equally split up the eight ems left over from (30em - 22em). Note that it was not necessary to set an explicit width for the BODY element; it was done here to keep the math clean.&lt;br /&gt;&lt;br /&gt;Another example:&lt;br /&gt;&lt;br /&gt;TABLE {margin-left: auto; margin-right: auto; width: 400px;}&lt;br /&gt;In most legacy browsers, a table&#39;s width is by default determined by its content. In CSS-conformant browsers, the complete width of any element (including tables) defaults to the full width of its parent element&#39;s content area. As browser become more conformant, authors will need to be aware of the potential impact on their designs.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;If background and color should always be set together, why do they exist as separate properties?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;There are several reasons for this. First, style sheets become more legible -- both for humans and machines. The background property is already the most complex property in CSS1 and combining it with color would make it even more complex. Second, color inherits, but background doesn&#39;t and this would be a source of confusion.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is class?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Class is a group of 1) instances of the same element to which an unique style can be attached or 2) instances of different elements to which the same style can be attached.&lt;br /&gt;&lt;br /&gt;1) The rule P {color: red} will display red text in all paragraphs. By classifying the selector P different style can be attached to each class allowing the display of some paragraphs in one style and some other paragraphs in another style.&lt;br /&gt;2) A class can also be specified without associating a specific element to it and then attached to any element which is to be styled in accordance with it&#39;s declaration. All elements to which a specific class is attached will have the same style.&lt;br /&gt;&lt;br /&gt;To classify an element add a period to the selector followed by an unique name. The name can contain characters a-z, A-Z, digits 0-9, period, hyphen, escaped characters, Unicode characters 161-255, as well as any Unicode character as a numeric code, however, they cannot start with a dash or a digit. (Note: in HTML the value of the CLASS attribute can contain more characters). (Note: text between /* and */ are my comments).&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;CSS&lt;br /&gt;P.name1 {color: red} /* one class of P selector */&lt;br /&gt;P.name2 {color: blue} /* another class of P selector */&lt;br /&gt;.name3 {color: green} /* can be attached to any element */&lt;br /&gt;&lt;br /&gt;HTML&lt;br /&gt;&amp;lt;P class=name1&amp;gt;This paragraph will be red&amp;lt;/P&amp;gt;&lt;br /&gt;&amp;lt;P class=name2&amp;gt;This paragraph will be blue&amp;lt;/P&amp;gt;&lt;br /&gt;&amp;lt;P class=name3&amp;gt;This paragraph will be green&amp;lt;/P&amp;gt;&lt;br /&gt;&amp;lt;LI class=name3&amp;gt;This list item will be green&amp;lt;/LI&amp;gt;&lt;br /&gt;&lt;br /&gt;It is a good practice to name classes according to their function than their appearance; e.g. P.fotnote and not P.green. In CSS1 only one class can be attached to a selector. CSS2 allows attaching more classes, e.g.:&lt;br /&gt;P.name1.name2.name3 {declaration} &amp;lt;P class=&quot;name1 name2 name2&quot;&amp;gt;This paragraph has three classes attached&amp;lt;/P&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is grouping ?&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Grouping is gathering (1) into a comma separated list two or more selectors that share the same style or (2) into a semicolon separated list two or more declarations that are attached to the same selector (2).&lt;br /&gt;&lt;br /&gt;1. The selectors LI, P with class name .first and class .footnote share the same style, e.g.:&lt;br /&gt;LI {font-style: italic}&lt;br /&gt;P.first {font-style: italic}&lt;br /&gt;.footnote {font-style: italic}&lt;br /&gt;&lt;br /&gt;To reduce the size of style sheets and also save some typing time they can all be grouped in one list.&lt;br /&gt;LI, P.first, .footnote {font-style: italic}&lt;br /&gt;&lt;br /&gt;2. The declarations {font-style: italic} and {color: red} can be attached to one selector, e.g.:&lt;br /&gt;H2 {font-style: italic}&lt;br /&gt;H2 {color: red}&lt;br /&gt;and can also be grouped into one list:&lt;br /&gt;H2 {font-style: italic; color: red}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;What is external Style Sheet? How to link?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;External Style Sheet is a template/document/file containing style information which can be linked with any number of HTML documents. This is a very convenient way of formatting the entire site as well as restyling it by editing just one file. The file is linked with HTML documents via the LINK element inside the HEAD element. Files containing style information must have extension .css, e.g. style.css. &amp;lt;HEAD&amp;gt; &amp;lt;LINK REL=STYLESHEET HREF=&quot;style.css&quot; TYPE=&quot;text/css&quot;&amp;gt; &amp;lt;/HEAD&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;for_questions_blue&quot; style=&quot;font-family: VErdana; font-size: 13px; font-weight: bold;&quot;&gt;Is CSS case sensitive?&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;answers&quot; style=&quot;font-family: &#39;Bookman Old Style&#39;, Arial, &#39;Times New Roman&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;Cascading Style Sheets (CSS) is not case sensitive. However, font families, URLs to images, and other direct references with the style sheet may be.&lt;br /&gt;The trick is that if you write a document using an XML declaration and an XHTML doctype, then the CSS class names will be case sensitive for some browsers.&lt;br /&gt;&lt;br /&gt;It is a good idea to avoid naming classes where the only difference is the case, for example:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;div.myclass { ...}&lt;/li&gt;&lt;li&gt;div.myClass { ... }&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;If the DOCTYPE or XML declaration is ever removed from your pages, even by mistake, the last instance of the style will be used, regardless of case.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;!--[endif]--&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://studyforums.blogspot.com/feeds/668701202251779998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_66.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/668701202251779998'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6159957720477461094/posts/default/668701202251779998'/><link rel='alternate' type='text/html' href='https://studyforums.blogspot.com/2015/02/css-objective-questions-and-answers_66.html' title='CSS Objective Questions and Answers Module-1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05944272214148027308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>