Sprint 1:
Ideal for Website | Reality for Website |
I wanted to keep my index page simple so I planned to add the bare minimum to it until I ahd the time and energy to improve it to the extent that was expected. I had decided that adding the image and the submenu in was more than enough. | I got what I wanted with the bare minimum of one picture of some programming language I pulled from another paeg and also a submenu that has no style and looks very simple and off-center for now. |
This is a required part of the blog where I talked about what I wanted to do with my website and what I ended up doing.
Sprint 2:
For Sprint 2 we had to teach lessons known as Big Idea 3. These are fundamental ideas behind the programming. This was very impactful as it taught me the core lessons behind programming and creating website front and backends. With this knowledge I’ll be prepared for Collegeboard and future problem based learning.
With my new understanding of how lists work and the proper way to use dictionaries/objects, my abilities to handle both simple and complex problems now have many more possible solutions. Some exanmples of this are when we had to work in order to create a simple calculator as homework for Big Idea 3.3 or when we had to create a vowel, letter, number and space counter for homework for Big Idea 3.4. Something I remember vividly is when working on our lessons writing pseudocode and hacks for students to do, unfortunately I did not have the chance to go through it. I also vividly remember a lot of students having their questions answered and a very detailed explanation of how arrays work by Mr. Mortenesen. I learned a lot of critical ideas for both Python and JavaScript allowing me to use more advanced ideas in my code, such as lambda functions. Another such item was learning the importance of a json module in Python to handle dictionaries and use them in a object format. Something I managed to learn/do due to this lesson was create a simple calculator using Python and the Tkinter module, whcih is generally used for creating windows. I managed to apply lessons I learnt in Big Idea 3.3 and ideas in 3.4 to both add and subtract numbers but also convert a string to a number. This had to be done since the text was being displayed in the calculator text and therefore would have to be a string to be seen with symbols such sa multiplication and subtraction.
Examples of the more complex homework assignments:
%%python
def character_counter(string):
total_letters = len(string)
total_numbers = 0
total_vowels = 0
total_spaces = 0
for i in range(total_letters):
if int(string[i].isnumeric()):
total_numbers += 1
if string[i].lower() in ['a', 'i', 'o', 'u', 'e']:
total_vowels += 1
if string[i] == ' ':
total_spaces += 1
total_letters = total_letters - (total_numbers + total_spaces)
print(f'Total Letters: {total_letters}\nTotal Numbers: {total_numbers}\nTotal Vowels: {total_vowels}\nTotal Spaces: {total_spaces}')
character_counter("I 1 num")
Total Letters: 4
Total Numbers: 1
Total Vowels: 2
Total Spaces: 2
This was a simple string counter which counted the number of letters, numbers, vowels, and spaces in a string that was inputted into it. This was a fun and challenging project which challenged your ability to manipulate strings and understand what they mean.