{"id":47081,"date":"2024-03-27T21:59:25","date_gmt":"2024-03-27T21:59:25","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=47081"},"modified":"2024-03-27T21:59:26","modified_gmt":"2024-03-27T21:59:26","slug":"computer-science-compile-time-errors-vs-logic-errors","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/computer-science-compile-time-errors-vs-logic-errors\/","title":{"rendered":"Computer science: compile-time errors vs logic errors"},"content":{"rendered":"\n<h2>Self-tutoring about computer science: the tutor mentions some ideas about programming errors.<\/h2>\n<p>\nWriting programs in computer languages, some common types of errors are compile-time errors and logic errors.<\/p>\n<p>\nA compile-time error is one that the compiler has noticed. In simple terms, the compiler is software that converts a newly-edited program from programming language into machine-runnable language. It will typically catch syntax errors, for instance, and refuse to create a runnable version of the program until they are corrected.<\/p>\n<p>\nA logic error will typically manifest as unexpected behaviour while the program is running. Syntactically, said program is apparently correct, since the compiler has successfully processed it. Yet, there is a problem with its actual meaning: the code doesn&#8217;t mean what its programmer intended.<\/p>\n<p>\nTo a beginner, compile-time errors can be tiring. During intermediate and advanced stages of programming, however, logic errors come to be more worrying.<\/p>\n<p>Source:<\/p>\n<p>\nDeitel, Paul and Deitel, Harvey: <em>C++ How To Program<\/em>. Hoboken: Pearson Education Inc, 2017.<\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about computer science: the tutor mentions some ideas about programming errors. Writing programs in computer languages, some common types of errors are compile-time errors and logic errors. A compile-time error is one that the compiler has noticed. In simple &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/computer-science-compile-time-errors-vs-logic-errors\/\"> <span class=\"screen-reader-text\">Computer science: compile-time errors vs logic errors<\/span> 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":[105],"tags":[],"class_list":["post-47081","post","type-post","status-publish","format-standard","hentry","category-computer-science"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/47081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=47081"}],"version-history":[{"count":9,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/47081\/revisions"}],"predecessor-version":[{"id":47093,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/47081\/revisions\/47093"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=47081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=47081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=47081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}