Round 3 | Multimedia



Round three of multimedia we do a lot of coding and programing. The coding language that we are really focusing on is python. The program that we are use to practice and do our assignment on are and Codecademy.  In our lesson we learn about:

for loop

break statement


range function

nested loop

while loop



if statement


elif statement

else statement

and, or, not



infinite while loop in while loop

break statement in while loop

continue in while loop

Below is my coding assignment.


from random import randint # do not delete this line

# Jr. Essential – Technology/Multimedia

# In-class exercises – January 31, 2019

# While Loops

# NOTE: your code must run without errors before you hand it in. Run and save

# your code as you complete each exercise.


# Exercise 0: Write a program that prints “Hello World” 5 times USING A WHILE LOOP:

# Hello World

# Hello World

# Hello World

# Hello World

# Hello World


n = 1

while n < 6:

   print “Hello World!”

   n += 1


# Exercise 1: Rewrite the following FOR LOOP using a WHILE LOOP so that the

# outputs are the same.

# Output: 0 1 4 9 16 25 36 49 64 81 100

# 1 point for correct output

# 1 point for using a while loop correctly

# for i in range(11):

#     print i ** 2


x = 0

while x < 11:

   print x ** 2

   x += 1


# Exercise 2: Using a WHILE LOOP, print all odd numbers between 0 and 100.

# 1 point for correct output

# 1 point for using a while loop correctly

# Output: 1 3 5 7 9 11 13 15 etc.


x = 0

while x < 101:

   if x % 2 == 1:

    print x

   x += 1




# Exercise 3: Using a WHILE LOOP, find the sum of all even numbers between 0 and 200.

# Output: you have to figure it out!

# 1 point for correct output

# 1 point for using a while loop correctly


o = 0

sum = 0

while o < 200:

   o += 2

   sum = sum + o

print sum


# Exercise 4: Give the user 3 tries to guess a number between 1 and 10

# (includes 1 and 10) that the computer created randomly.

# If they guess correctly within 3 tries, they win. If they don’t, they lose.

# Hint 1: use a break statement

# Hint 2: use guess = input(“Guess a number between 1 and 10 (included):”)

# 1 point for correctly using a while loop

# 1 point for losing game after 3 incorrect tries

# 1 point for winning game if guess is correct within 3 tries

# 1 point for using a break statement

# The first line of code is given to you:


random_number = randint(1, 10)

attempts = 0

while attempts < 3:

   guess = input(“Guess a random number between 1 and 10 :”)

   if guess == random_number:

       print “Hooray! You win”



       print “Sorry! Please Try Again!”

   attempts += 1

print “Ohh No! Game Over!”

Round 3 / STEM


The round we start a new schedule. Monday is call The Boring Day which  is a day that we do alot of reading and taking note . Tuesday is The Question Day the teacher start answer the question that we have and explain about the topic that we read on Monday. We don’t have STEM class on Wednesday. Thursday is The Experiment Day which is my favorite day i have a lot of have experimenting. After we do all the experiment and see all the out come the teacher give us assignment to do. Every Thursday after experiment day we have to do a lab report. Friday is the Quiz Day.


This round we learn about chemical reaction, chemistry of carbon and chemical solution.


Chemistry of carbon is a lesson about carbon. The experiment is to make black snake. Below is my Lab report.


Panha            STEM

7 , February Cheng Chanda


Black Snake Experiment

Black snake is form when a mixture of baking soda and sugar burn. In this experiment we need 20g of sugar, 5g of sodium bicarbonate, a bowl that fill with sand, alcohol and a match. Using all this ingredient and mix together and burn them make black snake. How this happen i am not sure but what i think is when baking soda burn it for sure release carbon dioxide gas and when sugar brun is become harden that help trap the gas and form in to this long black snake.


The outcome of this experiment is a long ash. While the fire is burning the mixture it start to disappear and the snack grow longer and longer until the mixture are all gone.I can describe it in a food way imagine the outside of a pizza crust is crunchy and the inside is soft like silk. That description of how i feel when i touch the black snake.  


EXTRA : I am curious about why it form the black snake so I decided to do a little research and this is what i find out about the experiment. The chemical formula of sugar is  (C12H22O11) and the chemical element that sugar contains are Carbon, Hydrogen, and Oxygen. The chemical element of sodium 

bicarbonate is (NaHCO3). When the mixture burns, the baking soda gets hot, and it decomposes to release carbon dioxide gas. A lack of oxygen in the

 sugar from the combustion creates carbonate and water vapor. The pressure from the CO2 gas pushes this carbonate out to form the snake, which should continue growing for 20 minutes, give or take.

Chemical solution we learn about solvent and solute. On the experiment day we are experiment by making a sugar solution and turn it into a rock candy. Below is my lab report.

Panha STEM

February, 15, 2019   Cheng Chanda

Rock Candy Lab Report

Rock candy is a one of the coolest looking candy in the world. Today this lab 

report is about the best candy in the world.  I didn’t get to make it but let say i 

know about it. (By researching)


How does a sugar solution become rock candy?

According to my understanding rock candy form when sugar melt and turn in to candy. If you think in a science way there are more step and let talk about it.

When we melt sugar in to hot water their will be no sugar left but the sugar partial that we can’t see are still in there. When we let the solution set the water start to evaporate and the sugar start to form and when it connects to each other they form a big batch of sugar that we can see like a crystal.