Unit 1 - lectures 3 and 4

mauman (880 points)
18 26 30
asked Oct 3, 2021 in News by mauman (880 points)
edited Oct 3, 2021 by mauman

I added the next group of slides in the shared folder, so you can have a look at them before they will be presented this week.

By the way, we will start programming this Tuesday!


3 Answers

amic1010 (1460 points)
1 1 5
answered Oct 4, 2021 by amic1010 (1,460 points)

Looking at the material we will learn this week, I advise anyone not familiar with coding to glance at chapters 1.3-1.5 of the (textbook) and do the exercises of 1.9. To build a solid base to be ready for class. I also recommend this (video) which will help you get familiar with coding in the Spyder IDE.

saad rahman (540 points)
0 0 3
commented Oct 4, 2021 by saad rahman (540 points)
Thanks, Really helpful !
zoe_matrullo (2090 points)
4 8 12
answered Oct 5, 2021 by zoe_matrullo (2,090 points)
Hi everyone! I have a question concerning one of the topics covered during today's lesson. Can arrays be compared to lists of values like the ones that can be used in Python?
Luigi Pizza (6120 points)
11 20 65
commented Oct 5, 2021 by Luigi Pizza (6,120 points)

It will surely be argument of another lesson, don't worry. If you want to know more, you can read the bibliography of the course here: https://q2a.di.uniroma1.it/21921/course-info-unit-1-2. (Please show some love to thatt comment of mine, it took way too much time to put together (I had to check the copyright of each suggested reading))

P.S. If you want some spoilers lists are hard-coded into python (so they don't need to be declared, as opposed to arrays) and they have all those characteristics you'd expect in a normal array, you can repeat elements, you can add or remove elements, though lists can have as elements multiple variable types (such as strings, integers, floats etc.) , but some python libraries have arrays that do the same. Generally, I've been told that Arrays are usually much more compact and useful than lists but don't take my word for it.

Carlotta Murri (800 points)
0 0 6
answered Oct 5, 2021 by Carlotta Murri (800 points)
Would it be possible to have the slides in advance for all the following classes (maybe give them out week by week) so that we could have them already to follow along better during the lecture?
saad rahman (540 points)
0 0 3
commented Oct 5, 2021 by saad rahman (540 points)
Yeah, that would be very helpful.

We get the them in advance in Computer Architecture Classes.
Benedetta Murri (950 points)
0 0 1
commented Oct 5, 2021 by Benedetta Murri (950 points)
Yes it would be very nice in order to understand better.
amic1010 (1460 points)
1 1 5
commented Oct 5, 2021 by amic1010 (1,460 points)
That would be very beneficial for our understanding of the topics. However, if it is not possible, I would suggest reading the class textbook in advance and doing the exercises inside it to have a base for when he finally mentions it in class.