UML (Universal Model Language) Design Part 2 - My Happy Zoo

I followed the awesome video with Zach and learned all about how to make a UML diagram for a zoo. I used LucidCharts to make the diagram and took a screenshot. I started out by focusing on the customers and realized that some of them were adults and some were children. This can be important for thinking about money because probably the adults have more and also children probably get charged less when they enter the zoo. I then went on into anials.

UML (Universal Model Language) Design Part 1

UML is when we as the software engineers design a structure on paper or on an app that will define an object orientated program. This is very helpful for us moving forward as a member of a team because it allows us to make a proposal without having to do extra work. This is a planning technique. The specific structure is very good for a wonderful language we will be using in our next AP class called AP CS A. Java is a powerful langage for making sweet video gaes so I am looking forward to using it.

Zach, “UML Class Diagram Tutorial,” YouTube, 21-Jul-2017. [Online]. Available: https://www.youtube.com/watch?v=UI6lqHOVHic. [Accessed: 05-May-2020].

MY OBJECT ORIENTATD GRAPHICS PART 1

I started a new project today! I am super excited to make bouncy graphics. I was able to change the color of my first bouncing object to pink. I changed the secon one to brown. I hanged the background to be a light blue as if it was a sky. I love making happy bouncy colors!

For the practitioner level, I created an array of toys and added a third toy. Now I have a blue and pink and green toy bouncing on the screen! The technical difference is that I refer to them as toys[0] or toys[1] rather than ball1 or ball2. This doesn't make a big difference for now, but it will help later. I love making things bounce on the screen.

MY OBJECT ORIENTATED GRAPHICS PART 2

I created 6 additional toys to bounce round the screen. I did this with some sweet copy and pasting. I also had to call the move method for each of them. When it was done, I got an interesting effect where some of the objects started together but then bounced apart. I love making happy bouncy green toys. I am glad to be done making happy green bouncy toys.

For the practitioner level, I upgraded my array to have not a few but 200 toys! I used a for loop and initialized i to 0 and had it run until it was 200 and incremented it by one each time. I love for loops! Now my screen is full of happy green bouncy goonieness!

MY OBJECT ORIENTATED GRAPHICS PART 3

For this part of the project I was able to add some constant values to the program. This helped me because now I can change the number of happy bouncy toys on the screen by altering just one value. I also had a few settings for some future work that will have to do with rainbows and unicorns or some things I haven't figured out yet. I am glad to be finished making my happy graphics.

For my practitioner level I made a giant world of rainbow goodness! The background was not being delcared any more so I got a nice smeeary affect. I also set up a conditional so that it will randomly select the colors rather than the values I started them as. I love rainbow awesomeness!

MY OBJECT ORIENTATED GRAPHICS PART 4

For the apprentice level of this part 4 of the project, I changed some happy colors and some happy sizes. I set th value of TN to be 10 so that there would be 10 toys. I made it so that the blue value in the toys was random from 200 to 300 which gave an interesting set of different shades of pink and purple. I changed the size to randomly be from 50 to 100 so the toys were different sizes.

For the practitioner level of this project I was able to change the variable that controls the maximum toy size for a different effect where more of the screen was covered with color. It looked okay. I have a dragon sitting there in the corner. I could have picked anything but I was in the mood for a dragon. Maybe later I will do more with the image. I loved making a happy dragon with some nice toys.

What was my program supposed to do?


My program was supposed to use the text command 17 times to create a column of 10 based numbers from 1 to 17. We also had to write the numbers 1 through 17 but in Binary and Hex as well.We did this program in pairs one person coded while the other navigated them like using a gps while ur driving.


During the coding my partner and I established an algorithm to be able to translate the numbers corresponding to each other in different languages. We used the algorithm and we encountered some problems and started using different ways to be able to list the numbers.

I honestly felt like this was a little confusing but the more my partner and I learned while working the better it got easier and easier. And I became more used to it and I it became easier and easier with the help of my partner.