|
|
@ -6,6 +6,14 @@ Imagine you are building a shopping cart. Write some documentation on the data t
|
|
|
|
|
|
|
|
|
|
|
|
## Rubric
|
|
|
|
## Rubric
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Data types
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Array - we will use it to add items to shopping cart.
|
|
|
|
|
|
|
|
2. Number - this type help as to count amounce of items in shopping cart.
|
|
|
|
|
|
|
|
3. String - help us to write the names of prodacts.
|
|
|
|
|
|
|
|
4. Booleans - to know is the shopping cart empty.
|
|
|
|
|
|
|
|
5. Null - to initialise variable for counting items in shopping cart.
|
|
|
|
|
|
|
|
|
|
|
|
Criteria | Exemplary | Adequate | Needs Improvement
|
|
|
|
Criteria | Exemplary | Adequate | Needs Improvement
|
|
|
|
--- | --- | --- | -- |
|
|
|
|
--- | --- | --- | -- |
|
|
|
|
||The six data types are listed and explored in detail, documenting their use|Four datatypes are explored|Two data types are explored|
|
|
|
|
||The six data types are listed and explored in detail, documenting their use|Four datatypes are explored|Two data types are explored|
|