<style type="text/css">
.reveal .slides {
min-height: 100%;
width: 100%;
height: 96mm;
}
.reveal .slides section h1
{
/* font-family: "Lato"; */
color: #ffefef;
text-shadow:
-1px -1px 0 rgba(230,2,131, 0.7),
2px -2px 0 rgba(230,2,131, 0.7),
-3px 3px 0 rgba(230,2,131, 0.7),
3px 3px 0 rgba(230,2,131, 0.7);
}
.reveal .slides section h3
{
/* font-family: "Lato"; */
color: #ffefef;
text-shadow:
-1px -1px 0 rgba(230,2,131, 0.7),
1px -1px 0 rgba(230,2,131, 0.7),
-2px 2px 0 rgba(230,2,131, 0.7),
2px 2px 0 rgba(230,2,131, 0.7);
}
.reveal img, .reveal video, .reveal iframe {
width: 100%;
min-width: 100%;
max-height: 100%;
}
html, .reveal {
color: #CFC7BF;
}
ol, ul {
font-size: 3.5rem;
}
.reveal pre code {
display: block;
width:100%;
line-height: 1.5em;
border-radius: 0.9rem;
font-size: 2rem;
padding: 3rem;
overflow: auto;
}
</style>
---
# Intensive Foundations of Computer Science and Programming 1
**Seminar 2, April 2024**
Lecturer: Katia Punter
---
### Plan for the session
- IPYNB and PY - recap
- Summative 1 and 2
- The Library and Referencing
- f-strings, CSVs, functions, menus
- Menu
---
### Learning Objectives
- Understand how to Harvard reference **reliable** sources
- Know how to format Python strings
- Be able to code a menu
---
# A references task
How many ways to provide in-text citations can you see [here](https://docs.google.com/document/d/1stA7WwMGhjolySOxKYju557MYd2B8WD5FyjSaTkqu_M/edit?usp=sharing)?
---
# An f-string task
Use this [replit](https://replit.com/join/yslzlssgsp-tutorial7)
to go from the f-string to concatenation
---
# A menu task
Use this [Jupyter Notebook](https://deepnote.com/workspace/northeastern-notebooks-3eb63b92-0c75-4eb5-9eeb-656f3aa40fcc/project/IFCSI-e45fc4bc-96ba-417f-af79-59d35cbb112b/notebook/seminar2_functions-bd17ec08cb194653973b4037373028bd)
to practice writing a menu
---
# A CSV task
Use this [Jupyter Notebook](https://deepnote.com/workspace/northeastern-notebooks-3eb63b92-0c75-4eb5-9eeb-656f3aa40fcc/project/IFCSI-e45fc4bc-96ba-417f-af79-59d35cbb112b/notebook/seminar2_csv_read-03cc0b4ae57e4fd2ac77cb5f27c3ca1f)
to practice CSVs and loops
---
{"slideOptions":"{\"theme\":\"dark\",\"transition\":\"fade\"}","description":"Seminar 1, June 2023","title":"IFCS seminar 2","contributors":"[{\"id\":\"0f7a35ec-f2b1-4089-943c-17d8603eb062\",\"add\":3597,\"del\":1175}]"}