<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>My grand padlet by Rachel Fiona</title>
      <link>https://padlet.com/rvchxl0395/cvx0lyjo7iwqn4db</link>
      <description>Made with a lightning strike of genius</description>
      <language>en-us</language>
      <pubDate>2022-03-29 02:13:22 UTC</pubDate>
      <lastBuildDate>2022-03-29 02:45:53 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>RACHEL FIONA A/P J.SANTHANARAJ (21DDT21F1174)</title>
         <author>rvchxl0395</author>
         <link>https://padlet.com/rvchxl0395/cvx0lyjo7iwqn4db/wish/2118433587</link>
         <description><![CDATA[<div>SECTION A<br>&nbsp;| 1. | Identify a symbol that must end the C++ code statement. <em>Kenal pasti simbol yang mesti diakhiri pada setiap kod pernyataan C++.</em> <br>&nbsp; A.&nbsp; &nbsp; &nbsp;Comma <br><mark>B.&nbsp; &nbsp; &nbsp;Semicolon</mark> <br>C.&nbsp; &nbsp; &nbsp;Colon <br>D.&nbsp; &nbsp; &nbsp;hash<br><br> |&nbsp; 2. |&nbsp; Identify the <strong>CORRECT </strong>declaration of variable.&nbsp; <em>Kenal pasti pengisytiharan pembolehubah yang </em><strong><em>BETUL</em></strong><em>.</em>&nbsp; <br>A.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int name; <br>B.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; float average; <br>C.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; char age; <br><mark>D.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; boolean double;<br><br></mark>SECTION B<br><br>(a)&nbsp; &nbsp; List <strong>TWO (2) </strong>items in C++ program structure.<em>Senaraikan </em><strong><em>DUA (2) </em></strong><em>perkara dalam struktur program C++.<br><br>- </em><strong>the preprocessor directives that start with a </strong><strong><mark>#</mark></strong><strong> <br>- the main body of the program that starts with </strong><strong><mark>int main()<br><br></mark></strong><strong>(b)</strong>Explain <strong>TWO (2) </strong>types of data used in C++ program. <br><br>-<strong>C++ int<br>~</strong>The <mark>int</mark> keyword is used to <mark>indicate integers<br></mark><strong>~</strong>Its size is usually 4 bytes.<br><br>-<strong>C++ float and double<br>~</strong><mark>float</mark> and <mark>double</mark> are used to store floating-point numbers (decimals and exponentials)<strong><br><br>(c)</strong>State the definition of local and global variables.<br><br>- <mark>LOCAL VARIABLES<br></mark> ~ <strong>a variable that is given local scope</strong>.<br> ~ the function or block in which it is declared override the same variable name in the larger scope.<br>-<mark>GLOBAL VARIABLES<br></mark> ~ <strong>a variable that is declared in the global scope</strong> <br> ~a variable that is visible from all other scopes<br><br>(d) Declare the following variables: <br>i.&nbsp; &nbsp; Weight<br>- because weight is a <strong>ratio variable</strong>, a weight of 4 grams is twice as heavy as a weight of 2 grams<br>ii.&nbsp; &nbsp; isCodingFun= TRUE<br>-boolean<br>~stores values with two states ; true or&nbsp;false<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-03-29 02:41:48 UTC</pubDate>
         <guid>https://padlet.com/rvchxl0395/cvx0lyjo7iwqn4db/wish/2118433587</guid>
      </item>
   </channel>
</rss>
