{"id":106,"date":"2015-03-05T17:49:45","date_gmt":"2015-03-05T22:49:45","guid":{"rendered":"http:\/\/www.ciulla.org\/blog\/?p=106"},"modified":"2015-03-05T17:49:45","modified_gmt":"2015-03-05T22:49:45","slug":"90-fail-answer","status":"publish","type":"post","link":"https:\/\/www.ciulla.org\/blog\/2015\/03\/05\/90-fail-answer\/","title":{"rendered":"90% Fail Answer"},"content":{"rendered":"<p>Today on LinkedIn, I saw this:<\/p>\n<p><a href=\"http:\/\/www.ciulla.org\/blog\/wp-content\/uploads\/2015\/03\/fail_answer.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-105\" src=\"http:\/\/www.ciulla.org\/blog\/wp-content\/uploads\/2015\/03\/fail_answer-300x197.jpeg\" alt=\"fail_answer\" width=\"300\" height=\"197\" srcset=\"https:\/\/www.ciulla.org\/blog\/wp-content\/uploads\/2015\/03\/fail_answer-300x197.jpeg 300w, https:\/\/www.ciulla.org\/blog\/wp-content\/uploads\/2015\/03\/fail_answer.jpeg 366w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Here&#8217;s my (correctly formatted) answers:<\/p>\n<p>The following assumes:<\/p>\n<ul>\n<li>+ is the arithmetic addition operator<\/li>\n<li>x is the arithmetic multiplication operator<\/li>\n<li>Standard order of operations: multiplication takes precedence<\/li>\n<\/ul>\n<p>Given no line has operators joining them, an answer (in decimal) is:<\/p>\n<ul>\n<li>Line 1: 5<\/li>\n<li>Line 2: 5<\/li>\n<li>Line 3: 2<\/li>\n<\/ul>\n<p>However, if one were to concatenate the lines (assuming whitespace is ignored), this gives:<\/p>\n<blockquote><p>1 + 1 + 1 + 1 + 11 + 1 + 1 + 1 + 11 + 1 x 0 + 1<\/p><\/blockquote>\n<p>Since there is no indication of which base is used, here are some answers:<\/p>\n<ul>\n<li>binary: 1110<\/li>\n<li>octal: 33<\/li>\n<li>decimal: 35<\/li>\n<li>hexadecimal: 2A<\/li>\n<\/ul>\n<p>Yeah, I kind of geeked out on this&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today on LinkedIn, I saw this: Here&#8217;s my (correctly formatted) answers: The following assumes: + is the arithmetic addition operator x is the arithmetic multiplication operator Standard order of operations: multiplication takes precedence Given no line has operators joining them, &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/www.ciulla.org\/blog\/2015\/03\/05\/90-fail-answer\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-geek"],"_links":{"self":[{"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":1,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"predecessor-version":[{"id":107,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/posts\/106\/revisions\/107"}],"wp:attachment":[{"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}