# Using Scratch & Investigating Makey Makey -w/ Block based programming

1. Scratch is a program online that allows you to make games without typing code but moving a series of building blocks in order to make the code.

2. You can create a basic game with Scratch programming you can also create a lot of other types of programs with Scratch.

3. I finished most of my game but I forgot to take screenshots

Makey Makey:

1. A makey makey is a controller that allows you to control your computer through inputs with your body.

Video of Makey Makey:

IMG_4448

# Sports Quiz, Python Summative

I coded a 15 question quiz on sports using lists, functions, integers, if, elif and else statements. In this quiz it calculated your total score out of 15 questions and if you get a question wrong it restarts the code.

Screenshots of the code:

Flow chart:

Testing Document:

Video of my Code working and Explaining the code:

Website References:

# Lists, Lesson 7a, b, c

My flow chart and pseudo code for adventure game.

I was not able to get my adventure game totally done however I was able to get about half done. I ran into troubles trying to make the program break and end the game however my partners helped me and instead of doing the break I did exit and it seemed to work. At first I forgot to put the while loop in and I spent sometime fixing that.

Video and screenshots of my Adventure Game:

# Python Lesson 6a and 6b, Reflection

Today we worked on using functions. The benefit of using functions is that you can add two integers together. Also you can have the computer determine which variable is the largest. We also started making code for a chocolate bar machine however since we got paired up I could not take a screenshot of the code sorry about that. But Karan and I started coding the chocolate bar machine and we were able to make it work without using functions.

# Python Lesson 5a and 5b, Reflection

Today in python I created a guess the word game based on pseudo code I made earlier on it. I was able to complete the game with the game working fine however I did not finish any of the extension. I was able to create a list of words and the computer takes a random word from that list. This took me a while to complete because I had to use the raw input function instead of a regular input function. It took me a while to fix my code after that because I had to adjust my code to fit the raw input function.

# Python Lesson 4a and 4b, Reflection

I was able to code a working guess my number game using if statements and while loops. I also was able to make a flow chart and pseudo code  on the code I was going to use. I was also able to create two of the three extension tasks which are having the computer pick a random number between 1-50. The other extension task was to print how many guesses the user took. I was also able to print congrats at the end if the user won.

# Python Lesson 3, Reflection

ELSE, ELIF, IF

We worked on these concepts in class and were able to code them. ELSE is a statement used in coding for example it is used when there is a different option such as if user input is 12 then say this, Else say this. IF can be used in multiple codes for example IF user input is this then say hello. ELIF is short for else if, it used for different options.

Screenshot:

While loops are statments used to generate a loop. Here is an example:

```count =0while(count <9):
print'The count is:', count
count = count +1
print"Good bye!"

```

# Python Lesson 2, Reflection

In today’s lesson we learned how to define integers and floats. Also we learned how to use the if statements and while loops. We also learned how to slice. I had a couple problems with my code however I did some problem solving and was able to solve it. I was also able to come up with solutions to the problems that most people didn’t think about while still following the criteria. I used a lot of inputs from the user to help solve my code because I found it useful to use.

Screenshots:

# Lesson 1 Python

“What does Design Thinking process have to do with programming?”

The design thinking process helps us think better in programming therefore it helps use problem solve better and figure out code better. Once we have better problem solving skills then it can help us code and solve problems with our code.

I can define a variable in code.

I can use an input function.

I can write a print function.

# Pecha Kucha I2P

The problem me and my group faced was “How to improve the HKIS high school lockers?” We created a survey in order to find out what was really wrong with the lockers and we found out that the main problems were the locks on the locker and safety. Another issue was that some students in HKIS high school don’t even have lockers. We created a design that would solve all of those issues.

We created a locker design where it increases the locker amount and you have the same physical space also now you can unlock your locker using a touch pad also you can change locker locations. This locker would act like a temporary locker therefore you can have multiple lockers.

Pecha Kucha statement:

Our students have problems with the location, space, and the locks of their lockers, so we have decided to give students temporary lockers in 2-3 locations with student id’s (or temporary passes incase of lost id’s) as the locks