<?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>What will be the values of A &#8211; Students Community</title>
	<atom:link href="/tag/what-will-be-the-values-of-a/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 17:44:45 +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>What will be the values of A &#8211; Students Community</title>
	<link>/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>CT Week 1 Graded Assignments IIT Madras</title>
		<link>/ct-week-1-graded-assignments-iit-madras/</link>
					<comments>/ct-week-1-graded-assignments-iit-madras/#respond</comments>
		
		<dc:creator><![CDATA[Khushi Dii]]></dc:creator>
		<pubDate>Wed, 09 Aug 2023 07:01:55 +0000</pubDate>
				<category><![CDATA[Qualifier Graded Assignments]]></category>
		<category><![CDATA[A student proposed a hypothesis that less number of students are born in the first half of the year than the second half of the year. She wrote the following procedure which uses the “Scores”]]></category>
		<category><![CDATA[B and C after execution of the following procedure using the “Scores” dataset?]]></category>
		<category><![CDATA[count stores the number of books written by “Shakespeare” and published in “Morning Star” publications.]]></category>
		<category><![CDATA[CT Week 1 Graded Assignments]]></category>
		<category><![CDATA[The following procedure is executed using the “Library” dataset. At the end of the execution]]></category>
		<category><![CDATA[The following procedure is executed using the “Olympics” dataset.]]></category>
		<category><![CDATA[Week 1 Graded Assessment IIT Madras]]></category>
		<category><![CDATA[Week 1 Graded Assignments]]></category>
		<category><![CDATA[What will be the values of A]]></category>
		<category><![CDATA[What will variable B represent after execution of the following procedure on the “Words” dataset?]]></category>
		<category><![CDATA[What will variable X represent after execution of the following procedure on the “Shopping Bills” dataset?]]></category>
		<guid isPermaLink="false">/?p=437</guid>

					<description><![CDATA[Computational Thinking week 1 graded assignment Complete  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  What will be the values of A, B and C after execution of the following procedure using the &#8220;Scores&#8221; dataset? Step 1: Arrange all&#8230;&#160;<a href="/ct-week-1-graded-assignments-iit-madras/" class="" rel="bookmark">Read More &#187;<span class="screen-reader-text">CT Week 1 Graded Assignments IIT Madras</span></a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="437" class="elementor elementor-437" data-elementor-post-type="post">
									<section class="elementor-section elementor-top-section elementor-element elementor-element-d1c9083 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="d1c9083" 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-904cdbe" data-id="904cdbe" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-0adf47a elementor-widget elementor-widget-text-editor" data-id="0adf47a" 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>Computational Thinking week 1 graded assignment Complete  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 </em></p>						</div>
				</div>
				<div class="elementor-element elementor-element-d1cae41 elementor-widget elementor-widget-text-editor" data-id="d1cae41" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<h5>What will be the values of A, B and C after execution of the following procedure using the &#8220;Scores&#8221; dataset?</h5><h5>Step 1: Arrange all cards in a single pile called Pile 1</h5><h5>Step 2: Maintain three variables A, B, C and initialize them to 0</h5><h5>Step 3: If Pile 1 is empty then stop the iteration</h5><h5>Step 4: Read the top card in Pile 1</h5><h5>Step 5: If Mathematics &lt; 50 then increment A</h5><h5>Step 6: If Physics &lt; 50 then increment B</h5><h5>Step 7: If Chemistry &lt; 50 then increment C</h5><h5>Step 8: Move the current card to another pile called Pile 2 and repeat from step 3</h5><ol><li><p>The value of <strong>A</strong> is  <span style="color: #0000ff;"><strong><span style="text-decoration: underline;">2</span></strong> <em> </em></span></p></li><li><p>The value of <strong>B</strong> is  <span style="color: #0000ff;"><strong><span style="text-decoration: underline;">1</span></strong><em>  </em></span></p></li><li><p>The value of <strong>C</strong> is  <span style="color: #0000ff;"><strong><span style="text-decoration: underline;">1</span></strong> </span><em><span style="color: #0000ff;"> </span> </em></p></li></ol><h5> </h5><h5>4.What will variable B represent after execution of the following procedure on the &#8220;Words&#8221; dataset?</h5><p>Step 1: Arrange all cards in a single pile called Pile 1<br />Step 2: Maintain two variables <b>A, B </b>and initialize them to 0<br />Step 3: If Pile 1 is empty then stop the iteration<br />Step 4: Read the top card in Pile 1<br />Step 5: If PartOfSpeech is &#8220;Verb&#8221; then increment <b>A</b><br />Step 6: If the word does not end with a full stop then execute Step 9<br />Step 7: If the word ends with a full stop and <b>A</b> is greater than 1 then increment <b>B</b><br />Step 8: Reset the variable <b>A</b> to 0<br />Step 9: Move the current card to another pile called Pile 2 and repeat from Step 3</p><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.0.5758674895110144.0" disabled="disabled" name="Ee79hVxZvnla.0.5758674895110144" type="radio" data-index="0" /><label for="Ee79hVxZvnla.0.5758674895110144.0">Total number of verbs in the dataset</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.0.5758674895110144.1" disabled="disabled" name="Ee79hVxZvnla.0.5758674895110144" type="radio" data-index="1" /><label for="Ee79hVxZvnla.0.5758674895110144.1">Total number of sentences with only one verb in it</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.0.5758674895110144.2" disabled="disabled" name="Ee79hVxZvnla.0.5758674895110144" type="radio" data-index="2" /><span style="color: #0000ff;"><label for="Ee79hVxZvnla.0.5758674895110144.2">Total number of sentences with at least two verbs in it</label></span></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.0.5758674895110144.3" disabled="disabled" name="Ee79hVxZvnla.0.5758674895110144" type="radio" data-index="3" /><label for="Ee79hVxZvnla.0.5758674895110144.3">Total number of sentences with at least one verbs in it</label></div><h5> </h5><h5> </h5><h5> </h5><h5>5. A student proposed a hypothesis that less number of students are born in the first half of the year than the second half of the year. She wrote the following procedure which uses the “Scores” dataset to verify the hypothesis. However, the procedure may contain some errors. Find out the errors if present.</h5><div class="qt-question">Step 1: Arrange all cards in a single pile called Pile 1<br />Step 2: Maintain two variables <b>A</b> and <b>B</b> and initialize them to 0<br />Step 3: If Pile 1 is empty then stop the iteration and start from Step 8<br />Step 4: Read the top card in Pile 1<br />Step 5: If the Date of Birth is from 1st January to 30th June then increment <b>A</b><br />Step 6: If the Date of Birth is from 1st July to 31st December then increment <b>B</b><br />Step 7: Move the current card to another pile called Pile 2 and repeat from Step 3<br />Step 8: If <b>A &gt; B</b> then declare the hypothesis to be True<br />Step 9: If <b>A ≤ B</b> then declare the hypothesis to be False</div><div class="qt-choices"><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.1.5156696657756160.0" disabled="disabled" name="Ee79hVxZvnla.1.5156696657756160" type="checkbox" data-index="0" /><label for="Ee79hVxZvnla.1.5156696657756160.0">Step 5 to increment A is incorrect</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.1.5156696657756160.1" disabled="disabled" name="Ee79hVxZvnla.1.5156696657756160" type="checkbox" data-index="1" /><label for="Ee79hVxZvnla.1.5156696657756160.1">Step 6 to increment B is incorrect</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.1.5156696657756160.2" disabled="disabled" name="Ee79hVxZvnla.1.5156696657756160" type="checkbox" data-index="2" /><span style="color: #0000ff;"><label for="Ee79hVxZvnla.1.5156696657756160.2">Step 8 to declare the hypothesis as True is incorrect</label></span></div><div class="gcb-mcq-choice"><span style="color: #0000ff;"><input id="Ee79hVxZvnla.1.5156696657756160.3" disabled="disabled" name="Ee79hVxZvnla.1.5156696657756160" type="checkbox" data-index="3" /><label for="Ee79hVxZvnla.1.5156696657756160.3">Step 9 to declare the hypothesis as False is incorrect</label></span></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.1.5156696657756160.4" disabled="disabled" name="Ee79hVxZvnla.1.5156696657756160" type="checkbox" data-index="4" /><label for="Ee79hVxZvnla.1.5156696657756160.4">The procedure is free of errors</label></div></div><h5> </h5><h5> </h5><h5> </h5><h5>6. What will variable X represent after execution of the following procedure on the &#8220;Shopping Bills&#8221; dataset?</h5><div class="qt-question">Step 1: Arrange all cards in a single pile called Pile 1<br />Step 2: Maintain four variables A, B, C, X and initialize them to 0<br />Step 3: If Pile 1 is empty then stop the iteration and start from Step 9<br />Step 4: Read the top card in Pile 1<br />Step 5: If the Shop name is &#8220;SV Stores&#8221; and Customer name is &#8220;Suresh&#8221; then set A equal to 1<br />Step 6: If the Shop name is &#8220;Big Bazaar&#8221; and Customer name is &#8220;Suresh&#8221; then set B equal to 1<br />Step 7: If the Shop name is &#8220;Sun General&#8221; and Customer name is &#8220;Suresh&#8221; then set C equal to 1<br />Step 8: Move the current card to another pile called Pile 2 and repeat from Step 3<br />Step 9: Update the value of X as X = A + B + C</div><div class="qt-choices"><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.2.6229014494576640.0" disabled="disabled" name="Ee79hVxZvnla.2.6229014494576640" type="radio" data-index="0" /><span style="color: #0000ff;"><label for="Ee79hVxZvnla.2.6229014494576640.0">Number of distinct stores Suresh has visited</label></span></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.2.6229014494576640.1" disabled="disabled" name="Ee79hVxZvnla.2.6229014494576640" type="radio" data-index="1" /><label for="Ee79hVxZvnla.2.6229014494576640.1">Number of distinct stores Suresh never visited</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.2.6229014494576640.2" disabled="disabled" name="Ee79hVxZvnla.2.6229014494576640" type="radio" data-index="2" /><label for="Ee79hVxZvnla.2.6229014494576640.2">Numbers of times Suresh has visited Sun General</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.2.6229014494576640.3" disabled="disabled" name="Ee79hVxZvnla.2.6229014494576640" type="radio" data-index="3" /><label for="Ee79hVxZvnla.2.6229014494576640.3">Numbers of bills in the dataset belong to Suresh</label></div></div><h5> </h5><h5> </h5><h5>7. The following procedure is executed using the “Olympics” dataset.</h5><div class="qt-question"><p>Step 1: Arrange all cards in a single pile called Pile 1<br />Step 2: Maintain a variable X and initialize it to True<br />Step 3: If Pile 1 is empty then stop the iteration<br />Step 4: Read the top card in Pile 1<br />Step 5: If the Gender is &#8220;F&#8221; and Nationality is &#8220;Korean&#8221; then set X equal to False<br />Step 6: Move the current card to another pile called Pile 2 and repeat from step 3</p><p>At the end of the execution, <b>X</b> will be True if</p></div><div class="qt-choices"><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.3.5176843942494208.0" disabled="disabled" name="Ee79hVxZvnla.3.5176843942494208" type="radio" data-index="0" /><label for="Ee79hVxZvnla.3.5176843942494208.0">there exist at least one female player who is not from Korea</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.3.5176843942494208.1" disabled="disabled" name="Ee79hVxZvnla.3.5176843942494208" type="radio" data-index="1" /><label for="Ee79hVxZvnla.3.5176843942494208.1">there exist at least one female player who is from Korea</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.3.5176843942494208.2" disabled="disabled" name="Ee79hVxZvnla.3.5176843942494208" type="radio" data-index="2" /><span style="color: #0000ff;"><label for="Ee79hVxZvnla.3.5176843942494208.2">all the female players are from countries other than Korea</label></span></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.3.5176843942494208.3" disabled="disabled" name="Ee79hVxZvnla.3.5176843942494208" type="radio" data-index="3" /><label for="Ee79hVxZvnla.3.5176843942494208.3">all the female players are from Korea only</label></div></div><h5> </h5><div><div class="qt-choices"><h5> </h5><h5> </h5><h5>8. The following procedure is executed using the &#8220;Library&#8221; dataset. At the end of the execution, count stores the number of books written by &#8220;Shakespeare&#8221; and published in &#8220;Morning Star&#8221; publications. But the programmer may have made mistakes in one or more steps. Identify all such steps (if any). It is a Multiple Select Question (MSQ).</h5><div class="qt-question">Step 1: Arrange all cards in a single pile called Pile 1<br />Step 2: Maintain a variable count and initialize it to 1<br />Step 3: If Pile 1 is empty then stop the iteration<br />Step 4: Read the top card in Pile 1<br />Step 5: If Author == &#8220;Shakespeare&#8221; or Publisher == &#8220;Morning Star&#8221; then increment count<br />Step 6: Move the current card to another pile called Pile 2 and repeat from step 3</div><div class="qt-choices"><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.4.5640254056824832.0" disabled="disabled" name="Ee79hVxZvnla.4.5640254056824832" type="checkbox" data-index="0" /><span style="color: #0000ff;"><label for="Ee79hVxZvnla.4.5640254056824832.0">Step 2: Incorrect initialization of the variable count</label></span></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.4.5640254056824832.1" disabled="disabled" name="Ee79hVxZvnla.4.5640254056824832" type="checkbox" data-index="1" /><label for="Ee79hVxZvnla.4.5640254056824832.1">Step 3: Incorrect step for stopping the iteration</label></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.4.5640254056824832.2" disabled="disabled" name="Ee79hVxZvnla.4.5640254056824832" type="checkbox" data-index="2" /><span style="color: #0000ff;"><label for="Ee79hVxZvnla.4.5640254056824832.2">Step 5: Incorrect condition to update <b>count</b></label></span></div><div class="gcb-mcq-choice"><input id="Ee79hVxZvnla.4.5640254056824832.3" disabled="disabled" name="Ee79hVxZvnla.4.5640254056824832" type="checkbox" data-index="3" /><label for="Ee79hVxZvnla.4.5640254056824832.3">Step 6: Incorrect step indicated from where the procedure has to be repeated</label></div></div><h5> </h5><div><h5> </h5><h5> </h5><h5>9. The following procedure is executed using the &#8220;Olympics&#8221; dataset. At the end of the execution, <b>count</b> stores the number of Indian players who have won a &#8220;Gold&#8221; medal. But the programmer has missed few Steps. Identify all correct Steps.</h5><div><h5> </h5><h5 class="qt-question">Step 1: Arrange all cards in a single pile called Pile 1<br />Step 2: Maintain a variable <b>count</b> and initialize it to 0<br />Step 3: ______________________________________<br />Step 4: Read the top card in Pile 1<br />Step 5: _______________________________________<br />Step 6: Move the current card to another pile called Pile 2 and repeat from Step 3</h5><h5> </h5><div class="qt-choices"><p class="gcb-mcq-choice"><input id="Ee79hVxZvnla.6.6278141270032384.0" disabled="disabled" name="Ee79hVxZvnla.6.6278141270032384" type="radio" data-index="0" /><label for="Ee79hVxZvnla.6.6278141270032384.0">Step 3: If Pile 1 is empty move to Pile 2<br />Step 5: If HostCountry == &#8220;Indian&#8221; or Medal == &#8220;Gold&#8221; then increment count</label></p><p class="gcb-mcq-choice"><input id="Ee79hVxZvnla.6.6278141270032384.1" disabled="disabled" name="Ee79hVxZvnla.6.6278141270032384" type="radio" data-index="1" /><label for="Ee79hVxZvnla.6.6278141270032384.1">Step 3: If Pile 1 is empty then stop the iteration<br />Step 5: If Nationality == &#8220;Indian&#8221; or Medal == &#8220;Gold&#8221; then increment count</label></p><p class="gcb-mcq-choice"><input id="Ee79hVxZvnla.6.6278141270032384.2" disabled="disabled" name="Ee79hVxZvnla.6.6278141270032384" type="radio" data-index="2" /><label for="Ee79hVxZvnla.6.6278141270032384.2">Step 3: If Pile 1 is empty move to Pile 2<br />Step 5: If Nationality == &#8220;Indian&#8221; or Medal == &#8220;Gold&#8221; then increment <b>count</b></label></p><h5 class="gcb-mcq-choice"><input id="Ee79hVxZvnla.6.6278141270032384.3" disabled="disabled" name="Ee79hVxZvnla.6.6278141270032384" type="radio" data-index="3" /><span style="color: #0000ff;"><label for="Ee79hVxZvnla.6.6278141270032384.3">Step 3: If Pile 1 is empty then stop the iteration<br />Step 5: If Nationality == &#8220;Indian&#8221; and Medal == &#8220;Gold&#8221; then increment count</label></span></h5><p class="gcb-mcq-choice"><input id="Ee79hVxZvnla.6.6278141270032384.4" disabled="disabled" name="Ee79hVxZvnla.6.6278141270032384" type="radio" data-index="4" /><label for="Ee79hVxZvnla.6.6278141270032384.4">Step 3: If Pile 1 is empty then stop the iteration<br />Step 5: If HostCountry == &#8220;Indian&#8221; and Medal == &#8220;Gold&#8221; then increment count</label></p></div></div></div></div></div>						</div>
				</div>
					</div>
		</div>
							</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-db28873 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="db28873" 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-e5e96dc" data-id="e5e96dc" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-40a7b96 elementor-widget elementor-widget-heading" data-id="40a7b96" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
			<style>/*! elementor - v3.15.0 - 02-08-2023 */
.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}</style><h2 class="elementor-heading-title elementor-size-default">Detailed Answers </h2>		</div>
				</div>
				<div class="elementor-element elementor-element-d3ff8b8 elementor-widget elementor-widget-text-editor" data-id="d3ff8b8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p><strong>Solution</strong><br /><strong>1,2,3</strong> In this question we have to find exact values of three variables A, B and C. So, let us start with the procedure. Here in step 2 we have declared three variables A, B, C and also initialized them to 0. In step 5, variable A is getting incremented if Mathematics marks of a student is less than 50 which means we are counting the number of students who have secured less than 50 marks in Mathematics. In step 6, variable B<br />is getting incremented if Physics marks of a student is less than 50 which means we are counting the number of students who have secured less than 50 marks in Physics. In step 7 we are checking for the students whose Chemistry marks are less than 50 which means variable C is counting the number of students who secured less than 50 marks in Chemistry. It is a repeat step which indicates that this procedure is getting executed on all the cards available in the dataset. Therefore, if we compile all the Mathematics, Physics and Chemistry marks from the dataset</p>						</div>
				</div>
				<div class="elementor-element elementor-element-8130cb6 elementor-widget elementor-widget-text-editor" data-id="8130cb6" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p><strong>4</strong>. Let us analyze the given procedure, in Step 2 two variables A and B are initialized to 0. In Step 5 variable A is getting incremented if PartOfSpeech is &#8220;Verb&#8221; which means variable A is counting number of Verbs. Conditions in Steps 6 and 7 are exactly opposite to each other. As per the combination of Steps 6 and 9 we are counting nouns with variable A until we reach to a full stop. In other words, we are counting number of<br />Verbs in each sentence. As per Step 7 if a sentence ends and Verb count in variable A is greater than 1 then we are incrementing variable B. Step 8 resets the value of variable A so that the same variable can be used<br />to count number of Verbs in the next sentence. Based on this analysis we can conclude that the variable B gets incremented only if variable A’s value is greater than 1 which means if A is 2 or more. Hence, the<br />answer of this question is Total number of sentences with at least two verbs in it.</p>						</div>
				</div>
					</div>
		</div>
							</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-f782cfc elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="f782cfc" 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-612c578" data-id="612c578" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-86ce46d elementor-widget elementor-widget-text-editor" data-id="86ce46d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p><strong>5.</strong> In Step 1 cards are arranged into a single pile and which is called as Pile 1. In Step 2 we are creating two variables called A and B then assigning the value 0 to them. Step 3 checks whether the iteration has to be continued or not. If the pile 1 is empty then the iteration has to be stopped. In Step 4, the top card of the Pile 1 is taken and read. Now, one has to count the number of people who are born in the first half of the<br />year and who are born in the second half of the year. In Step 5, we increment A if a student is born from 1st January to 30th June. In Step 6, we increment B if a student is born from 1st July to 31st December. In Step 7, the current card is moved to another called Pile 2 and the procedures are repeated from Step 3. After reading all cards, variables A and B will store the number of students whose Date Of Birth are in the first and<br />the second half of the year respectively. So to verify the hypothesis, the values of A and B should be compared with each other. If the value of A is less than B it will confirm the hypothesis to be True and if the<br />value of A is greater than or equal to B it will confirm the hypothesis to be False. Hence, Step 8 and 9 are incorrect. The correct answers are (c) and (d).</p>						</div>
				</div>
				<div class="elementor-element elementor-element-3637692 elementor-widget elementor-widget-text-editor" data-id="3637692" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p><strong>6,7.</strong>  Variables A, B, C, and X are initialized to 0 in Step 2. In Step 5 variable A&#8217;s value will be set to 1 if &#8220;Suresh&#8221; has a shopping bill from &#8220;SV stores&#8221;. Similarly, in Step 6 variable B&#8217;s value will be set to 1 if he has a bill from<br />&#8220;Big Bazaar&#8221; and variable C&#8217;s value for &#8220;Sun General&#8221; in Step 7. In Step 9 value of X is updated to with sum of A, B and C. Values of variables A, B and C either 1 or 0 based on the information if &#8220;Suresh&#8221; has visited the corresponding shop or not. Therefore, X will store the number of distinct shops visited by Suresh.</p>						</div>
				</div>
					</div>
		</div>
							</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-6104e67 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="6104e67" 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-f04fc66" data-id="f04fc66" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-7dbc6dd elementor-button-success elementor-align-justify elementor-widget elementor-widget-button" data-id="7dbc6dd" 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/1MeV9PzGiNoPB8aWlH8xtGAkSphvLcSmQ?usp=drive_link" target="_blank" rel="noopener">
						<span class="elementor-button-content-wrapper">
						<span class="elementor-button-text">Week 1 Graded Solutions </span>
		</span>
					</a>
		</div>
				</div>
				</div>
					</div>
		</div>
							</div>
		</section>
							</div>
		]]></content:encoded>
					
					<wfw:commentRss>/ct-week-1-graded-assignments-iit-madras/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
