Skip to main content

Coding Loops

 Loops 

Loops are a programming element that repeats a portion of code several times until the desired process is complete. Repetitive tasks are common in programming, and loops are essential to save time and minimize errors. 

You can code “repeat by X amount of times during the bee game by playing the game.”  


For example-


You can repeat any move forward, turn right, turn left, get nectar by looping them together simultaneously,  reduce errors, and use fewer blocks.

You can also use a whole piece of code, nest it inside another repeat block, and set it to repeat three times. 


Comments

Popular posts from this blog

MakerSpace

3rd Grade: MakerSpace MM Digital- Art 3rd- Top Students https://docs.google.com/document/d/1WvhXu0slqy5qh3uvT8FRpfWLeIPV4hiV1Z20v_2-DUM/preview Students used iPads (Drawing Desk, Pages), SketchBook, and Microsoft Paint to draw. TEKS- Investigate and describe how some environmental conditions are more favorable than others to garden plants(students will have to observe   different methods of growing produce in a garden) Using Digital Art, students can create plants and flowers and describe the characteristics of the plants. For example, drawing the soil and sunlight, rain for the water, and so on.  Then s tudents will create digital art illustrations that impact various environmental factors on plant growth, such as very sunny, too windy, too rainy, or too polluted. What can happen to the plants? I created this "Perfect Weather" drawing by using Sketchbook on the Ipad. and "Windy Day". Digital Art Exploration: How Environmental Conditions Affect Plant Growth Grade Le...

DroneBlocks

 DroneBlocks   This week, I worked with Drone Blocks, a drone simulator that allows us students to practice our coding skills in the real world by sending our code from a tablet computer or phone to the actual drone. This course introduces essential programming principles and showcases autonomous flight using the Tello drone and DroneB locks. This course will teach me basic block programming and allow me to gain insight into the Tello drone's capabilities.  Notes: Intro Tello -DroneBlocks is the range of blocks that control Tello's flight behavior, -The different program or mission starts by adding the "takeoff" block, "yaw right" or "yaw left," and land. -Tello will climb to an altitude of 4-5 feet -Tello uses sensors and fight control logic to determine altitude and distance. -"Show Misson Code" allows students to see the JavaScript code directly without having to use the blocks -Loops allow students to repeat a sequence of instructions...

Reflection at MetroE

 Reflection at Metro E : Going to Metro Elementary School was a gratifying and educational experience for me. One of the highlights was our exposure to cutting-edge technology that made learning an absolute blast. Tellodrone, for instance, opened up a world of possibilities by introducing us to the exciting field of drone technology. We had the chance to explore the skies and learn about the principles of flight firsthand. Additionally, working with DroneBlocks allowed us to program these drones, enhancing our problem-solving skills and creativity. Another fantastic educational tool we had the privilege to use was the WeDo 2.0 Lego Education set. This ingenious kit enabled us to build and program our robots, offering hands-on experience in engineering and coding. Metro Elementary School embraced the fusion of fun and education, making each day a thrilling adventure of discovery and innovation. Technical Difficulties One potential issue with Tellodrones was technical glitches. Drone...