{"id":216150,"date":"2018-09-15T20:51:25","date_gmt":"2018-09-15T20:51:25","guid":{"rendered":"http:\/\/localhost\/wordpress\/index.php\/2018\/09\/15\/esys-410-week-2-homework\/"},"modified":"2018-10-24T08:45:23","modified_gmt":"2018-10-24T08:45:23","slug":"esys-410-week-2-homework","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/esys-410-week-2-homework\/","title":{"rendered":"ESYS 410 Week 2 Homework"},"content":{"rendered":"<p>Question 1:\u00a0Which of the following are valid PHP variable?\t1.myFirstProgram\t2.MIX-UP\t3.PHPProgram2\t4.quiz7\t5.$ProgrammingLecture2\t6.1footEquals12Inches\t7.Mike&#8217;sFirstAttempt\t8.Update Grade\t9.4th\t10.New_Student\t11._123\t12.A_B_C!\t13.?abc\t14.first-Name\t15._2\tQuestion 2:\u00a0What is value of x, y, z, q after the statements below have been executed?\tQuestion 3:\u00a0What is value of x, y, z after the statements below have been executed?\tQuestion 4:\u00a0What are local and global variables?\tQuestion 5.\u00a0Given that\t$x=6;\t$y=3;\tPlease specify the result of the following statements?\tQuestion 6.What is the output of the following code fragment?\tQuestion 7\u00a0: The income tax rate is decided by income. The rule is shown below.\tQuestion 8:\u00a0Write a program to calculate the following:\t10 &#8211; 20 + 30 &#8211; 40 + &#8230; &#8211; 2000 =\tQuestion 9:\u00a0What&#8217;s the difference between while loop and do-while loop?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question 1:\u00a0Which of the following are valid PHP variable? 1.myFirstProgram 2.MIX-UP 3.PHPProgram2 4.quiz7 5.$ProgrammingLecture2 6.1footEquals12Inches 7.Mike&#8217;sFirstAttempt 8.Update Grade 9.4th 10.New_Student 11._123 12.A_B_C! 13.?abc 14.first-Name 15._2 Question 2:\u00a0What is value of x, y, z, q after the statements below have been <a href=\"https:\/\/www.benedictsol.com\/blogs\/esys-410-week-2-homework\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-216150","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/216150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=216150"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/216150\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=216150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=216150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=216150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}