|
|
|
@ -38,11 +38,11 @@ For each data type, structure your response like this:
|
|
|
|
**Purpose in Shopping Cart:** [Explain what this data type does]
|
|
|
|
**Purpose in Shopping Cart:** [Explain what this data type does]
|
|
|
|
|
|
|
|
|
|
|
|
**Why This Type:** [Explain why this is the best choice]
|
|
|
|
**Why This Type:** [Explain why this is the best choice]
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
**Code Example:**
|
|
|
|
**Code Example:**
|
|
|
|
```javascript
|
|
|
|
```javascript
|
|
|
|
// Your realistic code example here
|
|
|
|
// Your realistic code example here
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**Real-world Usage:** [Describe how this would work in practice]
|
|
|
|
**Real-world Usage:** [Describe how this would work in practice]
|
|
|
|
|
|
|
|
|
|
|
|
@ -84,4 +84,4 @@ By completing this assignment, you will:
|
|
|
|
- ✅ **Analyze** when to choose specific data types for different purposes
|
|
|
|
- ✅ **Analyze** when to choose specific data types for different purposes
|
|
|
|
- ✅ **Create** working code examples that demonstrate data type usage
|
|
|
|
- ✅ **Create** working code examples that demonstrate data type usage
|
|
|
|
- ✅ **Explain** technical concepts in beginner-friendly language
|
|
|
|
- ✅ **Explain** technical concepts in beginner-friendly language
|
|
|
|
- ✅ **Connect** fundamental programming concepts to practical applications
|
|
|
|
- ✅ **Connect** fundamental programming concepts to practical applications
|
|
|
|
|