<commit_before>---
num: "h02"
desc: "Chapter 1, section 1.3, Chapter 2, sections 2.1 - 2.2"
ready: false
assigned: 2017-01-12 15:30:00.00-8:00
due: 2017-01-17 15:30:00.00-8:00
---
{% include no_staples_box.html %}
Complete your reading of Chapter 1, section 1.3 pages 27-32, Chapter 2 sections 2.1 thru 2.2, pages 39-59   (If you don't have a copy of the textbook yet, there is one on reserve at the library under "COMP000-STAFF - Permanent Reserve").

<ol markdown="1">
1. (6 pts) The author describes the difference between "syntax errors" and "logic errors", and also the difference between syntax errors that produce an "error message" vs. those that produce a "warning message".    Briefly explain each of the items below in a way that makes the DIFFERENCES among them clear:
    <div style="margin-bottom:4em"></div>
  i. (2 pts) Syntax errors that result in an error message:
    <div style="margin-bottom:4em"></div>
  ii. (2 pts) Syntax errors that result in an warning message:
    <div style="margin-bottom:4em"></div>
  iii. (2 pts) Logic errors:	

    <div style="margin-bottom:4em"></div>
<commit_msg>updated hws<commit_after>---
num: "h02"
desc: "Chapter 1, section 1.3, Chapter 2, sections 2.1 - 2.2"
ready: false
assigned: 2017-01-12 15:30:00.00-8:00
due: 2017-01-17 15:30:00.00-8:00
---
{% include no_staples_box.html %}
Complete your reading of Chapter 1, section 1.3 pages 27-32, Chapter 2 sections 2.1 thru 2.2, pages 39-59   (If you don't have a copy of the textbook yet, there is one on reserve at the library under "COMP000-STAFF - Permanent Reserve").

<ol markdown="1">
1. (6 pts) The author describes the difference between "syntax errors" and "logic errors", and also the difference between syntax errors that produce an "error message" vs. those that produce a "warning message".  Briefly explain each of the items below in a way that makes the DIFFERENCES among them clear:
    <div style="margin-bottom:4em"></div>

  i. Syntax errors that result in an error message:
    <div style="margin-bottom:4em"></div>
  ii. Syntax errors that result in an warning message:
    <div style="margin-bottom:4em"></div>
  iii. Logic errors:	

    <div style="margin-bottom:4em"></div>

{'fraction_non_alphanumeric': 0.11802088061734, 'fraction_numerical': 0.06854289605083977, 'mean_word_length': 3.930648769574944, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3039104', 'n_tokens_mistral': 813, 'n_tokens_neox': 697, 'n_words': 295}