Northcentral Technical College Introduction To Programming
10-152-310
Introduction to Programming with JavaScript NTC 10-152-310

Learning Plan 4 4.3 Assignment 1

# 4.3 Assignment 1

#### File: /Learning Plan 4/4.3assignment1html

### Student

- Name:
- Section:
- Email:

## Part 1

1. Open this file in Firefox and Microsoft Visual Studio
2. Add your name, section, and email

### Part 1 Problem Statement

> Write a program that asks a user what county they are from. If they are from Dane or Sauk county then invite them to donate to a park cleanup fund. If they are from any other county then welcome them to the area.

### Part 1 Program Planning Lists

- In the following pre tag, write the three planning lists based on the verbs and nouns you see in the problem statement.

    The List of Input Variables:

    The List of Output Variables:

    The Process Checklist:

### Part 1 Test Plan

    TEST PLAN:

    Test Case 1:
        Inputs:

        Expected Results:

    Test Case 2:
        Inputs:

        Expected Results:

    Test Case 3:
        Inputs:

        Expected Results:

- Sample Part 1 Output:

    Hello, please donate to the park cleanup fund.

- OR

    Hello, welcome to the county.

### Your Part 1 Output:

## Part 2

### Part 2 Problem Statement

> Write a program that asks a user to enter a number and a letter. If the number is less than 5 and the letter is A or B, then display on the page a message showing the inputs and the text, are correct. Otherwise, display the inputs and a message that says, "<entered number> and/or <entered letter> are not correct, please try again".

### Part 2 Program Planning Lists

- In the following pre tag, write the three planning lists based on the verbs and nouns you see in the problem statement.

    The List of Input Variables:

    The List of Output Variables:

    The Process Checklist:

### Part 2 Test Plan

    TEST PLAN:

    Test Case 1:
        Inputs:

        Expected Results:

    Test Case 2:
        Inputs:

        Expected Results:

    Test Case 3:
        Inputs:

        Expected Results:

    Test Case 4:
        Inputs:

        Expected Results:

    Test Case 5:
        Inputs:

        Expected Results:

- Sample Part 2 Output:

    4 and A are correct

- OR

    4 and G are not correct, please try again

- OR

    5 and B are not correct, please try again

### Your Part 2 Output:

### Submitting your work

- Zip and submit this page 4.3 Assignment 1