<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Two words are said to be special if they fulfill following conditions: &#8211; Students Community</title>
	<atom:link href="/tag/two-words-are-said-to-be-special-if-they-fulfill-following-conditions/feed/" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>IITM Student Community is created to help students to get better grades in their final examinations by providing Course lectures, Graded Assignment Solutions</description>
	<lastBuildDate>Sat, 26 Aug 2023 19:03:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>/wp-content/uploads/2023/08/cropped-logo-IITM-190-×-100-px-5-150x150.png</url>
	<title>Two words are said to be special if they fulfill following conditions: &#8211; Students Community</title>
	<link>/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>CT Week 4 Graded Assignments IIT Madras</title>
		<link>/ct-week-4-graded-assignments-iit-madras/</link>
					<comments>/ct-week-4-graded-assignments-iit-madras/#respond</comments>
		
		<dc:creator><![CDATA[Khushi Dii]]></dc:creator>
		<pubDate>Wed, 09 Aug 2023 14:24:25 +0000</pubDate>
				<category><![CDATA[Qualifier Graded Assignments]]></category>
		<category><![CDATA[4 Graded Assignments IIT Madras]]></category>
		<category><![CDATA[A]]></category>
		<category><![CDATA[CT Week 1 Graded Assignments IIT Madras]]></category>
		<category><![CDATA[CT Week 4 Graded Assignments IIT Madras]]></category>
		<category><![CDATA[For which of the following situations is a nested loop needed? Assume that no procedure is used. It is a Multiple Select Question]]></category>
		<category><![CDATA[Graded Assignments IIT Madras]]></category>
		<category><![CDATA[Number of vowels are same in both the words]]></category>
		<category><![CDATA[The following pseudocode is executed using the “Olympics” dataset. At the end of the execution]]></category>
		<category><![CDATA[Two words are said to be special if they fulfill following conditions:]]></category>
		<category><![CDATA[Week 4 Graded Assignments]]></category>
		<category><![CDATA[What will B represent at the end of execution?]]></category>
		<guid isPermaLink="false">/?p=538</guid>

					<description><![CDATA[Computational Thinking week 4 graded assignment Complete&#160; Solutions Are Discussed In This Blog. We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons If Not Able To Complete Graded Assignments&#160; 1.For which of the following situations is a nested loop needed? Assume that no procedure is used. It is&#8230;&#160;<a href="/ct-week-4-graded-assignments-iit-madras/" class="" rel="bookmark">Read More &#187;<span class="screen-reader-text">CT Week 4 Graded Assignments IIT Madras</span></a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="538" class="elementor elementor-538" data-elementor-post-type="post">
									<section class="elementor-section elementor-top-section elementor-element elementor-element-5ceae62 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="5ceae62" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bc4677d" data-id="bc4677d" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-08ded6a elementor-widget elementor-widget-text-editor" data-id="08ded6a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
			<style>/*! elementor - v3.15.0 - 02-08-2023 */
.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}</style>				<p><em style="font-family: &quot;Trebuchet MS&quot;, sans-serif;">Computational Thinking week 4 graded assignment Complete&nbsp; Solutions Are Discussed In This Blog. We Hope This Might Help You All In Matching Answers . Or For Some Others Reasons If Not Able To Complete Graded Assignments&nbsp;</em><br></p>						</div>
				</div>
				<div class="elementor-element elementor-element-ed2c490 elementor-widget elementor-widget-text-editor" data-id="ed2c490" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<div class="qt-question" style="margin: 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;">1.For which of the following situations is a nested loop needed? Assume that no procedure is used. It is a Multiple Select Question (MSQ).</div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.0.6404009128624128.0" style="padding: 0px; font-family: inherit; font-size: inherit;" disabled="disabled" name="SfWfp8tjght1.0.6404009128624128" type="checkbox" data-index="0" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.0">To find the number of authors who have written a book in &#8220;French&#8221; in 2007 from the &#8220;Library&#8221; dataset.</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.0.6404009128624128.1" style="padding: 0px; font-family: inherit; font-size: inherit;" disabled="disabled" name="SfWfp8tjght1.0.6404009128624128" type="checkbox" data-index="1" /><span style="color: #0000ff;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.1">To find the number of pair of students who have scored the same Physics marks from the &#8220;Scores&#8221; dataset</label></span></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.0.6404009128624128.2" style="padding: 0px; font-family: inherit; font-size: inherit;" disabled="disabled" name="SfWfp8tjght1.0.6404009128624128" type="checkbox" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.2">To find the number of players who have won the medal in &#8220;Wrestling&#8221; from the &#8220;Olympics&#8221; dataset</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.0.6404009128624128.3" style="padding: 0px; font-family: inherit; font-size: inherit;" disabled="disabled" name="SfWfp8tjght1.0.6404009128624128" type="checkbox" data-index="3" /><span style="color: #0000ff;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.3">To find the number of students with at least two vowels in their name from the &#8220;Scores&#8221; dataset.</label></span><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.3"><br /></label><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.3"><br /></label><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.3"><br /></label><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.3"><br /></label><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.3"><br /></label><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.0.6404009128624128.3"><br /></label></div></div><div> </div><div> 2. <span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">The following pseudocode is executed using the “Words” dataset. Assume that</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">length(x) </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">is a procedure that returns the number of letters present in a word</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">x</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">. What will</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">A </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">represent at the end of the execution?</span></div><div class="qt-question" style="margin: 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq2.png?seed=96859&amp;url=assets/img/w4gaq2.png" alt="" /></div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.1.4996634245070848.0" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.1.4996634245070848" type="radio" data-index="0" /><span style="color: #0000ff;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.1.4996634245070848.0">Number of students whose names are without vowels</label></span></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.1.4996634245070848.1" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.1.4996634245070848" type="radio" data-index="1" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.1.4996634245070848.1">Number of students whose names have at most one vowel</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.1.4996634245070848.2" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.1.4996634245070848" type="radio" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.1.4996634245070848.2">Number of students whose names have exactly one vowel</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.1.4996634245070848.3" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.1.4996634245070848" type="radio" data-index="3" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.1.4996634245070848.3">Number of students whose names have at least one vowel</label></div></div><div> </div><div> 3. <span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">The following pseudocode is executed using the “Library” dataset. What will</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bold;">C </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">represent at the end of the execution? Assume that there is only one row corresponding to each author in the &#8220;Library&#8221; dataset.</span></div><div class="qt-question" style="margin: 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq3.png?seed=28649&amp;url=assets/img/w4gaq3.png" alt="" /></div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.2.5804554503323648.0" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.2.5804554503323648" type="radio" data-index="0" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.2.5804554503323648.0">Number of authors who have written different genre books in same language</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.2.5804554503323648.1" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.2.5804554503323648" type="radio" data-index="1" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.2.5804554503323648.1">Number of pairs of authors who have written different genre books in same language</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.2.5804554503323648.2" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.2.5804554503323648" type="radio" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.2.5804554503323648.2">Number of authors who have written same genre books in different language</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.2.5804554503323648.3" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.2.5804554503323648" type="radio" data-index="3" /><span style="color: #0000ff;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.2.5804554503323648.3">Number of pairs of authors who have written same genre books in different language</label></span></div></div><div> </div><div>4.  <span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">Two words are said to be special if they fulfill following conditions:</span></div><div class="qt-question" style="margin: 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;">Number of vowels are same in both the words<br style="margin: 0px; padding: 0px;" />Number of consonants are not same in both the words<br style="margin: 0px; padding: 0px;" />The given pseudocode is executed using the “Words” dataset. The variable <span style="margin: 0px; padding: 0px; font-weight: bold;">count </span>in the given pseudocode counts the number of special pairs. Choose the correct code fragment to complete the pseudocode.<br style="margin: 0px; padding: 0px;" /><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq4.png?seed=84200&amp;url=assets/img/w4gaq4.png" alt="" /></div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.3.5269065228615680.0" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.3.5269065228615680" type="radio" data-index="0" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.0"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq4a.png?seed=78284&amp;url=assets/img/w4gaq4a.png" alt="" /></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.1">      <img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq4b.png?seed=91267&amp;url=assets/img/w4gaq4b.png" alt="" /> <label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.0"><span style="color: #0000ff;">correct answer</span></label></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.3.5269065228615680.2" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.3.5269065228615680" type="radio" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.2"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq4c.png?seed=71762&amp;url=assets/img/w4gaq4c.png" alt="" /></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="SfWfp8tjght1.3.5269065228615680.3" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="SfWfp8tjght1.3.5269065228615680" type="radio" data-index="3" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.3"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq4d.png?seed=68231&amp;url=assets/img/w4gaq4d.png" alt="" /></label></div></div><div> </div><div> <span style="background-color: #fafafc; color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">The following pseudocode is executed using the “Scores” dataset. The variables</span><span style="background-color: #fafafc; color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">M</span><span style="background-color: #fafafc; color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">,</span><span style="background-color: #fafafc; color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">P </span><span style="background-color: #fafafc; color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">and</span><span style="background-color: #fafafc; color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">C </span><span style="background-color: #fafafc; color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">store the number of students in Mathematics, Physics and Chemistry clubs respectively. </span></div><p style="margin-bottom: 12px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); background-color: #fafafc;"> </p><p><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; font-family: Ubuntu; vertical-align: middle; color: rgba(0, 0, 0, 0.87); background-color: #fafafc;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq5,6.png?seed=9032&amp;url=assets/img/w4gaq5,6.png" alt="" /></p><div class="qt-question" style="margin: 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;">Which club can a student join if he/she gets 91 marks in all three subjects?</div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.0.5853199705571328.0" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.0.5853199705571328" type="radio" data-index="0" /><span style="color: #0000ff;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.0.5853199705571328.0">Physics</label></span></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.0.5853199705571328.1" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.0.5853199705571328" type="radio" data-index="1" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.0.5853199705571328.1">Chemistry</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.0.5853199705571328.2" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.0.5853199705571328" type="radio" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.0.5853199705571328.2">Mathematics</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.0.5853199705571328.3" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.0.5853199705571328" type="radio" data-index="3" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.0.5853199705571328.3">The student cannot join any club</label></div></div><div> </div><div> <span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">Can a student join more than one club ?</span></div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.1.5945957661278208.0" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.1.5945957661278208" type="radio" data-index="0" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.1.5945957661278208.0">Yes, if the student has scored more than 90 marks in at least two subject</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.1.5945957661278208.1" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.1.5945957661278208" type="radio" data-index="1" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.1.5945957661278208.1">Yes, if the student has scored more than 90 marks in Mathematics and Chemistry</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.1.5945957661278208.2" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.1.5945957661278208" type="radio" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.1.5945957661278208.2">Yes, if the student has secured more than 90 marks and the same marks in Mathematics and Chemistry</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.1.5945957661278208.3" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.1.5945957661278208" type="radio" data-index="3" /><span style="color: #0000ff;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.1.5945957661278208.3">No, a student cannot join more than one club</label></span></div></div><div> </div><div> <span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">he given pseudocode is executed using the “Shopping Bills” dataset.</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bold;">frac </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">stores the ratio of the number of customers who purchased both “Soap” and “Facewash” to the number of customers who purchased “Facewash”. Choose the correct code fragment to complete the pseudocode. (Assume there is at least one customer who has purchased “Facewash”).</span></div><div class="qt-question" style="margin: 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq7.png?seed=89162&amp;url=assets/img/w4gaq7.png" alt="" /></div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.2.5241604549902336.0" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.2.5241604549902336" type="radio" data-index="0" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.2.5241604549902336.0"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq7a.png?seed=74652&amp;url=assets/img/w4gaq7a.png" alt="" /></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.2.5241604549902336.1" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.2.5241604549902336" type="radio" data-index="1" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.2.5241604549902336.1"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq7b.png?seed=33174&amp;url=assets/img/w4gaq7b.png" alt="" /></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.2.5241604549902336.2" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.2.5241604549902336" type="radio" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.2.5241604549902336.2"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq7c.png?seed=93396&amp;url=assets/img/w4gaq7c.png" alt="" /></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.2.5241604549902336.3" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="lfsJJaRxlPe4.2.5241604549902336" type="radio" data-index="3" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.2.5241604549902336.3"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq7d.png?seed=24096&amp;url=assets/img/w4gaq7d.png" alt="" /> <label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.0"><span style="color: #0000ff;">correct answer</span></label></label></div></div><div> </div><div> 8. <span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">The following pseudocode is executed using the “Olympics” dataset. At the end of the execution,</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">A</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">,</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">B </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">and</span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);"> </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bolder;">C </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">store the number of pairs of players from the same nation who have won same medal in different year. Assume that one player has won only one medal. Choose the correct code fragment(s) to complete the pseudocode. It is a Multiple Select Questions(MSQ)</span></div><div class="qt-question" style="margin: 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq8.png?seed=71366&amp;url=assets/img/w4gaq8.png" alt="" /></div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.3.5763509866463232.0" style="padding: 0px; font-family: inherit; font-size: inherit;" disabled="disabled" name="lfsJJaRxlPe4.3.5763509866463232" type="checkbox" data-index="0" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.3.5763509866463232.0"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq8a.png?seed=23190&amp;url=assets/img/w4gaq8a.png" alt="" /> <label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.0"><span style="color: #0000ff;">correct answer</span></label></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.3.5763509866463232.1" style="padding: 0px; font-family: inherit; font-size: inherit;" disabled="disabled" name="lfsJJaRxlPe4.3.5763509866463232" type="checkbox" data-index="1" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.3.5763509866463232.1"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq8b.png?seed=69865&amp;url=assets/img/w4gaq8b.png" alt="" /> <label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.0"><span style="color: #0000ff;">correct answer</span></label></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.3.5763509866463232.2" style="padding: 0px; font-family: inherit; font-size: inherit;" disabled="disabled" name="lfsJJaRxlPe4.3.5763509866463232" type="checkbox" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.3.5763509866463232.2"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq8c.png?seed=29961&amp;url=assets/img/w4gaq8c.png" alt="" /> <label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="SfWfp8tjght1.3.5269065228615680.0"><span style="color: #0000ff;">correct answer</span></label></label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="lfsJJaRxlPe4.3.5763509866463232.3" style="padding: 0px; font-family: inherit; font-size: inherit;" disabled="disabled" name="lfsJJaRxlPe4.3.5763509866463232" type="checkbox" data-index="3" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="lfsJJaRxlPe4.3.5763509866463232.3"><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; vertical-align: middle;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq8d.png?seed=88312&amp;url=assets/img/w4gaq8d.png" alt="" /></label></div></div><div> </div><div> <span style="background-color: #fafafc; color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: var(--bodyfontsize); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">The following pseudocode is executed using the “Words” dataset. </span></div><p style="margin-bottom: 12px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); background-color: #fafafc;"> </p><p><img decoding="async" class="yui-img" style="margin: 0px; padding: 0px; font-family: Ubuntu; vertical-align: middle; color: rgba(0, 0, 0, 0.87); background-color: #fafafc;" title="" src="https://backend.seek.onlinedegree.iitm.ac.in/23t2_cs1001/assets/img/w4gaq9,10.png?seed=82242&amp;url=assets/img/w4gaq9,10.png" alt="" /></p><div class="qt-question" style="margin: 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;">9. What will <span style="margin: 0px; padding: 0px; font-weight: bold;">A </span>represent at the end of execution?</div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="98V2DKDVIXfe.0.6394965135458304.0" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="98V2DKDVIXfe.0.6394965135458304" type="radio" data-index="0" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="98V2DKDVIXfe.0.6394965135458304.0">Number of words after the first noun in every sentence which are not adjectives</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="98V2DKDVIXfe.0.6394965135458304.1" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="98V2DKDVIXfe.0.6394965135458304" type="radio" data-index="1" /><span style="color: #0000ff;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="98V2DKDVIXfe.0.6394965135458304.1">Number of words which appear before the first adjective in every sentence</label></span></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="98V2DKDVIXfe.0.6394965135458304.2" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="98V2DKDVIXfe.0.6394965135458304" type="radio" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="98V2DKDVIXfe.0.6394965135458304.2">Number of words other than nouns which appear before the first adjective in every sentence</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="98V2DKDVIXfe.0.6394965135458304.3" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="98V2DKDVIXfe.0.6394965135458304" type="radio" data-index="3" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="98V2DKDVIXfe.0.6394965135458304.3">Number of words after the first adjectives in every sentence which are not nouns</label></div></div><div> </div><div><div class="qt-choices"><div class="gcb-mcq-choice">10.  <span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">What will </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform); margin: 0px; padding: 0px; font-weight: bold;">B </span><span style="color: rgba(0, 0, 0, 0.87); font-family: Ubuntu; font-size: 14px; background-color: var(--nv-site-bg); font-weight: var(--bodyfontweight); letter-spacing: var(--bodyletterspacing); text-transform: var(--bodytexttransform);">represent at the end of execution?</span></div><div class="qt-choices" style="margin: 16px 0px 0px; padding: 0px; font-family: Ubuntu; color: rgba(0, 0, 0, 0.87); font-size: 14px;"><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="98V2DKDVIXfe.1.5159517339779072.0" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="98V2DKDVIXfe.1.5159517339779072" type="radio" data-index="0" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="98V2DKDVIXfe.1.5159517339779072.0">Number of nouns after the second adjective in every sentence</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="98V2DKDVIXfe.1.5159517339779072.1" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="98V2DKDVIXfe.1.5159517339779072" type="radio" data-index="1" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="98V2DKDVIXfe.1.5159517339779072.1">Number of nouns before the second adjective in every sentence</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="98V2DKDVIXfe.1.5159517339779072.2" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="98V2DKDVIXfe.1.5159517339779072" type="radio" data-index="2" /><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="98V2DKDVIXfe.1.5159517339779072.2">Number of nouns before the first adjective in every sentence</label></div><div class="gcb-mcq-choice" style="margin: 0px 0px 18px; padding: 0px; display: flex; align-items: center;"><input id="98V2DKDVIXfe.1.5159517339779072.3" style="padding: 0px; font-family: inherit; font-size: inherit; width: 15px; height: 15px; background-color: #05a660;" disabled="disabled" name="98V2DKDVIXfe.1.5159517339779072" type="radio" data-index="3" /><span style="color: #0000ff;"><label style="margin: 0px 0px 0px 16px; padding: 0px; font-size: 16px;" for="98V2DKDVIXfe.1.5159517339779072.3">Number of nouns after the first adjective in every sentence</label></span></div></div></div></div><div> </div>						</div>
				</div>
					</div>
		</div>
							</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-df51cda elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="df51cda" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-55a92f3" data-id="55a92f3" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-42403e5 elementor-widget elementor-widget-html" data-id="42403e5" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE  html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>index</title><style type="text/css"> * {margin:0; padding:0; text-indent:0; }
 h1 { color: #333; font-family:"Open Sans", sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 22pt; }
 h2 { color: #333; font-family:"Open Sans", sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 17pt; }
 h3 { color: #333; font-family:"Open Sans", sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 14.5pt; }
 .p, p { color: #333; font-family:"Open Sans", sans-serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 9.5pt; margin:0pt; }
 h4 { color: #333; font-family:"Open Sans", sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 12pt; }
 .s1 { color: #333; font-family:"Open Sans", sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 9.5pt; }
</style></head><body><h1 style="padding-top: 3pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark0">Week-4, Graded Assignment</a></h1><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h2 style="padding-top: 7pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark1">Question 1 [4 Marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark2">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;"><span>For which of the following situations is a nested loop needed? Assume that no procedure is used. It is a<br/>Multiple Select Question (MSQ).</span></p><h3 style="padding-top: 8pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark3">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark4">(a)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">To find the number of authors who have written a book in &quot;French&quot; in 2007 from the &quot;Library&quot; dataset.</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark5">(b)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">To find the number of pair of students who have scored the same Physics marks from the &quot;Scores&quot; dataset</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark6">(c)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">To find the number of players who have won the medal in &quot;Wrestling&quot; from the &quot;Sports&quot; dataset</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark7">(d)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">To find the number of students with at least two vowels in their name from the &quot;Scores&quot; dataset.</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark8">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(b), (d)</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark9">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">We will check each and options one by one:</p><p class="s1" style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Option (a)<span class="p">: This requires only one loop.</span></p><p class="s1" style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option (b)<span class="p">: For finding the pair of students who scored the same Physics mark requires nested loop. The<br/>outer loop fix one of the student&#39;s mark and the inner loop compares with remaining student&#39;s mark.</span></p><p class="s1" style="padding-top: 8pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Option (c)<span class="p">: This requires only one loop.</span></p><p class="s1" style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option (d)<span class="p">: It requires nested loop to find the number of students with at least two vowels in their name<br/>from the &quot;Sports&quot; dataset. The outer loop iterates through the each student&#39;s name and the inner loop will<br/>iterate through the each letters of the student&#39;s name.</span></p><p style="padding-top: 8pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Therefore the correct options are (b), (d).</p><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark10">Question 2 [4 Marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark11">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The following pseudocode is executed using the “Scores” dataset. Assume that <b>length(x) </b><span>is a procedure that<br/>returns the number of letters present in a word </span><b>x</b>. What will <b>A </b>represent at the end of the execution?</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row X in Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">i </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">B </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">True</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Name</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">i </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&lt;= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">length</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">ith letter of C is a vowel</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">B </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">False</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">i </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">i </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">B</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">2</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h3 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark12">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark13">(a)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of students whose names are without vowels</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark14">(b)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of students whose names have at most one vowel</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark15">(c)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of students whose names have exactly one vowel</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark16">(d)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of students whose names have at least one vowel</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark17">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(a)</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark18">Solution</a></h3><p style="padding-top: 4pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">In this pseudocode nested while loop is used in which outer loop iterates through each student. Variable <b>C</b>stores the name of the student, procedure <b>length(x) </b>counts the number of letters present in <b>C </b><span>and the<br/>inner loop iterates through the each letter of </span><b>C</b><span>. The variable B is updated to False whenever a vowel is<br/>found in a word. Therefore variable </span><b>A </b><span>counts those words which do not have vowels. Therefore the correct<br/>option is (a).</span></p><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark19">Question 3 [4 Marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark20">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The following pseudocode is executed using the “Library” dataset. What will <b>C </b><span>represent at the end of the<br/>execution? Assume that there is only one row corresponding to each author in the &quot;Library&quot; dataset.</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row X in Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">2</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row Y in Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">findpair</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){</span></p><p style="padding-left: 73pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move Y to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">3</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move all rows from Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">3 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Procedure </span><span style=" color: #00F; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">findPair</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Genre </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Genre and X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Language </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">!= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Language</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">True</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">else</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">{</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">False</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">End findPair</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h3 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark21">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark22">(a)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of authors who have written different genre books in same language</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark23">(b)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of pairs of authors who have written different genre books in same language</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark24">(c)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of authors who have written same genre books in different language</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark25">(d)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of pairs of authors who have written same genre books in different language</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark26">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(d)</p><h3 style="padding-top: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark27">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;"><span>In this pseudocode nested while loop is used which find pairs of authors. Now we investigate the<br/>pseudocode closely. The variable </span><b>C </b>is incremented whenever procedure <b>findPair(X, Y) </b><span>returns True. The<br/>procedure </span><b>findPair(X, Y) </b><span>returns True for pair of authors who authored in the different language but same<br/>genre  . Therefore, variable </span><b>C </b><span>counts the number of pairs of authors who have written books in different<br/>language in same genre. Therefore option (d) is correct.</span></p><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark28">Question 4 [5 Marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark29">Statement</a></h3><p style="text-indent: 0pt;text-align: left;"/><p style="padding-top: 1pt;padding-left: 27pt;text-indent: -22pt;line-height: 23pt;text-align: left;"><span>Two words are said to be special if they fulfill following conditions:<br/>Number of vowels are same in both the words</span></p><p style="text-indent: 0pt;text-align: left;"/><p style="padding-top: 2pt;padding-left: 27pt;text-indent: 0pt;text-align: left;">Number of consonants are not same in both the words</p><p style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The given pseudocode is executed using the “Words” dataset. The variable <b>count </b><span>in the given pseudocode<br/>counts the number of special pairs. Choose the correct code fragment(s) to complete the pseudocode.</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">count </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row X in Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">2</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row Y in Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 69pt;text-indent: -16pt;line-height: 136%;text-align: left;"><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">**********************<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Fill here</span></p><p style="padding-left: 52pt;text-indent: 1pt;line-height: 136%;text-align: left;"><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">**********************<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move Y to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">3</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move all rows from Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">3 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Procedure </span><span style=" color: #00F; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">vCount</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">vowelCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">i </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">i </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&lt;= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">LetterCount</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">ith letter of Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Word is a vowel</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">vowelCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">vowelCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">i </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">i </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">vowelCount</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">End vCount</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h3 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark30">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark31">(a)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 36pt;text-indent: -25pt;line-height: 136%;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if(X.LetterCount == Y.LetterCount){<br/>if(vCount(X) == vCount(Y)){</span></p><p style="padding-left: 73pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">count = count + 1</span></p><p style="padding-top: 3pt;padding-left: 36pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark32">(b)</a></h4><p style="padding-top: 6pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if(X.LetterCount != Y.LetterCount){<br/>if(vCount(X) == vCount(Y)){</span></p><p style="padding-left: 73pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">count = count + 1</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark33">(c)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 7pt;padding-left: 36pt;text-indent: -25pt;line-height: 136%;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if(X.LetterCount == Y.LetterCount){<br/>if(vCount(X) != vCount(Y)){</span></p><p style="padding-left: 73pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">count = count + 1</span></p><p style="padding-top: 3pt;padding-left: 36pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark34">(d)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 36pt;text-indent: -25pt;line-height: 136%;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if(X.LetterCount != Y.LetterCount){<br/>if(vCount(X) != vCount(Y)){</span></p><p style="padding-left: 73pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">count = count + 1</span></p><p style="padding-top: 3pt;padding-left: 36pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h3 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark35">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(b)</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark36">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;"><span>The given pseudocode counts the number of special pairs. We need to find the pair of words have same<br/>number of vowels and different number of consonants. This is possible only when the letter count of both<br/>the words are not same. Let us check the options one by one.</span></p><p class="s1" style="padding-top: 7pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option (a) <span class="p">: This options checks if the letter count of both the words are same and if same the number of<br/>vowels should also be same. This means that number of consonants will also be the same. Hence, this is an<br/>incorrect option.</span></p><p class="s1" style="padding-top: 8pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option (b) <span class="p">: This options checks if the letter count of both the words are not same and if same the number<br/>of vowels be same. This means that number of consonants will not be the same. This is the correct option.</span></p><p class="s1" style="padding-top: 7pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: justify;">Option (c) <span class="p">: This options checks if the letter count of both the words are same and if same the number of<br/>vowels should not be same. This does not satisfy the condition of the question. Hence, this is an incorrect<br/>option.</span></p><p class="s1" style="padding-top: 7pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option (d) <span class="p">: This options checks if the letter count of both the words are not same and if same the number<br/>of vowels are also not same. This does not satisfy the condition of the question. Hence, this is an incorrect<br/>option.</span></p><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark37">Question (5-6)</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark38">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The following pseudocode is executed using the “Scores” dataset. The variables <b>M</b>, <b>P </b>and <b>C </b><span>store the<br/>number of students in Mathematics, Physics and Chemistry clubs respectively.</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">M </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">P </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row X in Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">subject </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">maxSubject</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">subject </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&gt; </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">90</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-left: 73pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">subject </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Mathematics&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">M </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">M </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">subject </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Physics&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">P </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">P </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">subject </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Chemistry&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">2</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Procedure </span><span style=" color: #00F; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">maxSubject</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Chemistry </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&gt; </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Mathematics</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-left: 73pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Chemistry </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&gt; </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Physics</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Chemistry&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">else</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">{</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Physics&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">else</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">{</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Mathematics </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&gt; </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Physics</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Mathematics&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">else</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">{</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Physics&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">End maxSubject</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark39">Questions 5 [5 marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark40">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Which club can a student join if he/she gets 91 marks in all three subjects?</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark41">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;line-height: 175%;text-align: left;"><a name="bookmark42"><span>(a)<br/></span></a><span class="p">Physics<br/></span><span>(b)<br/></span><span class="p">Chemistry<br/></span>(c)<a name="bookmark43">&zwnj;</a><a name="bookmark44">&zwnj;</a></h4><p style="padding-left: 5pt;text-indent: 0pt;line-height: 11pt;text-align: left;">Mathematics</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark45">(d)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">The student cannot join any club</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark46">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(a)</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark47">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The joining of a club will depend on the return value of the procedure <b>maxSubject</b><span>. In this question it is<br/>given that a student got 90 marks in all subjects. The procedure </span><b>maxSubject </b><span>will be called. In the procedure<br/>firstly Chemistry marks is compared with Mathematics marks. Since Chemistry marks is same as<br/>Mathematics marks, the if-block sets to be False and flow of the code will go to else-block. Inside the else-<br/>block, Mathematics marks is compared with Physics marks. Since Mathematics marks is same as Physics<br/>marks, the if-block sets to be False and flow of the code will go to else-block and &quot;Physics&quot; will be returned.<br/>Now the value stored in variable </span><b>subject </b><span>is &quot;Physics&quot;. Since Physics marks is which is more than 90, variable<br/></span><b>C </b><span>will be incremented. Therefore a student who will get more 9and same marks in all subjects. He/she will<br/>join Physics club. The correct option is (a).</span></p><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark48">Question 6 [4 Marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark49">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Can a student join more than one club ?</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark50">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark51">(a)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Yes, if the student has scored more than 90 marks in at least two subject</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark52">(b)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Yes, if the student has scored more than 90 marks in Mathematics and Chemistry</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark53">(c)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Yes, if the student has secured more than 90 marks and the same marks in Mathematics and Chemistry</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark54">(d)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">No, a student cannot join more than one club</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark55">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(d)</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark56">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;"><span>From the previous question we saw that joining of a club depends upon the return value of procedure<br/></span><b>maxSubject </b><span>and it returns only one value which is further compared in the main part of the code. Hence a<br/>student can join only one club if he/she gets more than 90 marks in that subject. Hence the correct option is<br/>(d).</span></p><h3 style="padding-top: 4pt;padding-left: 5pt;text-indent: 0pt;line-height: 152%;text-align: left;"><a name="bookmark57"><span>Question 7 [4 Marks]<br/>Statement</span></a><a name="bookmark58">&zwnj;</a></h3><p style="padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The given pseudocode is executed using the “Shopping Bills” dataset. <b>frac </b><span>stores the ratio of the number of<br/>customers who purchased both “Soap” and “Facewash” to the number of customers who purchased<br/>“Facewash”. Choose the correct code fragment to complete the pseudocode. (Assume there is at least one<br/>customer who has purchased “Facewash”).</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Pile </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more cards</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the top card X in Pile </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">*********************</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">* </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Fill the code </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">*</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">*********************<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Pile </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">2.</span></p><p style="padding-left: 10pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">frac </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">/ </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Procedure </span><span style=" color: #00F; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem </span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">False</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Card Y has more items</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read an item Z from ItemList of card Y<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Item </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-left: 73pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">True</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Remove Z from ItemList of Y</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">End isItem</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h3 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark59">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark60">(a)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 7pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">“Facewash”</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 10pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">“Soap”</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 10pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark61">(b)</a></h4><p style="padding-top: 6pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">“Soap”</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 52pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">“Facewash”</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark62">(c)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 7pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">“Facewash”</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">) </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">and </span><span style=" color: #00F; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">“Soap”</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark63">(d)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">“Facewash”</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">mCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">isItem</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">“Soap”</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)){</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">bCount </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h3 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark64">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(d)</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark65">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Procedure <b>isItem (Y, A) </b>returns True if item <b>A </b><span>is there in the item list of card Y otherwise returns False. As<br/>we are trying to find the ratio of customers who purchased both Soap and Facewash to the number of<br/>customers who purchased Facewash, </span><b>bCount </b><span>should stores the number of customers who buy Soap and<br/>Facewash together and </span><b>mCount </b>should store the number of customers who buy Facewash.</p><p class="s1" style="padding-top: 7pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option a. bCount <span class="p">stores the number of customers who buy Soap (irrespective of the customers who buy<br/>Facewash or not). This is not the situation we want.</span></p><p class="s1" style="padding-top: 8pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option b. mCount <span class="p">stores the number of customers who buy Facewash only if they buy Soap. This is not the<br/>situation we want.</span></p><p class="s1" style="padding-top: 7pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option c. bCount <span class="p">and </span>mCount <span class="p">are always same and stores the number of customers who buy both Soap<br/>and Facewash. This is not the case here.</span></p><p class="s1" style="padding-top: 7pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">Option d. mCount <span class="p">stores the number of customers who have bought the Facewash and </span>bCount <span class="p">stores the<br/>number of customers who buy Soap only if they buy Facewash. This the required condition. Therefore,<br/>option    d is correct.</span></p><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark66">Question 8 [4 Marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark67">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The following pseudocode is executed using the “Olympics” dataset. At the end of the execution, <b>A</b>, <b>B </b>and <b>C</b>store the number of pairs of players from the same nation who have won same medal in different year.</p><p style="padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;"><span>Assume that one player has won only one medal. Choose the correct code fragment(s) to complete the<br/>pseudocode. It is a Multiple Select Questions(MSQ)</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">B </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row X in Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Medal </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Gold&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">2</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Medal </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Silver&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">3</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Medal </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Bronze&quot;</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">4</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;line-height: 136%;text-align: justify;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">similarPlayers</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">2</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">B </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">similarPlayers</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">3</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">C </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">similarPlayers</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">4</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Procedure </span><span style=" color: #00F; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">similarPlayers</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table T1</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table T1 has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row Y in Table T1<br/>Move Y to Table T2</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table T1 has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row Z in Table T1<br/>Move Z to Table T3</span></p><p style="padding-left: 73pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">*****************************</span></p><p style="padding-top: 3pt;padding-left: 94pt;text-indent: 0pt;text-align: left;"><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">* </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Fill the code </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">*</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: 0pt;text-align: left;"><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">*****************************</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move all rows from Table T3 to Table T1</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">return</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">End similarPlayers</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h3 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark68">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark69">(a)</a></h4><p style="padding-top: 6pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">!= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark70">(b)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 7pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">!= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark71">(c)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">!= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year and Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 10pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h4 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark72">(d)</a></h4><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">!= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year or Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 10pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><h3 style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark73">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(a), (b) , (c)</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark74">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The above pseudocode is executed on the “Olympics” dataset. At the end of the execution, variables <b>A</b>, <b>B</b>and <b>C </b><span>store the number of pairs of players from the same nation who have won same medal in different<br/>year. The pseudocode has to be completed with the correct code fragment from the given options. Let us<br/>observe the given pseudocode.</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;"><span>In the main part of the pseudocode, three bins are created based on the medal won by the player. The first<br/>bin i.e. Table 2 stores the players who won the medal in &quot;Gold&quot;, the second bin i.e. Table 3 stores players<br/>who won the medal in &quot;Silver&quot; and the third bin i.e. Table 4 stores the players who won the medal in<br/>&quot;Bronze&quot;. Then procedure similarPlayers is called separately with created bins as an input (argument). The<br/>procedure similarPlayers contains a nested while loop. This nested while loop should create pairs of players<br/>from the created bins as mentioned in the problem. The condition for checking the same nation and<br/>different year of winning should be in the inner while loop of the procedure similarPlayers. The missing<br/>code fragment can be written as:</span></p><p style="padding-top: 6pt;padding-left: 31pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">!= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Year and Y</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Z</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Nationality</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">)<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">D </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 10pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 5pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;"><span>Here two conditions are connected with word “and”, which could be converted in two conditions using<br/>nested loop which is given in option a and b. Therefore, options a, b, and c are correct.</span></p><h3 style="padding-top: 4pt;padding-left: 5pt;text-indent: 0pt;line-height: 152%;text-align: left;"><a name="bookmark75"><span>Question (9-10)<br/>Statement</span></a><a name="bookmark76">&zwnj;</a></h3><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">The following pseudocode is executed using the “Words” dataset.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 6pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">B </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">0</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">P </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">True</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">, </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Q </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">False<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">while</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1 </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">has more rows</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Read the first row X in Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1<br/></span><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">PartOfSpeech </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Adjective&quot; </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">and P</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 136%;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">P </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">False<br/>Q </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">True</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">PartOfSpeech </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">== </span><span style=" color: #A11; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">&quot;Noun&quot; </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">and Q</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">B </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">B </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-left: 31pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">else</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">{</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">not Q</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){</span></p><p style="padding-top: 3pt;padding-left: 73pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">A </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">+ </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">1</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 52pt;text-indent: -21pt;line-height: 136%;text-align: left;"><span style=" color: #770087; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">if</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">(</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">X</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">.</span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Word ends with a full stop</span><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">){<br/></span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">P </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">True</span></p><p style="padding-left: 52pt;text-indent: 0pt;line-height: 10pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Q </span><span style=" color: #971A1A; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">= </span><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">False</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-top: 3pt;padding-left: 31pt;text-indent: 0pt;text-align: left;"><span style=" color: black; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">Move X to Table </span><span style=" color: #164; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">2</span></p><p style="padding-top: 3pt;padding-left: 10pt;text-indent: 0pt;text-align: left;"><span style=" color: #333; font-family:Consolas, monospace; font-style: normal; font-weight: normal; text-decoration: none; font-size: 8.5pt;">}</span></p><p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"/><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark77">Question 9 [4 Marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark78">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">What will <b>A </b>represent at the end of execution?</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark79">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark80">(a)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of words after the first noun in every sentence which are not adjectives</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark81">(b)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of words which appear before the first adjective in every sentence</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark82">(c)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of words other than nouns which appear before the first adjective in every sentence</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark83">(d)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of words after the first adjectives in every sentence which are not nouns</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark84">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(b)</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark85">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The given pseudocode is executed on the &quot;Words&quot; dataset. The increment of variable <b>A </b><span>depends on the<br/>variable </span><b>Q</b>. Variable <b>A </b>is incremented for False value of <b>Q</b>. Since it check for &quot;not <b>Q</b>&quot;. The variable <b>Q </b><span>is set as<br/>False initially and set to True when an adjective is found. Hence variable </span><b>A </b><span>will count the number of words<br/>which appear before the first adjective in every sentence.</span></p><h2 style="padding-top: 4pt;padding-bottom: 4pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark86">Question 10 [4 Marks]</a></h2><p style="padding-left: 5pt;text-indent: 0pt;line-height: 1pt;text-align: left;"/><h3 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark87">Statement</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">What will <b>B </b>represent at the end of execution?</p><h3 style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark88">Options</a></h3><h4 style="padding-top: 9pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark89">(a)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of nouns after the second adjective in every sentence</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark90">(b)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of nouns before the second adjective in every sentence</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark91">(c)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of nouns before the first adjective in every sentence</p><h4 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark92">(d)</a></h4><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">Number of nouns after the first adjective in every sentence</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark93">Answer</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">(d)</p><h3 style="padding-top: 10pt;padding-left: 5pt;text-indent: 0pt;text-align: left;"><a name="bookmark94">Solution</a></h3><p style="padding-top: 11pt;padding-left: 5pt;text-indent: 0pt;line-height: 115%;text-align: left;">The increment of <b>B </b>depends on <b>Q </b>even though part of speech of a word is adjective. <b>Q </b><span>is initially False and<br/>set to be True when an adjective is found. Hence </span><b>B </b><span>will count number of nouns after the first adjective in<br/>every sentence.</span></p></body></html>
		</div>
				</div>
					</div>
		</div>
							</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-11dcf3f elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="11dcf3f" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-253ad52" data-id="253ad52" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-3b800c5 elementor-button-align-stretch elementor-widget elementor-widget-form" data-id="3b800c5" data-element_type="widget" data-settings="{&quot;step_next_label&quot;:&quot;Next&quot;,&quot;step_previous_label&quot;:&quot;Previous&quot;,&quot;button_width&quot;:&quot;100&quot;,&quot;step_type&quot;:&quot;number_text&quot;,&quot;step_icon_shape&quot;:&quot;circle&quot;}" data-widget_type="form.default">
				<div class="elementor-widget-container">
			<style>/*! elementor-pro - v3.14.0 - 18-06-2023 */
.elementor-button.elementor-hidden,.elementor-hidden{display:none}.e-form__step{width:100%}.e-form__step:not(.elementor-hidden){display:flex;flex-wrap:wrap}.e-form__buttons{flex-wrap:wrap}.e-form__buttons,.e-form__buttons__wrapper{display:flex}.e-form__indicators{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;font-size:13px;margin-bottom:var(--e-form-steps-indicators-spacing)}.e-form__indicators__indicator{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-basis:0;padding:0 var(--e-form-steps-divider-gap)}.e-form__indicators__indicator__progress{width:100%;position:relative;background-color:var(--e-form-steps-indicator-progress-background-color);border-radius:var(--e-form-steps-indicator-progress-border-radius);overflow:hidden}.e-form__indicators__indicator__progress__meter{width:var(--e-form-steps-indicator-progress-meter-width,0);height:var(--e-form-steps-indicator-progress-height);line-height:var(--e-form-steps-indicator-progress-height);padding-right:15px;border-radius:var(--e-form-steps-indicator-progress-border-radius);background-color:var(--e-form-steps-indicator-progress-color);color:var(--e-form-steps-indicator-progress-meter-color);text-align:right;transition:width .1s linear}.e-form__indicators__indicator:first-child{padding-left:0}.e-form__indicators__indicator:last-child{padding-right:0}.e-form__indicators__indicator--state-inactive{color:var(--e-form-steps-indicator-inactive-primary-color,#c2cbd2)}.e-form__indicators__indicator--state-inactive [class*=indicator--shape-]:not(.e-form__indicators__indicator--shape-none){background-color:var(--e-form-steps-indicator-inactive-secondary-color,#fff)}.e-form__indicators__indicator--state-inactive object,.e-form__indicators__indicator--state-inactive svg{fill:var(--e-form-steps-indicator-inactive-primary-color,#c2cbd2)}.e-form__indicators__indicator--state-active{color:var(--e-form-steps-indicator-active-primary-color,#39b54a);border-color:var(--e-form-steps-indicator-active-secondary-color,#fff)}.e-form__indicators__indicator--state-active [class*=indicator--shape-]:not(.e-form__indicators__indicator--shape-none){background-color:var(--e-form-steps-indicator-active-secondary-color,#fff)}.e-form__indicators__indicator--state-active object,.e-form__indicators__indicator--state-active svg{fill:var(--e-form-steps-indicator-active-primary-color,#39b54a)}.e-form__indicators__indicator--state-completed{color:var(--e-form-steps-indicator-completed-secondary-color,#fff)}.e-form__indicators__indicator--state-completed [class*=indicator--shape-]:not(.e-form__indicators__indicator--shape-none){background-color:var(--e-form-steps-indicator-completed-primary-color,#39b54a)}.e-form__indicators__indicator--state-completed .e-form__indicators__indicator__label{color:var(--e-form-steps-indicator-completed-primary-color,#39b54a)}.e-form__indicators__indicator--state-completed .e-form__indicators__indicator--shape-none{color:var(--e-form-steps-indicator-completed-primary-color,#39b54a);background-color:initial}.e-form__indicators__indicator--state-completed object,.e-form__indicators__indicator--state-completed svg{fill:var(--e-form-steps-indicator-completed-secondary-color,#fff)}.e-form__indicators__indicator__icon{width:var(--e-form-steps-indicator-padding,30px);height:var(--e-form-steps-indicator-padding,30px);font-size:var(--e-form-steps-indicator-icon-size);border-width:1px;border-style:solid;display:flex;justify-content:center;align-items:center;overflow:hidden;margin-bottom:10px}.e-form__indicators__indicator__icon img,.e-form__indicators__indicator__icon object,.e-form__indicators__indicator__icon svg{width:var(--e-form-steps-indicator-icon-size);height:auto}.e-form__indicators__indicator__icon .e-font-icon-svg{height:1em}.e-form__indicators__indicator__number{width:var(--e-form-steps-indicator-padding,30px);height:var(--e-form-steps-indicator-padding,30px);border-width:1px;border-style:solid;display:flex;justify-content:center;align-items:center;margin-bottom:10px}.e-form__indicators__indicator--shape-circle{border-radius:50%}.e-form__indicators__indicator--shape-square{border-radius:0}.e-form__indicators__indicator--shape-rounded{border-radius:5px}.e-form__indicators__indicator--shape-none{border:0}.e-form__indicators__indicator__label{text-align:center}.e-form__indicators__indicator__separator{width:100%;height:var(--e-form-steps-divider-width);background-color:#babfc5}.e-form__indicators--type-icon,.e-form__indicators--type-icon_text,.e-form__indicators--type-number,.e-form__indicators--type-number_text{align-items:flex-start}.e-form__indicators--type-icon .e-form__indicators__indicator__separator,.e-form__indicators--type-icon_text .e-form__indicators__indicator__separator,.e-form__indicators--type-number .e-form__indicators__indicator__separator,.e-form__indicators--type-number_text .e-form__indicators__indicator__separator{margin-top:calc(var(--e-form-steps-indicator-padding, 30px) / 2 - var(--e-form-steps-divider-width, 1px) / 2)}.elementor-field-type-hidden{display:none}.elementor-field-type-html{display:inline-block}.elementor-login .elementor-lost-password,.elementor-login .elementor-remember-me{font-size:.85em}.elementor-field-type-recaptcha_v3 .elementor-field-label{display:none}.elementor-field-type-recaptcha_v3 .grecaptcha-badge{z-index:1}.elementor-button .elementor-form-spinner{order:3}.elementor-form .elementor-button>span{display:flex;justify-content:center;align-items:center}.elementor-form .elementor-button .elementor-button-text{white-space:normal;flex-grow:0}.elementor-form .elementor-button svg{height:auto}.elementor-form .elementor-button .e-font-icon-svg{height:1em}.elementor-select-wrapper .select-caret-down-wrapper{position:absolute;top:50%;transform:translateY(-50%);inset-inline-end:10px;pointer-events:none;font-size:11px}.elementor-select-wrapper .select-caret-down-wrapper svg{display:unset;width:1em;aspect-ratio:unset;fill:currentColor}.elementor-select-wrapper .select-caret-down-wrapper i{font-size:19px;line-height:2}.elementor-select-wrapper.remove-before:before{content:""!important}</style>		<form class="elementor-form" method="post" name="New Form">
			<input type="hidden" name="post_id" value="538"/>
			<input type="hidden" name="form_id" value="3b800c5"/>
			<input type="hidden" name="referer_title" value="Two words are said to be special if they fulfill following conditions:" />

			
			<div class="elementor-form-fields-wrapper elementor-labels-above">
								<div class="elementor-field-type-text elementor-field-group elementor-column elementor-field-group-name elementor-col-100">
												<label for="form-field-name" class="elementor-field-label">
								Name							</label>
														<input size="1" type="text" name="form_fields[name]" id="form-field-name" class="elementor-field elementor-size-sm  elementor-field-textual" placeholder="Name">
											</div>
								<div class="elementor-field-type-email elementor-field-group elementor-column elementor-field-group-email elementor-col-100 elementor-field-required">
												<label for="form-field-email" class="elementor-field-label">
								Email							</label>
														<input size="1" type="email" name="form_fields[email]" id="form-field-email" class="elementor-field elementor-size-sm  elementor-field-textual" placeholder="Email" required="required" aria-required="true">
											</div>
								<div class="elementor-field-type-textarea elementor-field-group elementor-column elementor-field-group-message elementor-col-100">
												<label for="form-field-message" class="elementor-field-label">
								Message							</label>
						<textarea class="elementor-field-textual elementor-field  elementor-size-sm" name="form_fields[message]" id="form-field-message" rows="4" placeholder="Message"></textarea>				</div>
								<div class="elementor-field-group elementor-column elementor-field-type-submit elementor-col-100 e-form__buttons">
					<button type="submit" class="elementor-button elementor-size-sm">
						<span >
															<span class=" elementor-button-icon">
																										</span>
																						<span class="elementor-button-text">Send</span>
													</span>
					</button>
				</div>
			</div>
		</form>
				</div>
				</div>
					</div>
		</div>
							</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-5b23ce1 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="5b23ce1" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-61ba480" data-id="61ba480" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-bdb70b0 elementor-button-success elementor-align-justify elementor-widget elementor-widget-button" data-id="bdb70b0" data-element_type="widget" data-widget_type="button.default">
				<div class="elementor-widget-container">
					<div class="elementor-button-wrapper">
			<a class="elementor-button elementor-button-link elementor-size-sm" href="https://drive.google.com/drive/folders/1BUQH4rsft6WDxvyEzpcYWsCenBFl4iRR?usp=drive_link" target="_blank" rel="noopener">
						<span class="elementor-button-content-wrapper">
						<span class="elementor-button-text">Week 4 Graded Solutions PDF </span>
		</span>
					</a>
		</div>
				</div>
				</div>
					</div>
		</div>
							</div>
		</section>
							</div>
		]]></content:encoded>
					
					<wfw:commentRss>/ct-week-4-graded-assignments-iit-madras/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
