Objective:
This section introduces computer programming fundamentals. After finishing this section, you should be able to:
- Compare and contrast fundamental data types used in computer programming.
- Describe the purpose of programming constructs such as variables, arrays, and functions.
- Describe the purpose of programming logic, including branching and looping.
- Place lines of pseudocode in the proper order to achieve desired functionality.
- Use JavaScript to do the following:
- Create, initialize, change, and then display the value of a variable.
- Use an if/else statement to execute lines of code when certain conditions are true.
- Use a for loop to execute a block of code a certain number of times.
- Use a while loop to continue executing a block of code while certain conditions are true.
- Create and initialize the elements of an array.
- Display a specific array element based on an index.
- Use a for loop to evaluate each element of an array.
- Define and call a simple function.
Links:
- TestOut Courseware: https://labsimapp.testout.com/
Key Terms:
- Data type
- Identifier
- Container
- Function
- Flowchart
- Branching
- Looping
- Algorithm
Topics Discussed:
- How do loops help to automate repetitive tasks?
- Why is it important to keep code DRY?
- What kinds of information can be stored in a variable?
Assignment:
- Access the TestOut Courseware through the provided link.
- Study 8.3: Programming Fundamentals and complete Labs/Activities 8.3.7, 8.3.8, 8.3.9, 8.3.10, 8.3.11, 8.3.13, 8.3.14, 8.3.15, 8.3.16 & 8.3.17 and the 10 question Exam to complete the Section.
Assigned: April 30th, 2024
Teacher Pacing Due Date: May 1st, 2024
AZ CS Standard: Computing Systems – HS.CS.T.1