---
# System prepended metadata

title: 'Unit 1: Lesson 8 - Debugging Labs (Data Flow, Data Manipulation)'
tags: ['''23-''24']

---

# Unit 1: Lesson 8 - Debugging Labs (Data Flow, Data Manipulation)

## Lab 1: Debugging Data Flow [1.6: 4 pts]

### Objective:
The objective of this lab is to enhance your debugging skills by working with JavaScript programs that involve variables and data flow. You will identify and fix issues related to variable declaration, assignment, reassignment, and the use of console.log() and prompt() for data input and output.

### Description:
In this lab, you will debug a JavaScript program that involve variables and data flow.

### Program Expectations:
1. Prompt the user for input using the prompt() method.
2. Store the user's input in variables.
3. Perform data manipulation or calculations using the variables.
4. Display the results to the user using console.log().

## Lab 2: Debugging Data Manipulation [1.6: 4 pts]

### Objective:
The objective of this lab is to strengthen your understanding of variables, data manipulation with number operators, and working with strings using string methods such as toUpperCase() and toLowerCase(). You will create JavaScript programs that involve mathematical operations, string transformations, and proper variable usage.

### Description:
In this lab, you will debug a JavaScript program that requires you to manipulate variables containing numbers and strings.

### Program Expectations:
1. Declare variables to store numerical values and strings as needed.
2. Perform mathematical operations on the numeric variables using operators like +, -, *, /, %, etc.
3. Utilize string methods such as toUpperCase() and toLowerCase() to transform the case of characters in a string.
4. Display the results and transformed strings using console.log().