Showing posts with label Computer Science. Show all posts
Showing posts with label Computer Science. Show all posts

Sunday, November 15, 2020

"I'm Rue Maghreb"

 For our final unit of Computer Science, we dove into using "if-statements" in python code. An If-statement can be used in the scenario of there being different answers a user could put in a code. We worked on our skills through trinket.io where we were able to work on some practice problems, and solve some "spot the error" python codes. As the world of AI software is constantly evolving and changing, we decided to take a look at some out there now. As we checked a "chatbot" out , it peaked out curiosity as coding students to create our own. For this AP, we were asked to design a chatbot that uses the concepts that we had discussed this entire term. I decided to develop a chatbot that works with my brand, Rue Maghreb, to educate others on the Maghreb region and its people. The bot can be a useful tool for my site that I am currently developing to be launched on November 20th! I am interested in using my coding on the welcome page to interact with my users as they enter a virtual reality of what it's like to live in the Maghreb! Check out my bot to learn more! 




Overall, I was content with the formatting of this AP. I thought it was much easier being able to recollect everything that we had learned throughout the term like using random functions, inequalities, Booleans, and more into a finished chatbot. I would say some concepts I struggled with a bit were the "El-if" statements due to formatting, including the random function. I wasn't so sure if the formatting was completely clear on the code, but the cool thing about trinket.io is that there is a sort of feedback provided if there is a wrong input! I ended up learning more from my mistakes at the end which made the rest of the code move a lot smoother. I am definitely going to use this chatbot for the introduction page of my new site on ruemaghreb,com! It's an effective chatbot that can create some form of connection with users.

Monday, October 19, 2020

Welcome to Code.Nation

 For this unit in Computer Science we dove into python coding which is a programming language. We learned the ins and outs on how to code in python, and practiced using codeskulptor and trinket.io. These platforms were a great way for us to understand how we can use what we were learning in class into an actual coding function. For this AP, we were asked to develop a python code calculator with some equation that we are currently using in our Economics class. I decided to focus on creating a calculator that allows users to get compounding interest in seconds. The second part of this AP was to create a form of letter that could be used in our Journalism class that seniors are also taking. This journalism letter will make it easier for students from wherever to construct a letter in just a few minutes after filling out some information. Check out my codes to see how they turned out! 


Compounding interest calculator



Writing a letter to your alderman



Overall, this AP allowed me to apply what I have been working on in class to my own python code that could help me in the real world. It took me a while to figure out the formatting, especially with applying the compounding interest calculator which required me to do some more research on my own. Working on compounding interest in my STEAM class was an equation that took some time for me to comprehend. Once I got a hang of using the formula in class, I realized that the process was a bit repetitive and something like a calculator would really come in handy at a time that I needed a simple answer. I think this compounding interest calculator can come in great use for time of my action project for my STEAM class, and for others as well. Writing a letter for someone like an alderman at times can seem quite repetitive or too hard to format,  but with this mad libs inspired letter, the formatting is just right. It's easier to type out some information rather than having to construct an entire message on your own. I think both of these codes can come in handy for every user, including myself. I really enjoyed this AP, and would like to push my limits further to use python code for newsletters for my clothing brand, Rue Maghreb, some time in the future.

GRAND CHALLENGE: ECONOMICAL SPACE ACCESS

 For my last unit of Frontiers and my final action project at GCE, we worked on researching a grand challenge in space exploration and try t...