Wednesday - Lecture 7 - Compound Data
Date: July 01
Date: July 01
Up until now, we’ve really only had a few ways of representing data:
- numbers
- strings
- images
- colors
- functions
These are all rather simple or singular pieces of data.
In today’s lecture, we are going to going to stop focusing so much on syntax (meaning it’s really important to spend time on your own making sure you understand the ISL+ syntax). Instead, we’re going to talk about some new ways of representing data from the outside world inside of our programs. Specifically, we’ll be talking about different “compound” data types:
-
lists: ordered sequences of data - record types (
structs): data that have many named fields with associated values
In-Class Resources
| Link | Title | Type | Duration |
|---|---|---|---|
| Video 1 | Lecture 7.1 - Compositing Data | pre-recorded | 5:07 |
| Video 2 | Lecture 7.2 - Lists | pre-recorded | 10:03 |
| Video 3 | Lecture 7.3 - Structs | pre-recorded | 10:27 |
Mini-Quiz 7: Compound Data
To take the mini-quiz associated with this lecture's content, you can use this link or find the quiz under the Quizzes page on Canvas.
2. Other Materials
- (Optional) Skimming this might be helpful for lists.
- HTDP Chp 8: Lists.
- (Optional) Skimming this might be helpful for record types.
- HTDP Chp 5: Structure.