<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>My fearless padlet by Farwa Batool</title>
      <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2025-07-29 12:59:43 UTC</pubDate>
      <lastBuildDate>2025-12-18 09:10:19 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title></title>
         <author>farwabatool1247</author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531169517</link>
         <description><![CDATA[<p>Answer the following  questions: </p><p>1) What condition must be true for the if block to execute?</p><p>2)What happens if the condition in an if statement is false?</p><p>3)When should you use an if-else-if ladder instead of multiple if statements?”</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 13:01:34 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531169517</guid>
      </item>
      <item>
         <title>Answers:-</title>
         <author></author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531193024</link>
         <description><![CDATA[<p><br></p><ol><li><p>To execute an if statement, the test condition of if statement must be true. </p></li><li><p>If the test condition of if statement is false then the body of if statement is skipped which means that it will not be executed. </p></li><li><p>We use if else if ladder when we have many choices but only one should be executed according to the given condition. Basically it is more faster because if the condition is true then the relevent statement is printed and all other blocks of if statement are skipped. So it is easy and faster as compared to multiple if statements. </p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 13:39:16 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531193024</guid>
      </item>
      <item>
         <title>Answers:</title>
         <author>zunairaawais21</author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531213685</link>
         <description><![CDATA[<ol><li><p>In order to execute a block of statement, the condition in the if statement must be true</p></li><li><p>If the test condition is false it is ignored ( does not get executed) and the compiler moves to the next block of statement </p></li><li><p>We use if else if ladder when there are multiple options but only one block of statement must be executed. It saves the time for compiling as it only enters the block of statement if the related condition is true so programmers prefer if else if ladder over multiple if statement </p><p>:)</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 14:11:59 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531213685</guid>
      </item>
      <item>
         <title>answers</title>
         <author>naira9116</author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531319932</link>
         <description><![CDATA[<p>1. For the if block to run, its condition must return a true value upon evaluation. Only then will the enclosed statements be executed.</p><p><br/></p><p><br/></p><p>2. If the condition inside an if statement evaluates to false, the program bypasses that block entirely, and no action within it is performed.</p><p><br/></p><p><br/></p><p>3. An if-else-if ladder is ideal when dealing with multiple conditional branches where only one outcome should occur. It ensures that once a matching condition is found, the rest are ignored — leading to cleaner and more optimized co</p><p>de.</p><p><br/></p><p><br/></p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 17:54:58 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531319932</guid>
      </item>
      <item>
         <title>Answers:</title>
         <author>seharamir1220</author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531321331</link>
         <description><![CDATA[<p>1. The if block executes only when its condition evaluates to true.</p><p><br/></p><p><br/></p><p>2. If the condition is false, the program skips the if block and moves on.</p><p><br/></p><p><br/></p><p>3. Use an if-else-if ladder when multiple conditions exist but only one should be executed, ensuring better readability and performance.</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 17:58:50 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531321331</guid>
      </item>
      <item>
         <title>Answers: </title>
         <author></author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531324045</link>
         <description><![CDATA[<p>&gt;the if block will execute if the condition we are testing is true, otherwise the else block will execute </p><p><br/></p><p>&gt; if the condition in the if statement is false then the compiler will not enter the if block and else block will be executed </p><p><br/></p><p>&gt;we should use if else if ladder instead of if statements when we want to choose among multiple options/conditions, also when we want to execute else block if all the conditions are false</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 18:08:30 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531324045</guid>
      </item>
      <item>
         <title>Answers to the questions:</title>
         <author></author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531324409</link>
         <description><![CDATA[<p>To execute if block the the test condition should be true</p><p><br/></p><p>If the condition in an if statement is false then the else block is executed</p><p><br/></p><p>We should use if-else-if ladder when we have multiple conditions and we have to execute one of them</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 18:10:01 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531324409</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531332471</link>
         <description><![CDATA[<p>1)To execute if block the the test condition should be true that age should be less than or equal to 18.</p><p><br/></p><p>2)If the condition in an if statement is false then the else block will be executed.</p><p><br/></p><p>3)We should use if-else-if ladder when we have multiple conditions and we have to choose one of them</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 18:33:32 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531332471</guid>
      </item>
      <item>
         <title>Answer:-</title>
         <author></author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531333168</link>
         <description><![CDATA[<ol><li><p>The if condition will only execute if the given condition is true. </p></li><li><p>If the condition of if statement is false then the compiler will skip them and program will end. </p></li><li><p>If else if ladder is more useful than multiple if statements because it saves the time and choose one true condition from many choices. </p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 18:35:46 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531333168</guid>
      </item>
      <item>
         <title>Answers :-</title>
         <author></author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531334515</link>
         <description><![CDATA[<ol><li><p>The compiler will only exercute if statement if the given condition evaluates to true. </p></li><li><p>The compiler will ignore the set of if statements if the given condition evaluates to false. </p></li><li><p>If else if statement is used when there are many choices and only one should be executed. It is fast and more useful than multiple if statements. </p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 18:39:04 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531334515</guid>
      </item>
      <item>
         <title>Answers</title>
         <author></author>
         <link>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531341794</link>
         <description><![CDATA[<ol><li><p>To execute if statement condition given in the code must be true </p></li><li><p>If the condition give to if statement is false then it skips the block of statement and end the code which means it will not execute the code </p></li><li><p>we use if else if leader when we have many choices but we have to exceute only one statment according to condition </p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2025-07-29 19:00:48 UTC</pubDate>
         <guid>https://padlet.com/farwabatool1247/6ec7pjbn3ubdm9rm/wish/3531341794</guid>
      </item>
   </channel>
</rss>
