<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Arrays Grade 10 by </title>
      <link>https://padlet.com/alaa_mohammad/6xln09dpfv6g</link>
      <description>Made with charm</description>
      <language>en-us</language>
      <pubDate>2019-03-12 06:21:56 UTC</pubDate>
      <lastBuildDate>2019-03-12 06:28:15 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Group 1</title>
         <author>alaa_mohammad</author>
         <link>https://padlet.com/alaa_mohammad/6xln09dpfv6g/wish/340266641</link>
         <description><![CDATA[<div>Consider the following procedure called mystery (list). If list CSList contains the following data: </div><div>[‘c’, ‘o’, ‘m’, ‘p’, ‘u’, ‘t’, ‘e’, ‘r’] <br><br></div><div>what will be displayed by mystery(CSList)?<br><br></div><div>PROCEDURE mystery (list) <br><br></div><div>{<br><br></div><div>FOR EACH item IN list <br><br></div><div>{<br><br></div><div>IF (item ≠ ‘a’ AND item ≠ ‘e’ AND item ≠ ‘i’ AND item ≠ ‘o’ AND item ≠ ‘u’)<br><br></div><div>{ FOR EACH letter IN list<br><br></div><div>{ DISPLAY (letter)<br><br></div><div>}<br><br></div><div>DISPLAY “ ”<br><br></div><div>}<br><br></div><div>}<br><br></div><div>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-12 06:23:35 UTC</pubDate>
         <guid>https://padlet.com/alaa_mohammad/6xln09dpfv6g/wish/340266641</guid>
      </item>
      <item>
         <title>Group 2</title>
         <author>alaa_mohammad</author>
         <link>https://padlet.com/alaa_mohammad/6xln09dpfv6g/wish/340266829</link>
         <description><![CDATA[<div>Theprocedure below is intended to display the index in a list of unique names nameList where a particular name targetName is found. If targetName is not found in nameList, the code should display 0. Which of the following procedure calls can be used to demonstrate that the procedure does NOT work as intended?</div><div>PROCEDURE FindName (nameList, targetName)</div><div>       {</div><div>index ←0</div><div>FOR EACH name IN nameList { </div><div>index ←index + 1</div><div>IF (name = targetName) { </div><div>foundIndex ←index } </div><div>ELSE { </div><div>foundIndex ←0 } </div><div>} </div><div>         DISPLAY (foundIndex)</div><div>       }</div><div>  | A. |   FindName (["Andrea", "Ben"], "Ben") <br>  | B. |   FindName (["Andrea", "Ben"], "Diane")<br> | C. |   FindName (["Andrea", "Ben", "Chris"], "Ben")<br>  | D. |   FindName (["Andrea", "Chris", "Diane"], "Ben")</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-12 06:25:17 UTC</pubDate>
         <guid>https://padlet.com/alaa_mohammad/6xln09dpfv6g/wish/340266829</guid>
      </item>
      <item>
         <title>Group3</title>
         <author>alaa_mohammad</author>
         <link>https://padlet.com/alaa_mohammad/6xln09dpfv6g/wish/340266916</link>
         <description><![CDATA[<div>Two lists, list1 and list2, contain the names of books found in two different collections. A librarian wants to create newList, which will contain the names of all books found in either list, in alphabetical order, with duplicate entries removed. </div><div>For example, if list1contains ["Macbeth", "Frankenstein", "Jane Eyre"] andlist2 contains ["Frankenstein", "Dracula", "Macbeth", "Hamlet"], then newList will contain ["Dracula", "Frankenstein", "Hamlet", "Jane Eyre", "Macbeth"]. The following procedures are available to create newList.<br><br>*Sort (list) : Sorts list in alphabetical order and returns the resulting list.<br>*Combine (list1,list2) : Creates a new list consisting of the entries from list1 followed by the entries from list2. The resulting is returned.<br><br>*RemoveDuplicates (list) | Iterates through list. If any two or more entries have the same value the duplicate entries are removed so that any entry appears at most once. The resulting list is returned.<br><br>Which of the following code segments will correctly create newList? </div><div><strong> </strong></div><div><strong> </strong></div><div><strong> </strong></div><div> | A. | newList ← Combine (list1, list2) newList ← Sort (newList) newList ← RemoveDuplicates (newList)<br>  | B. | list1 ← Sort (list1) list2 ← Sort (list2) newList ← Combine (list1, list2) newList ← RemoveDuplicates (newList)<br>  | C. | list1 ← RemoveDuplicates (list1) list2 ← RemoveDuplicates (list2) newList ← Combine (list1, list2) newList ← Sort (newList)<br>  | D. | list1 ← RemoveDuplicates (list1) list1 ← Sort (list1) list2 ← RemoveDuplicates (list2) list2 ← Sort (list2) newList ← Combine (list1, list2)</div><div><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-03-12 06:26:08 UTC</pubDate>
         <guid>https://padlet.com/alaa_mohammad/6xln09dpfv6g/wish/340266916</guid>
      </item>
   </channel>
</rss>
