{"id":190,"date":"2021-01-21T12:34:17","date_gmt":"2021-01-21T12:34:17","guid":{"rendered":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/?page_id=190"},"modified":"2021-02-25T10:42:38","modified_gmt":"2021-02-25T10:42:38","slug":"coding","status":"publish","type":"page","link":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/coding\/","title":{"rendered":"Coding"},"content":{"rendered":"\n<p>This is about me learning how to learn basic coding,  this coding is in c#<\/p>\n\n\n\n<p>This is how I managed my time <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"592\" src=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/20210211_141140.png\" alt=\"\" class=\"wp-image-247\" srcset=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/20210211_141140.png 1024w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/20210211_141140-300x173.png 300w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/20210211_141140-768x444.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p><strong>Task one<\/strong><\/p>\n\n\n\n<p>using System;<\/p>\n\n\n\n<p>public class Test<br>{<br>public static void Main()<br>{<br>Console.WriteLine(&#8220;Hello&#8221;);<br>Console.WriteLine(&#8220;Viktoria Zaludekova&#8221;);<br>Console.WriteLine(&#8220;I&#8217;m 17 years old&#8221;);<br>Console.WriteLine(&#8220;I was born in 2003&#8221;);<br>Console.WriteLine(&#8220;The current year is 2021&#8221;);<br>Console.WriteLine(2+2);<br>Console.WriteLine(36\/6);<br>Console.WriteLine(-4+4<em>6); Console.WriteLine((35+5)%7); Console.WriteLine(14+-4<\/em>6\/11);<br>Console.WriteLine(2+15\/6<em>1-7%2); Console.WriteLine(&#8220;Hello&#8221;); Console.WriteLine(&#8220;Viktoria Zaludekova&#8221;); Console.WriteLine(&#8220;I&#8217;m 17 years old&#8221;); Console.WriteLine(&#8220;I was born in 2003&#8221;); Console.WriteLine(&#8220;The current year is 2021&#8221;); Console.WriteLine(2+2); Console.WriteLine(36\/6); Console.WriteLine(-4+4<\/em>6);<br>Console.WriteLine((35+5)%7);<br>Console.WriteLine(14+-4<em>6\/11); Console.WriteLine(2+15\/6<\/em>1-7%2);<br>Console.WriteLine(&#8220;Hello&#8221;);<br>Console.WriteLine(&#8220;Viktoria Zaludekova&#8221;);<br>Console.WriteLine(&#8220;I&#8217;m 17 years old&#8221;);<br>Console.WriteLine(&#8220;I was born in 2003&#8221;);<br>Console.WriteLine(&#8220;The current year is 2021&#8221;);<br>Console.WriteLine(2+2);<br>Console.WriteLine(36\/6);<br>Console.WriteLine(-4+4<em>6); Console.WriteLine((35+5)%7); Console.WriteLine(14+-4<\/em>6\/11);<br>Console.WriteLine(2+15\/6*1-7%2<br>}<br>}<\/p>\n\n\n\n<p>_______<br>Code: <br>using System;<br>public class Test<br>{<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; public static void Main()<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>Console.WriteLine(&#8220;Hello&#8221;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>Console.WriteLine(&#8220;Viktoria Zaludekova&#8221;);&nbsp;&nbsp;&nbsp;<br>Console.WriteLine(&#8220;I&#8217;m 17 years old&#8221;);<br>Console.WriteLine(&#8220;I was born in 2003&#8221;);<br>Console.WriteLine(&#8220;The current year is 2021&#8221;);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>}<br><br><br><br>______________ <br>Problems:<br>The first part of the coding was pretty much easy, and I understood how to do it, the problems comes in when I started doing the number box<br>Console.WriteLine(2+2);<br>Console.WriteLine(36\/6);<br>Console.WriteLine(-4+4*6);<br>Console.WriteLine((35+5)%7);<br>Console.WriteLine(14+-4*6\/11)<br>Console.WriteLine(2+15\/6*1-7%2);<\/p>\n\n\n\n<p>The problem in this code was that in the second last line I didnt include a &#8220;;&#8221; at the end<br><br>_____________<br>Research:<br>Slides Input and Output Computers have&nbsp;numerous&nbsp;faculties&nbsp;&#8212;&nbsp;console, mouse,&nbsp;organize&nbsp;card,&nbsp;computerized&nbsp;camera, etc. Collectively, these are called INPUT. Computers can&nbsp;moreover&nbsp;express themselves in&nbsp;numerous&nbsp;ways &#8212;&nbsp;content,&nbsp;design, sound,&nbsp;arrange, printers, etc. Collectively, these are called OUTPUT. Input and&nbsp;Yield&nbsp;together are called I\/O.<br>&nbsp;<br>In&nbsp;expansion&nbsp;to letters, numbers, and&nbsp;accentuation, computers&nbsp;moreover&nbsp;store other keys&nbsp;interior&nbsp;strings Among these CONTROL CHARACTERS is the one that&nbsp;speaks to&nbsp;the RETURN KEY This character&#8217;s&nbsp;title&nbsp;is NEWLINE Every time&nbsp;you employ&nbsp;gets, Ruby&nbsp;peruses&nbsp;all the characters,&nbsp;counting&nbsp;the newline.<br><br>puts &#8220;What is your name?&#8221; name = gets.strip<br>puts &#8220;Hello, &#8221; + name + &#8220;!&#8221;<br><br><br>Type in&nbsp;a program named name.rb that&nbsp;inquires&nbsp;two things: Your&nbsp;to begin with&nbsp;name Your&nbsp;final&nbsp;name Then it says&nbsp;hi&nbsp;to the&nbsp;client&nbsp;by their full name. Run the program by&nbsp;writing&nbsp;ruby name.rb on the command line.<br><br>It should come up as<br>What is your first name?<br>Alex<br>What is your last name?<br>Chaffee Hello, Alex Chaffee!<br>Your name is 11 characters long.<br><\/p>\n\n\n\n<p><a href=\"https:\/\/codelikethis.com\/lessons\/learn-to-code\/input-and-output\">https:\/\/codelikethis.com\/lessons\/learn-to-code\/input-and-output<\/a><\/p>\n\n\n\n<p><br>__________<br>Evaluation:<br>At first it was a  little confusing since I am using a phone, however when i found out how to change the program go c# it was pretty easy, there were few mistakes such as capital letters or miss out ; at the end of the code, but as the time went those s mistakes got spotted really easily. Once the number box came in I got really confused and still am alittle bit but then I realised that <br>Console.WriteLine(&#8220;the value in numberBox = {0}&#8221;,numberBox); It got cleared <br><br><br><br><br><br><br><br><br><br><br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"1024\" src=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/received_776615929617030-485x1024.jpeg\" alt=\"\" class=\"wp-image-230\" srcset=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/received_776615929617030-485x1024.jpeg 485w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/received_776615929617030-142x300.jpeg 142w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/received_776615929617030.jpeg 720w\" sizes=\"auto, (max-width: 485px) 85vw, 485px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"1024\" src=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/01\/Screenshot_20210121-123456_Samsung-Internet-485x1024.jpg\" alt=\"\" class=\"wp-image-193\" srcset=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/01\/Screenshot_20210121-123456_Samsung-Internet-485x1024.jpg 485w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/01\/Screenshot_20210121-123456_Samsung-Internet-142x300.jpg 142w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/01\/Screenshot_20210121-123456_Samsung-Internet.jpg 720w\" sizes=\"auto, (max-width: 485px) 85vw, 485px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Task two <\/strong><\/p>\n\n\n\n<p>Code:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"1024\" src=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/Screenshot_20210211-115547_Samsung-Internet-485x1024.jpg\" alt=\"\" class=\"wp-image-244\" srcset=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/Screenshot_20210211-115547_Samsung-Internet-485x1024.jpg 485w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/Screenshot_20210211-115547_Samsung-Internet-142x300.jpg 142w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/Screenshot_20210211-115547_Samsung-Internet.jpg 720w\" sizes=\"auto, (max-width: 485px) 85vw, 485px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"1024\" src=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/Screenshot_20210225-104017_Samsung-Internet-485x1024.jpg\" alt=\"\" class=\"wp-image-262\" srcset=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/Screenshot_20210225-104017_Samsung-Internet-485x1024.jpg 485w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/Screenshot_20210225-104017_Samsung-Internet-142x300.jpg 142w, https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-content\/uploads\/sites\/292\/2021\/02\/Screenshot_20210225-104017_Samsung-Internet.jpg 720w\" sizes=\"auto, (max-width: 485px) 85vw, 485px\" \/><\/figure>\n\n\n\n<p>The problem:<\/p>\n\n\n\n<p>The problem with task 2 is that I would get confused with the instructions such as in task 2 task 3 there&#8217;s a box that has {0} I did not understand what I was suppose to enter there <\/p>\n\n\n\n<p>_________<\/p>\n\n\n\n<p>Research <\/p>\n\n\n\n<p> <\/p>\n\n\n\n<p>You can use a NumberBox control to capture and display mathematic input. If you need an editable text box that accepts more than numbers, use the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/uwp\/api\/Windows.UI.Xaml.Controls.TextBox\">TextBox<\/a>&nbsp;control. If you need an editable text box that accepts passwords or other sensitive input, see&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/uwp\/api\/windows.ui.xaml.controls.passwordbox\">PasswordBox<\/a>. If you need a text box to enter search terms, see&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/uwp\/api\/windows.ui.xaml.controls.autosuggestbox\">AutoSuggestBox<\/a>. If you need to enter or edit formatted text, see&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/uwp\/api\/windows.ui.xaml.controls.richeditbox\">RichEditBox<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/design\/controls-and-patterns\/number-box\">https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/design\/controls-and-patterns\/number-box<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Overall evaluation:<\/p>\n\n\n\n<p>I got the basic understanding of coding such as how picking the software is for example where the capital letters are,  when or where to use the &#8221; or the () and also adding the ; at the end,  however when it comes to more complicated stuff such as number boxes it does confuse me <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is about me learning how to learn basic coding, this coding is in c# This is how I managed my time Task one using System; public class Test{public static void Main(){Console.WriteLine(&#8220;Hello&#8221;);Console.WriteLine(&#8220;Viktoria Zaludekova&#8221;);Console.WriteLine(&#8220;I&#8217;m 17 years old&#8221;);Console.WriteLine(&#8220;I was born in 2003&#8221;);Console.WriteLine(&#8220;The current year is 2021&#8221;);Console.WriteLine(2+2);Console.WriteLine(36\/6);Console.WriteLine(-4+46); Console.WriteLine((35+5)%7); Console.WriteLine(14+-46\/11);Console.WriteLine(2+15\/61-7%2); Console.WriteLine(&#8220;Hello&#8221;); Console.WriteLine(&#8220;Viktoria Zaludekova&#8221;); Console.WriteLine(&#8220;I&#8217;m 17 years old&#8221;); Console.WriteLine(&#8220;I was &hellip; <a href=\"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/coding\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Coding&#8221;<\/span><\/a><\/p>\n","protected":false},"author":285,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-190","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-json\/wp\/v2\/pages\/190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-json\/wp\/v2\/users\/285"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-json\/wp\/v2\/comments?post=190"}],"version-history":[{"count":21,"href":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-json\/wp\/v2\/pages\/190\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-json\/wp\/v2\/pages\/190\/revisions\/263"}],"wp:attachment":[{"href":"https:\/\/digitalspace.bradfordcollege.ac.uk\/10627088\/wp-json\/wp\/v2\/media?parent=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}