Assignment: 11.21.22 In Class Work -- DUE by End of Class 11.21.22

22-23 - LHS - CYBERSECURITY A
2022-11-21T20:05:58Z

Due: Nov 21, 2022 by 2:04pm

Hi Class,

Please partner up into groups of two.

In your groups, take turns reviewing the homework from this weekend. Show your partner your Replit environment and what happens when you run the code in it. Discuss what each piece of your code does. For example, how does your code capture user input? What Boolean expression does your code evaluate? How does your code use a for loop?

Compare the way you used these components to the way your partner did.

After you and your partner discuss and review your and your partner's homework, use the remainder of the period to work collaboratively together. You and your partner will need to write a program in a Node.js Replit environment that:

1) Accepts User Input

2) Uses a conditional statement to evaluate a Boolean expression (i.e., use at least an if statement in your code)

3) print some output to the console

4) Use an array and change at least one element in the array after it's been created

5) Use a for loop

Additionally, please ensure that your code adds the input you captured from the user into the array you've created. Your for loop should also interact with your array in some way. What exactly it does I leave up to you, but the for loop should affect the array.

Good luck!

Hi Class,

Please partner up into groups of two.

In your groups, take turns reviewing the homework from this weekend. Show your partner your Replit environment and what happens when you run the code in it. Discuss what each piece of your code does. For example, how does your code capture user input? What Boolean expression does your code evaluate? How does your code use a for loop?

Compare the way you used these components to the way your partner did.

After you and your partner discuss and review your and your partner's homework, use the remainder of the period to work collaboratively together. You and your partner will need to write a program in a Node.js Replit environment that:

1) Accepts User Input

2) Uses a conditional statement to evaluate a Boolean expression (i.e., use at least an if statement in your code)

3) print some output to the console

4) Use an array and change at least one element in the array after it's been created

5) Use a for loop

Additionally, please ensure that your code adds the input you captured from the user into the array you've created. Your for loop should also interact with your array in some way. What exactly it does I leave up to you, but the for loop should affect the array.

Good luck!