3 - Writing a Simple Program
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
What does the pinMode(13, OUTPUT) function do?
💡 Hint: Think about how we can control LED states.
What is pseudocode?
💡 Hint: Consider how it can help in understanding program flow.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What does the loop() function do in the Arduino programming?
💡 Hint: Consider how long the code keeps executing in an Arduino program.
True or False: Pseudocode requires correct syntax.
💡 Hint: Remember the purpose of pseudocode in planning.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Write a program in C++ that blinks an LED in patters: fast (200ms), slow (1 second), fast again. Use comments to explain each part.
💡 Hint: Remember to structure your `setup()` and `loop()` correctly.
Create a pseudocode for a robot that takes input from two light sensors and follows the light source. Describe how it decides to turn left or right.
💡 Hint: Visualize how a person might turn towards a stronger light source.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.